@sumaris-net/ngx-components 21.4.2 → 21.4.3
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 +6 -0
- package/fesm2022/sumaris-net.ngx-components.mjs +52 -14
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/en-US.json +1 -1
- package/src/assets/i18n/en.json +1 -1
- package/src/assets/i18n/fr.json +1 -1
- package/src/assets/manifest.json +1 -1
- package/types/sumaris-net.ngx-components.d.ts +17 -3
package/package.json
CHANGED
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
"UPLOAD": {
|
|
656
656
|
"DRAG_AND_DROP": "Drag and drop a file{{ extension }} here<br/>or",
|
|
657
657
|
"BROWSE": "Browse",
|
|
658
|
-
"IMPORTING": "
|
|
658
|
+
"IMPORTING": "Uploading in progress",
|
|
659
659
|
"DONE_COUNT": "{{count}} / {{total}} file(s) ready",
|
|
660
660
|
"BTN_IMPORT_POLICY_DOTS": "Import policy...",
|
|
661
661
|
"ERROR": "Error while uploading file",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
"UPLOAD": {
|
|
658
658
|
"DRAG_AND_DROP": "Drag and drop a file{{ extension }} here<br/>or",
|
|
659
659
|
"BROWSE": "Browse",
|
|
660
|
-
"IMPORTING": "
|
|
660
|
+
"IMPORTING": "Uploading in progress",
|
|
661
661
|
"DONE_COUNT": "{{count}} / {{total}} file(s) ready",
|
|
662
662
|
"BTN_IMPORT_POLICY_DOTS": "Import policy...",
|
|
663
663
|
"ERROR": "Error while uploading file",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"UPLOAD": {
|
|
661
661
|
"DRAG_AND_DROP": "Glisser et déposer un fichier{{ extension }} ici<br/>ou",
|
|
662
662
|
"BROWSE": "Parcourir",
|
|
663
|
-
"IMPORTING": "
|
|
663
|
+
"IMPORTING": "Envoi en cours",
|
|
664
664
|
"DONE_COUNT": "{{count}} / {{total}} fichier(s) prêt(s)",
|
|
665
665
|
"BTN_IMPORT_POLICY_DOTS": "Stratégie d'importation...",
|
|
666
666
|
"ERROR": "Erreur durant l'envoi de fichier",
|
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": "21.4.
|
|
5
|
+
"version": "21.4.3",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -1555,7 +1555,7 @@ interface InputElement extends FocusableElement {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
declare function isInputElement(object: any): object is InputElement;
|
|
1557
1557
|
declare function asInputElement<T = any>(object: ElementRef<T> | InputElement): InputElement | undefined;
|
|
1558
|
-
declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
1558
|
+
declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
1559
1559
|
interface CanGainFocusOptions {
|
|
1560
1560
|
minTabindex?: number;
|
|
1561
1561
|
maxTabindex?: number;
|
|
@@ -2326,6 +2326,7 @@ interface UploadFilePopoverOptions<T> {
|
|
|
2326
2326
|
showThumbnails?: boolean;
|
|
2327
2327
|
okButtonText?: string;
|
|
2328
2328
|
cancelButtonText?: string;
|
|
2329
|
+
showOkButton?: boolean;
|
|
2329
2330
|
backdropDismiss?: boolean;
|
|
2330
2331
|
keyboardClose?: boolean;
|
|
2331
2332
|
translucent?: boolean;
|
|
@@ -2349,6 +2350,7 @@ declare class UploadFilePopover implements UploadFilePopoverOptions<any> {
|
|
|
2349
2350
|
showThumbnails: boolean;
|
|
2350
2351
|
okButtonText: string;
|
|
2351
2352
|
cancelButtonText: string;
|
|
2353
|
+
showOkButton: boolean;
|
|
2352
2354
|
importing: boolean;
|
|
2353
2355
|
error: string;
|
|
2354
2356
|
get files(): UploadFile<any>[];
|
|
@@ -2357,9 +2359,10 @@ declare class UploadFilePopover implements UploadFilePopoverOptions<any> {
|
|
|
2357
2359
|
constructor(popoverController: PopoverController, translate: TranslateService, cd: ChangeDetectorRef);
|
|
2358
2360
|
onValidate(event: any): Promise<any>;
|
|
2359
2361
|
cancel(): Promise<boolean>;
|
|
2362
|
+
onFilesChange(files: UploadFile<any>[]): Promise<void>;
|
|
2360
2363
|
protected resetError(): void;
|
|
2361
2364
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilePopover, never>;
|
|
2362
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilePopover, "app-upload-file-popover", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "fileExtensionsExcluded": { "alias": "fileExtensionsExcluded"; "required": false; }; "title": { "alias": "title"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "autoHideDropArea": { "alias": "autoHideDropArea"; "required": false; }; "showThumbnails": { "alias": "showThumbnails"; "required": false; }; "okButtonText": { "alias": "okButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; }, {}, never, never, false, never>;
|
|
2365
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilePopover, "app-upload-file-popover", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "fileExtensionsExcluded": { "alias": "fileExtensionsExcluded"; "required": false; }; "title": { "alias": "title"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; "maxFileSizeMb": { "alias": "maxFileSizeMb"; "required": false; }; "autoHideDropArea": { "alias": "autoHideDropArea"; "required": false; }; "showThumbnails": { "alias": "showThumbnails"; "required": false; }; "okButtonText": { "alias": "okButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "showOkButton": { "alias": "showOkButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
2363
2366
|
}
|
|
2364
2367
|
|
|
2365
2368
|
declare interface TestingPage {
|
|
@@ -3567,14 +3570,24 @@ declare class AutoResizeDirective implements AfterViewInit {
|
|
|
3567
3570
|
static ngAcceptInputType_minRows: unknown;
|
|
3568
3571
|
}
|
|
3569
3572
|
|
|
3573
|
+
/**
|
|
3574
|
+
* Directive to automatically show a tooltip with the content of the label.
|
|
3575
|
+
*/
|
|
3570
3576
|
declare class AutoTooltipDirective implements AfterContentChecked {
|
|
3571
3577
|
private readonly elementRef;
|
|
3572
3578
|
private readonly matTooltip;
|
|
3579
|
+
/**
|
|
3580
|
+
* Enable automatic tooltip based on the content of the label.
|
|
3581
|
+
*/
|
|
3573
3582
|
appAutoTooltip: boolean;
|
|
3583
|
+
/**
|
|
3584
|
+
* Text to display in the tooltip when appAutoTooltip is false.
|
|
3585
|
+
*/
|
|
3586
|
+
appTooltipText: string;
|
|
3574
3587
|
constructor(elementRef: ElementRef<HTMLElement>, matTooltip: MatTooltip);
|
|
3575
3588
|
ngAfterContentChecked(): void;
|
|
3576
3589
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoTooltipDirective, never>;
|
|
3577
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoTooltipDirective, "ion-label[appAutoTooltip], mat-label[appAutoTooltip]", never, { "appAutoTooltip": { "alias": "appAutoTooltip"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i30.MatTooltip; inputs: {}; outputs: {}; }]>;
|
|
3590
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoTooltipDirective, "ion-label[appAutoTooltip], mat-label[appAutoTooltip]", never, { "appAutoTooltip": { "alias": "appAutoTooltip"; "required": false; }; "appTooltipText": { "alias": "appTooltipText"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i30.MatTooltip; inputs: {}; outputs: {}; }]>;
|
|
3578
3591
|
static ngAcceptInputType_appAutoTooltip: unknown;
|
|
3579
3592
|
}
|
|
3580
3593
|
|
|
@@ -14723,6 +14736,7 @@ declare class UsersPage extends AppTable<Person, PersonFilter> implements OnInit
|
|
|
14723
14736
|
permanentSelectionAllowed: boolean;
|
|
14724
14737
|
constructor(injector: Injector, formBuilder: UntypedFormBuilder, accountService: AccountService, validatorService: ValidatorService, configService: ConfigService, dataService: IPersonService, messageService: MessageService, menuService: MenuService, environment: Environment);
|
|
14725
14738
|
filterExpansionPanel: MatExpansionPanel;
|
|
14739
|
+
filterAutocompleteFields: QueryList<any>;
|
|
14726
14740
|
get firstUserColumn(): string;
|
|
14727
14741
|
ngOnInit(): Promise<void>;
|
|
14728
14742
|
applyFilterForm(event?: Event): void;
|