chrv-components 1.11.31 → 1.11.33
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/index.d.ts
CHANGED
|
@@ -1373,6 +1373,43 @@ declare class ButtonComponent {
|
|
|
1373
1373
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "chr-button", 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>;
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
|
+
interface IContextMenuItem {
|
|
1377
|
+
/**
|
|
1378
|
+
* Label for the menu item
|
|
1379
|
+
*/
|
|
1380
|
+
label: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* Action to trigger when the menu item is clicked
|
|
1383
|
+
*/
|
|
1384
|
+
action: Function;
|
|
1385
|
+
/**
|
|
1386
|
+
* Optional Material Icon name to display
|
|
1387
|
+
*/
|
|
1388
|
+
icon?: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
declare class ChrContextMenuComponent implements AfterViewInit {
|
|
1392
|
+
private elementRef;
|
|
1393
|
+
items: _angular_core.InputSignal<IContextMenuItem[]>;
|
|
1394
|
+
origin: _angular_core.InputSignal<{
|
|
1395
|
+
x: number;
|
|
1396
|
+
y: number;
|
|
1397
|
+
}>;
|
|
1398
|
+
click: _angular_core.OutputEmitterRef<any>;
|
|
1399
|
+
trigger: (item: IContextMenuItem) => void;
|
|
1400
|
+
ngAfterViewInit(): void;
|
|
1401
|
+
private position;
|
|
1402
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrContextMenuComponent, never>;
|
|
1403
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrContextMenuComponent, "chr-context-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "origin": { "alias": "origin"; "required": true; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
declare class ChrDropdownComponent {
|
|
1407
|
+
isOpen: _angular_core.WritableSignal<boolean>;
|
|
1408
|
+
title: _angular_core.InputSignal<string>;
|
|
1409
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrDropdownComponent, never>;
|
|
1410
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrDropdownComponent, "chr-dropdown", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1376
1413
|
declare class TabToInputHandlerDirective {
|
|
1377
1414
|
private el;
|
|
1378
1415
|
handleTab(event: KeyboardEvent): void;
|
|
@@ -1395,6 +1432,28 @@ declare class AutofocusDirective {
|
|
|
1395
1432
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutofocusDirective, "[chrAutofocus]", never, { "chrAutofocus": { "alias": "chrAutofocus"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1396
1433
|
}
|
|
1397
1434
|
|
|
1435
|
+
/**
|
|
1436
|
+
* Directive that handles right-click events and show a list of actions in a context menu
|
|
1437
|
+
*/
|
|
1438
|
+
declare class ContextMenuDirective implements OnDestroy {
|
|
1439
|
+
private elementRef;
|
|
1440
|
+
private appRef;
|
|
1441
|
+
private injector;
|
|
1442
|
+
/**
|
|
1443
|
+
* List of context IContextMenuItem to display
|
|
1444
|
+
*/
|
|
1445
|
+
contextMenu: _angular_core.InputSignal<IContextMenuItem[]>;
|
|
1446
|
+
private menuComponentRef;
|
|
1447
|
+
onRightClick(event: MouseEvent): void;
|
|
1448
|
+
onDocumentClick(event: MouseEvent): void;
|
|
1449
|
+
onEscapeKey(): void;
|
|
1450
|
+
private createMenuComponent;
|
|
1451
|
+
private closeMenu;
|
|
1452
|
+
ngOnDestroy(): void;
|
|
1453
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
1454
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ContextMenuDirective, "[contextMenu], [chrContextMenu], [chr-right-click]", never, { "contextMenu": { "alias": "contextMenu"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1398
1457
|
declare const inOutAnimation: (duration?: number) => _angular_animations.AnimationTriggerMetadata;
|
|
1399
1458
|
|
|
1400
1459
|
declare const rotationAnimation: (initialAngle?: number, endAngle?: number, duration?: number) => _angular_animations.AnimationTriggerMetadata;
|
|
@@ -1557,5 +1616,5 @@ declare const XSRFHEADERNAME: InjectionToken<string>;
|
|
|
1557
1616
|
declare const XSRFCOOKIENAME: InjectionToken<string>;
|
|
1558
1617
|
declare const HUBURL: InjectionToken<string>;
|
|
1559
1618
|
|
|
1560
|
-
export { Aligments, AutofocusDirective, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, rotationAnimation, type };
|
|
1561
|
-
export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IControl, IControlValidation, IDefaultDialogConfig, IFile, IFormSection, IInputSearchFilter, ILiveUpdateMessage, IModalRef, ISearchFilter, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast };
|
|
1619
|
+
export { Aligments, AutofocusDirective, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ContextMenuDirective, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, rotationAnimation, type };
|
|
1620
|
+
export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IDefaultDialogConfig, IFile, IFormSection, IInputSearchFilter, ILiveUpdateMessage, IModalRef, ISearchFilter, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast };
|
package/package.json
CHANGED
|
Binary file
|