@rt-tools/ui-kit 0.0.8 → 0.0.13

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.
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnChanges, ElementRef, Renderer2, PipeTransform, Provider, InjectionToken, Type, OnInit, Signal, TemplateRef, WritableSignal, InputSignal, InputSignalWithTransform, OutputEmitterRef, ModelSignal, AfterViewInit, AfterViewChecked, AfterContentChecked, OnDestroy } from '@angular/core';
3
- import { Nullable, PageModel, SortModel, FilterOperatorType, FilterModel, FILTER_OPERATOR_TYPE_ENUM, POSITION_ENUM, OSTypes } from '@rt-tools/utils';
4
- import { Observable, Subject } from 'rxjs';
2
+ import { Type, OnInit, Signal, TemplateRef, WritableSignal, InputSignal, InputSignalWithTransform, OutputEmitterRef, InjectionToken, ModelSignal, AfterViewInit, ElementRef, AfterViewChecked, Provider, AfterContentChecked, OnDestroy } from '@angular/core';
5
3
  import { FormControl, ControlValueAccessor, Validator, FormGroup, ValidationErrors } from '@angular/forms';
6
4
  import { ThemePalette } from '@angular/material/core';
7
- import { Nullable as Nullable$1 } from '@rt-tools/core';
5
+ import { Observable, Subject } from 'rxjs';
6
+ import { Nullable } from '@rt-tools/core';
8
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
9
  import { MatDrawer } from '@angular/material/sidenav';
10
10
  import { OverlayRef, ComponentType, ConnectedPosition, CdkOverlayOrigin } from '@angular/cdk/overlay';
11
11
  import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
@@ -19,332 +19,6 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
19
19
  import { MatInput } from '@angular/material/input';
20
20
  import { ImageCroppedEvent } from 'ngx-image-cropper';
21
21
 
22
- type IModsObject = Record<string, unknown>;
23
- interface IBemConfig {
24
- separators: {
25
- el: string;
26
- mod: string;
27
- val: string;
28
- };
29
- ignoreValues?: boolean;
30
- modCase?: string;
31
- }
32
-
33
- declare class BlockDirective implements OnChanges {
34
- #private;
35
- readonly element: ElementRef;
36
- readonly renderer: Renderer2;
37
- readonly name: string;
38
- private readonly elem;
39
- rtMod?: string | string[] | (string | false)[] | IModsObject;
40
- constructor(element: ElementRef, renderer: Renderer2, name: string, elem: string);
41
- ngOnChanges(): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<BlockDirective, [null, null, { attribute: "rtBlock"; }, { attribute: "rtElem"; optional: true; }]>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<BlockDirective, "[rtBlock]", never, { "rtMod": { "alias": "rtMod"; "required": false; }; }, {}, never, never, true, never>;
44
- }
45
-
46
- declare class ConcatClassesPipe implements PipeTransform {
47
- transform<C extends string | boolean | null | undefined>(classes: (C | C[])[]): string;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<ConcatClassesPipe, never>;
49
- static ɵpipe: i0.ɵɵPipeDeclaration<ConcatClassesPipe, "concatClasses", true>;
50
- }
51
-
52
- declare class ElemDirective implements OnChanges {
53
- #private;
54
- readonly element: ElementRef;
55
- readonly renderer: Renderer2;
56
- readonly name: string;
57
- private readonly rtBlock;
58
- rtMod?: string | string[] | (string | false)[] | IModsObject;
59
- blockName: string;
60
- constructor(element: ElementRef, renderer: Renderer2, name: string, rtBlock: BlockDirective);
61
- ngOnChanges(): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<ElemDirective, [null, null, { attribute: "rtElem"; }, null]>;
63
- static ɵdir: i0.ɵɵDirectiveDeclaration<ElemDirective, "[rtElem]", never, { "rtMod": { "alias": "rtMod"; "required": false; }; }, {}, never, never, true, never>;
64
- }
65
-
66
- declare class ModDirective {
67
- static ɵfac: i0.ɵɵFactoryDeclaration<ModDirective, never>;
68
- static ɵdir: i0.ɵɵDirectiveDeclaration<ModDirective, "[rtMod]", never, {}, {}, never, never, true, never>;
69
- }
70
-
71
- declare enum STORAGE_TYPES_ENUM {
72
- LOCAL = "local",
73
- SESSION = "session",
74
- IN_MEMORY = "inMemory",
75
- CUSTOM = "custom"
76
- }
77
- type StorageType = STORAGE_TYPES_ENUM.LOCAL | STORAGE_TYPES_ENUM.SESSION | STORAGE_TYPES_ENUM.IN_MEMORY | STORAGE_TYPES_ENUM.CUSTOM;
78
-
79
- /**
80
- * A service that implements the `Storage` interface using an in-memory map.
81
- * This service provides a fallback storage solution when `localStorage`
82
- * or `sessionStorage` is not available, such as in server-side rendering (SSR) scenarios.
83
- *
84
- * @Injectable
85
- */
86
- declare class InMemoryStorageService implements Storage {
87
- #private;
88
- /**
89
- * Returns the number of key-value pairs currently stored.
90
- *
91
- * @returns the number of items in storage
92
- * @public
93
- */
94
- get length(): number;
95
- /**
96
- * Retrieves the value associated with the given key.
97
- *
98
- * @param key - The name of the key to retrieve the value for
99
- * @returns the value associated with the key, or `null` if the key does not exist
100
- * @public
101
- * @returns string | null
102
- */
103
- getItem(key: string): string | null;
104
- /**
105
- * Adds or updates the key-value pair in the storage.
106
- *
107
- * @param key - The name of the key to create or update
108
- * @param data - The value to associate with the key
109
- * @public
110
- * @returns void
111
- */
112
- setItem(key: string, data: string): void;
113
- /**
114
- * Retrieves the key at the specified index.
115
- *
116
- * @param index - The index of the key to retrieve
117
- * @returns the key at the specified index, or `null` if the index is out of bounds
118
- * @public
119
- * @returns string | null
120
- */
121
- key(index: number): string | null;
122
- /**
123
- * Removes the key-value pair associated with the given key.
124
- *
125
- * @param key - The name of the key to remove
126
- * @public
127
- * @returns void
128
- */
129
- removeItem(key: string): void;
130
- /**
131
- * Clears all key-value pairs from the storage.
132
- *
133
- * @public
134
- * @returns void
135
- */
136
- clear(): void;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<InMemoryStorageService, never>;
138
- static ɵprov: i0.ɵɵInjectableDeclaration<InMemoryStorageService>;
139
- }
140
-
141
- interface IStorageConverter {
142
- convertTo(data: any): string;
143
- convertFrom<T>(data: any): Nullable<T>;
144
- }
145
-
146
- interface IStorageConfig {
147
- ctx: Nullable<StorageType>;
148
- storageRef: Nullable<Storage>;
149
- converter: Nullable<IStorageConverter>;
150
- }
151
-
152
- declare class JsonConverter implements IStorageConverter {
153
- convertTo(data: Nullable<any>): string;
154
- convertFrom<T>(data: any): Nullable<T>;
155
- }
156
-
157
- /**
158
- * Returns the set of dependency-injection providers
159
- * required to setup storages in an application.
160
- *
161
- * @usageNotes
162
- *
163
- * This function sets up the essential storage services needed for
164
- * working with `localStorage`, `sessionStorage`, and an in-memory storage solution.
165
- * It includes providers for each type of storage, ensuring that the appropriate
166
- * storage service is injected based on the platform or specific use case.
167
- *
168
- * The function is particularly useful in scenarios where the application may be
169
- * running on the server-side (SSR). In such cases, instead of using `localStorage`
170
- * and `sessionStorage`, which are only available in the browser, the `InMemoryStorageService`
171
- * can be used as a fallback, ensuring that the application still functions correctly.
172
- *
173
- * ```typescript
174
- * bootstrapApplication(RootComponent, {
175
- * providers: [
176
- * provideRtStorage()
177
- * ]
178
- * });
179
- * ```
180
- *
181
- * @publicApi
182
- */
183
- declare function provideRtStorage(): Provider[];
184
-
185
- /**
186
- * Factory for creating or returning `localStorage`.
187
- * Returns `localStorage` global object if the application is running in a browser,
188
- * otherwise returns null.
189
- *
190
- * @returns localStorage or null
191
- */
192
- declare function localStorageFactory(): Nullable<Storage>;
193
- /**
194
- * Factory for creating or returning `sessionStorage`.
195
- * Returns `sessionStorage` global object if the application is running in a browser,
196
- * otherwise returns null.
197
- *
198
- * @returns sessionStorage or null
199
- */
200
- declare function sessionStorageFactory(): Nullable<Storage>;
201
- /**
202
- * Factory for creating `InMemoryStorageService`.
203
- * Returns a new instance of InMemoryStorageService.
204
- *
205
- * @returns a new instance of InMemoryStorageService
206
- */
207
- declare function inMemoryStorageFactory(): Storage;
208
-
209
- /**
210
- * A service for managing data storage across different storage types,
211
- * including `localStorage`, `sessionStorage`, and an in-memory storage fallback.
212
- * The service supports custom storage types and data conversion through configurable converters.
213
- *
214
- * @Injectable
215
- */
216
- declare class StorageService {
217
- #private;
218
- /**
219
- * Retrieves an item from the specified storage context.
220
- *
221
- * @param key - The key of the item to retrieve.
222
- * @param config - Optional configuration for the storage context and data conversion.
223
- * @returns The retrieved item, converted from storage if a converter is provided, or `null` if the item does not exist.
224
- */
225
- getItem<T>(key: string, config?: Partial<IStorageConfig>): Nullable<T>;
226
- /**
227
- * Stores an item in the specified storage context.
228
- *
229
- * @param key - The key to associate with the stored item.
230
- * @param data - The data to store, which will be converted if a converter is provided.
231
- * @param config - Optional configuration for the storage context and data conversion.
232
- */
233
- setItem(key: string, data: any, config?: Partial<IStorageConfig>): void;
234
- /**
235
- * Checks if a given key exists in the specified storage context.
236
- *
237
- * @param key - The key to check for.
238
- * @param ctx - The storage context to search in (local, session, or in-memory).
239
- * @returns `true` if the key exists, `false` otherwise.
240
- */
241
- hasKey(key: string, ctx?: Nullable<StorageType>): boolean;
242
- /**
243
- * Executes callback functions based on whether a key exists in the specified storage context.
244
- *
245
- * @param key - The key to check for.
246
- * @param onHas - The callback to execute if the key exists.
247
- * @param onHasNot - The optional callback to execute if the key does not exist.
248
- * @param config - Optional configuration for the storage context and data conversion.
249
- */
250
- onHasKey<T>(key: string, onHas: (value: Nullable<T>) => void, onHasNot?: () => void, config?: Partial<IStorageConfig>): void;
251
- /**
252
- * Removes an item from the specified storage context.
253
- *
254
- * @param key - The key of the item to remove.
255
- * @param ctx - The storage context from which to remove the item.
256
- */
257
- removeItem(key: string, ctx?: Nullable<StorageType>): void;
258
- /**
259
- * Clears all items from the specified storage context.
260
- *
261
- * @param ctx - The storage context to clear.
262
- */
263
- clear(ctx?: Nullable<StorageType>): void;
264
- static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
265
- static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
266
- }
267
-
268
- declare const CUSTOM_STORAGE: InjectionToken<Storage>;
269
-
270
- declare const IN_MEMORY_STORAGE: InjectionToken<Storage>;
271
-
272
- declare const LOCAL_STORAGE: InjectionToken<Storage>;
273
-
274
- declare const SESSION_STORAGE: InjectionToken<Storage>;
275
-
276
- /**
277
- * Abstract StorageService class for interacting with a storage system.
278
- * Uses Observable to handle asynchronous operations.
279
- */
280
- interface IIDBStorageServiceInterface<T> {
281
- /**
282
- * Retrieves a value from storage by the given key.
283
- * @param key - The key to retrieve the value.
284
- * @returns An Observable that emits the value of type T or undefined if the key does not exist.
285
- */
286
- get(key: string): Observable<T | undefined>;
287
- /**
288
- * Saves a value in storage under the specified key.
289
- * @param key - The key to store the value under.
290
- * @param value - The value to be stored.
291
- * @returns An Observable that completes once the value is successfully saved.
292
- */
293
- set(key: string, value: T): Observable<void>;
294
- /**
295
- * Removes a value from storage by the specified key.
296
- * @param key - The key to remove the value from.
297
- * @returns An Observable that completes once the value is successfully removed.
298
- */
299
- remove(key: string): Observable<void>;
300
- }
301
-
302
- declare class IDBStorageService<ENTITY_TYPE> implements IIDBStorageServiceInterface<ENTITY_TYPE> {
303
- #private;
304
- constructor();
305
- get(key: string): Observable<ENTITY_TYPE | undefined>;
306
- set(key: string, value: ENTITY_TYPE): Observable<void>;
307
- remove(key: string): Observable<void>;
308
- static ɵfac: i0.ɵɵFactoryDeclaration<IDBStorageService<any>, never>;
309
- static ɵprov: i0.ɵɵInjectableDeclaration<IDBStorageService<any>>;
310
- }
311
-
312
- /**
313
- * Factory for creating `IDBStorageService`.
314
- * Returns a new instance of IDBStorageService.
315
- *
316
- * @returns a new instance of IDBStorageService
317
- */
318
- declare function iDBStorageFactory(): IDBStorageService<Record<string, unknown>>;
319
-
320
- /**
321
- * Returns the set of dependency-injection providers
322
- * required to set up storages in an application.
323
- *
324
- * @usageNotes
325
- *
326
- * This function sets up the essential storage services needed for
327
- * working with `idb storage` solution.
328
- * It includes providers for each type of storage, ensuring that the appropriate
329
- * storage service is injected based on the platform or specific use case.
330
- *
331
- * ```typescript
332
- * bootstrapApplication(RootComponent, {
333
- * providers: [
334
- * provideRtIDBStorage()
335
- * ]
336
- * });
337
- * ```
338
- *
339
- * @publicApi
340
- */
341
- declare function provideRtIDBStorage(): Provider[];
342
-
343
- /**
344
- * Injection token for IDBStorageService.
345
- */
346
- declare const IDB_STORAGE_SERVICE_TOKEN: InjectionToken<IDBStorageService<any>>;
347
-
348
22
  declare enum MODAL_WINDOW_SIZE_ENUM {
349
23
  SM = "25rem",
350
24
  MD = "45rem",
@@ -371,7 +45,7 @@ declare namespace IModal {
371
45
  interface Button<T> {
372
46
  text: string;
373
47
  color?: ThemePalette;
374
- value: Nullable$1<T>;
48
+ value: Nullable<T>;
375
49
  appearance?: 'standard' | 'raised' | 'flat' | 'stroked' | 'fab' | 'mini-fab';
376
50
  validateSelect?: boolean;
377
51
  assignSelectedValue?: boolean;
@@ -404,11 +78,11 @@ declare namespace IModal {
404
78
  value: T;
405
79
  message: string;
406
80
  }
407
- type ConfirmResponsePredicate<T> = (answer: Nullable$1<IModal.DataAnswer<T>>) => boolean;
81
+ type ConfirmResponsePredicate<T> = (answer: Nullable<IModal.DataAnswer<T>>) => boolean;
408
82
  interface ConfirmResponse<T> {
409
- on(predicate: ConfirmResponsePredicate<T>): Observable<Nullable$1<IModal.DataAnswer<T>>>;
410
- onCancel(cancel?: ConfirmResponsePredicate<T>): Observable<Nullable$1<IModal.DataAnswer<T>>>;
411
- onConfirm(confirm?: ConfirmResponsePredicate<T>): Observable<Nullable$1<IModal.DataAnswer<T>>>;
83
+ on(predicate: ConfirmResponsePredicate<T>): Observable<Nullable<IModal.DataAnswer<T>>>;
84
+ onCancel(cancel?: ConfirmResponsePredicate<T>): Observable<Nullable<IModal.DataAnswer<T>>>;
85
+ onConfirm(confirm?: ConfirmResponsePredicate<T>): Observable<Nullable<IModal.DataAnswer<T>>>;
412
86
  }
413
87
  }
414
88
 
@@ -427,7 +101,7 @@ declare class RtuiModalComponent<T> implements OnInit {
427
101
 
428
102
  declare class RtModalService {
429
103
  #private;
430
- confirm<T>(data: IModal.Data<T>, config?: MatDialogConfig): Observable<Nullable<IModal.DataAnswer<T>>>;
104
+ confirm<T>(data: IModal.Data<T>, config?: MatDialogConfig): Observable<Nullable$1<IModal.DataAnswer<T>>>;
431
105
  with<T>(data: IModal.Data<T>, config?: MatDialogConfig): IModal.ConfirmResponse<T>;
432
106
  static ɵfac: i0.ɵɵFactoryDeclaration<RtModalService, never>;
433
107
  static ɵprov: i0.ɵɵInjectableDeclaration<RtModalService>;
@@ -446,9 +120,9 @@ declare class RtuiScrollableContainerFooterDirective {
446
120
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiScrollableContainerFooterDirective, "[rtuiScrollableFooter]", never, {}, {}, never, never, true, never>;
447
121
  }
448
122
  declare class RtuiScrollableContainerComponent {
449
- readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
450
- readonly contentTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
451
- readonly footerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
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>>>>;
452
126
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiScrollableContainerComponent, never>;
453
127
  static ɵcmp: i0.ɵɵComponentDeclaration<RtuiScrollableContainerComponent, "rtui-scrollable", never, {}, {}, ["headerTpl", "contentTpl", "footerTpl"], never, true, never>;
454
128
  }
@@ -478,15 +152,15 @@ declare class RtuiSideMenuFooterDirective {
478
152
  }
479
153
  declare class RtuiSideMenuComponent {
480
154
  #private;
481
- readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
482
- readonly footerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
483
- readonly subMenuRef: Signal<Nullable<MatDrawer>>;
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>>;
484
158
  readonly backToMainMenuButton: Signal<ISideMenu.Item>;
485
- readonly selectedItem: WritableSignal<Nullable<ISideMenu.Item>>;
486
- readonly selectedSubMenu: WritableSignal<Nullable<ISideMenu.Item[]>>;
159
+ readonly selectedItem: WritableSignal<Nullable$1<ISideMenu.Item>>;
160
+ readonly selectedSubMenu: WritableSignal<Nullable$1<ISideMenu.Item[]>>;
487
161
  activeMenuIds: InputSignal<Array<string | number>>;
488
162
  menuItems: InputSignalWithTransform<ISideMenu.Item[], ISideMenu.Item[]>;
489
- isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
163
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
490
164
  isSubMenuXScrollEnabled: InputSignalWithTransform<boolean, boolean>;
491
165
  isMainMenuIconsOutlined: InputSignalWithTransform<boolean, boolean>;
492
166
  isSubMenuIconsOutlined: InputSignalWithTransform<boolean, boolean>;
@@ -586,21 +260,21 @@ declare class RtuiAsideContainerHeaderDirective {
586
260
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiAsideContainerHeaderDirective, "[rtuiAsideHeader]", never, {}, {}, never, never, true, never>;
587
261
  }
588
262
  declare class RtuiAsideContainerComponent {
589
- title: InputSignal<Nullable<string>>;
590
- isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
263
+ title: InputSignal<Nullable$1<string>>;
264
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
591
265
  isSubmitButtonDisabled: InputSignalWithTransform<boolean, boolean>;
592
266
  isFooterShown: InputSignalWithTransform<boolean, boolean>;
593
267
  pending: InputSignalWithTransform<boolean, boolean>;
594
268
  isRequestErrorShown: InputSignalWithTransform<boolean, boolean>;
595
269
  headerActionsButtons: InputSignalWithTransform<IAside.HeaderActionButton[], IAside.HeaderActionButton[]>;
596
- requestError: InputSignal<Nullable<HttpErrorResponse>>;
270
+ requestError: InputSignal<Nullable$1<HttpErrorResponse>>;
597
271
  submitButtonTitle: InputSignal<string>;
598
272
  cancelButtonTitle: InputSignal<string>;
599
273
  submitButtonTooltip: InputSignal<string>;
600
274
  readonly submitAction: OutputEmitterRef<void>;
601
275
  readonly cancelAction: OutputEmitterRef<void>;
602
276
  readonly headerAction: OutputEmitterRef<AsideButtonsType>;
603
- readonly headerTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
277
+ readonly headerTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
604
278
  onSubmit(): void;
605
279
  onCancel(): void;
606
280
  onHeaderActionClick(buttonName: AsideButtonsType): void;
@@ -637,7 +311,7 @@ type ButtonAppearanceType = BUTTON_APPEARANCE.OUTLINE | BUTTON_APPEARANCE.LIGHT;
637
311
  declare class RtuiButtonComponent {
638
312
  readonly size: InputSignal<ButtonSizeType>;
639
313
  readonly color: InputSignal<ButtonColorType>;
640
- readonly appearance: InputSignal<Nullable<ButtonAppearanceType>>;
314
+ readonly appearance: InputSignal<Nullable$1<ButtonAppearanceType>>;
641
315
  readonly modifierClass: Signal<string>;
642
316
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiButtonComponent, never>;
643
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>;
@@ -666,10 +340,10 @@ declare class RtuiToolbarRightDirective {
666
340
  }
667
341
  declare class RtuiToolbarComponent {
668
342
  isVisibleToolbar: Signal<boolean>;
669
- readonly leftToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
670
- readonly centerToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
671
- readonly rightToolTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
672
- sticky: InputSignalWithTransform<Nullable<boolean>, 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>;
673
347
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiToolbarComponent, never>;
674
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>;
675
349
  }
@@ -687,11 +361,11 @@ declare class RtuiHeaderRightDirective {
687
361
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiHeaderRightDirective, "[rtuiHeaderRight]", never, {}, {}, never, never, true, never>;
688
362
  }
689
363
  declare class RtuiHeaderComponent {
690
- isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
691
- isMobileMenuButtonShown: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
692
- readonly leftHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
693
- readonly centerHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
694
- readonly rightHeaderTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
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>>>>;
695
369
  readonly openMobileMenuAction: OutputEmitterRef<void>;
696
370
  openSideMenu(): void;
697
371
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiHeaderComponent, never>;
@@ -700,9 +374,9 @@ declare class RtuiHeaderComponent {
700
374
 
701
375
  declare class RtuiClearButtonComponent {
702
376
  #private;
703
- isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
704
- isButtonShown: InputSignalWithTransform<Nullable<boolean>, boolean>;
705
- tooltip: InputSignalWithTransform<Nullable<string>, string>;
377
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
378
+ isButtonShown: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
379
+ tooltip: InputSignalWithTransform<Nullable$1<string>, string>;
706
380
  tooltipPosition: InputSignal<TooltipPosition>;
707
381
  readonly keydownAction: OutputEmitterRef<void>;
708
382
  readonly clickAction: OutputEmitterRef<void>;
@@ -717,7 +391,7 @@ declare class RtuiPaginationComponent implements OnInit, AfterViewInit {
717
391
  /** Current Page Model */
718
392
  currentPageModel: InputSignal<PageModel>;
719
393
  /** Indicates is mobile view */
720
- isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
394
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
721
395
  /** Output action when Page Model changed */
722
396
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
723
397
  /** Form control for selected page size */
@@ -728,13 +402,13 @@ declare class RtuiPaginationComponent implements OnInit, AfterViewInit {
728
402
  /** Array of current page numbers */
729
403
  readonly numbers: WritableSignal<Array<number | string>>;
730
404
  /** Page Model for compare */
731
- readonly previousPageModel: WritableSignal<Nullable<PageModel>>;
405
+ readonly previousPageModel: WritableSignal<Nullable$1<PageModel>>;
732
406
  /** Value of full content width */
733
407
  readonly minContentFitWidth: WritableSignal<number>;
734
408
  /** Indicates is content clipped */
735
409
  readonly isContentClipped: WritableSignal<boolean>;
736
410
  /** Container template ref */
737
- readonly containerRef: Signal<Nullable<ElementRef<HTMLElement>>>;
411
+ readonly containerRef: Signal<Nullable$1<ElementRef<HTMLElement>>>;
738
412
  /** Set 'isContentClipped' when widow resize */
739
413
  onResize(): void;
740
414
  ngOnInit(): void;
@@ -842,20 +516,20 @@ declare namespace ITable {
842
516
  declare const RTUI_TABLE_COMPONENT_TOKEN: InjectionToken<IRtuiTable<Record<string, unknown>, string, string>>;
843
517
  interface IRtuiTable<ENTITY_TYPE extends Record<string, unknown>, SORT_PROPERTY extends Extract<keyof ENTITY_TYPE, string>, KEY extends Extract<keyof ENTITY_TYPE, string>> {
844
518
  columns: Signal<Array<ITable.Column<ENTITY_TYPE>>>;
845
- customCellsTpl: Signal<Nullable<{
519
+ customCellsTpl: Signal<Nullable$1<{
846
520
  getTemplateByPropName(propName: keyof ENTITY_TYPE): TemplateRef<{
847
521
  $implicit: ENTITY_TYPE;
848
522
  }>;
849
523
  }>>;
850
- rowActionsTpl: Signal<Nullable<TemplateRef<{
524
+ rowActionsTpl: Signal<Nullable$1<TemplateRef<{
851
525
  $implicit: ENTITY_TYPE;
852
526
  }>>>;
853
- additionalRowActionsTpl: Signal<Nullable<TemplateRef<unknown>>>;
527
+ additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<unknown>>>;
854
528
  isMobile: Signal<boolean>;
855
529
  isTableRowsClickable: Signal<boolean>;
856
530
  keyExp: Signal<NonNullable<KEY>>;
857
531
  entities: Signal<ENTITY_TYPE[]>;
858
- currentSortModel: Signal<Nullable<SortModel<SORT_PROPERTY>>>;
532
+ currentSortModel: Signal<Nullable$1<SortModel<SORT_PROPERTY>>>;
859
533
  appearance: Signal<MatFormFieldAppearance>;
860
534
  filterAppearance: Signal<MatFormFieldAppearance>;
861
535
  filterModel: Signal<FilterModel<KEY>[]>;
@@ -866,7 +540,7 @@ interface IRtuiTable<ENTITY_TYPE extends Record<string, unknown>, SORT_PROPERTY
866
540
  isMultiSelect: WritableSignal<boolean>;
867
541
  isSelectorsColumnShown: WritableSignal<boolean>;
868
542
  isSelectorsColumnDisabled: WritableSignal<boolean>;
869
- activeRowIndex: WritableSignal<Nullable<number>>;
543
+ activeRowIndex: WritableSignal<Nullable$1<number>>;
870
544
  onSortChange(sortModel: SortModel): void;
871
545
  onFilterChange(filterModel: FilterModel<KEY>[]): void;
872
546
  onMenuOpen(index: number): void;
@@ -999,9 +673,9 @@ declare class RtuiTableAdditionalRowActionsDirective {
999
673
  }
1000
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 {
1001
675
  #private;
1002
- protected readonly rowActions: Signal<Nullable<ElementRef<HTMLElement>>>;
1003
- protected readonly rowActionsHeaderPaddingHelper: Signal<Nullable<ElementRef<HTMLElement>>>;
1004
- protected readonly rowActionsPaddingHelper: Signal<Nullable<ElementRef<HTMLElement>>>;
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>>>;
1005
679
  protected readonly columnTypes: typeof TABLE_COLUMN_TYPES_ENUM;
1006
680
  protected readonly filterOperators: typeof FILTER_OPERATOR_TYPE_ENUM;
1007
681
  /** Indicates is mobile view */
@@ -1013,7 +687,7 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
1013
687
  /** List of entities */
1014
688
  entities: InputSignalWithTransform<ENTITY_TYPE[], ENTITY_TYPE[]>;
1015
689
  /** Current page model from store */
1016
- currentSortModel: InputSignal<Nullable<SortModel<SORT_PROPERTY>>>;
690
+ currentSortModel: InputSignal<Nullable$1<SortModel<SORT_PROPERTY>>>;
1017
691
  /** Current elements appearance */
1018
692
  appearance: InputSignal<MatFormFieldAppearance>;
1019
693
  /** Filter inputs appearance */
@@ -1036,13 +710,13 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
1036
710
  /** Columns config for table */
1037
711
  columns: Signal<Array<ITable.Column<ENTITY_TYPE>>>;
1038
712
  /** Custom cells template */
1039
- readonly customCellsTpl: Signal<Nullable<RtuiCustomTableCellsDirective<ENTITY_TYPE>>>;
713
+ readonly customCellsTpl: Signal<Nullable$1<RtuiCustomTableCellsDirective<ENTITY_TYPE>>>;
1040
714
  /** Row actions template */
1041
- readonly rowActionsTpl: Signal<Nullable<TemplateRef<{
715
+ readonly rowActionsTpl: Signal<Nullable$1<TemplateRef<{
1042
716
  $implicit: ENTITY_TYPE;
1043
717
  }>>>;
1044
718
  /** Additional row actions template */
1045
- readonly additionalRowActionsTpl: Signal<Nullable<TemplateRef<RtuiTableAdditionalRowActionsDirective>>>;
719
+ readonly additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<RtuiTableAdditionalRowActionsDirective>>>;
1046
720
  /** Fields specified by the directive */
1047
721
  /** List of selected entities ids */
1048
722
  readonly selectedEntitiesIds: WritableSignal<ENTITY_TYPE[KEY][]>;
@@ -1057,7 +731,7 @@ declare class RtuiTableComponent<ENTITY_TYPE extends Record<string, unknown>, SO
1057
731
  /** Indicates is selectors column disabled */
1058
732
  readonly isSelectorsColumnDisabled: WritableSignal<boolean>;
1059
733
  /** Current row index */
1060
- readonly activeRowIndex: WritableSignal<Nullable<number>>;
734
+ readonly activeRowIndex: WritableSignal<Nullable$1<number>>;
1061
735
  ngAfterViewChecked(): void;
1062
736
  /** Sort change output action */
1063
737
  onSortChange(sortModel: SortModel<string>): void;
@@ -1106,27 +780,27 @@ declare class RtuiTableContainerComponent<ENTITY_TYPE> implements OnInit {
1106
780
  /** Indicates is filters empty */
1107
781
  isFiltersEmpty: InputSignalWithTransform<boolean, BooleanInput>;
1108
782
  /** Current search term from store */
1109
- searchTerm: InputSignalWithTransform<Nullable<string>, Nullable<string>>;
783
+ searchTerm: InputSignalWithTransform<Nullable$1<string>, Nullable$1<string>>;
1110
784
  /** Current placeholder icon */
1111
785
  placeholderIcon: InputSignal<string>;
1112
786
  /** Current placeholder title */
1113
787
  placeholderTitle: InputSignal<string>;
1114
788
  /** Indicates is a small tablet view */
1115
- readonly isSmallTablet: Signal<Nullable<boolean>>;
789
+ readonly isSmallTablet: Signal<Nullable$1<boolean>>;
1116
790
  /** Config for table */
1117
791
  readonly tableConfig: Signal<ITable.Config.Data<ENTITY_TYPE>>;
1118
792
  /** Page model change output action */
1119
793
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
1120
794
  /** Search change output action */
1121
- readonly searchChange: OutputEmitterRef<Nullable<string>>;
795
+ readonly searchChange: OutputEmitterRef<Nullable$1<string>>;
1122
796
  /** Refresh output action */
1123
797
  readonly refreshAction: OutputEmitterRef<void>;
1124
798
  /** Clear filters output action */
1125
799
  readonly clearFiltersAction: OutputEmitterRef<void>;
1126
800
  /** Toolbar selectors template */
1127
- readonly toolbarSelectorsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
801
+ readonly toolbarSelectorsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
1128
802
  /** Toolbar actions template */
1129
- readonly toolbarActionsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
803
+ readonly toolbarActionsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
1130
804
  /** Fields specified by the directive */
1131
805
  /** Indicates is multiselect mod enabled */
1132
806
  readonly isMultiSelect: WritableSignal<boolean>;
@@ -1141,7 +815,7 @@ declare class RtuiTableContainerComponent<ENTITY_TYPE> implements OnInit {
1141
815
  /** Current selected entities count */
1142
816
  readonly selectedEntitiesCount: WritableSignal<number>;
1143
817
  /** Control for search */
1144
- readonly searchControl: FormControl<Nullable<string>>;
818
+ readonly searchControl: FormControl<Nullable$1<string>>;
1145
819
  ngOnInit(): void;
1146
820
  /** Page model change output action */
1147
821
  onPageModelChange(pageModel: Partial<PageModel>): void;
@@ -1193,7 +867,7 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
1193
867
  /** Table config storage key */
1194
868
  tableConfigStorageKey: InputSignalWithTransform<string, unknown>;
1195
869
  /** Indicates is mobile view */
1196
- isMobile: InputSignalWithTransform<Nullable<boolean>, BooleanInput>;
870
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, BooleanInput>;
1197
871
  /** Indicates is loading in progress */
1198
872
  loading: InputSignalWithTransform<boolean, BooleanInput>;
1199
873
  /** Indicates is fetching in progress */
@@ -1215,9 +889,9 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
1215
889
  /** Current page model from store */
1216
890
  pageModel: InputSignal<PageModel>;
1217
891
  /** Current search term from store */
1218
- searchTerm: InputSignal<Nullable<string>>;
892
+ searchTerm: InputSignal<Nullable$1<string>>;
1219
893
  /** Current sort model from store */
1220
- currentSortModel: InputSignal<Nullable<SortModel<NonNullable<KEY>>>>;
894
+ currentSortModel: InputSignal<Nullable$1<SortModel<NonNullable<KEY>>>>;
1221
895
  /** Inputs appearance */
1222
896
  appearance: InputSignal<MatFormFieldAppearance>;
1223
897
  /** Filter inputs appearance */
@@ -1231,7 +905,7 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
1231
905
  /** Page model change output action */
1232
906
  readonly pageModelChange: OutputEmitterRef<Partial<PageModel>>;
1233
907
  /** Search change output action */
1234
- readonly searchChange: OutputEmitterRef<Nullable<string>>;
908
+ readonly searchChange: OutputEmitterRef<Nullable$1<string>>;
1235
909
  /** Refresh output action */
1236
910
  readonly refresh: OutputEmitterRef<void>;
1237
911
  /** Clear filters output action */
@@ -1246,27 +920,27 @@ declare class RtuiDynamicListComponent<ENTITY_TYPE extends Record<string, unknow
1246
920
  /** Filter change output action */
1247
921
  readonly filterChange: OutputEmitterRef<FilterModel<KEY>[]>;
1248
922
  /** Toolbar selectors template */
1249
- readonly toolbarSelectorsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
923
+ readonly toolbarSelectorsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
1250
924
  /** Toolbar actions template */
1251
- readonly toolbarActionsTpl: Signal<Nullable<TemplateRef<Type<unknown>>>>;
925
+ readonly toolbarActionsTpl: Signal<Nullable$1<TemplateRef<Type<unknown>>>>;
1252
926
  /** Custom cells template */
1253
- readonly customCellsTpl: Signal<Nullable<RtuiDynamicListCustomTableCellsDirective<{
927
+ readonly customCellsTpl: Signal<Nullable$1<RtuiDynamicListCustomTableCellsDirective<{
1254
928
  $implicit: ENTITY_TYPE;
1255
929
  }>>>;
1256
930
  /** Row actions template */
1257
- readonly rowActionsTpl: Signal<Nullable<TemplateRef<{
931
+ readonly rowActionsTpl: Signal<Nullable$1<TemplateRef<{
1258
932
  $implicit: ENTITY_TYPE;
1259
933
  }>>>;
1260
934
  /** Additional row actions template */
1261
- readonly additionalRowActionsTpl: Signal<Nullable<TemplateRef<{
935
+ readonly additionalRowActionsTpl: Signal<Nullable$1<TemplateRef<{
1262
936
  $implicit: ENTITY_TYPE;
1263
937
  }>>>;
1264
938
  /** Table container for selectors directive usage */
1265
- readonly tableContainerTpl: Signal<Nullable<RtuiTableContainerComponent<ENTITY_TYPE>>>;
939
+ readonly tableContainerTpl: Signal<Nullable$1<RtuiTableContainerComponent<ENTITY_TYPE>>>;
1266
940
  /** Table selector for selectors directive usage */
1267
- readonly tableTpl: Signal<Nullable<RtuiTableComponent<ENTITY_TYPE, SORT_PROPERTY, KEY>>>;
941
+ readonly tableTpl: Signal<Nullable$1<RtuiTableComponent<ENTITY_TYPE, SORT_PROPERTY, KEY>>>;
1268
942
  /** Search change output action */
1269
- onSearchChange(value: Nullable<string>): void;
943
+ onSearchChange(value: Nullable$1<string>): void;
1270
944
  /** Sort change output action */
1271
945
  onSortChange(sortModel: SortModel<NonNullable<KEY>>): void;
1272
946
  /** Page model change output action */
@@ -1324,9 +998,9 @@ declare function provideRtUi(): Provider[];
1324
998
 
1325
999
  declare namespace IRtSnackBar {
1326
1000
  interface Config extends MatSnackBarConfig {
1327
- icon?: Nullable<string>;
1001
+ icon?: Nullable$1<string>;
1328
1002
  isColoredBackground?: boolean;
1329
- action?: Nullable<string>;
1003
+ action?: Nullable$1<string>;
1330
1004
  isProgressBarShown?: boolean;
1331
1005
  }
1332
1006
  interface Data extends Config {
@@ -1338,7 +1012,7 @@ declare class RtuiSnackBarComponent {
1338
1012
  #private;
1339
1013
  readonly data: IRtSnackBar.Data;
1340
1014
  player: AnimationPlayer | undefined;
1341
- readonly progressTplRef: Signal<Nullable<ElementRef<HTMLElement>>>;
1015
+ readonly progressTplRef: Signal<Nullable$1<ElementRef<HTMLElement>>>;
1342
1016
  constructor();
1343
1017
  onMouseOver(): void;
1344
1018
  onMouseOut(): void;
@@ -1381,7 +1055,7 @@ declare class RtuiInfoBadgeComponent implements AfterContentChecked {
1381
1055
  glyph: InputSignal<string>;
1382
1056
  iconSide: InputSignal<IconSideType>;
1383
1057
  isFontBold: InputSignal<boolean>;
1384
- isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
1058
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1385
1059
  isTitleCollapsed: WritableSignal<boolean>;
1386
1060
  readonly contentRef: Signal<ElementRef<HTMLElement> | undefined>;
1387
1061
  get badgeClass(): {
@@ -1414,13 +1088,13 @@ type ToggleSizeType = TOGGLE_SIZE_TYPE_ENUM.SM | TOGGLE_SIZE_TYPE_ENUM.MD;
1414
1088
  declare class RtuiToggleComponent implements OnInit, ControlValueAccessor {
1415
1089
  #private;
1416
1090
  formControl: FormControl<boolean>;
1417
- label: InputSignal<Nullable<string>>;
1091
+ label: InputSignal<Nullable$1<string>>;
1418
1092
  tooltip: InputSignal<string>;
1419
1093
  size: InputSignal<ToggleSizeType>;
1420
1094
  tooltipPosition: InputSignal<TooltipPosition>;
1421
1095
  isDisabled: InputSignalWithTransform<boolean, BooleanInput>;
1422
1096
  tooltipDisabled: InputSignalWithTransform<boolean, BooleanInput>;
1423
- readonly isMobile: Signal<Nullable<boolean>>;
1097
+ readonly isMobile: Signal<Nullable$1<boolean>>;
1424
1098
  ngOnInit(): void;
1425
1099
  writeValue(value: boolean): void;
1426
1100
  registerOnChange(fn: () => void): void;
@@ -1444,7 +1118,7 @@ declare class RtuiFileUploadComponent {
1444
1118
 
1445
1119
  declare abstract class RtuiDynamicSelectorsDirective {
1446
1120
  /** Indicates if mobile view */
1447
- isMobile: InputSignalWithTransform<Nullable<boolean>, boolean>;
1121
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1448
1122
  /** Selections control button title */
1449
1123
  buttonTitle: InputSignalWithTransform<string, string>;
1450
1124
  /** Indicates if only one option can be chosen */
@@ -1471,7 +1145,7 @@ declare abstract class RtuiDynamicSelectorsDirective {
1471
1145
  }
1472
1146
 
1473
1147
  interface FormModel$1 {
1474
- autocompleteControl: FormControl<Nullable<string>>;
1148
+ autocompleteControl: FormControl<Nullable$1<string>>;
1475
1149
  }
1476
1150
  /** Directive for row actions located outside a row menu button */
1477
1151
  declare class RtuiDynamicSelectorAdditionalControlDirective {
@@ -1484,7 +1158,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1484
1158
  protected readonly connectedOverlayPositions: ConnectedPosition[];
1485
1159
  form: FormGroup<FormModel$1>;
1486
1160
  /** Target element for overlay selector */
1487
- selectedOverlayTrigger: Nullable<CdkOverlayOrigin>;
1161
+ selectedOverlayTrigger: Nullable$1<CdkOverlayOrigin>;
1488
1162
  /** A model's field which should be used for http-requests */
1489
1163
  keyExp: InputSignal<KEY>;
1490
1164
  /** A model's field which should be shown in ui */
@@ -1523,6 +1197,8 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1523
1197
  searchTerm: InputSignal<string>;
1524
1198
  /** Indicates that an additional control has been changed */
1525
1199
  additionalControlChanged: InputSignal<boolean>;
1200
+ /** Custom sort function for entities list in popup */
1201
+ sortFn: InputSignal<Nullable$1<(a: ENTITY, b: ENTITY) => number>>;
1526
1202
  /** Output search action */
1527
1203
  readonly searchAction: OutputEmitterRef<string>;
1528
1204
  /** Output scroll action, needed for lazy loading */
@@ -1546,7 +1222,7 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1546
1222
  /** Entities can be chosen, except selected on init */
1547
1223
  readonly entitiesToSelect: Signal<ENTITY[]>;
1548
1224
  /** Additional control for entity */
1549
- readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1225
+ readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1550
1226
  $implicit: ENTITY;
1551
1227
  }>>>;
1552
1228
  ngOnInit(): void;
@@ -1576,12 +1252,12 @@ declare class RtuiDynamicSelectorComponent<ENTITY extends Record<string, unknown
1576
1252
  /** Proceed move items in list */
1577
1253
  onDrop(event: CdkDragDrop<ENTITY[]>): void;
1578
1254
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiDynamicSelectorComponent<any, any>, never>;
1579
- static ɵcmp: i0.ɵɵComponentDeclaration<RtuiDynamicSelectorComponent<any, any>, "rtui-dynamic-selector", never, { "keyExp": { "alias": "keyExp"; "required": true; "isSignal": true; }; "displayExp": { "alias": "displayExp"; "required": true; "isSignal": true; }; "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "navigateButtonTitle": { "alias": "navigateButtonTitle"; "required": false; "isSignal": true; }; "navigateLink": { "alias": "navigateLink"; "required": false; "isSignal": true; }; "readonlyEntitiesKeys": { "alias": "readonlyEntitiesKeys"; "required": false; "isSignal": true; }; "chosenEntities": { "alias": "chosenEntities"; "required": false; "isSignal": true; }; "isSelectionAvailable": { "alias": "isSelectionAvailable"; "required": false; "isSignal": true; }; "isPlaceholderShown": { "alias": "isPlaceholderShown"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "fetching": { "alias": "fetching"; "required": false; "isSignal": true; }; "isLazyLoad": { "alias": "isLazyLoad"; "required": false; "isSignal": true; }; "isLocalSearch": { "alias": "isLocalSearch"; "required": false; "isSignal": true; }; "isMultiToggleShown": { "alias": "isMultiToggleShown"; "required": false; "isSignal": true; }; "isSelectAllButtonShown": { "alias": "isSelectAllButtonShown"; "required": false; "isSignal": true; }; "isOpenPopupButtonShown": { "alias": "isOpenPopupButtonShown"; "required": false; "isSignal": true; }; "searchTerm": { "alias": "searchTerm"; "required": false; "isSignal": true; }; "additionalControlChanged": { "alias": "additionalControlChanged"; "required": false; "isSignal": true; }; }, { "chosenEntities": "chosenEntitiesChange"; "searchAction": "searchAction"; "scrollAction": "scrollAction"; "temporarySelectAction": "temporarySelectAction"; "resetAction": "resetAction"; "selectionChangeAction": "selectionChangeAction"; }, ["additionalControlTpl"], never, true, never>;
1255
+ static ɵcmp: i0.ɵɵComponentDeclaration<RtuiDynamicSelectorComponent<any, any>, "rtui-dynamic-selector", never, { "keyExp": { "alias": "keyExp"; "required": true; "isSignal": true; }; "displayExp": { "alias": "displayExp"; "required": true; "isSignal": true; }; "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "navigateButtonTitle": { "alias": "navigateButtonTitle"; "required": false; "isSignal": true; }; "navigateLink": { "alias": "navigateLink"; "required": false; "isSignal": true; }; "readonlyEntitiesKeys": { "alias": "readonlyEntitiesKeys"; "required": false; "isSignal": true; }; "chosenEntities": { "alias": "chosenEntities"; "required": false; "isSignal": true; }; "isSelectionAvailable": { "alias": "isSelectionAvailable"; "required": false; "isSignal": true; }; "isPlaceholderShown": { "alias": "isPlaceholderShown"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "fetching": { "alias": "fetching"; "required": false; "isSignal": true; }; "isLazyLoad": { "alias": "isLazyLoad"; "required": false; "isSignal": true; }; "isLocalSearch": { "alias": "isLocalSearch"; "required": false; "isSignal": true; }; "isMultiToggleShown": { "alias": "isMultiToggleShown"; "required": false; "isSignal": true; }; "isSelectAllButtonShown": { "alias": "isSelectAllButtonShown"; "required": false; "isSignal": true; }; "isOpenPopupButtonShown": { "alias": "isOpenPopupButtonShown"; "required": false; "isSignal": true; }; "searchTerm": { "alias": "searchTerm"; "required": false; "isSignal": true; }; "additionalControlChanged": { "alias": "additionalControlChanged"; "required": false; "isSignal": true; }; "sortFn": { "alias": "sortFn"; "required": false; "isSignal": true; }; }, { "chosenEntities": "chosenEntitiesChange"; "searchAction": "searchAction"; "scrollAction": "scrollAction"; "temporarySelectAction": "temporarySelectAction"; "resetAction": "resetAction"; "selectionChangeAction": "selectionChangeAction"; }, ["additionalControlTpl"], never, true, never>;
1580
1256
  }
1581
1257
 
1582
1258
  interface FormModel {
1583
1259
  control: FormControl<string[]>;
1584
- controlForUi: FormControl<Nullable<string>>;
1260
+ controlForUi: FormControl<Nullable$1<string>>;
1585
1261
  }
1586
1262
  /** Directive for row actions located outside a row menu button */
1587
1263
  declare class RtuiDynamicInputAdditionalControlDirective {
@@ -1592,7 +1268,7 @@ declare class RtuiDynamicInputComponent extends RtuiDynamicSelectorsDirective im
1592
1268
  #private;
1593
1269
  form: FormGroup<FormModel>;
1594
1270
  /** Indicates is placeholder shown */
1595
- isPlaceholderShown: ModelSignal<Nullable<boolean>>;
1271
+ isPlaceholderShown: ModelSignal<Nullable$1<boolean>>;
1596
1272
  /** Indicates is inputs-editable */
1597
1273
  isInputsEditable: InputSignalWithTransform<boolean, BooleanInput>;
1598
1274
  /** Input label */
@@ -1610,7 +1286,7 @@ declare class RtuiDynamicInputComponent extends RtuiDynamicSelectorsDirective im
1610
1286
  /** Indicates the reset changes button is disabled */
1611
1287
  readonly isResetButtonDisabled: WritableSignal<boolean>;
1612
1288
  /** Additional control for entity */
1613
- readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1289
+ readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1614
1290
  $implicit: string;
1615
1291
  }>>>;
1616
1292
  ngOnInit(): void;
@@ -1650,7 +1326,7 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1650
1326
  #private;
1651
1327
  protected readonly oSTypes: typeof OSTypes;
1652
1328
  /** Indicates is mobile view */
1653
- isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
1329
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
1654
1330
  entitiesToSelect: InputSignalWithTransform<ENTITY[], ENTITY[]>;
1655
1331
  /** Material elements appearance */
1656
1332
  appearance: InputSignal<MatFormFieldAppearance>;
@@ -1677,9 +1353,9 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1677
1353
  /** Indicates is BreakStringPipe used */
1678
1354
  useNameBreaking: InputSignalWithTransform<boolean, BooleanInput>;
1679
1355
  /** Indicates lazy loading is used */
1680
- isLazyLoad: InputSignalWithTransform<Nullable<boolean>, boolean>;
1356
+ isLazyLoad: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1681
1357
  /** Indicates local search is used */
1682
- isLocalSearch: InputSignalWithTransform<Nullable<boolean>, boolean>;
1358
+ isLocalSearch: InputSignalWithTransform<Nullable$1<boolean>, boolean>;
1683
1359
  /** Send output selected entities ids */
1684
1360
  readonly submitAction: OutputEmitterRef<ENTITY[KEY][]>;
1685
1361
  /** Close popup action */
@@ -1691,9 +1367,9 @@ declare class RtuiMultiSelectorPopupComponent<ENTITY extends Record<string, unkn
1691
1367
  /** Output temporary selection action, needed for store values */
1692
1368
  readonly temporarySelectAction: OutputEmitterRef<ENTITY[]>;
1693
1369
  /** Search input Ref for set focus on init */
1694
- readonly searchInputRef: Signal<Nullable<ElementRef<HTMLInputElement>>>;
1370
+ readonly searchInputRef: Signal<Nullable$1<ElementRef<HTMLInputElement>>>;
1695
1371
  /** Form control for search */
1696
- readonly searchControl: FormControl<Nullable<string>>;
1372
+ readonly searchControl: FormControl<Nullable$1<string>>;
1697
1373
  /** Form control for select */
1698
1374
  readonly selectionControl: FormControl<ENTITY[KEY][]>;
1699
1375
  /** Entities filtered by local search */
@@ -1745,7 +1421,7 @@ declare class RtuiDynamicSelectorPlaceholderComponent {
1745
1421
  }
1746
1422
 
1747
1423
  declare class RtuiDynamicSelectorListActionsComponent {
1748
- isMobile: InputSignalWithTransform<Nullable<boolean>, Nullable<boolean>>;
1424
+ isMobile: InputSignalWithTransform<Nullable$1<boolean>, Nullable$1<boolean>>;
1749
1425
  isResetButtonDisabled: InputSignalWithTransform<boolean, boolean>;
1750
1426
  isClearButtonDisabled: InputSignalWithTransform<boolean, boolean>;
1751
1427
  disabled: InputSignalWithTransform<boolean, boolean>;
@@ -1763,8 +1439,8 @@ declare class RtuiDynamicSelectorItemAdditionalControlDirective {
1763
1439
  static ɵdir: i0.ɵɵDirectiveDeclaration<RtuiDynamicSelectorItemAdditionalControlDirective, "[rtuiDynamicSelectorItemAdditionalControlDirective]", never, {}, {}, never, never, true, never>;
1764
1440
  }
1765
1441
  declare class RtuiDynamicSelectorSelectedListComponent<ENTITY extends Record<string, unknown>, KEY extends Extract<keyof ENTITY, string>> {
1766
- protected readonly editedItemIndex: WritableSignal<Nullable<number>>;
1767
- readonly inputRef: Signal<Nullable<MatInput>>;
1442
+ protected readonly editedItemIndex: WritableSignal<Nullable$1<number>>;
1443
+ readonly inputRef: Signal<Nullable$1<MatInput>>;
1768
1444
  /** Indicates if mobile view */
1769
1445
  isMobile: InputSignalWithTransform<boolean, BooleanInput>;
1770
1446
  /** A model's field, which should be used for http-requests */
@@ -1794,13 +1470,13 @@ declare class RtuiDynamicSelectorSelectedListComponent<ENTITY extends Record<str
1794
1470
  new: string;
1795
1471
  }>;
1796
1472
  /** Additional control for entity */
1797
- readonly additionalControlTpl: Signal<Nullable<TemplateRef<{
1473
+ readonly additionalControlTpl: Signal<Nullable$1<TemplateRef<{
1798
1474
  $implicit: ENTITY;
1799
1475
  }>>>;
1800
1476
  protected onDelete(value: ENTITY[KEY]): void;
1801
1477
  protected onDrop(event: CdkDragDrop<ENTITY[]>): void;
1802
1478
  protected changeValue(prev: ENTITY[KEY]): void;
1803
- protected setEditModState(index: Nullable<number>): void;
1479
+ protected setEditModState(index: Nullable$1<number>): void;
1804
1480
  static ɵfac: i0.ɵɵFactoryDeclaration<RtuiDynamicSelectorSelectedListComponent<any, any>, never>;
1805
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>;
1806
1482
  }
@@ -1809,7 +1485,7 @@ type IImageUploadFormat = 'png' | 'jpeg' | 'webp';
1809
1485
  declare class RtuiImageUploadComponent {
1810
1486
  #private;
1811
1487
  protected readonly imageFormat: Signal<IImageUploadFormat>;
1812
- imageUrl: ModelSignal<Nullable<string>>;
1488
+ imageUrl: ModelSignal<Nullable$1<string>>;
1813
1489
  isMobile: InputSignalWithTransform<boolean, boolean>;
1814
1490
  fileName: InputSignalWithTransform<string, string>;
1815
1491
  isActive: InputSignalWithTransform<boolean, BooleanInput>;
@@ -1822,8 +1498,8 @@ declare class RtuiImageUploadComponent {
1822
1498
  tooltipPosition: InputSignal<TooltipPosition>;
1823
1499
  imageQuality: InputSignal<number>;
1824
1500
  originalImage: WritableSignal<File | undefined>;
1825
- croppedImage: WritableSignal<Nullable<File>>;
1826
- tempImage: WritableSignal<Nullable<string>>;
1501
+ croppedImage: WritableSignal<Nullable$1<File>>;
1502
+ tempImage: WritableSignal<Nullable$1<string>>;
1827
1503
  readonly imageChanged: OutputEmitterRef<File>;
1828
1504
  readonly save: OutputEmitterRef<void>;
1829
1505
  onFileSelect(event: Event): void;
@@ -1842,7 +1518,7 @@ declare class RtPopoverDirective implements OnInit, OnDestroy {
1842
1518
  xOffset: InputSignalWithTransform<number, NumberInput>;
1843
1519
  yOffset: InputSignalWithTransform<number, NumberInput>;
1844
1520
  trigger: InputSignalWithTransform<MenuItemTrigger, MenuItemTrigger>;
1845
- template: InputSignalWithTransform<Nullable<TemplateRef<HTMLElement>>, Nullable<TemplateRef<HTMLElement>>>;
1521
+ template: InputSignalWithTransform<Nullable$1<TemplateRef<HTMLElement>>, Nullable$1<TemplateRef<HTMLElement>>>;
1846
1522
  isMouseHoverAllowed: InputSignalWithTransform<boolean, BooleanInput>;
1847
1523
  onClick(element: EventTarget | null): void;
1848
1524
  onMouseEnter(): void;
@@ -1896,5 +1572,5 @@ declare class RtActionBarService {
1896
1572
  static ɵprov: i0.ɵɵInjectableDeclaration<RtActionBarService>;
1897
1573
  }
1898
1574
 
1899
- export { ASIDE_BUTTONS_ENUM, ASIDE_REF, AsideRef, BUTTON_APPEARANCE, BUTTON_COLOR, BUTTON_SIZE, BlockDirective, CUSTOM_STORAGE, ConcatClassesPipe, DEFAULT_PAGE_MODEL, DEFAULT_PAGE_SIZE, ElemDirective, IAside, IDBStorageService, IDB_STORAGE_SERVICE_TOKEN, IModal, INFO_BADGE_SIZE_ENUM, INFO_BADGE_TYPE_ENUM, IN_MEMORY_STORAGE, IRtActionBar, IRtSnackBar, ISideMenu, ITable, InMemoryStorageService, JsonConverter, LOCAL_STORAGE, MODAL_WINDOW_SIZE_ENUM, ModDirective, RTUI_TABLE_COMPONENT_TOKEN, RTUI_TABLE_STOP_ROW_CLICK_ATTRIBUTE, RtActionBarService, RtAsideService, RtDynamicListSelectorsDirective, RtModalService, RtPopoverDirective, RtSnackBarService, RtTableConfigService, RtTableSelectorsDirective, RtuiActionBarComponent, RtuiActionBarContainerComponent, RtuiAsideContainerComponent, RtuiAsideContainerHeaderDirective, RtuiButtonComponent, RtuiClearButtonComponent, RtuiCustomTableCellsDirective, RtuiDynamicInputAdditionalControlDirective, RtuiDynamicInputComponent, RtuiDynamicListComponent, RtuiDynamicListCustomTableCellsDirective, RtuiDynamicListRowActionsDirective, RtuiDynamicListRowAdditionalActionsDirective, RtuiDynamicListToolbarActionsDirective, RtuiDynamicListToolbarSelectorsDirective, RtuiDynamicSelectorAdditionalControlDirective, RtuiDynamicSelectorComponent, RtuiDynamicSelectorItemAdditionalControlDirective, RtuiDynamicSelectorListActionsComponent, RtuiDynamicSelectorPlaceholderComponent, RtuiDynamicSelectorSelectedListComponent, RtuiFileUploadComponent, RtuiHeaderCenterDirective, RtuiHeaderComponent, RtuiHeaderLeftDirective, RtuiHeaderRightDirective, RtuiImageUploadComponent, RtuiInfoBadgeComponent, RtuiModalComponent, RtuiMultiButtonComponent, RtuiMultiSelectorPopupComponent, RtuiPaginationComponent, RtuiRoundIconButtonComponent, RtuiScrollableContainerComponent, RtuiScrollableContainerContentDirective, RtuiScrollableContainerFooterDirective, RtuiScrollableContainerHeaderDirective, RtuiSideMenuComponent, RtuiSideMenuFooterDirective, RtuiSideMenuHeaderDirective, RtuiSnackBarComponent, RtuiSpinnerComponent, RtuiStopTableRowClickDirective, RtuiTableAdditionalRowActionsDirective, RtuiTableComponent, RtuiTableRowActionsDirective, RtuiTableRowClickDirective, RtuiToggleComponent, RtuiToolbarCenterDirective, RtuiToolbarComponent, RtuiToolbarLeftDirective, RtuiToolbarRightDirective, SESSION_STORAGE, STORAGE_TYPES_ENUM, StorageService, TABLE_COLUMN_FILTER_TYPES_ENUM, TABLE_COLUMN_TYPES_ENUM, TEXT_CELL_COLOR_ENUM, TOGGLE_SIZE_TYPE_ENUM, darkenHexColor, ddServices, getColorBasedOnBackground, iDBStorageFactory, inMemoryStorageFactory, localStorageFactory, progressDecreaseAnimation, progressIncreaseAnimation, provideRtIDBStorage, provideRtStorage, provideRtUi, sessionStorageFactory };
1900
- export type { AsideButtonsType, AsidePositions, ButtonAppearanceType, ButtonColorType, ButtonSizeType, IBemConfig, IIDBStorageServiceInterface, IImageUploadFormat, IInfoBadgeSizeType, IModsObject, IRtuiTable, IStorageConfig, IStorageConverter, Icon, IconSideType, InfoBadgeType, MenuItemTrigger, ModalWindowSizeType, NameValueType, Select, StorageType, ToggleSizeType };
1575
+ export { ASIDE_BUTTONS_ENUM, ASIDE_REF, AsideRef, BUTTON_APPEARANCE, BUTTON_COLOR, BUTTON_SIZE, DEFAULT_PAGE_MODEL, DEFAULT_PAGE_SIZE, IAside, IModal, INFO_BADGE_SIZE_ENUM, INFO_BADGE_TYPE_ENUM, IRtActionBar, IRtSnackBar, ISideMenu, ITable, MODAL_WINDOW_SIZE_ENUM, RTUI_TABLE_COMPONENT_TOKEN, RTUI_TABLE_STOP_ROW_CLICK_ATTRIBUTE, RtActionBarService, RtAsideService, RtDynamicListSelectorsDirective, RtModalService, RtPopoverDirective, RtSnackBarService, RtTableConfigService, RtTableSelectorsDirective, RtuiActionBarComponent, RtuiActionBarContainerComponent, RtuiAsideContainerComponent, RtuiAsideContainerHeaderDirective, RtuiButtonComponent, RtuiClearButtonComponent, RtuiCustomTableCellsDirective, RtuiDynamicInputAdditionalControlDirective, RtuiDynamicInputComponent, RtuiDynamicListComponent, RtuiDynamicListCustomTableCellsDirective, RtuiDynamicListRowActionsDirective, RtuiDynamicListRowAdditionalActionsDirective, RtuiDynamicListToolbarActionsDirective, RtuiDynamicListToolbarSelectorsDirective, RtuiDynamicSelectorAdditionalControlDirective, RtuiDynamicSelectorComponent, RtuiDynamicSelectorItemAdditionalControlDirective, RtuiDynamicSelectorListActionsComponent, RtuiDynamicSelectorPlaceholderComponent, RtuiDynamicSelectorSelectedListComponent, RtuiFileUploadComponent, RtuiHeaderCenterDirective, RtuiHeaderComponent, RtuiHeaderLeftDirective, RtuiHeaderRightDirective, RtuiImageUploadComponent, RtuiInfoBadgeComponent, RtuiModalComponent, RtuiMultiButtonComponent, RtuiMultiSelectorPopupComponent, RtuiPaginationComponent, RtuiRoundIconButtonComponent, RtuiScrollableContainerComponent, RtuiScrollableContainerContentDirective, RtuiScrollableContainerFooterDirective, RtuiScrollableContainerHeaderDirective, RtuiSideMenuComponent, RtuiSideMenuFooterDirective, RtuiSideMenuHeaderDirective, RtuiSnackBarComponent, RtuiSpinnerComponent, RtuiStopTableRowClickDirective, RtuiTableAdditionalRowActionsDirective, RtuiTableComponent, RtuiTableRowActionsDirective, RtuiTableRowClickDirective, RtuiToggleComponent, RtuiToolbarCenterDirective, RtuiToolbarComponent, RtuiToolbarLeftDirective, RtuiToolbarRightDirective, TABLE_COLUMN_FILTER_TYPES_ENUM, TABLE_COLUMN_TYPES_ENUM, TEXT_CELL_COLOR_ENUM, TOGGLE_SIZE_TYPE_ENUM, darkenHexColor, ddServices, getColorBasedOnBackground, progressDecreaseAnimation, progressIncreaseAnimation, provideRtUi };
1576
+ export type { AsideButtonsType, AsidePositions, ButtonAppearanceType, ButtonColorType, ButtonSizeType, IImageUploadFormat, IInfoBadgeSizeType, IRtuiTable, Icon, IconSideType, InfoBadgeType, MenuItemTrigger, ModalWindowSizeType, NameValueType, Select, ToggleSizeType };