chrv-components 1.12.73 → 1.12.74
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
|
@@ -44,7 +44,7 @@ declare function getContrastBorderColor(color?: Color): string;
|
|
|
44
44
|
declare function getVariableColor(color?: Color): string;
|
|
45
45
|
declare function getVariableContrastColor(color?: Color): string;
|
|
46
46
|
|
|
47
|
-
declare class
|
|
47
|
+
declare class ChrButtonLegacyComponent {
|
|
48
48
|
readonly display: _angular_core.InputSignal<string | undefined>;
|
|
49
49
|
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
50
50
|
readonly click: _angular_core.InputSignal<Function | undefined>;
|
|
@@ -65,8 +65,8 @@ declare class ChrButtonComponent {
|
|
|
65
65
|
getTextColor: (color: Color) => string;
|
|
66
66
|
getWidth: () => "w-36" | "w-full" | "w-9" | "w-min";
|
|
67
67
|
getShadow: () => "" | "button-shadow";
|
|
68
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
69
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
68
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrButtonLegacyComponent, never>;
|
|
69
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrButtonLegacyComponent, "app-chr-button, chr-button", never, { "display": { "alias": "display"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "click": { "alias": "click"; "required": false; "isSignal": true; }; "clickWhileDisabled": { "alias": "clickWhileDisabled"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; "flat": { "alias": "flat"; "required": false; "isSignal": true; }; "predicate": { "alias": "predicate"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
declare class ChrModalComponent<T> implements OnInit {
|
|
@@ -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: () => "error" | "
|
|
810
|
+
protected visualState: () => "error" | "default" | "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
|
}
|
|
@@ -1499,7 +1499,7 @@ declare class ButtonComponent {
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* The size of the icon.
|
|
1501
1501
|
*/
|
|
1502
|
-
size: _angular_core.InputSignal<"small" | "
|
|
1502
|
+
size: _angular_core.InputSignal<"small" | "large" | "medium">;
|
|
1503
1503
|
routerLink: _angular_core.InputSignal<string | any[] | UrlTree | null>;
|
|
1504
1504
|
routerLinkActive: _angular_core.InputSignal<string | string[]>;
|
|
1505
1505
|
getWidth(): string;
|
|
@@ -1507,6 +1507,62 @@ declare class ButtonComponent {
|
|
|
1507
1507
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "chr-nbutton", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
1510
|
+
type ButtonColors = 'primary' | 'secondary' | 'tertiary' | 'error' | 'warning' | 'success' | 'none';
|
|
1511
|
+
declare class ChrButtonComponent implements OnInit {
|
|
1512
|
+
private elementRef;
|
|
1513
|
+
/**
|
|
1514
|
+
* Button's text
|
|
1515
|
+
*/
|
|
1516
|
+
display: _angular_core.InputSignal<string | undefined>;
|
|
1517
|
+
variant: _angular_core.InputSignal<"filled" | "outlined" | "ghost">;
|
|
1518
|
+
padding: _angular_core.InputSignal<"none" | "large" | "medium">;
|
|
1519
|
+
/**
|
|
1520
|
+
* Name of the Google Material Symbols icon
|
|
1521
|
+
*/
|
|
1522
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
1523
|
+
iconSize: _angular_core.InputSignal<"small" | "large" | "medium" | "inherit">;
|
|
1524
|
+
/**
|
|
1525
|
+
* Button's color. It will affect both the text and the icon
|
|
1526
|
+
*/
|
|
1527
|
+
color: _angular_core.InputSignal<ButtonColors>;
|
|
1528
|
+
/**
|
|
1529
|
+
* HTML Button type
|
|
1530
|
+
*/
|
|
1531
|
+
type: _angular_core.InputSignal<"submit" | "button">;
|
|
1532
|
+
/**
|
|
1533
|
+
* Whether or not the button is disabled
|
|
1534
|
+
*/
|
|
1535
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
1536
|
+
/**
|
|
1537
|
+
* Fixed width in REM
|
|
1538
|
+
*/
|
|
1539
|
+
fixed: _angular_core.InputSignal<number | null>;
|
|
1540
|
+
/**
|
|
1541
|
+
* The input may be either a function that returns a value or an observable, or a value that will be wrapped in a click event.
|
|
1542
|
+
* If the value is an observable the button will enter a loading state during the observable's execution. Otherwise, the function will be executed and it's return value directly returned.
|
|
1543
|
+
* If the value is not a function, the value will be directly returned.
|
|
1544
|
+
* @param The function the value to be handled on click
|
|
1545
|
+
*/
|
|
1546
|
+
click: _angular_core.InputSignal<any>;
|
|
1547
|
+
/**
|
|
1548
|
+
* The event that will be thrown when the button is clicked
|
|
1549
|
+
*/
|
|
1550
|
+
onClick: _angular_core.OutputEmitterRef<{
|
|
1551
|
+
event: MouseEvent;
|
|
1552
|
+
value: any;
|
|
1553
|
+
}>;
|
|
1554
|
+
clickChange: ((this: Window, ev: PointerEvent) => any) | null;
|
|
1555
|
+
loading: _angular_core.ModelSignal<boolean>;
|
|
1556
|
+
ngOnInit(): void;
|
|
1557
|
+
handleClick: (event: MouseEvent) => {
|
|
1558
|
+
event: MouseEvent;
|
|
1559
|
+
value: any;
|
|
1560
|
+
};
|
|
1561
|
+
log: (value: any) => void;
|
|
1562
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrButtonComponent, never>;
|
|
1563
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrButtonComponent, "chr-button", never, { "display": { "alias": "display"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fixed": { "alias": "fixed"; "required": false; "isSignal": true; }; "click": { "alias": "click"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; "loading": "loadingChange"; }, never, ["*"], true, never>;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1510
1566
|
declare class ChrContextMenuComponent {
|
|
1511
1567
|
items: _angular_core.InputSignal<IContextMenuItem[]>;
|
|
1512
1568
|
click: _angular_core.OutputEmitterRef<any>;
|
|
@@ -2098,7 +2154,7 @@ declare class MessageBanner {
|
|
|
2098
2154
|
title: _angular_core.InputSignal<string>;
|
|
2099
2155
|
icon: _angular_core.InputSignal<string | null>;
|
|
2100
2156
|
message: _angular_core.InputSignal<string | undefined>;
|
|
2101
|
-
type: _angular_core.InputSignal<"error" | "none" | "
|
|
2157
|
+
type: _angular_core.InputSignal<"error" | "none" | "warning" | "info">;
|
|
2102
2158
|
close: () => void;
|
|
2103
2159
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageBanner, never>;
|
|
2104
2160
|
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>;
|
|
@@ -2206,7 +2262,7 @@ interface IToastComponent {
|
|
|
2206
2262
|
closed: EventEmitter<IClosureData>;
|
|
2207
2263
|
}
|
|
2208
2264
|
declare class ToastComponent implements IToastComponent, OnInit, OnDestroy {
|
|
2209
|
-
type: InputSignal<"error" | "
|
|
2265
|
+
type: InputSignal<"error" | "warning" | "success" | "info">;
|
|
2210
2266
|
title: InputSignal<string | null>;
|
|
2211
2267
|
message: InputSignal<string>;
|
|
2212
2268
|
code: InputSignal<string>;
|
|
@@ -2820,5 +2876,5 @@ declare const provideDebounceEventPlugin: () => {
|
|
|
2820
2876
|
useClass: typeof DebounceEventPlugin;
|
|
2821
2877
|
}[];
|
|
2822
2878
|
|
|
2823
|
-
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, 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 };
|
|
2824
|
-
export type { Alignment, Breadcrumb, 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 };
|
|
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 };
|
|
2880
|
+
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
|