@igo2/common 20.0.0 → 20.1.0-next.1
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 +45 -48
- 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-backdrop.mjs.map +1 -1
- package/fesm2022/igo2-common-badge.mjs +7 -7
- package/fesm2022/igo2-common-badge.mjs.map +1 -1
- 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-custom-html.mjs.map +1 -1
- 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 +154 -206
- 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-sidenav.mjs.map +1 -1
- 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-stop-propagation.mjs.map +1 -1
- 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 +11 -3
- 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 +4 -4
- package/widget/index.d.ts +9 -9
- package/workspace/index.d.ts +7 -8
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 {
|
|
@@ -1066,39 +1067,39 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
|
|
|
1066
1067
|
/**
|
|
1067
1068
|
* Entity store
|
|
1068
1069
|
*/
|
|
1069
|
-
store: EntityStore<object
|
|
1070
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
|
|
1070
1071
|
/**
|
|
1071
1072
|
* Title accessor
|
|
1072
1073
|
*/
|
|
1073
|
-
titleAccessor: (object: any) => string
|
|
1074
|
+
readonly titleAccessor: _angular_core.InputSignal<(object: any) => string>;
|
|
1074
1075
|
/**
|
|
1075
1076
|
* Text to display when nothing is selected
|
|
1076
1077
|
*/
|
|
1077
|
-
emptyText: string
|
|
1078
|
+
readonly emptyText: _angular_core.InputSignal<string>;
|
|
1078
1079
|
/**
|
|
1079
1080
|
* Wheter selecting many entities is allowed
|
|
1080
1081
|
*/
|
|
1081
|
-
multi: boolean
|
|
1082
|
+
readonly multi: _angular_core.InputSignal<boolean>;
|
|
1082
1083
|
/**
|
|
1083
1084
|
* Text to display for the select all option
|
|
1084
1085
|
*/
|
|
1085
|
-
multiAllText: string
|
|
1086
|
+
readonly multiAllText: _angular_core.InputSignal<string>;
|
|
1086
1087
|
/**
|
|
1087
1088
|
* Text to display for the select none option
|
|
1088
1089
|
*/
|
|
1089
|
-
multiNoneText: string
|
|
1090
|
+
readonly multiNoneText: _angular_core.InputSignal<string>;
|
|
1090
1091
|
/**
|
|
1091
1092
|
* Field placeholder
|
|
1092
1093
|
*/
|
|
1093
|
-
placeholder: string
|
|
1094
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1094
1095
|
/**
|
|
1095
1096
|
* Wheter the selector is disabled or not
|
|
1096
1097
|
*/
|
|
1097
|
-
disabled: boolean
|
|
1098
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1098
1099
|
/**
|
|
1099
1100
|
* Event emitted when the selection changes
|
|
1100
1101
|
*/
|
|
1101
|
-
selectedChange:
|
|
1102
|
+
readonly selectedChange: _angular_core.OutputEmitterRef<EntitySelectorChange<any>>;
|
|
1102
1103
|
/**
|
|
1103
1104
|
* Create a store watcher and subscribe to the selected entity
|
|
1104
1105
|
* @internal
|
|
@@ -1118,17 +1119,17 @@ declare class EntitySelectorComponent implements OnInit, OnDestroy {
|
|
|
1118
1119
|
}): void;
|
|
1119
1120
|
private onSelectFromStore;
|
|
1120
1121
|
private updateMultiToggleWithEntities;
|
|
1121
|
-
static ɵfac:
|
|
1122
|
-
static ɵcmp:
|
|
1122
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitySelectorComponent, never>;
|
|
1123
|
+
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
1124
|
}
|
|
1124
1125
|
|
|
1125
1126
|
/**
|
|
1126
1127
|
* @deprecated import the EntitySelectorComponent directly
|
|
1127
1128
|
*/
|
|
1128
1129
|
declare class IgoEntitySelectorModule {
|
|
1129
|
-
static ɵfac:
|
|
1130
|
-
static ɵmod:
|
|
1131
|
-
static ɵinj:
|
|
1130
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntitySelectorModule, never>;
|
|
1131
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntitySelectorModule, never, [typeof EntitySelectorComponent], [typeof EntitySelectorComponent]>;
|
|
1132
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntitySelectorModule>;
|
|
1132
1133
|
}
|
|
1133
1134
|
|
|
1134
1135
|
interface EntityTablePaginatorOptions {
|
|
@@ -1195,7 +1196,7 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1195
1196
|
/**
|
|
1196
1197
|
* Entity store
|
|
1197
1198
|
*/
|
|
1198
|
-
store: EntityStore<object
|
|
1199
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, EntityState>>;
|
|
1199
1200
|
/**
|
|
1200
1201
|
* Table paginator
|
|
1201
1202
|
*/
|
|
@@ -1205,37 +1206,37 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1205
1206
|
/**
|
|
1206
1207
|
* Table template
|
|
1207
1208
|
*/
|
|
1208
|
-
template: EntityTableTemplate
|
|
1209
|
+
readonly template: _angular_core.InputSignal<EntityTableTemplate>;
|
|
1209
1210
|
/**
|
|
1210
1211
|
* Scroll behavior on selection
|
|
1211
1212
|
*/
|
|
1212
|
-
scrollBehavior: EntityTableScrollBehavior
|
|
1213
|
+
readonly scrollBehavior: _angular_core.InputSignal<EntityTableScrollBehavior>;
|
|
1213
1214
|
/**
|
|
1214
1215
|
* Whether nulls should be first when sorting
|
|
1215
1216
|
*/
|
|
1216
|
-
sortNullsFirst: boolean
|
|
1217
|
+
readonly sortNullsFirst: _angular_core.InputSignal<boolean>;
|
|
1217
1218
|
/**
|
|
1218
1219
|
* Show the table paginator or not. False by default.
|
|
1219
1220
|
*/
|
|
1220
|
-
withPaginator: boolean
|
|
1221
|
+
readonly withPaginator: _angular_core.InputSignal<boolean>;
|
|
1221
1222
|
/**
|
|
1222
1223
|
* Paginator options
|
|
1223
1224
|
*/
|
|
1224
|
-
paginatorOptions: EntityTablePaginatorOptions
|
|
1225
|
+
readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
|
|
1225
1226
|
/**
|
|
1226
1227
|
* Event emitted when an entity (row) is clicked
|
|
1227
1228
|
*/
|
|
1228
|
-
entityClick:
|
|
1229
|
+
readonly entityClick: _angular_core.OutputEmitterRef<object>;
|
|
1229
1230
|
/**
|
|
1230
1231
|
* Event emitted when an entity (row) is selected
|
|
1231
1232
|
*/
|
|
1232
|
-
entitySelectChange:
|
|
1233
|
+
readonly entitySelectChange: _angular_core.OutputEmitterRef<{
|
|
1233
1234
|
added: object[];
|
|
1234
1235
|
}>;
|
|
1235
1236
|
/**
|
|
1236
1237
|
* Event emitted when the table sort is changed.
|
|
1237
1238
|
*/
|
|
1238
|
-
entitySortChange:
|
|
1239
|
+
readonly entitySortChange: _angular_core.OutputEmitterRef<{
|
|
1239
1240
|
column: EntityTableColumn;
|
|
1240
1241
|
direction: string;
|
|
1241
1242
|
}>;
|
|
@@ -1456,17 +1457,17 @@ declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1456
1457
|
* Retrieve column name without his "properties" tag (useful for edition workspace properties)
|
|
1457
1458
|
*/
|
|
1458
1459
|
getColumnKeyWithoutPropertiesTag(column: string): string;
|
|
1459
|
-
static ɵfac:
|
|
1460
|
-
static ɵcmp:
|
|
1460
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityTableComponent, never>;
|
|
1461
|
+
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
1462
|
}
|
|
1462
1463
|
|
|
1463
1464
|
/**
|
|
1464
1465
|
* @deprecated import the EntityTableComponent directly
|
|
1465
1466
|
*/
|
|
1466
1467
|
declare class IgoEntityTableModule {
|
|
1467
|
-
static ɵfac:
|
|
1468
|
-
static ɵmod:
|
|
1469
|
-
static ɵinj:
|
|
1468
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityTableModule, never>;
|
|
1469
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityTableModule, never, [typeof EntityTableComponent], [typeof EntityTableComponent]>;
|
|
1470
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityTableModule>;
|
|
1470
1471
|
}
|
|
1471
1472
|
|
|
1472
1473
|
declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
@@ -1481,25 +1482,21 @@ declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
|
1481
1482
|
private count$$;
|
|
1482
1483
|
private entitySortChange$$;
|
|
1483
1484
|
private paginationLabelTranslation$$;
|
|
1484
|
-
entitySortChange$: BehaviorSubject<boolean
|
|
1485
|
+
readonly entitySortChange$: _angular_core.InputSignal<BehaviorSubject<boolean>>;
|
|
1485
1486
|
/**
|
|
1486
1487
|
* Entity store
|
|
1487
1488
|
*/
|
|
1488
|
-
store: EntityStore<object
|
|
1489
|
+
readonly store: _angular_core.InputSignal<EntityStore<object, _igo2_common_entity.EntityState>>;
|
|
1489
1490
|
/**
|
|
1490
1491
|
* Paginator options
|
|
1491
1492
|
*/
|
|
1492
|
-
paginatorOptions: EntityTablePaginatorOptions
|
|
1493
|
-
/**
|
|
1494
|
-
* Event emitted when the paginator changes the page size or page index.
|
|
1495
|
-
*/
|
|
1496
|
-
page: EventEmitter<PageEvent>;
|
|
1493
|
+
readonly paginatorOptions: _angular_core.InputSignal<EntityTablePaginatorOptions>;
|
|
1497
1494
|
length: number;
|
|
1498
1495
|
/**
|
|
1499
1496
|
* Paginator emitted.
|
|
1500
1497
|
*/
|
|
1501
|
-
paginatorChange:
|
|
1502
|
-
paginator: MatPaginator
|
|
1498
|
+
readonly paginatorChange: _angular_core.OutputEmitterRef<MatPaginator>;
|
|
1499
|
+
readonly paginator: _angular_core.Signal<MatPaginator>;
|
|
1503
1500
|
ngOnChanges(): void;
|
|
1504
1501
|
initPaginatorOptions(): void;
|
|
1505
1502
|
translateLabels(): void;
|
|
@@ -1507,17 +1504,17 @@ declare class EntityTablePaginatorComponent implements OnChanges, OnDestroy {
|
|
|
1507
1504
|
private unsubscribeAll;
|
|
1508
1505
|
ngOnDestroy(): void;
|
|
1509
1506
|
emitPaginator(): void;
|
|
1510
|
-
static ɵfac:
|
|
1511
|
-
static ɵcmp:
|
|
1507
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityTablePaginatorComponent, never>;
|
|
1508
|
+
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
1509
|
}
|
|
1513
1510
|
|
|
1514
1511
|
/**
|
|
1515
1512
|
* @deprecated import the EntityTablePaginatorComponent directly
|
|
1516
1513
|
*/
|
|
1517
1514
|
declare class IgoEntityTablePaginatorModule {
|
|
1518
|
-
static ɵfac:
|
|
1519
|
-
static ɵmod:
|
|
1520
|
-
static ɵinj:
|
|
1515
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityTablePaginatorModule, never>;
|
|
1516
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityTablePaginatorModule, never, [typeof EntityTablePaginatorComponent], [typeof EntityTablePaginatorComponent]>;
|
|
1517
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityTablePaginatorModule>;
|
|
1521
1518
|
}
|
|
1522
1519
|
|
|
1523
1520
|
declare const ENTITY_DIRECTIVES: readonly [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent];
|
|
@@ -1525,9 +1522,9 @@ declare const ENTITY_DIRECTIVES: readonly [typeof EntitySelectorComponent, typeo
|
|
|
1525
1522
|
* @deprecated import the components directly or ENTITY_DIRECTIVES for every components/directives
|
|
1526
1523
|
*/
|
|
1527
1524
|
declare class IgoEntityModule {
|
|
1528
|
-
static ɵfac:
|
|
1529
|
-
static ɵmod:
|
|
1530
|
-
static ɵinj:
|
|
1525
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoEntityModule, never>;
|
|
1526
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoEntityModule, never, [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent], [typeof EntitySelectorComponent, typeof EntityTableComponent, typeof EntityTablePaginatorComponent]>;
|
|
1527
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoEntityModule>;
|
|
1531
1528
|
}
|
|
1532
1529
|
|
|
1533
1530
|
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 };
|