@igo2/common 20.0.1 → 20.1.0-next.10
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/action/index.d.ts +22 -22
- package/clickout/index.d.ts +2 -2
- package/collapsible/index.d.ts +6 -10
- package/color/index.d.ts +3 -4
- package/context-menu/index.d.ts +9 -9
- package/datepicker/index.d.ts +65 -0
- package/drag-drop/index.d.ts +21 -23
- package/dynamic-component/index.d.ts +7 -7
- package/entity/index.d.ts +135 -72
- package/fesm2022/igo2-common-action.mjs +60 -97
- package/fesm2022/igo2-common-action.mjs.map +1 -1
- package/fesm2022/igo2-common-backdrop.mjs +7 -7
- package/fesm2022/igo2-common-badge.mjs +7 -7
- package/fesm2022/igo2-common-clickout.mjs +10 -12
- package/fesm2022/igo2-common-clickout.mjs.map +1 -1
- package/fesm2022/igo2-common-clone.mjs +7 -7
- package/fesm2022/igo2-common-collapsible.mjs +18 -39
- package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
- package/fesm2022/igo2-common-color.mjs +14 -18
- package/fesm2022/igo2-common-color.mjs.map +1 -1
- package/fesm2022/igo2-common-confirm-dialog.mjs +10 -10
- package/fesm2022/igo2-common-context-menu.mjs +22 -31
- package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
- package/fesm2022/igo2-common-custom-html.mjs +10 -10
- package/fesm2022/igo2-common-datepicker.mjs +316 -0
- package/fesm2022/igo2-common-datepicker.mjs.map +1 -0
- package/fesm2022/igo2-common-dom.mjs +7 -7
- package/fesm2022/igo2-common-drag-drop.mjs +59 -75
- package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
- package/fesm2022/igo2-common-dynamic-component.mjs +34 -52
- package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
- package/fesm2022/igo2-common-entity.mjs +284 -220
- package/fesm2022/igo2-common-entity.mjs.map +1 -1
- package/fesm2022/igo2-common-flexible.mjs +13 -16
- package/fesm2022/igo2-common-flexible.mjs.map +1 -1
- package/fesm2022/igo2-common-form.mjs +120 -174
- package/fesm2022/igo2-common-form.mjs.map +1 -1
- package/fesm2022/igo2-common-home-button.mjs +11 -12
- package/fesm2022/igo2-common-home-button.mjs.map +1 -1
- package/fesm2022/igo2-common-icon.mjs +18 -24
- package/fesm2022/igo2-common-icon.mjs.map +1 -1
- package/fesm2022/igo2-common-image.mjs +16 -20
- package/fesm2022/igo2-common-image.mjs.map +1 -1
- package/fesm2022/igo2-common-interactive-tour.mjs +28 -33
- package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
- package/fesm2022/igo2-common-json-dialog.mjs +11 -11
- package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-keyvalue.mjs +7 -7
- package/fesm2022/igo2-common-list.mjs +49 -66
- package/fesm2022/igo2-common-list.mjs.map +1 -1
- package/fesm2022/igo2-common-panel.mjs +15 -28
- package/fesm2022/igo2-common-panel.mjs.map +1 -1
- package/fesm2022/igo2-common-resizable-bar.mjs +25 -32
- package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
- package/fesm2022/igo2-common-select-value-dialog.mjs +10 -10
- package/fesm2022/igo2-common-sidenav.mjs +7 -7
- package/fesm2022/igo2-common-spinner.mjs +11 -11
- package/fesm2022/igo2-common-spinner.mjs.map +1 -1
- package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
- package/fesm2022/igo2-common-table.mjs +57 -87
- package/fesm2022/igo2-common-table.mjs.map +1 -1
- package/fesm2022/igo2-common-timepicker.mjs +105 -0
- package/fesm2022/igo2-common-timepicker.mjs.map +1 -0
- package/fesm2022/igo2-common-tool.mjs +29 -35
- package/fesm2022/igo2-common-tool.mjs.map +1 -1
- package/fesm2022/igo2-common-widget.mjs +27 -36
- package/fesm2022/igo2-common-widget.mjs.map +1 -1
- package/fesm2022/igo2-common-workspace.mjs +34 -44
- package/fesm2022/igo2-common-workspace.mjs.map +1 -1
- package/flexible/index.d.ts +2 -2
- package/form/index.d.ts +31 -33
- package/home-button/index.d.ts +1 -2
- package/icon/index.d.ts +4 -5
- package/image/index.d.ts +3 -3
- package/interactive-tour/index.d.ts +5 -5
- package/list/index.d.ts +23 -23
- package/package.json +13 -4
- package/panel/index.d.ts +4 -6
- package/resizable-bar/index.d.ts +11 -13
- package/table/index.d.ts +13 -19
- package/timepicker/index.d.ts +33 -0
- package/tool/index.d.ts +5 -5
- package/widget/index.d.ts +9 -9
- package/workspace/index.d.ts +13 -12
package/entity/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Observable, ReplaySubject, BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as
|
|
3
|
-
import { ChangeDetectorRef, OnInit, OnDestroy,
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ChangeDetectorRef, OnInit, OnDestroy, OnChanges, ElementRef, SimpleChanges, TrackByFunction } from '@angular/core';
|
|
4
|
+
import * as _igo2_common_entity from '@igo2/common/entity';
|
|
4
5
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
5
6
|
import { NgControl, NgForm, FormControlName, UntypedFormGroup } from '@angular/forms';
|
|
6
7
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
7
|
-
import { MatPaginator
|
|
8
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
8
9
|
import { MatTableDataSource } from '@angular/material/table';
|
|
9
10
|
|
|
10
11
|
declare enum EntityOperationType {
|
|
@@ -86,28 +87,7 @@ interface EntityTableColumnValidation {
|
|
|
86
87
|
interface TableRelation {
|
|
87
88
|
table: string;
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
-
validation?: EntityTableColumnValidation;
|
|
91
|
-
name: string;
|
|
92
|
-
title: string;
|
|
93
|
-
renderer?: EntityTableColumnRenderer;
|
|
94
|
-
valueAccessor?: (entity: object, record: EntityRecord<object>) => any;
|
|
95
|
-
visible?: boolean;
|
|
96
|
-
linkColumnForce?: string;
|
|
97
|
-
sort?: boolean;
|
|
98
|
-
type?: string;
|
|
99
|
-
multiple?: boolean;
|
|
100
|
-
domainValues?: SelectOption[];
|
|
101
|
-
relation?: TableRelation;
|
|
102
|
-
tooltip?: string;
|
|
103
|
-
cellClassFunc?: (entity: object, record: EntityRecord<object>) => Record<string, boolean>;
|
|
104
|
-
step?: number;
|
|
105
|
-
icon?: string;
|
|
106
|
-
onBlur?: (event: Event) => void;
|
|
107
|
-
onChange?: (event: Event) => void;
|
|
108
|
-
onClick?: (event: Event) => void;
|
|
109
|
-
onFocus?: (event: Event) => void;
|
|
110
|
-
}
|
|
90
|
+
type EntityTableColumn = SelectEntityTableColumn | BaseEntityTableColumn;
|
|
111
91
|
interface SelectOption {
|
|
112
92
|
id: number;
|
|
113
93
|
value: string;
|
|
@@ -121,6 +101,90 @@ interface EntityTableButton {
|
|
|
121
101
|
style?: 'mat-mini-fab' | 'mat-icon-button';
|
|
122
102
|
editMode?: boolean;
|
|
123
103
|
}
|
|
104
|
+
type AnyEntityField = AnyChoiceEntityField | BaseEntityField;
|
|
105
|
+
type AnyChoiceEntityField = ChoiceEntityFieldWithDomain | ChoiceEntityFieldWithLabelField;
|
|
106
|
+
interface ChoiceEntityFieldWithDomain extends BaseChoiceEntityField {
|
|
107
|
+
domainValues: SelectOption[];
|
|
108
|
+
}
|
|
109
|
+
interface ChoiceEntityFieldWithLabelField extends BaseChoiceEntityField {
|
|
110
|
+
labelField: string;
|
|
111
|
+
}
|
|
112
|
+
interface BaseChoiceEntityField extends BaseEntityField {
|
|
113
|
+
domainValues?: SelectOption[];
|
|
114
|
+
type: 'list' | 'autocomplete';
|
|
115
|
+
dataType: EntityDataType;
|
|
116
|
+
/** Define the caracters who structure the array. This allow a workaround to handle stringify list with custom caracter */
|
|
117
|
+
arrayIdentifier?: [string, string];
|
|
118
|
+
}
|
|
119
|
+
type EntityDataType = 'string' | 'number' | 'object';
|
|
120
|
+
interface BaseEntityField {
|
|
121
|
+
multiple?: boolean;
|
|
122
|
+
name: string;
|
|
123
|
+
relation?: EntityRelation;
|
|
124
|
+
type?: string;
|
|
125
|
+
}
|
|
126
|
+
interface EntityRelation {
|
|
127
|
+
table?: string;
|
|
128
|
+
url?: string;
|
|
129
|
+
params?: EntityRelationParam;
|
|
130
|
+
choiceList?: {
|
|
131
|
+
path?: {
|
|
132
|
+
/**
|
|
133
|
+
* The list property allows you to determine a path to resolve to access the list in an Object.
|
|
134
|
+
* This is required when the API returns an Object instead of a raw List
|
|
135
|
+
**/
|
|
136
|
+
list?: string;
|
|
137
|
+
/** Default is "id" */
|
|
138
|
+
id?: string;
|
|
139
|
+
/** Default is "value" */
|
|
140
|
+
value?: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
interface EntityRelationParam {
|
|
145
|
+
name?: string;
|
|
146
|
+
field: string;
|
|
147
|
+
}
|
|
148
|
+
type SelectEntityTableColumn = AnyChoiceEntityField & BaseEntityTableColumn;
|
|
149
|
+
interface BaseEntityTableColumn extends BaseEntityField {
|
|
150
|
+
primary?: boolean;
|
|
151
|
+
renderer?: EntityTableColumnRenderer;
|
|
152
|
+
sort?: boolean;
|
|
153
|
+
step?: number;
|
|
154
|
+
title: string;
|
|
155
|
+
tooltip?: string;
|
|
156
|
+
validation?: EntityTableColumnValidation & {
|
|
157
|
+
send?: boolean;
|
|
158
|
+
};
|
|
159
|
+
visible?: boolean;
|
|
160
|
+
icon?: string;
|
|
161
|
+
linkColumnForce?: string;
|
|
162
|
+
cellClassFunc?: (entity: object, record: EntityRecord<object>) => {
|
|
163
|
+
[key: string]: boolean;
|
|
164
|
+
};
|
|
165
|
+
valueAccessor?: (entity: object, record?: EntityRecord<object>) => any;
|
|
166
|
+
onBlur?: (event: Event) => void;
|
|
167
|
+
onChange?: (event: Event) => void;
|
|
168
|
+
onClick?: (event: Event) => void;
|
|
169
|
+
onFocus?: (event: Event) => void;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare class EntityService {
|
|
173
|
+
private http;
|
|
174
|
+
private configService;
|
|
175
|
+
encodeListValue(state: EntityState, column: SelectEntityTableColumn): EntityState | string;
|
|
176
|
+
getDomainValues(field: AnyChoiceEntityField, paramsValue?: {
|
|
177
|
+
[key: string]: unknown;
|
|
178
|
+
}): Observable<SelectOption[]>;
|
|
179
|
+
resolveDomainValues(state: EntityState, column: SelectEntityTableColumn): unknown | unknown[];
|
|
180
|
+
private buildUrl;
|
|
181
|
+
private parseDomainValues;
|
|
182
|
+
private getRelationFilterParamName;
|
|
183
|
+
private findDomainValue;
|
|
184
|
+
private parseListValue;
|
|
185
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityService, never>;
|
|
186
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<EntityService>;
|
|
187
|
+
}
|
|
124
188
|
|
|
125
189
|
/**
|
|
126
190
|
* Get an entity's named property. Nested properties are supported
|
|
@@ -170,6 +234,9 @@ declare function getEntityIcon(entity: object): string;
|
|
|
170
234
|
* @returns Entity revision
|
|
171
235
|
*/
|
|
172
236
|
declare function getEntityRevision(entity: object): number;
|
|
237
|
+
declare function getColumnKeyWithoutPropertiesTag(key: string): string;
|
|
238
|
+
declare function isChoiceField(field: AnyEntityField): field is AnyChoiceEntityField;
|
|
239
|
+
declare function isChoiceFieldWithLabelField(field: AnyEntityField): field is ChoiceEntityFieldWithLabelField;
|
|
173
240
|
|
|
174
241
|
interface EntityStateManagerOptions<E extends object> {
|
|
175
242
|
getKey?: (entity: object) => EntityKey;
|
|
@@ -1066,39 +1133,39 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
|
|
|
1066
1133
|
/**
|
|
1067
1134
|
* Entity store
|
|
1068
1135
|
*/
|
|
1069
|
-
store: EntityStore<object
|
|
1136
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
|
|
1070
1137
|
/**
|
|
1071
1138
|
* Title accessor
|
|
1072
1139
|
*/
|
|
1073
|
-
titleAccessor: (object: any) => string
|
|
1140
|
+
readonly titleAccessor: _angular_core.InputSignal<(object: any) => string>;
|
|
1074
1141
|
/**
|
|
1075
1142
|
* Text to display when nothing is selected
|
|
1076
1143
|
*/
|
|
1077
|
-
emptyText: string
|
|
1144
|
+
readonly emptyText: _angular_core.InputSignal<string>;
|
|
1078
1145
|
/**
|
|
1079
1146
|
* Wheter selecting many entities is allowed
|
|
1080
1147
|
*/
|
|
1081
|
-
multi: boolean
|
|
1148
|
+
readonly multi: _angular_core.InputSignal<boolean>;
|
|
1082
1149
|
/**
|
|
1083
1150
|
* Text to display for the select all option
|
|
1084
1151
|
*/
|
|
1085
|
-
multiAllText: string
|
|
1152
|
+
readonly multiAllText: _angular_core.InputSignal<string>;
|
|
1086
1153
|
/**
|
|
1087
1154
|
* Text to display for the select none option
|
|
1088
1155
|
*/
|
|
1089
|
-
multiNoneText: string
|
|
1156
|
+
readonly multiNoneText: _angular_core.InputSignal<string>;
|
|
1090
1157
|
/**
|
|
1091
1158
|
* Field placeholder
|
|
1092
1159
|
*/
|
|
1093
|
-
placeholder: string
|
|
1160
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1094
1161
|
/**
|
|
1095
1162
|
* Wheter the selector is disabled or not
|
|
1096
1163
|
*/
|
|
1097
|
-
disabled: boolean
|
|
1164
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1098
1165
|
/**
|
|
1099
1166
|
* Event emitted when the selection changes
|
|
1100
1167
|
*/
|
|
1101
|
-
selectedChange:
|
|
1168
|
+
readonly selectedChange: _angular_core.OutputEmitterRef<EntitySelectorChange<any>>;
|
|
1102
1169
|
/**
|
|
1103
1170
|
* Create a store watcher and subscribe to the selected entity
|
|
1104
1171
|
* @internal
|
|
@@ -1118,17 +1185,17 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
|
|
|
1118
1185
|
}): void;
|
|
1119
1186
|
private onSelectFromStore;
|
|
1120
1187
|
private updateMultiToggleWithEntities;
|
|
1121
|
-
static ɵfac:
|
|
1122
|
-
static ɵcmp:
|
|
1188
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitySelectorComponent, never>;
|
|
1189
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitySelectorComponent, "igo-entity-selector", never, { "store": { "alias": "store"; "required": false; "isSignal": true; }; "titleAccessor": { "alias": "titleAccessor"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "multiAllText": { "alias": "multiAllText"; "required": false; "isSignal": true; }; "multiNoneText": { "alias": "multiNoneText"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
1123
1190
|
}
|
|
1124
1191
|
|
|
1125
1192
|
/**
|
|
1126
1193
|
* @deprecated import the EntitySelectorComponent directly
|
|
1127
1194
|
*/
|
|
1128
1195
|
declare class IgoEntitySelectorModule {
|
|
1129
|
-
static ɵfac:
|
|
1130
|
-
static ɵmod:
|
|
1131
|
-
static ɵinj:
|
|
1196
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntitySelectorModule, never>;
|
|
1197
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntitySelectorModule, never, [typeof EntitySelectorComponent], [typeof EntitySelectorComponent]>;
|
|
1198
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntitySelectorModule>;
|
|
1132
1199
|
}
|
|
1133
1200
|
|
|
1134
1201
|
interface EntityTablePaginatorOptions {
|
|
@@ -1195,7 +1262,7 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1195
1262
|
/**
|
|
1196
1263
|
* Entity store
|
|
1197
1264
|
*/
|
|
1198
|
-
store: EntityStore<object
|
|
1265
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, EntityState>>;
|
|
1199
1266
|
/**
|
|
1200
1267
|
* Table paginator
|
|
1201
1268
|
*/
|
|
@@ -1205,37 +1272,37 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1205
1272
|
/**
|
|
1206
1273
|
* Table template
|
|
1207
1274
|
*/
|
|
1208
|
-
template: EntityTableTemplate
|
|
1275
|
+
readonly template: _angular_core.InputSignal<EntityTableTemplate>;
|
|
1209
1276
|
/**
|
|
1210
1277
|
* Scroll behavior on selection
|
|
1211
1278
|
*/
|
|
1212
|
-
scrollBehavior: EntityTableScrollBehavior
|
|
1279
|
+
readonly scrollBehavior: _angular_core.InputSignal<EntityTableScrollBehavior>;
|
|
1213
1280
|
/**
|
|
1214
1281
|
* Whether nulls should be first when sorting
|
|
1215
1282
|
*/
|
|
1216
|
-
sortNullsFirst: boolean
|
|
1283
|
+
readonly sortNullsFirst: _angular_core.InputSignal<boolean>;
|
|
1217
1284
|
/**
|
|
1218
1285
|
* Show the table paginator or not. False by default.
|
|
1219
1286
|
*/
|
|
1220
|
-
withPaginator: boolean
|
|
1287
|
+
readonly withPaginator: _angular_core.InputSignal<boolean>;
|
|
1221
1288
|
/**
|
|
1222
1289
|
* Paginator options
|
|
1223
1290
|
*/
|
|
1224
|
-
paginatorOptions: EntityTablePaginatorOptions
|
|
1291
|
+
readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
|
|
1225
1292
|
/**
|
|
1226
1293
|
* Event emitted when an entity (row) is clicked
|
|
1227
1294
|
*/
|
|
1228
|
-
entityClick:
|
|
1295
|
+
readonly entityClick: _angular_core.OutputEmitterRef<object>;
|
|
1229
1296
|
/**
|
|
1230
1297
|
* Event emitted when an entity (row) is selected
|
|
1231
1298
|
*/
|
|
1232
|
-
entitySelectChange:
|
|
1299
|
+
readonly entitySelectChange: _angular_core.OutputEmitterRef<{
|
|
1233
1300
|
added: object[];
|
|
1234
1301
|
}>;
|
|
1235
1302
|
/**
|
|
1236
1303
|
* Event emitted when the table sort is changed.
|
|
1237
1304
|
*/
|
|
1238
|
-
entitySortChange:
|
|
1305
|
+
readonly entitySortChange: _angular_core.OutputEmitterRef<{
|
|
1239
1306
|
column: EntityTableColumn;
|
|
1240
1307
|
direction: string;
|
|
1241
1308
|
}>;
|
|
@@ -1456,17 +1523,17 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1456
1523
|
* Retrieve column name without his "properties" tag (useful for edition workspace properties)
|
|
1457
1524
|
*/
|
|
1458
1525
|
getColumnKeyWithoutPropertiesTag(column: string): string;
|
|
1459
|
-
static ɵfac:
|
|
1460
|
-
static ɵcmp:
|
|
1526
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityTableComponent, never>;
|
|
1527
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityTableComponent, "igo-entity-table", never, { "store": { "alias": "store"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "scrollBehavior": { "alias": "scrollBehavior"; "required": false; "isSignal": true; }; "sortNullsFirst": { "alias": "sortNullsFirst"; "required": false; "isSignal": true; }; "withPaginator": { "alias": "withPaginator"; "required": false; "isSignal": true; }; "paginatorOptions": { "alias": "paginatorOptions"; "required": false; "isSignal": true; }; }, { "entityClick": "entityClick"; "entitySelectChange": "entitySelectChange"; "entitySortChange": "entitySortChange"; }, never, never, true, never>;
|
|
1461
1528
|
}
|
|
1462
1529
|
|
|
1463
1530
|
/**
|
|
1464
1531
|
* @deprecated import the EntityTableComponent directly
|
|
1465
1532
|
*/
|
|
1466
1533
|
declare class IgoEntityTableModule {
|
|
1467
|
-
static ɵfac:
|
|
1468
|
-
static ɵmod:
|
|
1469
|
-
static ɵinj:
|
|
1534
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityTableModule, never>;
|
|
1535
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityTableModule, never, [typeof EntityTableComponent], [typeof EntityTableComponent]>;
|
|
1536
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityTableModule>;
|
|
1470
1537
|
}
|
|
1471
1538
|
|
|
1472
1539
|
declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
@@ -1481,25 +1548,21 @@ declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
|
1481
1548
|
private count$$;
|
|
1482
1549
|
private entitySortChange$$;
|
|
1483
1550
|
private paginationLabelTranslation$$;
|
|
1484
|
-
entitySortChange$: BehaviorSubject<boolean
|
|
1551
|
+
readonly entitySortChange$: _angular_core.InputSignal<BehaviorSubject<boolean>>;
|
|
1485
1552
|
/**
|
|
1486
1553
|
* Entity store
|
|
1487
1554
|
*/
|
|
1488
|
-
store: EntityStore<object
|
|
1555
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
|
|
1489
1556
|
/**
|
|
1490
1557
|
* Paginator options
|
|
1491
1558
|
*/
|
|
1492
|
-
paginatorOptions: EntityTablePaginatorOptions
|
|
1493
|
-
/**
|
|
1494
|
-
* Event emitted when the paginator changes the page size or page index.
|
|
1495
|
-
*/
|
|
1496
|
-
page: EventEmitter<PageEvent>;
|
|
1559
|
+
readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
|
|
1497
1560
|
length: number;
|
|
1498
1561
|
/**
|
|
1499
1562
|
* Paginator emitted.
|
|
1500
1563
|
*/
|
|
1501
|
-
paginatorChange:
|
|
1502
|
-
paginator: MatPaginator
|
|
1564
|
+
readonly paginatorChange: _angular_core.OutputEmitterRef<MatPaginator>;
|
|
1565
|
+
readonly paginator: _angular_core.Signal<MatPaginator>;
|
|
1503
1566
|
ngOnChanges(): void;
|
|
1504
1567
|
initPaginatorOptions(): void;
|
|
1505
1568
|
translateLabels(): void;
|
|
@@ -1507,17 +1570,17 @@ declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
|
1507
1570
|
private unsubscribeAll;
|
|
1508
1571
|
ngOnDestroy(): void;
|
|
1509
1572
|
emitPaginator(): void;
|
|
1510
|
-
static ɵfac:
|
|
1511
|
-
static ɵcmp:
|
|
1573
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityTablePaginatorComponent, never>;
|
|
1574
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityTablePaginatorComponent, "igo-entity-table-paginator", never, { "entitySortChange$": { "alias": "entitySortChange$"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "paginatorOptions": { "alias": "paginatorOptions"; "required": false; "isSignal": true; }; }, { "paginatorChange": "paginatorChange"; }, never, never, true, never>;
|
|
1512
1575
|
}
|
|
1513
1576
|
|
|
1514
1577
|
/**
|
|
1515
1578
|
* @deprecated import the EntityTablePaginatorComponent directly
|
|
1516
1579
|
*/
|
|
1517
1580
|
declare class IgoEntityTablePaginatorModule {
|
|
1518
|
-
static ɵfac:
|
|
1519
|
-
static ɵmod:
|
|
1520
|
-
static ɵinj:
|
|
1581
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityTablePaginatorModule, never>;
|
|
1582
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityTablePaginatorModule, never, [typeof EntityTablePaginatorComponent], [typeof EntityTablePaginatorComponent]>;
|
|
1583
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityTablePaginatorModule>;
|
|
1521
1584
|
}
|
|
1522
1585
|
|
|
1523
1586
|
declare const ENTITY_DIRECTIVES: readonly [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent];
|
|
@@ -1525,10 +1588,10 @@ declare const ENTITY_DIRECTIVES: readonly [typeof EntitySelectorComponent, typeo
|
|
|
1525
1588
|
* @deprecated import the components directly or ENTITY_DIRECTIVES for every components/directives
|
|
1526
1589
|
*/
|
|
1527
1590
|
declare class IgoEntityModule {
|
|
1528
|
-
static ɵfac:
|
|
1529
|
-
static ɵmod:
|
|
1530
|
-
static ɵinj:
|
|
1591
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityModule, never>;
|
|
1592
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityModule, never, [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent], [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent]>;
|
|
1593
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityModule>;
|
|
1531
1594
|
}
|
|
1532
1595
|
|
|
1533
|
-
export { ENTITY_DIRECTIVES, EntityOperationType, EntitySelectorComponent, EntityStateManager, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityStoreStrategy, EntityStoreWatcher, EntityTableColumnRenderer, EntityTableComponent, EntityTablePaginatorComponent, EntityTableScrollBehavior, EntityTableSelectionState, EntityTransaction, EntityView, IgoEntityModule, IgoEntitySelectorModule, IgoEntityTableModule, IgoEntityTablePaginatorModule, getEntityIcon, getEntityId, getEntityProperty, getEntityRevision, getEntityTitle, getEntityTitleHtml };
|
|
1534
|
-
export type { EntityFilterClause, EntityJoinClause, EntityKey, EntityOperation, EntityOperationState, EntityRecord, EntitySelectorChange, EntitySortClause, EntityState, EntityStoreOptions, EntityStoreStrategyFuncOptions, EntityStoreStrategyOptions, EntityTableButton, EntityTableColumn, EntityTableColumnValidation, EntityTablePaginatorOptions, EntityTableTemplate, EntityTransactionCommitHandler, EntityTransactionOptions, SelectOption, TableRelation };
|
|
1596
|
+
export { ENTITY_DIRECTIVES, EntityOperationType, EntitySelectorComponent, EntityService, EntityStateManager, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityStoreStrategy, EntityStoreWatcher, EntityTableColumnRenderer, EntityTableComponent, EntityTablePaginatorComponent, EntityTableScrollBehavior, EntityTableSelectionState, EntityTransaction, EntityView, IgoEntityModule, IgoEntitySelectorModule, IgoEntityTableModule, IgoEntityTablePaginatorModule, getColumnKeyWithoutPropertiesTag, getEntityIcon, getEntityId, getEntityProperty, getEntityRevision, getEntityTitle, getEntityTitleHtml, isChoiceField, isChoiceFieldWithLabelField };
|
|
1597
|
+
export type { AnyChoiceEntityField, AnyEntityField, BaseEntityTableColumn, ChoiceEntityFieldWithDomain, ChoiceEntityFieldWithLabelField, EntityDataType, EntityFilterClause, EntityJoinClause, EntityKey, EntityOperation, EntityOperationState, EntityRecord, EntityRelation, EntityRelationParam, EntitySelectorChange, EntitySortClause, EntityState, EntityStoreOptions, EntityStoreStrategyFuncOptions, EntityStoreStrategyOptions, EntityTableButton, EntityTableColumn, EntityTableColumnValidation, EntityTablePaginatorOptions, EntityTableTemplate, EntityTransactionCommitHandler, EntityTransactionOptions, SelectEntityTableColumn, SelectOption, TableRelation };
|