chrv-components 1.12.89 → 1.12.90
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
|
@@ -53,7 +53,7 @@ declare class ChrButtonLegacyComponent {
|
|
|
53
53
|
readonly textColor: _angular_core.InputSignal<Color | undefined>;
|
|
54
54
|
readonly flat: _angular_core.InputSignal<boolean>;
|
|
55
55
|
readonly predicate: _angular_core.InputSignal<boolean | undefined>;
|
|
56
|
-
readonly type: _angular_core.InputSignal<"none" | "
|
|
56
|
+
readonly type: _angular_core.InputSignal<"none" | "responsive" | "table" | "full" | "fixed" | "small">;
|
|
57
57
|
readonly href: _angular_core.InputSignal<string | undefined>;
|
|
58
58
|
readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
|
|
59
59
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -807,7 +807,7 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
|
|
|
807
807
|
private configureFormControl;
|
|
808
808
|
protected doCallback: () => void;
|
|
809
809
|
protected onHtmlInput: (event: Event) => void;
|
|
810
|
-
protected visualState: () => "
|
|
810
|
+
protected visualState: () => "default" | "error" | "empty" | "valid";
|
|
811
811
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrBaseInputComponent, never>;
|
|
812
812
|
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; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "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; }; "autoComplete": { "alias": "autoComplete"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "maskShownExpression": { "alias": "maskShownExpression"; "required": false; "isSignal": true; }; "maskValidation": { "alias": "maskValidation"; "required": false; "isSignal": true; }; "maskShownTemplate": { "alias": "maskShownTemplate"; "required": false; "isSignal": true; }; "maskPrefix": { "alias": "maskPrefix"; "required": false; "isSignal": true; }; "maskSuffix": { "alias": "maskSuffix"; "required": false; "isSignal": true; }; "maskDropSpecialCharacters": { "alias": "maskDropSpecialCharacters"; "required": false; "isSignal": true; }; }, { "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "input": "input"; "focus": "focus"; "blur": "blur"; "disabled": "disabledChange"; }, never, never, true, never>;
|
|
813
813
|
}
|
|
@@ -1311,7 +1311,7 @@ declare class ChrSpinnerComponent implements OnInit {
|
|
|
1311
1311
|
ngOnInit(): void;
|
|
1312
1312
|
display: (message: ILiveUpdateMessage | null) => string | null | undefined;
|
|
1313
1313
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrSpinnerComponent, never>;
|
|
1314
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSpinnerComponent, "app-chr-spinner, chr-spinner", never, {}, {}, never, never, true, never>;
|
|
1314
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSpinnerComponent, "app-chr-old-spinner, chr-old-spinner", never, {}, {}, never, never, true, never>;
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
interface Toast {
|
|
@@ -1499,7 +1499,7 @@ declare class ButtonComponent {
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* The size of the icon.
|
|
1501
1501
|
*/
|
|
1502
|
-
size: _angular_core.InputSignal<"
|
|
1502
|
+
size: _angular_core.InputSignal<"small" | "medium" | "large">;
|
|
1503
1503
|
routerLink: _angular_core.InputSignal<string | any[] | UrlTree | null>;
|
|
1504
1504
|
routerLinkActive: _angular_core.InputSignal<string | string[]>;
|
|
1505
1505
|
getWidth(): string;
|
|
@@ -1515,12 +1515,12 @@ declare class ChrButtonComponent implements OnInit {
|
|
|
1515
1515
|
*/
|
|
1516
1516
|
display: _angular_core.InputSignal<string | undefined>;
|
|
1517
1517
|
variant: _angular_core.InputSignal<"filled" | "outlined" | "ghost">;
|
|
1518
|
-
padding: _angular_core.InputSignal<"
|
|
1518
|
+
padding: _angular_core.InputSignal<"none" | "medium" | "large">;
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Name of the Google Material Symbols icon
|
|
1521
1521
|
*/
|
|
1522
1522
|
icon: _angular_core.InputSignal<string | undefined>;
|
|
1523
|
-
iconSize: _angular_core.InputSignal<"
|
|
1523
|
+
iconSize: _angular_core.InputSignal<"inherit" | "small" | "medium" | "large">;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Button's color. It will affect both the text and the icon
|
|
1526
1526
|
*/
|
|
@@ -1528,7 +1528,7 @@ declare class ChrButtonComponent implements OnInit {
|
|
|
1528
1528
|
/**
|
|
1529
1529
|
* HTML Button type
|
|
1530
1530
|
*/
|
|
1531
|
-
type: _angular_core.InputSignal<"
|
|
1531
|
+
type: _angular_core.InputSignal<"button" | "submit">;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Whether or not the button is disabled
|
|
1534
1534
|
*/
|
|
@@ -2151,7 +2151,7 @@ declare class MessageBanner {
|
|
|
2151
2151
|
title: _angular_core.InputSignal<string>;
|
|
2152
2152
|
icon: _angular_core.InputSignal<string | null>;
|
|
2153
2153
|
message: _angular_core.InputSignal<string | undefined>;
|
|
2154
|
-
type: _angular_core.InputSignal<"
|
|
2154
|
+
type: _angular_core.InputSignal<"error" | "none" | "info" | "warning">;
|
|
2155
2155
|
close: () => void;
|
|
2156
2156
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageBanner, never>;
|
|
2157
2157
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageBanner, "chr-message-banner", never, { "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -2261,7 +2261,7 @@ interface IToastComponent {
|
|
|
2261
2261
|
closed: EventEmitter<IClosureData>;
|
|
2262
2262
|
}
|
|
2263
2263
|
declare class ToastComponent implements IToastComponent, OnInit, OnDestroy {
|
|
2264
|
-
type: InputSignal<"error" | "
|
|
2264
|
+
type: InputSignal<"error" | "success" | "info" | "warning">;
|
|
2265
2265
|
title: InputSignal<string | null>;
|
|
2266
2266
|
message: InputSignal<string>;
|
|
2267
2267
|
code: InputSignal<string>;
|
|
@@ -2276,6 +2276,14 @@ declare class ToastComponent implements IToastComponent, OnInit, OnDestroy {
|
|
|
2276
2276
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastComponent, "chr-toast", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "code": { "alias": "code"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
2277
2277
|
}
|
|
2278
2278
|
|
|
2279
|
+
declare class Spinner {
|
|
2280
|
+
private spinnerService;
|
|
2281
|
+
isLoading: _angular_core.Signal<boolean>;
|
|
2282
|
+
shouldShow: _angular_core.Signal<boolean>;
|
|
2283
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Spinner, never>;
|
|
2284
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Spinner, "chr-spinner", never, {}, {}, never, never, true, never>;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2279
2287
|
declare class TabToInputHandlerDirective {
|
|
2280
2288
|
private el;
|
|
2281
2289
|
handleTab(event: KeyboardEvent): void;
|
|
@@ -2646,6 +2654,38 @@ declare class DataService {
|
|
|
2646
2654
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DataService>;
|
|
2647
2655
|
}
|
|
2648
2656
|
|
|
2657
|
+
declare class SpinnerService {
|
|
2658
|
+
private requestCount;
|
|
2659
|
+
/**
|
|
2660
|
+
* Signal qui émet true quand des requêtes sont en cours, false sinon
|
|
2661
|
+
*/
|
|
2662
|
+
readonly isLoading: _angular_core.Signal<boolean>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Header HTTP utilisé pour ignorer le spinner sur une requête spécifique
|
|
2665
|
+
*/
|
|
2666
|
+
static readonly SKIP_SPINNER_HEADER = "X-Skip-Spinner";
|
|
2667
|
+
/**
|
|
2668
|
+
* Démarre le spinner en incrémentant le compteur de requêtes
|
|
2669
|
+
*/
|
|
2670
|
+
startLoading(): void;
|
|
2671
|
+
/**
|
|
2672
|
+
* Arrête le spinner en décrémentant le compteur de requêtes
|
|
2673
|
+
*/
|
|
2674
|
+
stopLoading(): void;
|
|
2675
|
+
/**
|
|
2676
|
+
* Force l'arrêt du spinner (remet le compteur à 0)
|
|
2677
|
+
*/
|
|
2678
|
+
forceStopLoading(): void;
|
|
2679
|
+
/**
|
|
2680
|
+
* Retourne le nombre de requêtes en cours
|
|
2681
|
+
*/
|
|
2682
|
+
getRequestCount(): number;
|
|
2683
|
+
registerRequest(): void;
|
|
2684
|
+
finalizeRequest(): void;
|
|
2685
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpinnerService, never>;
|
|
2686
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SpinnerService>;
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2649
2689
|
declare const CHR_MODAL_DATA: InjectionToken<any>;
|
|
2650
2690
|
declare const CHR_MODAL_REF: InjectionToken<ModalRef<any> | null>;
|
|
2651
2691
|
declare const CHR_DEACTIVATION_MODAL: InjectionToken<Type<any> | null>;
|
|
@@ -2686,6 +2726,8 @@ declare class ToastDefaults implements IToastConfig {
|
|
|
2686
2726
|
}
|
|
2687
2727
|
declare const DEFAULT_TOAST_CONFIG: InjectionToken<ToastDefaults>;
|
|
2688
2728
|
|
|
2729
|
+
declare const SKIP_SPINNER: HttpContextToken<boolean>;
|
|
2730
|
+
|
|
2689
2731
|
declare class DecimalValidatorDirective implements Validator {
|
|
2690
2732
|
readonly amount: _angular_core.InputSignal<number | undefined>;
|
|
2691
2733
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
@@ -2842,6 +2884,8 @@ declare class AutoDataSource<T extends AutoDataTable = AutoDataTable> {
|
|
|
2842
2884
|
protected applySort(data: T, sort: IDGSort | null): T;
|
|
2843
2885
|
}
|
|
2844
2886
|
|
|
2887
|
+
declare const OldSpinnerInterceptor: HttpInterceptorFn;
|
|
2888
|
+
|
|
2845
2889
|
declare const SpinnerInterceptor: HttpInterceptorFn;
|
|
2846
2890
|
|
|
2847
2891
|
declare const XsrfInterceptor: HttpInterceptorFn;
|
|
@@ -2876,5 +2920,5 @@ declare const provideDebounceEventPlugin: () => {
|
|
|
2876
2920
|
useClass: typeof DebounceEventPlugin;
|
|
2877
2921
|
}[];
|
|
2878
2922
|
|
|
2879
|
-
export { Aligments, AnonymousTable, AutoDataSource, AutoDataTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_DEACTIVATION_MODAL, CHR_DEBOUNCE_DEFAULTS, CHR_MODAL_DATA, CHR_MODAL_REF, CacheService, CachingInterceptor, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrButtonLegacyComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDeactivationGuard, ChrDebounceDirective, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrHoverDirective, ChrHoverTitleComponent, ChrHoverTitleDirective, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnGroup, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DEFAULT_TOAST_CONFIG, DGFilterMode, DGGroupAggregationEnum, DataExporterService, DataFormatterService, DataGrid, DataListComponent, DataService, DebounceDefaults, DebounceEventPlugin, DecimalValidatorDirective, DefaultLiveUpdateMessage, DropdownContent, DropdownTitle, ENABLE_CACHE, ENABLE_PROGRESS, EditableCell, FileService, HUBURL, INVALIDATE_CACHE, InlineSvgComponent, LegacyToastService, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, ScrollIntoViewDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastComponent, ToastDefaults, ToastRef, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
|
|
2923
|
+
export { Aligments, AnonymousTable, AutoDataSource, AutoDataTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_DEACTIVATION_MODAL, CHR_DEBOUNCE_DEFAULTS, CHR_MODAL_DATA, CHR_MODAL_REF, CacheService, CachingInterceptor, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrButtonLegacyComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDeactivationGuard, ChrDebounceDirective, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrHoverDirective, ChrHoverTitleComponent, ChrHoverTitleDirective, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnGroup, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DEFAULT_TOAST_CONFIG, DGFilterMode, DGGroupAggregationEnum, DataExporterService, DataFormatterService, DataGrid, DataListComponent, DataService, DebounceDefaults, DebounceEventPlugin, DecimalValidatorDirective, DefaultLiveUpdateMessage, DropdownContent, DropdownTitle, ENABLE_CACHE, ENABLE_PROGRESS, EditableCell, FileService, HUBURL, INVALIDATE_CACHE, InlineSvgComponent, LegacyToastService, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OldSpinnerInterceptor, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, SKIP_SPINNER, ScrollIntoViewDirective, Spinner, SpinnerInterceptor, SpinnerService, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastComponent, ToastDefaults, ToastRef, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
|
|
2880
2924
|
export type { Alignment, Breadcrumb, ButtonColors, Color, DataSourceConfig, IAction, IAnonymousTable, IBaseAction, ICacheEntry, ICacheOptions, ICanBeDeactivated, IChip, IChips, ICloseable, IClosureData, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IDB2ColumnMetadata, IDGAddedEntry, IDGChangedEntry, IDGDeletedEntry, IDGFilter, IDGGroup, IDGRow, IDGSort, IDGTrackByMode, IDataTable, IDebounceDefaults, IDisplayableColumn, IDisplayableColumnMetadata, IFile, IFormSection, IFormatter, IInputSearchFilter, ILiveUpdateMessage, IMinimumColumnMetadata, IMinimumTableConstraint, IMinimumTableConstraintColumn, IMinimumTableConstraintReference, IModalRef, IPartialAction, IProgressStateEntry, ISearchFilter, IStaticValueAction, ITableConstraint, ITableConstraintColumn, ITableConstraintReference, IToast, IToastComponent, IToastConfig, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast, ValidationResult };
|
|
Binary file
|