@igo2/common 21.0.0-next.2 → 21.0.0-next.21

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.
Files changed (94) hide show
  1. package/fesm2022/igo2-common-action.mjs +46 -61
  2. package/fesm2022/igo2-common-action.mjs.map +1 -1
  3. package/fesm2022/igo2-common-backdrop.mjs +11 -19
  4. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  5. package/fesm2022/igo2-common-badge.mjs +7 -7
  6. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  7. package/fesm2022/igo2-common-clickout.mjs +7 -7
  8. package/fesm2022/igo2-common-clone.mjs +7 -7
  9. package/fesm2022/igo2-common-collapsible.mjs +15 -23
  10. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  11. package/fesm2022/igo2-common-color.mjs +8 -8
  12. package/fesm2022/igo2-common-color.mjs.map +1 -1
  13. package/fesm2022/igo2-common-confirm-dialog.mjs +12 -11
  14. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  15. package/fesm2022/igo2-common-context-menu.mjs +15 -13
  16. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  17. package/fesm2022/igo2-common-custom-html.mjs +10 -10
  18. package/fesm2022/igo2-common-datepicker.mjs +23 -17
  19. package/fesm2022/igo2-common-datepicker.mjs.map +1 -1
  20. package/fesm2022/igo2-common-dom.mjs +10 -8
  21. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  22. package/fesm2022/igo2-common-drag-drop.mjs +69 -37
  23. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  24. package/fesm2022/igo2-common-dynamic-component.mjs +23 -17
  25. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  26. package/fesm2022/igo2-common-entity.mjs +161 -128
  27. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  28. package/fesm2022/igo2-common-flexible.mjs +25 -77
  29. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  30. package/fesm2022/igo2-common-form.mjs +417 -116
  31. package/fesm2022/igo2-common-form.mjs.map +1 -1
  32. package/fesm2022/igo2-common-home-button.mjs +7 -7
  33. package/fesm2022/igo2-common-icon.mjs +7 -7
  34. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  35. package/fesm2022/igo2-common-image.mjs +10 -10
  36. package/fesm2022/igo2-common-image.mjs.map +1 -1
  37. package/fesm2022/igo2-common-interactive-tour.mjs +53 -30
  38. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  39. package/fesm2022/igo2-common-json-dialog.mjs +11 -11
  40. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  41. package/fesm2022/igo2-common-keyvalue.mjs +10 -8
  42. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  43. package/fesm2022/igo2-common-list.mjs +21 -16
  44. package/fesm2022/igo2-common-list.mjs.map +1 -1
  45. package/fesm2022/igo2-common-panel.mjs +8 -8
  46. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  47. package/fesm2022/igo2-common-resizable-bar.mjs +8 -10
  48. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  49. package/fesm2022/igo2-common-select-value-dialog.mjs +23 -13
  50. package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
  51. package/fesm2022/igo2-common-sidenav.mjs +7 -7
  52. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  53. package/fesm2022/igo2-common-spinner.mjs +11 -11
  54. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  55. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  56. package/fesm2022/igo2-common-table.mjs +59 -66
  57. package/fesm2022/igo2-common-table.mjs.map +1 -1
  58. package/fesm2022/igo2-common-timepicker.mjs +11 -12
  59. package/fesm2022/igo2-common-timepicker.mjs.map +1 -1
  60. package/fesm2022/igo2-common-tool.mjs +32 -29
  61. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  62. package/fesm2022/igo2-common-widget.mjs +17 -17
  63. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  64. package/fesm2022/igo2-common-workspace.mjs +28 -32
  65. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  66. package/package.json +3 -3
  67. package/style/style.css +1 -1
  68. package/types/igo2-common-action.d.ts +2 -5
  69. package/types/igo2-common-backdrop.d.ts +2 -4
  70. package/types/igo2-common-badge.d.ts +4 -4
  71. package/types/igo2-common-collapsible.d.ts +2 -4
  72. package/types/igo2-common-confirm-dialog.d.ts +1 -1
  73. package/types/igo2-common-context-menu.d.ts +2 -2
  74. package/types/igo2-common-datepicker.d.ts +9 -9
  75. package/types/igo2-common-drag-drop.d.ts +14 -12
  76. package/types/igo2-common-dynamic-component.d.ts +3 -3
  77. package/types/igo2-common-entity.d.ts +63 -59
  78. package/types/igo2-common-flexible.d.ts +14 -28
  79. package/types/igo2-common-form.d.ts +213 -74
  80. package/types/igo2-common-icon.d.ts +1 -1
  81. package/types/igo2-common-interactive-tour.d.ts +6 -6
  82. package/types/igo2-common-json-dialog.d.ts +4 -4
  83. package/types/igo2-common-keyvalue.d.ts +4 -1
  84. package/types/igo2-common-list.d.ts +7 -7
  85. package/types/igo2-common-panel.d.ts +1 -1
  86. package/types/igo2-common-resizable-bar.d.ts +4 -5
  87. package/types/igo2-common-select-value-dialog.d.ts +2 -2
  88. package/types/igo2-common-sidenav.d.ts +2 -2
  89. package/types/igo2-common-spinner.d.ts +1 -1
  90. package/types/igo2-common-table.d.ts +16 -17
  91. package/types/igo2-common-timepicker.d.ts +3 -3
  92. package/types/igo2-common-tool.d.ts +7 -8
  93. package/types/igo2-common-widget.d.ts +7 -7
  94. package/types/igo2-common-workspace.d.ts +12 -12
@@ -4,8 +4,12 @@ import { ChangeDetectorRef, OnInit, OnDestroy, OnChanges, ElementRef, SimpleChan
4
4
  import * as _igo2_common_entity from '@igo2/common/entity';
5
5
  import { FocusMonitor } from '@angular/cdk/a11y';
6
6
  import { NgControl, NgForm, FormControlName, UntypedFormGroup } from '@angular/forms';
7
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
8
+ import { MatCheckboxChange } from '@angular/material/checkbox';
7
9
  import { ErrorStateMatcher } from '@angular/material/core';
10
+ import { MatDatepickerInputEvent } from '@angular/material/datepicker';
8
11
  import { MatPaginator } from '@angular/material/paginator';
12
+ import { MatSelectChange } from '@angular/material/select';
9
13
  import { MatTableDataSource } from '@angular/material/table';
10
14
 
11
15
  declare enum EntityOperationType {
@@ -93,9 +97,9 @@ interface SelectOption {
93
97
  value: string;
94
98
  disabled?: boolean;
95
99
  }
96
- interface EntityTableButton {
100
+ interface EntityTableButton<T extends object> {
97
101
  icon: string;
98
- click: (entity: object, record: EntityRecord<object>) => void;
102
+ click: (record: EntityRecord<T>) => void;
99
103
  color?: 'primary' | 'accent' | 'warn';
100
104
  disabled?: boolean;
101
105
  style?: 'mat-mini-fab' | 'mat-icon-button';
@@ -239,7 +243,7 @@ declare function isChoiceField(field: AnyEntityField): field is AnyChoiceEntityF
239
243
  declare function isChoiceFieldWithLabelField(field: AnyEntityField): field is ChoiceEntityFieldWithLabelField;
240
244
 
241
245
  interface EntityStateManagerOptions<E extends object> {
242
- getKey?: (entity: object) => EntityKey;
246
+ getKey?: (entity: E) => EntityKey;
243
247
  index?: Map<EntityKey, E>;
244
248
  }
245
249
  /**
@@ -258,7 +262,7 @@ declare class EntityStateManager<E extends object, S extends EntityState = Entit
258
262
  /**
259
263
  * Method to get an entity's id
260
264
  */
261
- readonly getKey: (E: any) => EntityKey;
265
+ readonly getKey: (arg0: E) => EntityKey;
262
266
  constructor(options?: EntityStateManagerOptions<E>);
263
267
  /**
264
268
  * Clear state
@@ -412,7 +416,7 @@ declare class EntityView<E extends object, V extends object = E> {
412
416
  /**
413
417
  * Subscription to the source (and joined sources) values
414
418
  */
415
- private values$$;
419
+ private values$$?;
416
420
  /**
417
421
  * Whether this view has been lifted
418
422
  */
@@ -440,7 +444,7 @@ declare class EntityView<E extends object, V extends object = E> {
440
444
  /**
441
445
  * Method for indexing
442
446
  */
443
- get getKey(): (V: any) => EntityKey;
447
+ get getKey(): (arg0: V) => EntityKey;
444
448
  private getKey$;
445
449
  /**
446
450
  * Number of entities
@@ -478,12 +482,12 @@ declare class EntityView<E extends object, V extends object = E> {
478
482
  * Get the first value that respects a criteria
479
483
  * @returns A value
480
484
  */
481
- firstBy(clause: EntityFilterClause<V>): V;
485
+ firstBy(clause: EntityFilterClause<V>): V | undefined;
482
486
  /**
483
487
  * Observe the first value that respects a criteria
484
488
  * @returns Observable of a value
485
489
  */
486
- firstBy$(clause: EntityFilterClause<V>): Observable<V>;
490
+ firstBy$(clause: EntityFilterClause<V>): Observable<V | undefined>;
487
491
  /**
488
492
  * Get all the values that respect a criteria
489
493
  * @returns Array of values
@@ -504,7 +508,7 @@ declare class EntityView<E extends object, V extends object = E> {
504
508
  * @param getKey Method to get a value's id
505
509
  * @returns The view
506
510
  */
507
- createIndex(getKey: (E: any) => EntityKey): EntityView<E, V>;
511
+ createIndex(getKey: (arg0: V) => EntityKey): EntityView<E, V>;
508
512
  /**
509
513
  * Join another source to the stream (chainable)
510
514
  * @param clause Join clause
@@ -516,7 +520,7 @@ declare class EntityView<E extends object, V extends object = E> {
516
520
  * @param clause Filter clause
517
521
  * @returns The view
518
522
  */
519
- filter(clause: EntityFilterClause<V>): EntityView<E, V>;
523
+ filter(clause: EntityFilterClause<V> | undefined): EntityView<E, V>;
520
524
  /**
521
525
  * @param clause Filter clause
522
526
  * @returns The filter id
@@ -532,7 +536,7 @@ declare class EntityView<E extends object, V extends object = E> {
532
536
  * @param clauseSort clause
533
537
  * @returns The view
534
538
  */
535
- sort(clause: EntitySortClause<V>): EntityView<E, V>;
539
+ sort(clause: EntitySortClause<V> | undefined): EntityView<E, V>;
536
540
  /**
537
541
  * Create the final observable
538
542
  * @returns Observable
@@ -590,9 +594,9 @@ declare class EntityView<E extends object, V extends object = E> {
590
594
  private generateIndex;
591
595
  }
592
596
 
593
- interface EntityStoreOptions {
594
- getKey?: (entity: object) => EntityKey;
595
- getProperty?: (entity: object, property: string) => any;
597
+ interface EntityStoreOptions<E extends object = object> {
598
+ getKey?: (entity: E) => EntityKey;
599
+ getProperty?: (entity: E, property: string) => any;
596
600
  }
597
601
  /**
598
602
  * An entity store class holds any number of entities
@@ -629,11 +633,11 @@ declare class EntityStore<E extends object = object, S extends EntityState = Ent
629
633
  /**
630
634
  * Method to get an entity's id
631
635
  */
632
- readonly getKey: (E: any) => EntityKey;
636
+ readonly getKey: (arg0: E) => EntityKey;
633
637
  /**
634
638
  * Method to get an entity's named property
635
639
  */
636
- readonly getProperty: (E: any, prop: string) => any;
640
+ readonly getProperty: (arg0: E, arg1: string) => any;
637
641
  /**
638
642
  * Store index
639
643
  */
@@ -648,13 +652,13 @@ declare class EntityStore<E extends object = object, S extends EntityState = Ent
648
652
  * Strategies
649
653
  */
650
654
  private strategies;
651
- constructor(entities: E[], options?: EntityStoreOptions);
655
+ constructor(entities: E[], options?: EntityStoreOptions<E>);
652
656
  /**
653
657
  * Get an entity from the store by key
654
658
  * @param key Key
655
659
  * @returns Entity
656
660
  */
657
- get(key: EntityKey): E;
661
+ get(key: EntityKey): E | undefined;
658
662
  /**
659
663
  * Get all entities in the store
660
664
  * @returns Array of entities
@@ -701,19 +705,19 @@ declare class EntityStore<E extends object = object, S extends EntityState = Ent
701
705
  * @param strategy Entity store strategy
702
706
  * @returns Entity store
703
707
  */
704
- addStrategy(strategy: EntityStoreStrategy, activate?: boolean): EntityStore;
708
+ addStrategy(strategy: EntityStoreStrategy, activate?: boolean): EntityStore<E, S>;
705
709
  /**
706
710
  * Remove a strategy from this store
707
711
  * @param strategy Entity store strategy
708
712
  * @returns Entity store
709
713
  */
710
- removeStrategy(strategy: EntityStoreStrategy): EntityStore;
714
+ removeStrategy(strategy: EntityStoreStrategy): EntityStore<E, S>;
711
715
  /**
712
716
  * Return strategies of a given type
713
717
  * @param type Entity store strategy class
714
718
  * @returns Strategies
715
719
  */
716
- getStrategyOfType(type: typeof EntityStoreStrategy): EntityStoreStrategy;
720
+ getStrategyOfType(type: typeof EntityStoreStrategy): EntityStoreStrategy | undefined;
717
721
  /**
718
722
  * Activate strategies of a given type
719
723
  * @param type Entity store strategy class
@@ -783,11 +787,11 @@ declare class EntityStoreWatcher<E extends object> {
783
787
  /**
784
788
  * Component change detector
785
789
  */
786
- private cdRef;
790
+ private cdRef?;
787
791
  /**
788
792
  * Entity store
789
793
  */
790
- private store;
794
+ private store?;
791
795
  /**
792
796
  * Component inner state
793
797
  */
@@ -795,11 +799,11 @@ declare class EntityStoreWatcher<E extends object> {
795
799
  /**
796
800
  * Subscription to the store's entities
797
801
  */
798
- private entities$$;
802
+ private entities$$?;
799
803
  /**
800
804
  * Subscription to the store's state
801
805
  */
802
- private state$$;
806
+ private state$$?;
803
807
  constructor(store?: EntityStore<E>, cdRef?: ChangeDetectorRef);
804
808
  destroy(): void;
805
809
  /**
@@ -859,7 +863,7 @@ declare class EntityTransaction {
859
863
  /**
860
864
  * Method to get an entity's id
861
865
  */
862
- readonly getKey: (E: any) => EntityKey;
866
+ readonly getKey: (arg0: object) => EntityKey;
863
867
  /**
864
868
  * Whether there are pending operations
865
869
  */
@@ -939,7 +943,7 @@ declare class EntityTransaction {
939
943
  * @param entity Entity
940
944
  * @returns Either an insert, update or delete operation
941
945
  */
942
- getOperationByEntity(entity: object): EntityOperation;
946
+ getOperationByEntity(entity: object): EntityOperation | undefined;
943
947
  /**
944
948
  * Merge another transaction in this one
945
949
  * @param transaction Another transaction
@@ -1110,12 +1114,12 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
1110
1114
  * The selected entity
1111
1115
  * @internal
1112
1116
  */
1113
- readonly selected$: BehaviorSubject<object>;
1117
+ readonly selected$: BehaviorSubject<object | undefined>;
1114
1118
  /**
1115
1119
  * The current multi select option text
1116
1120
  * @internal
1117
1121
  */
1118
- readonly multiText$: BehaviorSubject<string>;
1122
+ readonly multiText$: BehaviorSubject<string | undefined>;
1119
1123
  readonly multiSelectValue: {
1120
1124
  id: string;
1121
1125
  };
@@ -1133,15 +1137,15 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
1133
1137
  /**
1134
1138
  * Entity store
1135
1139
  */
1136
- readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
1140
+ readonly store: _angular_core.InputSignal<EntityStore<any, _igo2_common_entity.EntityState> | undefined>;
1137
1141
  /**
1138
1142
  * Title accessor
1139
1143
  */
1140
- readonly titleAccessor: _angular_core.InputSignal<(object: any) => string>;
1144
+ readonly titleAccessor: _angular_core.InputSignal<(arg0: any) => string>;
1141
1145
  /**
1142
1146
  * Text to display when nothing is selected
1143
1147
  */
1144
- readonly emptyText: _angular_core.InputSignal<string>;
1148
+ readonly emptyText: _angular_core.InputSignal<string | undefined>;
1145
1149
  /**
1146
1150
  * Wheter selecting many entities is allowed
1147
1151
  */
@@ -1157,7 +1161,7 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
1157
1161
  /**
1158
1162
  * Field placeholder
1159
1163
  */
1160
- readonly placeholder: _angular_core.InputSignal<string>;
1164
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
1161
1165
  /**
1162
1166
  * Wheter the selector is disabled or not
1163
1167
  */
@@ -1222,9 +1226,9 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1222
1226
  private formBuilder;
1223
1227
  protected _focusMonitor: FocusMonitor;
1224
1228
  protected _elementRef: ElementRef<HTMLElement>;
1225
- ngControl: NgControl;
1226
- protected _parentForm: NgForm;
1227
- protected _controlName: FormControlName;
1229
+ ngControl: NgControl | null;
1230
+ protected _parentForm: NgForm | null;
1231
+ protected _controlName: FormControlName | null;
1228
1232
  protected _defaultErrorStateMatcher: ErrorStateMatcher;
1229
1233
  private dateAdapter;
1230
1234
  entitySortChange$: BehaviorSubject<boolean>;
@@ -1244,39 +1248,39 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1244
1248
  * Observable of the selection,s state
1245
1249
  * @internal
1246
1250
  */
1247
- readonly selectionState$: BehaviorSubject<EntityTableSelectionState>;
1251
+ readonly selectionState$: BehaviorSubject<EntityTableSelectionState | undefined>;
1248
1252
  /**
1249
1253
  * Subscription to the store's selection
1250
1254
  */
1251
- private selection$$;
1255
+ private selection$$?;
1252
1256
  /**
1253
1257
  * Subscription to the dataSource
1254
1258
  */
1255
- private dataSource$$;
1259
+ private dataSource$$?;
1256
1260
  /**
1257
1261
  * The last record checked. Useful for selecting
1258
1262
  * multiple records by holding the shift key and checking
1259
1263
  * checkboxes.
1260
1264
  */
1261
- private lastRecordCheckedKey;
1265
+ private lastRecordCheckedKey?;
1262
1266
  /**
1263
1267
  * Entity store
1264
1268
  */
1265
- readonly store: _angular_core.InputSignal<EntityStore<object, EntityState>>;
1269
+ readonly store: _angular_core.InputSignal<EntityStore<object, EntityState> | undefined>;
1266
1270
  /**
1267
1271
  * Table paginator
1268
1272
  */
1269
1273
  set paginator(value: MatPaginator);
1270
- get paginator(): MatPaginator;
1271
- private _paginator;
1274
+ get paginator(): MatPaginator | undefined;
1275
+ private _paginator?;
1272
1276
  /**
1273
1277
  * Table template
1274
1278
  */
1275
- readonly template: _angular_core.InputSignal<EntityTableTemplate>;
1279
+ readonly template: _angular_core.InputSignal<EntityTableTemplate | undefined>;
1276
1280
  /**
1277
1281
  * Scroll behavior on selection
1278
1282
  */
1279
- readonly scrollBehavior: _angular_core.InputSignal<EntityTableScrollBehavior>;
1283
+ readonly scrollBehavior: _angular_core.InputSignal<EntityTableScrollBehavior | undefined>;
1280
1284
  /**
1281
1285
  * Whether nulls should be first when sorting
1282
1286
  */
@@ -1288,7 +1292,7 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1288
1292
  /**
1289
1293
  * Paginator options
1290
1294
  */
1291
- readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
1295
+ readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions | undefined>;
1292
1296
  /**
1293
1297
  * Event emitted when an entity (row) is clicked
1294
1298
  */
@@ -1350,23 +1354,23 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1350
1354
  /**
1351
1355
  * Process text or number value change (edition)
1352
1356
  */
1353
- onValueChange(column: string, record: EntityRecord<any>, event: any): void;
1357
+ onValueChange(column: string, record: EntityRecord<any>, event: Event): void;
1354
1358
  /**
1355
1359
  * Process boolean value change (edition)
1356
1360
  */
1357
- onBooleanValueChange(column: string, record: EntityRecord<any>, event: any): void;
1361
+ onBooleanValueChange(column: string, record: EntityRecord<any>, event: MatCheckboxChange): void;
1358
1362
  /**
1359
1363
  * Process select value change (edition)
1360
1364
  */
1361
- onSelectValueChange(column: string, record: EntityRecord<any>, event: any): void;
1365
+ onSelectValueChange(column: string, record: EntityRecord<any>, event: MatSelectChange): void;
1362
1366
  /**
1363
1367
  * Process autocomplete value change (edition)
1364
1368
  */
1365
- onAutocompleteValueChange(column: EntityTableColumn, record: EntityRecord<any>, event: any): void;
1369
+ onAutocompleteValueChange(column: EntityTableColumn, record: EntityRecord<any>, event: MatAutocompleteSelectedEvent): void;
1366
1370
  /**
1367
1371
  * Process date value change (edition)
1368
1372
  */
1369
- onDateChange(column: string, record: EntityRecord<any>, event: any): void;
1373
+ onDateChange(column: string, record: EntityRecord<any>, event: MatDatepickerInputEvent<Date>): void;
1370
1374
  /**
1371
1375
  * Enable edition mode for one row
1372
1376
  * More than one row can be edited at the same time
@@ -1459,8 +1463,8 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1459
1463
  * @internal
1460
1464
  */
1461
1465
  rowIsSelected(record: EntityRecord<object>): boolean;
1462
- isImg(value: any): boolean;
1463
- isUrl(value: any): boolean;
1466
+ isImg(value: unknown): boolean;
1467
+ isUrl(value: unknown): value is string;
1464
1468
  /**
1465
1469
  * Method to access an entity's values
1466
1470
  * @param record Record
@@ -1477,7 +1481,7 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
1477
1481
  * @internal
1478
1482
  */
1479
1483
  getValidationAttributeValue(column: EntityTableColumn, validationType: string): any;
1480
- isEdition(record: any): boolean;
1484
+ isEdition(record: EntityRecord<object>): boolean;
1481
1485
  /**
1482
1486
  * Return the type of renderer of a column
1483
1487
  * @param column Column
@@ -1545,24 +1549,24 @@ declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
1545
1549
  pageSize: number;
1546
1550
  pageSizeOptions: number[];
1547
1551
  showFirstLastButtons: boolean;
1548
- private count$$;
1549
- private entitySortChange$$;
1552
+ private count$$?;
1553
+ private entitySortChange$$?;
1550
1554
  private paginationLabelTranslation$$;
1551
1555
  readonly entitySortChange$: _angular_core.InputSignal<BehaviorSubject<boolean>>;
1552
1556
  /**
1553
1557
  * Entity store
1554
1558
  */
1555
- readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
1559
+ readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState> | undefined>;
1556
1560
  /**
1557
1561
  * Paginator options
1558
1562
  */
1559
- readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
1563
+ readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions | undefined>;
1560
1564
  length: number;
1561
1565
  /**
1562
1566
  * Paginator emitted.
1563
1567
  */
1564
1568
  readonly paginatorChange: _angular_core.OutputEmitterRef<MatPaginator>;
1565
- readonly paginator: _angular_core.Signal<MatPaginator>;
1569
+ readonly paginator: _angular_core.Signal<MatPaginator | undefined>;
1566
1570
  ngOnChanges(): void;
1567
1571
  initPaginatorOptions(): void;
1568
1572
  translateLabels(): void;
@@ -1,4 +1,4 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { OnInit, OnDestroy, ElementRef, ModuleWithProviders } from '@angular/core';
3
3
 
4
4
  type FlexibleState = 'initial' | 'collapsed' | 'expanded' | 'transition';
@@ -9,28 +9,14 @@ declare class FlexibleComponent implements OnInit, OnDestroy {
9
9
  private mediaService;
10
10
  private cdr;
11
11
  static transitionTime: number;
12
- readonly main: i0.Signal<ElementRef<any>>;
13
- get initial(): string;
14
- set initial(value: string);
15
- private _initial;
16
- get collapsed(): string;
17
- set collapsed(value: string);
18
- private _collapsed;
19
- get expanded(): string;
20
- set expanded(value: string);
21
- private _expanded;
22
- get initialMobile(): string;
23
- set initialMobile(value: string);
24
- private _initialMobile;
25
- get collapsedMobile(): string;
26
- set collapsedMobile(value: string);
27
- private _collapsedMobile;
28
- get expandedMobile(): string;
29
- set expandedMobile(value: string);
30
- private _expandedMobile;
31
- get direction(): FlexibleDirection;
32
- set direction(value: FlexibleDirection);
33
- private _direction;
12
+ readonly main: _angular_core.Signal<ElementRef<any> | undefined>;
13
+ readonly initial: _angular_core.InputSignal<string>;
14
+ readonly collapsed: _angular_core.InputSignal<string>;
15
+ readonly expanded: _angular_core.InputSignal<string>;
16
+ readonly initialMobile: _angular_core.InputSignal<string>;
17
+ readonly collapsedMobile: _angular_core.InputSignal<string>;
18
+ readonly expandedMobile: _angular_core.InputSignal<string>;
19
+ readonly direction: _angular_core.InputSignal<FlexibleDirection>;
34
20
  get state(): FlexibleState;
35
21
  set state(value: FlexibleState);
36
22
  private _state;
@@ -38,8 +24,8 @@ declare class FlexibleComponent implements OnInit, OnDestroy {
38
24
  ngOnInit(): void;
39
25
  ngOnDestroy(): void;
40
26
  private setSize;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<FlexibleComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<FlexibleComponent, "igo-flexible", never, { "initial": { "alias": "initial"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "initialMobile": { "alias": "initialMobile"; "required": false; }; "collapsedMobile": { "alias": "collapsedMobile"; "required": false; }; "expandedMobile": { "alias": "expandedMobile"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, {}, never, ["*", "[igoFlexibleFill]"], true, never>;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlexibleComponent, never>;
28
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlexibleComponent, "igo-flexible", never, { "initial": { "alias": "initial"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "initialMobile": { "alias": "initialMobile"; "required": false; "isSignal": true; }; "collapsedMobile": { "alias": "collapsedMobile"; "required": false; "isSignal": true; }; "expandedMobile": { "alias": "expandedMobile"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; }; }, {}, never, ["*", "[igoFlexibleFill]"], true, never>;
43
29
  }
44
30
 
45
31
  /**
@@ -47,9 +33,9 @@ declare class FlexibleComponent implements OnInit, OnDestroy {
47
33
  */
48
34
  declare class IgoFlexibleModule {
49
35
  static forRoot(): ModuleWithProviders<IgoFlexibleModule>;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFlexibleModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFlexibleModule, never, [typeof FlexibleComponent], [typeof FlexibleComponent]>;
52
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFlexibleModule>;
36
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFlexibleModule, never>;
37
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFlexibleModule, never, [typeof FlexibleComponent], [typeof FlexibleComponent]>;
38
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFlexibleModule>;
53
39
  }
54
40
 
55
41
  export { FlexibleComponent, IgoFlexibleModule };