@sumaris-net/ngx-components 2.8.11-rc1 → 2.8.12
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/doc/changelog.md +3 -0
- package/esm2022/src/app/core/services/model/person.model.mjs +2 -2
- package/esm2022/src/app/core/services/model/referential.model.mjs +5 -5
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +4 -4
- package/esm2022/src/app/core/table/async-table.class.mjs +13 -6
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +22 -15
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +2 -2
- package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +1 -0
- package/src/app/core/table/async-table.class.d.ts +3 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Moment } from 'moment';
|
|
2
2
|
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
3
3
|
import { IconRef } from '../../../shared/types';
|
|
4
|
-
export declare function referentialToString(obj: Referential | any, properties?: string[]): string | undefined;
|
|
5
|
-
export declare function referentialsToString(values: Referential[], properties?: string[],
|
|
4
|
+
export declare function referentialToString(obj: Referential | any, properties?: string[], separator?: string): string | undefined;
|
|
5
|
+
export declare function referentialsToString(values: Referential[], properties?: string[], valueSeparator?: string, propertySeparator?: string): string;
|
|
6
6
|
export declare interface IStatus {
|
|
7
7
|
id: number;
|
|
8
8
|
icon?: string;
|
|
@@ -6,6 +6,7 @@ export declare class ReferentialToStringPipe implements PipeTransform {
|
|
|
6
6
|
transform(value: Referential | ReferentialRef | IReferentialRef | any, opts?: string[] | {
|
|
7
7
|
properties?: string[];
|
|
8
8
|
separator?: string;
|
|
9
|
+
propertySeparator?: string;
|
|
9
10
|
}): string;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferentialToStringPipe, never>;
|
|
11
12
|
static ɵpipe: i0.ɵɵPipeDeclaration<ReferentialToStringPipe, "referentialToString", false>;
|
|
@@ -92,6 +92,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
92
92
|
get lastUserColumn(): string;
|
|
93
93
|
set dataSource(value: EntitiesAsyncTableDataSource<T, F, ID>);
|
|
94
94
|
get dataSource(): EntitiesAsyncTableDataSource<T, F, ID>;
|
|
95
|
+
set filter(value: F);
|
|
95
96
|
get filter(): F;
|
|
96
97
|
get empty(): boolean;
|
|
97
98
|
get selectedEntities(): T[];
|
|
@@ -203,7 +204,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
203
204
|
setFilter(filter: F, opts?: {
|
|
204
205
|
emitEvent?: boolean;
|
|
205
206
|
permanentSelectionChangedPrevented?: boolean;
|
|
206
|
-
}):
|
|
207
|
+
}): void;
|
|
207
208
|
confirmAndAdd(event?: Event, row?: AsyncTableElement<T>): Promise<boolean>;
|
|
208
209
|
confirmAndBackward(event?: Event, row?: AsyncTableElement<T>): Promise<boolean>;
|
|
209
210
|
confirmAndForward(event?: Event, row?: AsyncTableElement<T>): Promise<boolean>;
|
|
@@ -382,5 +383,5 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
382
383
|
private startCellValueChanges;
|
|
383
384
|
private stopCellValueChanges;
|
|
384
385
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppAsyncTable<any, any, any>, never>;
|
|
385
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppAsyncTable<any, any, any>, never, never, { "settingsId": { "alias": "settingsId"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "i18nColumnPrefix": { "alias": "i18nColumnPrefix"; "required": false; }; "i18nColumnSuffix": { "alias": "i18nColumnSuffix"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "inlineEdition": { "alias": "inlineEdition"; "required": false; }; "focusFirstColumn": { "alias": "focusFirstColumn"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "confirmBeforeCancel": { "alias": "confirmBeforeCancel"; "required": false; }; "undoableDeletion": { "alias": "undoableDeletion"; "required": false; }; "saveBeforeDelete": { "alias": "saveBeforeDelete"; "required": false; }; "keepEditedRowOnSave": { "alias": "keepEditedRowOnSave"; "required": false; }; "saveBeforeSort": { "alias": "saveBeforeSort"; "required": false; }; "saveBeforeFilter": { "alias": "saveBeforeFilter"; "required": false; }; "propagateRowError": { "alias": "propagateRowError"; "required": false; }; "permanentSelectionAllowed": { "alias": "permanentSelectionAllowed"; "required": false; }; "defaultSortBy": { "alias": "defaultSortBy"; "required": false; }; "defaultSortDirection": { "alias": "defaultSortDirection"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; "defaultPageSizeOptions": { "alias": "defaultPageSizeOptions"; "required": false; }; "focusColumn": { "alias": "focusColumn"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; }, { "onRefresh": "onRefresh"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false, never>;
|
|
386
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AppAsyncTable<any, any, any>, never, never, { "settingsId": { "alias": "settingsId"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "i18nColumnPrefix": { "alias": "i18nColumnPrefix"; "required": false; }; "i18nColumnSuffix": { "alias": "i18nColumnSuffix"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "inlineEdition": { "alias": "inlineEdition"; "required": false; }; "focusFirstColumn": { "alias": "focusFirstColumn"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "confirmBeforeCancel": { "alias": "confirmBeforeCancel"; "required": false; }; "undoableDeletion": { "alias": "undoableDeletion"; "required": false; }; "saveBeforeDelete": { "alias": "saveBeforeDelete"; "required": false; }; "keepEditedRowOnSave": { "alias": "keepEditedRowOnSave"; "required": false; }; "saveBeforeSort": { "alias": "saveBeforeSort"; "required": false; }; "saveBeforeFilter": { "alias": "saveBeforeFilter"; "required": false; }; "propagateRowError": { "alias": "propagateRowError"; "required": false; }; "permanentSelectionAllowed": { "alias": "permanentSelectionAllowed"; "required": false; }; "defaultSortBy": { "alias": "defaultSortBy"; "required": false; }; "defaultSortDirection": { "alias": "defaultSortDirection"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; "defaultPageSizeOptions": { "alias": "defaultPageSizeOptions"; "required": false; }; "focusColumn": { "alias": "focusColumn"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; }, { "onRefresh": "onRefresh"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false, never>;
|
|
386
387
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.8.
|
|
5
|
+
"version": "2.8.12",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|