chrv-components 1.12.73 → 1.12.75
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>;
|
|
@@ -53,7 +53,7 @@ declare class ChrButtonComponent {
|
|
|
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" | "small" | "responsive" | "table" | "full" | "fixed">;
|
|
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>;
|
|
@@ -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 {
|
|
@@ -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<"large" | "medium" | "small">;
|
|
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,60 @@ 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<"large" | "medium" | "none">;
|
|
1519
|
+
/**
|
|
1520
|
+
* Name of the Google Material Symbols icon
|
|
1521
|
+
*/
|
|
1522
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
1523
|
+
iconSize: _angular_core.InputSignal<"large" | "medium" | "small" | "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
|
+
action: _angular_core.InputSignal<any>;
|
|
1547
|
+
/**
|
|
1548
|
+
* The event that will be thrown when the button is clicked
|
|
1549
|
+
*/
|
|
1550
|
+
onAction: _angular_core.OutputEmitterRef<{
|
|
1551
|
+
event: MouseEvent;
|
|
1552
|
+
value: any;
|
|
1553
|
+
}>;
|
|
1554
|
+
loading: _angular_core.ModelSignal<boolean>;
|
|
1555
|
+
ngOnInit(): void;
|
|
1556
|
+
handleClick: (event: MouseEvent) => {
|
|
1557
|
+
event: MouseEvent;
|
|
1558
|
+
value: any;
|
|
1559
|
+
};
|
|
1560
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrButtonComponent, never>;
|
|
1561
|
+
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; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; "loading": "loadingChange"; }, never, ["*"], true, never>;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1510
1564
|
declare class ChrContextMenuComponent {
|
|
1511
1565
|
items: _angular_core.InputSignal<IContextMenuItem[]>;
|
|
1512
1566
|
click: _angular_core.OutputEmitterRef<any>;
|
|
@@ -2098,7 +2152,7 @@ declare class MessageBanner {
|
|
|
2098
2152
|
title: _angular_core.InputSignal<string>;
|
|
2099
2153
|
icon: _angular_core.InputSignal<string | null>;
|
|
2100
2154
|
message: _angular_core.InputSignal<string | undefined>;
|
|
2101
|
-
type: _angular_core.InputSignal<"
|
|
2155
|
+
type: _angular_core.InputSignal<"none" | "error" | "warning" | "info">;
|
|
2102
2156
|
close: () => void;
|
|
2103
2157
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageBanner, never>;
|
|
2104
2158
|
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 +2260,7 @@ interface IToastComponent {
|
|
|
2206
2260
|
closed: EventEmitter<IClosureData>;
|
|
2207
2261
|
}
|
|
2208
2262
|
declare class ToastComponent implements IToastComponent, OnInit, OnDestroy {
|
|
2209
|
-
type: InputSignal<"error" | "
|
|
2263
|
+
type: InputSignal<"error" | "warning" | "success" | "info">;
|
|
2210
2264
|
title: InputSignal<string | null>;
|
|
2211
2265
|
message: InputSignal<string>;
|
|
2212
2266
|
code: InputSignal<string>;
|
|
@@ -2820,5 +2874,5 @@ declare const provideDebounceEventPlugin: () => {
|
|
|
2820
2874
|
useClass: typeof DebounceEventPlugin;
|
|
2821
2875
|
}[];
|
|
2822
2876
|
|
|
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 };
|
|
2877
|
+
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 };
|
|
2878
|
+
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
|