@rt-tools/ui-kit 0.0.13 → 0.0.14

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
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@rt-tools/ui-kit",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Yauheni Krumin",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "tslib": "^2.8.0",
9
- "@rt-tools/core": "^0.0.2",
9
+ "@rt-tools/core": "^0.0.3",
10
10
  "@rt-tools/store": "^0.0.4",
11
11
  "@rt-tools/utils": "^0.0.5"
12
12
  },
13
13
  "peerDependencies": {
14
- "@rt-tools/core": "^0.0.2",
14
+ "@rt-tools/core": "^0.0.3",
15
15
  "@rt-tools/store": "^0.0.4",
16
16
  "@rt-tools/utils": "^0.0.5",
17
17
  "@angular/animations": "^21.0.0",
Binary file
@@ -5,12 +5,12 @@ import { ThemePalette } from '@angular/material/core';
5
5
  import { Observable, Subject } from 'rxjs';
6
6
  import { Nullable } from '@rt-tools/core';
7
7
  import { MatDialogConfig } from '@angular/material/dialog';
8
- import { Nullable as Nullable$1, PageModel, SortModel, FilterOperatorType, FilterModel, FILTER_OPERATOR_TYPE_ENUM, POSITION_ENUM, OSTypes } from '@rt-tools/utils';
9
8
  import { MatDrawer } from '@angular/material/sidenav';
10
9
  import { OverlayRef, ComponentType, ConnectedPosition, CdkOverlayOrigin } from '@angular/cdk/overlay';
11
10
  import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
12
11
  import { HttpErrorResponse } from '@angular/common/http';
13
12
  import { MatFormFieldAppearance } from '@angular/material/form-field';
13
+ import { PageModel, SortModel, FilterOperatorType, FilterModel, FILTER_OPERATOR_TYPE_ENUM, POSITION_ENUM, OSTypes } from '@rt-tools/utils';
14
14
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
15
15
  import { TooltipPosition } from '@angular/material/tooltip';
16
16
  import { AnimationPlayer, AnimationTriggerMetadata } from '@angular/animations';
@@ -101,7 +101,7 @@ declare class RtuiModalComponent<T> implements OnInit {
101
101
 
102
102
  declare class RtModalService {
103
103
  #private;
104
- confirm<T>(data: IModal.Data<T>, config?: MatDialogConfig): Observable<Nullable$1<IModal.DataAnswer<T>>>;
104
+ confirm<T>(data: IModal.Data<T>, config?: MatDialogConfig): Observable<Nullable<IModal.DataAnswer<T>>>;
105
105
  with<T>(data: IModal.Data<T>, config?: MatDialogConfig): IModal.ConfirmResponse<T>;
106
106
  static ɵfac: i0.ɵɵFactoryDeclaration<RtModalService, never>;
107
107
  static ɵprov: i0.ɵɵInjectableDeclaration<RtModalService>;
@@ -120,9 +120,9 @@ declare class RtuiScrollableContainerFooterDirective {
120
120
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiScrollableContainerFooterDirective, "[rtuiScrollableFooter]", never, {}, {}, never, never, true, never>;
121
121
  }
122
122
  declare class RtuiScrollableContainerComponent {
123
- readonly headerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
124
- readonly contentTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
125
- readonly footerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
123
+ readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
124
+ readonly contentTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
125
+ readonly footerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
126
126
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiScrollableContainerComponent, never>;
127
127
  static ɵcmp: i0.ɵɵComponentDeclaration<RtuiScrollableContainerComponent, "rtui-scrollable", never, {}, {}, ["headerTpl", "contentTpl", "footerTpl"], never, true, never>;
128
128
  }
@@ -152,15 +152,15 @@ declare class RtuiSideMenuFooterDirective {
152
152
  }
153
153
  declare class RtuiSideMenuComponent {
154
154
  #private;
155
- readonly headerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
156
- readonly footerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
157
- readonly subMenuRef: Signal<Nullable$1<MatDrawer>>;
155
+ readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
156
+ readonly footerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
157
+ readonly subMenuRef: Signal<Nullable<MatDrawer>>;
158
158
  readonly backToMainMenuButton: Signal<ISideMenu.Item>;
159
- readonly selectedItem: WritableSignal<Nullable$1<ISideMenu.Item>>;
160
- readonly selectedSubMenu: WritableSignal<Nullable$1<ISideMenu.Item[]>>;
159
+ readonly selectedItem: WritableSignal<Nullable<ISideMenu.Item>>;
160
+ readonly selectedSubMenu: WritableSignal<Nullable<ISideMenu.Item[]>>;
161
161
  activeMenuIds: InputSignal<Array<string | number>>;
162
162
  menuItems: InputSignalWithTransform<ISideMenu.Item[], ISideMenu.Item[]>;
163
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
163
+ isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
164
164
  isSubMenuXScrollEnabled: InputSignalWithTransform<boolean, boolean>;
165
165
  isMainMenuIconsOutlined: InputSignalWithTransform<boolean, boolean>;
166
166
  isSubMenuIconsOutlined: InputSignalWithTransform<boolean, boolean>;
@@ -260,21 +260,21 @@ declare class RtuiAsideContainerHeaderDirective {
260
260
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiAsideContainerHeaderDirective, "[rtuiAsideHeader]", never, {}, {}, never, never, true, never>;
261
261
  }
262
262
  declare class RtuiAsideContainerComponent {
263
- title: InputSignal<Nullable$1<string>>;
264
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
263
+ title: InputSignal<Nullable<string>>;
264
+ isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
265
265
  isSubmitButtonDisabled: InputSignalWithTransform<boolean, boolean>;
266
266
  isFooterShown: InputSignalWithTransform<boolean, boolean>;
267
267
  pending: InputSignalWithTransform<boolean, boolean>;
268
268
  isRequestErrorShown: InputSignalWithTransform<boolean, boolean>;
269
269
  headerActionsButtons: InputSignalWithTransform<IAside.HeaderActionButton[], IAside.HeaderActionButton[]>;
270
- requestError: InputSignal<Nullable$1<HttpErrorResponse>>;
270
+ requestError: InputSignal<Nullable<HttpErrorResponse>>;
271
271
  submitButtonTitle: InputSignal<string>;
272
272
  cancelButtonTitle: InputSignal<string>;
273
273
  submitButtonTooltip: InputSignal<string>;
274
274
  readonly submitAction: OutputEmitterRef<void>;
275
275
  readonly cancelAction: OutputEmitterRef<void>;
276
276
  readonly headerAction: OutputEmitterRef<AsideButtonsType>;
277
- readonly headerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
277
+ readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
278
278
  onSubmit(): void;
279
279
  onCancel(): void;
280
280
  onHeaderActionClick(buttonName: AsideButtonsType): void;
@@ -311,7 +311,7 @@ type ButtonAppearanceType = BUTTON_APPEARANCE.OUTLINE | BUTTON_APPEARANCE.LIGHT;
311
311
  declare class RtuiButtonComponent {
312
312
  readonly size: InputSignal<ButtonSizeType>;
313
313
  readonly color: InputSignal<ButtonColorType>;
314
- readonly appearance: InputSignal<Nullable$1<ButtonAppearanceType>>;
314
+ readonly appearance: InputSignal<Nullable<ButtonAppearanceType>>;
315
315
  readonly modifierClass: Signal<string>;
316
316
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiButtonComponent, never>;
317
317
  static ɵcmp: i0.ɵɵComponentDeclaration<RtuiButtonComponent, "a[rtui-btn], button[rtui-btn]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
@@ -340,10 +340,10 @@ declare class RtuiToolbarRightDirective {
340
340
  }
341
341
  declare class RtuiToolbarComponent {
342
342
  isVisibleToolbar: Signal<boolean>;
343
- readonly leftToolTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
344
- readonly centerToolTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
345
- readonly rightToolTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
346
- sticky: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
343
+ readonly leftToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
344
+ readonly centerToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
345
+ readonly rightToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
346
+ sticky: InputSignalWithTransform<Nullable<boolean>, boolean>;
347
347
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiToolbarComponent, never>;
348
348
  static ɵcmp: i0.ɵɵComponentDeclaration<RtuiToolbarComponent, "rtui-toolbar", never, { "isVisibleToolbar": { "alias": "isVisibleToolbar"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; }, {}, ["leftToolTpl", "centerToolTpl", "rightToolTpl"], never, true, never>;
349
349
  }
@@ -361,11 +361,11 @@ declare class RtuiHeaderRightDirective {
361
361
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiHeaderRightDirective, "[rtuiHeaderRight]", never, {}, {}, never, never, true, never>;
362
362
  }
363
363
  declare class RtuiHeaderComponent {
364
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
365
- isMobileMenuButtonShown: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
366
- readonly leftHeaderTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
367
- readonly centerHeaderTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
368
- readonly rightHeaderTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
364
+ isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
365
+ isMobileMenuButtonShown: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
366
+ readonly leftHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
367
+ readonly centerHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
368
+ readonly rightHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
369
369
  readonly openMobileMenuAction: OutputEmitterRef<void>;
370
370
  openSideMenu(): void;
371
371
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiHeaderComponent, never>;
@@ -374,9 +374,9 @@ declare class RtuiHeaderComponent {
374
374
 
375
375
  declare class RtuiClearButtonComponent {
376
376
  #private;
377
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
378
- isButtonShown: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
379
- tooltip: InputSignalWithTransform<Nullable$1<string>, string>;
377
+ isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
378
+ isButtonShown: InputSignalWithTransform<Nullable<boolean>, boolean>;
379
+ tooltip: InputSignalWithTransform<Nullable<string>, string>;
380
380
  tooltipPosition: InputSignal<TooltipPosition>;
381
381
  readonly keydownAction: OutputEmitterRef<void>;
382
382
  readonly clickAction: OutputEmitterRef<void>;
@@ -391,7 +391,7 @@ declare class RtuiPaginationComponent implements OnInit, AfterViewInit {
391
391
  /** Current Page Model */
392
392
  currentPageModel: InputSignal<PageModel>;
393
393
  /** Indicates is mobile view */
394
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
394
+ isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
395
395
  /** Output action when Page Model changed */
396
396
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
397
397
  /** Form control for selected page size */
@@ -402,13 +402,13 @@ declare class RtuiPaginationComponent implements OnInit, AfterViewInit {
402
402
  /** Array of current page numbers */
403
403
  readonly numbers: WritableSignal<Array<number | string>>;
404
404
  /** Page Model for compare */
405
- readonly previousPageModel: WritableSignal<Nullable$1<PageModel>>;
405
+ readonly previousPageModel: WritableSignal<Nullable<PageModel>>;
406
406
  /** Value of full content width */
407
407
  readonly minContentFitWidth: WritableSignal<number>;
408
408
  /** Indicates is content clipped */
409
409
  readonly isContentClipped: WritableSignal<boolean>;
410
410
  /** Container template ref */
411
- readonly containerRef: Signal<Nullable$1<ElementRef<HTMLElement>>>;
411
+ readonly containerRef: Signal<Nullable<ElementRef<HTMLElement>>>;
412
412
  /** Set 'isContentClipped' when widow resize */
413
413
  onResize(): void;
414
414
  ngOnInit(): void;
@@ -516,20 +516,20 @@ declare namespace ITable {
516
516
  declare const RTUI_TABLE_COMPONENT_TOKEN: InjectionToken<IRtuiTable<Record<string, unknown>, string, string>>;
517
517
  interface IRtuiTable<ENTITY_TYPE extends Record<string, unknown>, SORT_PROPERTY extends Extract<keyof ENTITY_TYPE, string>, KEY extends Extract<keyof ENTITY_TYPE, string>> {
518
518
  columns: Signal<Array<ITable.Column<ENTITY_TYPE>>>;
519
- customCellsTpl: Signal<Nullable$1<{
519
+ customCellsTpl: Signal<Nullable<{
520
520
  getTemplateByPropName(propName: keyof ENTITY_TYPE): TemplateRef<{
521
521
  $implicit: ENTITY_TYPE;
522
522
  }>;
523
523
  }>>;
524
- rowActionsTpl: Signal<Nullable$1<TemplateRef<{
524
+ rowActionsTpl: Signal<Nullable<TemplateRef<{
525
525
  $implicit: ENTITY_TYPE;
526
526
  }>>>;
527
- additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<unknown>>>;
527
+ additionalRowActionsTpl: Signal<Nullable<TemplateRef<unknown>>>;
528
528
  isMobile: Signal<boolean>;
529
529
  isTableRowsClickable: Signal<boolean>;
530
530
  keyExp: Signal<NonNullable<KEY>>;
531
531
  entities: Signal<ENTITY_TYPE[]>;
532
- currentSortModel: Signal<Nullable$1<SortModel<SORT_PROPERTY>>>;
532
+ currentSortModel: Signal<Nullable<SortModel<SORT_PROPERTY>>>;
533
533
  appearance: Signal<MatFormFieldAppearance>;
534
534
  filterAppearance: Signal<MatFormFieldAppearance>;
535
535
  filterModel: Signal<FilterModel<KEY>[]>;
@@ -540,7 +540,7 @@ interface IRtuiTable<ENTITY_TYPE extends Record<string, unknown>, SORT_PROPERTY
540
540
  isMultiSelect: WritableSignal<boolean>;
541
541
  isSelectorsColumnShown: WritableSignal<boolean>;
542
542
  isSelectorsColumnDisabled: WritableSignal<boolean>;
543
- activeRowIndex: WritableSignal<Nullable$1<number>>;
543
+ activeRowIndex: WritableSignal<Nullable<number>>;
544
544
  onSortChange(sortModel: SortModel): void;
545
545
  onFilterChange(filterModel: FilterModel<KEY>[]): void;
546
546
  onMenuOpen(index: number): void;
@@ -673,9 +673,9 @@ declare class RtuiTableAdditionalRowActionsDirective {
673
673
  }
674
674
  declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SORT_PROPERTY extends Extract<keyof ENTITY_TYPE, string>, KEY extends Extract<keyof ENTITY_TYPE, string>> implements IRtuiTable<ENTITY_TYPE, SORT_PROPERTY, KEY>, AfterViewChecked {
675
675
  #private;
676
- protected readonly rowActions: Signal<Nullable$1<ElementRef<HTMLElement>>>;
677
- protected readonly rowActionsHeaderPaddingHelper: Signal<Nullable$1<ElementRef<HTMLElement>>>;
678
- protected readonly rowActionsPaddingHelper: Signal<Nullable$1<ElementRef<HTMLElement>>>;
676
+ protected readonly rowActions: Signal<Nullable<ElementRef<HTMLElement>>>;
677
+ protected readonly rowActionsHeaderPaddingHelper: Signal<Nullable<ElementRef<HTMLElement>>>;
678
+ protected readonly rowActionsPaddingHelper: Signal<Nullable<ElementRef<HTMLElement>>>;
679
679
  protected readonly columnTypes: typeof TABLE_COLUMN_TYPES_ENUM;
680
680
  protected readonly filterOperators: typeof FILTER_OPERATOR_TYPE_ENUM;
681
681
  /** Indicates is mobile view */
@@ -687,7 +687,7 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
687
687
  /** List of entities */
688
688
  entities: InputSignalWithTransform<ENTITY_TYPE[], ENTITY_TYPE[]>;
689
689
  /** Current page model from store */
690
- currentSortModel: InputSignal<Nullable$1<SortModel<SORT_PROPERTY>>>;
690
+ currentSortModel: InputSignal<Nullable<SortModel<SORT_PROPERTY>>>;
691
691
  /** Current elements appearance */
692
692
  appearance: InputSignal<MatFormFieldAppearance>;
693
693
  /** Filter inputs appearance */
@@ -710,13 +710,13 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
710
710
  /** Columns config for table */
711
711
  columns: Signal<Array<ITable.Column<ENTITY_TYPE>>>;
712
712
  /** Custom cells template */
713
- readonly customCellsTpl: Signal<Nullable$1<RtuiCustomTableCellsDirective<ENTITY_TYPE>>>;
713
+ readonly customCellsTpl: Signal<Nullable<RtuiCustomTableCellsDirective<ENTITY_TYPE>>>;
714
714
  /** Row actions template */
715
- readonly rowActionsTpl: Signal<Nullable$1<TemplateRef<{
715
+ readonly rowActionsTpl: Signal<Nullable<TemplateRef<{
716
716
  $implicit: ENTITY_TYPE;
717
717
  }>>>;
718
718
  /** Additional row actions template */
719
- readonly additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<RtuiTableAdditionalRowActionsDirective>>>;
719
+ readonly additionalRowActionsTpl: Signal<Nullable<TemplateRef<RtuiTableAdditionalRowActionsDirective>>>;
720
720
  /** Fields specified by the directive */
721
721
  /** List of selected entities ids */
722
722
  readonly selectedEntitiesIds: WritableSignal<ENTITY_TYPE[KEY][]>;
@@ -731,7 +731,7 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
731
731
  /** Indicates is selectors column disabled */
732
732
  readonly isSelectorsColumnDisabled: WritableSignal<boolean>;
733
733
  /** Current row index */
734
- readonly activeRowIndex: WritableSignal<Nullable$1<number>>;
734
+ readonly activeRowIndex: WritableSignal<Nullable<number>>;
735
735
  ngAfterViewChecked(): void;
736
736
  /** Sort change output action */
737
737
  onSortChange(sortModel: SortModel<string>): void;
@@ -780,27 +780,27 @@ declare class RtuiTableContainerComponent<ENTITY_TYPE> implements OnInit {
780
780
  /** Indicates is filters empty */
781
781
  isFiltersEmpty: InputSignalWithTransform<boolean, BooleanInput>;
782
782
  /** Current search term from store */
783
- searchTerm: InputSignalWithTransform<Nullable$1<string>, Nullable$1<string>>;
783
+ searchTerm: InputSignalWithTransform<Nullable<string>, Nullable<string>>;
784
784
  /** Current placeholder icon */
785
785
  placeholderIcon: InputSignal<string>;
786
786
  /** Current placeholder title */
787
787
  placeholderTitle: InputSignal<string>;
788
788
  /** Indicates is a small tablet view */
789
- readonly isSmallTablet: Signal<Nullable$1<boolean>>;
789
+ readonly isSmallTablet: Signal<Nullable<boolean>>;
790
790
  /** Config for table */
791
791
  readonly tableConfig: Signal<ITable.Config.Data<ENTITY_TYPE>>;
792
792
  /** Page model change output action */
793
793
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
794
794
  /** Search change output action */
795
- readonly searchChange: OutputEmitterRef<Nullable$1<string>>;
795
+ readonly searchChange: OutputEmitterRef<Nullable<string>>;
796
796
  /** Refresh output action */
797
797
  readonly refreshAction: OutputEmitterRef<void>;
798
798
  /** Clear filters output action */
799
799
  readonly clearFiltersAction: OutputEmitterRef<void>;
800
800
  /** Toolbar selectors template */
801
- readonly toolbarSelectorsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
801
+ readonly toolbarSelectorsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
802
802
  /** Toolbar actions template */
803
- readonly toolbarActionsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
803
+ readonly toolbarActionsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
804
804
  /** Fields specified by the directive */
805
805
  /** Indicates is multiselect mod enabled */
806
806
  readonly isMultiSelect: WritableSignal<boolean>;
@@ -815,7 +815,7 @@ declare class RtuiTableContainerComponent<ENTITY_TYPE> implements OnInit {
815
815
  /** Current selected entities count */
816
816
  readonly selectedEntitiesCount: WritableSignal<number>;
817
817
  /** Control for search */
818
- readonly searchControl: FormControl<Nullable$1<string>>;
818
+ readonly searchControl: FormControl<Nullable<string>>;
819
819
  ngOnInit(): void;
820
820
  /** Page model change output action */
821
821
  onPageModelChange(pageModel: Partial<PageModel>): void;
@@ -867,7 +867,7 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
867
867
  /** Table config storage key */
868
868
  tableConfigStorageKey: InputSignalWithTransform<string, unknown>;
869
869
  /** Indicates is mobile view */
870
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, BooleanInput>;
870
+ isMobile: InputSignalWithTransform<Nullable<boolean>, BooleanInput>;
871
871
  /** Indicates is loading in progress */
872
872
  loading: InputSignalWithTransform<boolean, BooleanInput>;
873
873
  /** Indicates is fetching in progress */
@@ -889,9 +889,9 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
889
889
  /** Current page model from store */
890
890
  pageModel: InputSignal<PageModel>;
891
891
  /** Current search term from store */
892
- searchTerm: InputSignal<Nullable$1<string>>;
892
+ searchTerm: InputSignal<Nullable<string>>;
893
893
  /** Current sort model from store */
894
- currentSortModel: InputSignal<Nullable$1<SortModel<NonNullable<KEY>>>>;
894
+ currentSortModel: InputSignal<Nullable<SortModel<NonNullable<KEY>>>>;
895
895
  /** Inputs appearance */
896
896
  appearance: InputSignal<MatFormFieldAppearance>;
897
897
  /** Filter inputs appearance */
@@ -905,7 +905,7 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
905
905
  /** Page model change output action */
906
906
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
907
907
  /** Search change output action */
908
- readonly searchChange: OutputEmitterRef<Nullable$1<string>>;
908
+ readonly searchChange: OutputEmitterRef<Nullable<string>>;
909
909
  /** Refresh output action */
910
910
  readonly refresh: OutputEmitterRef<void>;
911
911
  /** Clear filters output action */
@@ -920,27 +920,27 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
920
920
  /** Filter change output action */
921
921
  readonly filterChange: OutputEmitterRef<FilterModel<KEY>[]>;
922
922
  /** Toolbar selectors template */
923
- readonly toolbarSelectorsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
923
+ readonly toolbarSelectorsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
924
924
  /** Toolbar actions template */
925
- readonly toolbarActionsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
925
+ readonly toolbarActionsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
926
926
  /** Custom cells template */
927
- readonly customCellsTpl: Signal<Nullable$1<RtuiDynamicListCustomTableCellsDirective<{
927
+ readonly customCellsTpl: Signal<Nullable<RtuiDynamicListCustomTableCellsDirective<{
928
928
  $implicit: ENTITY_TYPE;
929
929
  }>>>;
930
930
  /** Row actions template */
931
- readonly rowActionsTpl: Signal<Nullable$1<TemplateRef<{
931
+ readonly rowActionsTpl: Signal<Nullable<TemplateRef<{
932
932
  $implicit: ENTITY_TYPE;
933
933
  }>>>;
934
934
  /** Additional row actions template */
935
- readonly additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<{
935
+ readonly additionalRowActionsTpl: Signal<Nullable<TemplateRef<{
936
936
  $implicit: ENTITY_TYPE;
937
937
  }>>>;
938
938
  /** Table container for selectors directive usage */
939
- readonly tableContainerTpl: Signal<Nullable$1<RtuiTableContainerComponent<ENTITY_TYPE>>>;
939
+ readonly tableContainerTpl: Signal<Nullable<RtuiTableContainerComponent<ENTITY_TYPE>>>;
940
940
  /** Table selector for selectors directive usage */
941
- readonly tableTpl: Signal<Nullable$1<RtuiTableComponent<ENTITY_TYPE, SORT_PROPERTY, KEY>>>;
941
+ readonly tableTpl: Signal<Nullable<RtuiTableComponent<ENTITY_TYPE, SORT_PROPERTY, KEY>>>;
942
942
  /** Search change output action */
943
- onSearchChange(value: Nullable$1<string>): void;
943
+ onSearchChange(value: Nullable<string>): void;
944
944
  /** Sort change output action */
945
945
  onSortChange(sortModel: SortModel<NonNullable<KEY>>): void;
946
946
  /** Page model change output action */
@@ -998,9 +998,9 @@ declare function provideRtUi(): Provider[];
998
998
 
999
999
  declare namespace IRtSnackBar {
1000
1000
  interface Config extends MatSnackBarConfig {
1001
- icon?: Nullable$1<string>;
1001
+ icon?: Nullable<string>;
1002
1002
  isColoredBackground?: boolean;
1003
- action?: Nullable$1<string>;
1003
+ action?: Nullable<string>;
1004
1004
  isProgressBarShown?: boolean;
1005
1005
  }
1006
1006
  interface Data extends Config {
@@ -1012,7 +1012,7 @@ declare class RtuiSnackBarComponent {
1012
1012
  #private;
1013
1013
  readonly data: IRtSnackBar.Data;
1014
1014
  player: AnimationPlayer | undefined;
1015
- readonly progressTplRef: Signal<Nullable$1<ElementRef<HTMLElement>>>;
1015
+ readonly progressTplRef: Signal<Nullable<ElementRef<HTMLElement>>>;
1016
1016
  constructor();
1017
1017
  onMouseOver(): void;
1018
1018
  onMouseOut(): void;
@@ -1055,7 +1055,7 @@ declare class RtuiInfoBadgeComponent implements AfterContentChecked {
1055
1055
  glyph: InputSignal<string>;
1056
1056
  iconSide: InputSignal<IconSideType>;
1057
1057
  isFontBold: InputSignal<boolean>;
1058
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1058
+ isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
1059
1059
  isTitleCollapsed: WritableSignal<boolean>;
1060
1060
  readonly contentRef: Signal<ElementRef<HTMLElement> | undefined>;
1061
1061
  get badgeClass(): {
@@ -1088,13 +1088,13 @@ type ToggleSizeType = TOGGLE_SIZE_TYPE_ENUM.SM | TOGGLE_SIZE_TYPE_ENUM.MD;
1088
1088
  declare class RtuiToggleComponent implements OnInit, ControlValueAccessor {
1089
1089
  #private;
1090
1090
  formControl: FormControl<boolean>;
1091
- label: InputSignal<Nullable$1<string>>;
1091
+ label: InputSignal<Nullable<string>>;
1092
1092
  tooltip: InputSignal<string>;
1093
1093
  size: InputSignal<ToggleSizeType>;
1094
1094
  tooltipPosition: InputSignal<TooltipPosition>;
1095
1095
  isDisabled: InputSignalWithTransform<boolean, BooleanInput>;
1096
1096
  tooltipDisabled: InputSignalWithTransform<boolean, BooleanInput>;
1097
- readonly isMobile: Signal<Nullable$1<boolean>>;
1097
+ readonly isMobile: Signal<Nullable<boolean>>;
1098
1098
  ngOnInit(): void;
1099
1099
  writeValue(value: boolean): void;
1100
1100
  registerOnChange(fn: () => void): void;
@@ -1118,7 +1118,7 @@ declare class RtuiFileUploadComponent {
1118
1118
 
1119
1119
  declare abstract class RtuiDynamicSelectorsDirective {
1120
1120
  /** Indicates if mobile view */
1121
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1121
+ isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
1122
1122
  /** Selections control button title */
1123
1123
  buttonTitle: InputSignalWithTransform<string, string>;
1124
1124
  /** Indicates if only one option can be chosen */
@@ -1145,7 +1145,7 @@ declare abstract class RtuiDynamicSelectorsDirective {
1145
1145
  }
1146
1146
 
1147
1147
  interface FormModel$1 {
1148
- autocompleteControl: FormControl<Nullable$1<string>>;
1148
+ autocompleteControl: FormControl<Nullable<string>>;
1149
1149
  }
1150
1150
  /** Directive for row actions located outside a row menu button */
1151
1151
  declare class RtuiDynamicSelectorAdditionalControlDirective {
@@ -1158,7 +1158,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1158
1158
  protected readonly connectedOverlayPositions: ConnectedPosition[];
1159
1159
  form: FormGroup<FormModel$1>;
1160
1160
  /** Target element for overlay selector */
1161
- selectedOverlayTrigger: Nullable$1<CdkOverlayOrigin>;
1161
+ selectedOverlayTrigger: Nullable<CdkOverlayOrigin>;
1162
1162
  /** A model's field which should be used for http-requests */
1163
1163
  keyExp: InputSignal<KEY>;
1164
1164
  /** A model's field which should be shown in ui */
@@ -1198,7 +1198,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1198
1198
  /** Indicates that an additional control has been changed */
1199
1199
  additionalControlChanged: InputSignal<boolean>;
1200
1200
  /** Custom sort function for entities list in popup */
1201
- sortFn: InputSignal<Nullable$1<(a: ENTITY, b: ENTITY) => number>>;
1201
+ sortFn: InputSignal<Nullable<(a: ENTITY, b: ENTITY) => number>>;
1202
1202
  /** Output search action */
1203
1203
  readonly searchAction: OutputEmitterRef<string>;
1204
1204
  /** Output scroll action, needed for lazy loading */
@@ -1222,7 +1222,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1222
1222
  /** Entities can be chosen, except selected on init */
1223
1223
  readonly entitiesToSelect: Signal<ENTITY[]>;
1224
1224
  /** Additional control for entity */
1225
- readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1225
+ readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1226
1226
  $implicit: ENTITY;
1227
1227
  }>>>;
1228
1228
  ngOnInit(): void;
@@ -1257,7 +1257,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1257
1257
 
1258
1258
  interface FormModel {
1259
1259
  control: FormControl<string[]>;
1260
- controlForUi: FormControl<Nullable$1<string>>;
1260
+ controlForUi: FormControl<Nullable<string>>;
1261
1261
  }
1262
1262
  /** Directive for row actions located outside a row menu button */
1263
1263
  declare class RtuiDynamicInputAdditionalControlDirective {
@@ -1268,7 +1268,7 @@ declare class RtuiDynamicInputComponent extends RtuiDynamicSelectorsDirective im
1268
1268
  #private;
1269
1269
  form: FormGroup<FormModel>;
1270
1270
  /** Indicates is placeholder shown */
1271
- isPlaceholderShown: ModelSignal<Nullable$1<boolean>>;
1271
+ isPlaceholderShown: ModelSignal<Nullable<boolean>>;
1272
1272
  /** Indicates is inputs-editable */
1273
1273
  isInputsEditable: InputSignalWithTransform<boolean, BooleanInput>;
1274
1274
  /** Input label */
@@ -1286,7 +1286,7 @@ declare class RtuiDynamicInputComponent extends RtuiDynamicSelectorsDirective im
1286
1286
  /** Indicates the reset changes button is disabled */
1287
1287
  readonly isResetButtonDisabled: WritableSignal<boolean>;
1288
1288
  /** Additional control for entity */
1289
- readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1289
+ readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1290
1290
  $implicit: string;
1291
1291
  }>>>;
1292
1292
  ngOnInit(): void;
@@ -1326,7 +1326,7 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1326
1326
  #private;
1327
1327
  protected readonly oSTypes: typeof OSTypes;
1328
1328
  /** Indicates is mobile view */
1329
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
1329
+ isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
1330
1330
  entitiesToSelect: InputSignalWithTransform<ENTITY[], ENTITY[]>;
1331
1331
  /** Material elements appearance */
1332
1332
  appearance: InputSignal<MatFormFieldAppearance>;
@@ -1353,9 +1353,9 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1353
1353
  /** Indicates is BreakStringPipe used */
1354
1354
  useNameBreaking: InputSignalWithTransform<boolean, BooleanInput>;
1355
1355
  /** Indicates lazy loading is used */
1356
- isLazyLoad: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1356
+ isLazyLoad: InputSignalWithTransform<Nullable<boolean>, boolean>;
1357
1357
  /** Indicates local search is used */
1358
- isLocalSearch: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1358
+ isLocalSearch: InputSignalWithTransform<Nullable<boolean>, boolean>;
1359
1359
  /** Send output selected entities ids */
1360
1360
  readonly submitAction: OutputEmitterRef<ENTITY[KEY][]>;
1361
1361
  /** Close popup action */
@@ -1367,9 +1367,9 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1367
1367
  /** Output temporary selection action, needed for store values */
1368
1368
  readonly temporarySelectAction: OutputEmitterRef<ENTITY[]>;
1369
1369
  /** Search input Ref for set focus on init */
1370
- readonly searchInputRef: Signal<Nullable$1<ElementRef<HTMLInputElement>>>;
1370
+ readonly searchInputRef: Signal<Nullable<ElementRef<HTMLInputElement>>>;
1371
1371
  /** Form control for search */
1372
- readonly searchControl: FormControl<Nullable$1<string>>;
1372
+ readonly searchControl: FormControl<Nullable<string>>;
1373
1373
  /** Form control for select */
1374
1374
  readonly selectionControl: FormControl<ENTITY[KEY][]>;
1375
1375
  /** Entities filtered by local search */
@@ -1421,7 +1421,7 @@ declare class RtuiDynamicSelectorPlaceholderComponent {
1421
1421
  }
1422
1422
 
1423
1423
  declare class RtuiDynamicSelectorListActionsComponent {
1424
- isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
1424
+ isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
1425
1425
  isResetButtonDisabled: InputSignalWithTransform<boolean, boolean>;
1426
1426
  isClearButtonDisabled: InputSignalWithTransform<boolean, boolean>;
1427
1427
  disabled: InputSignalWithTransform<boolean, boolean>;
@@ -1439,8 +1439,8 @@ declare class RtuiDynamicSelectorItemAdditionalControlDirective {
1439
1439
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiDynamicSelectorItemAdditionalControlDirective, "[rtuiDynamicSelectorItemAdditionalControlDirective]", never, {}, {}, never, never, true, never>;
1440
1440
  }
1441
1441
  declare class RtuiDynamicSelectorSelectedListComponent<ENTITY extends Record<string, unknown>, KEY extends Extract<keyof ENTITY, string>> {
1442
- protected readonly editedItemIndex: WritableSignal<Nullable$1<number>>;
1443
- readonly inputRef: Signal<Nullable$1<MatInput>>;
1442
+ protected readonly editedItemIndex: WritableSignal<Nullable<number>>;
1443
+ readonly inputRef: Signal<Nullable<MatInput>>;
1444
1444
  /** Indicates if mobile view */
1445
1445
  isMobile: InputSignalWithTransform<boolean, BooleanInput>;
1446
1446
  /** A model's field, which should be used for http-requests */
@@ -1470,13 +1470,13 @@ declare class RtuiDynamicSelectorSelectedListComponent<ENTITY extends Record<str
1470
1470
  new: string;
1471
1471
  }>;
1472
1472
  /** Additional control for entity */
1473
- readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1473
+ readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1474
1474
  $implicit: ENTITY;
1475
1475
  }>>>;
1476
1476
  protected onDelete(value: ENTITY[KEY]): void;
1477
1477
  protected onDrop(event: CdkDragDrop<ENTITY[]>): void;
1478
1478
  protected changeValue(prev: ENTITY[KEY]): void;
1479
- protected setEditModState(index: Nullable$1<number>): void;
1479
+ protected setEditModState(index: Nullable<number>): void;
1480
1480
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiDynamicSelectorSelectedListComponent<any, any>, never>;
1481
1481
  static ɵcmp: i0.ɵɵComponentDeclaration<RtuiDynamicSelectorSelectedListComponent<any, any>, "rtui-dynamic-selector-selected-list", never, { "isMobile": { "alias": "isMobile"; "required": true; "isSignal": true; }; "keyExp": { "alias": "keyExp"; "required": true; "isSignal": true; }; "displayExp": { "alias": "displayExp"; "required": true; "isSignal": true; }; "selectedEntities": { "alias": "selectedEntities"; "required": true; "isSignal": true; }; "readonlyEntitiesKeys": { "alias": "readonlyEntitiesKeys"; "required": false; "isSignal": true; }; "isListDraggable": { "alias": "isListDraggable"; "required": false; "isSignal": true; }; "useNameBreaking": { "alias": "useNameBreaking"; "required": false; "isSignal": true; }; "useTitleCase": { "alias": "useTitleCase"; "required": false; "isSignal": true; }; "isDeleteButtonShown": { "alias": "isDeleteButtonShown"; "required": false; "isSignal": true; }; "isItemsEditable": { "alias": "isItemsEditable"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, { "deleteFromSelectedAction": "deleteFromSelectedAction"; "dropAction": "dropAction"; "changeValueAction": "changeValueAction"; }, ["additionalControlTpl"], never, true, never>;
1482
1482
  }
@@ -1485,7 +1485,7 @@ type IImageUploadFormat = 'png' | 'jpeg' | 'webp';
1485
1485
  declare class RtuiImageUploadComponent {
1486
1486
  #private;
1487
1487
  protected readonly imageFormat: Signal<IImageUploadFormat>;
1488
- imageUrl: ModelSignal<Nullable$1<string>>;
1488
+ imageUrl: ModelSignal<Nullable<string>>;
1489
1489
  isMobile: InputSignalWithTransform<boolean, boolean>;
1490
1490
  fileName: InputSignalWithTransform<string, string>;
1491
1491
  isActive: InputSignalWithTransform<boolean, BooleanInput>;
@@ -1498,8 +1498,8 @@ declare class RtuiImageUploadComponent {
1498
1498
  tooltipPosition: InputSignal<TooltipPosition>;
1499
1499
  imageQuality: InputSignal<number>;
1500
1500
  originalImage: WritableSignal<File | undefined>;
1501
- croppedImage: WritableSignal<Nullable$1<File>>;
1502
- tempImage: WritableSignal<Nullable$1<string>>;
1501
+ croppedImage: WritableSignal<Nullable<File>>;
1502
+ tempImage: WritableSignal<Nullable<string>>;
1503
1503
  readonly imageChanged: OutputEmitterRef<File>;
1504
1504
  readonly save: OutputEmitterRef<void>;
1505
1505
  onFileSelect(event: Event): void;
@@ -1518,7 +1518,7 @@ declare class RtPopoverDirective implements OnInit, OnDestroy {
1518
1518
  xOffset: InputSignalWithTransform<number, NumberInput>;
1519
1519
  yOffset: InputSignalWithTransform<number, NumberInput>;
1520
1520
  trigger: InputSignalWithTransform<MenuItemTrigger, MenuItemTrigger>;
1521
- template: InputSignalWithTransform<Nullable$1<TemplateRef<HTMLElement>>, Nullable$1<TemplateRef<HTMLElement>>>;
1521
+ template: InputSignalWithTransform<Nullable<TemplateRef<HTMLElement>>, Nullable<TemplateRef<HTMLElement>>>;
1522
1522
  isMouseHoverAllowed: InputSignalWithTransform<boolean, BooleanInput>;
1523
1523
  onClick(element: EventTarget | null): void;
1524
1524
  onMouseEnter(): void;
Binary file