@dsivd/prestations-ng 14.5.12 → 14.5.14-beta3
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/CHANGELOG.md +23 -0
- package/bundles/dsivd-prestations-ng.umd.js +416 -5
- package/bundles/dsivd-prestations-ng.umd.js.map +1 -1
- package/dsivd-prestations-ng-v14.5.14-beta3.tgz +0 -0
- package/esm2015/foehn-table/foehn-table-column-configuration.js +3 -0
- package/esm2015/foehn-table/foehn-table-page-change-event.js +3 -0
- package/esm2015/foehn-table/foehn-table.component.js +148 -0
- package/esm2015/foehn-table/foehn-table.module.js +34 -0
- package/esm2015/foehn-table/tableSort.js +3 -0
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.js +164 -0
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.js +42 -0
- package/esm2015/index.js +10 -1
- package/esm2015/sdk-dictionary/default-dictionary.js +12 -2
- package/fesm2015/dsivd-prestations-ng.js +374 -2
- package/fesm2015/dsivd-prestations-ng.js.map +1 -1
- package/foehn-table/foehn-table-column-configuration.d.ts +8 -0
- package/foehn-table/foehn-table-page-change-event.d.ts +5 -0
- package/foehn-table/foehn-table.component.d.ts +33 -0
- package/foehn-table/foehn-table.module.d.ts +11 -0
- package/foehn-table/tableSort.d.ts +4 -0
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +39 -0
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +13 -0
- package/index.d.ts +7 -0
- package/package.json +2 -1
- package/dsivd-prestations-ng-v14.5.12.tgz +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FoehnTablePageChangeEvent } from './foehn-table-page-change-event';
|
|
3
|
+
import { FoehnTableColumnConfiguration } from './foehn-table-column-configuration';
|
|
4
|
+
import { TableSort } from './tableSort';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FoehnTableComponent implements OnChanges {
|
|
7
|
+
itemsPerPage: number;
|
|
8
|
+
id: string;
|
|
9
|
+
previousLabel: string;
|
|
10
|
+
nextLabel: string;
|
|
11
|
+
totalElements: number;
|
|
12
|
+
fixedPageCount: number;
|
|
13
|
+
columnsConfiguration: FoehnTableColumnConfiguration<unknown>[];
|
|
14
|
+
pageChange: EventEmitter<FoehnTablePageChangeEvent>;
|
|
15
|
+
sort: TableSort;
|
|
16
|
+
sortChange: EventEmitter<TableSort>;
|
|
17
|
+
currentPage: number;
|
|
18
|
+
filteredList: unknown[];
|
|
19
|
+
private _list;
|
|
20
|
+
trackByFn: (index: number, item: unknown) => number;
|
|
21
|
+
set list(list: unknown[]);
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
previousPage(): void;
|
|
24
|
+
hasPreviousPage(): boolean;
|
|
25
|
+
nextPage(): void;
|
|
26
|
+
hasNextPage(): boolean;
|
|
27
|
+
showPage(page: number, emitPageChangeEvent?: boolean): void;
|
|
28
|
+
pagesCount(): number;
|
|
29
|
+
triggerSort(sortAttribute: string): void;
|
|
30
|
+
private buildFilteredList;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnTableComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnTableComponent, "foehn-table", never, { "itemsPerPage": "itemsPerPage"; "id": "id"; "previousLabel": "previousLabel"; "nextLabel": "nextLabel"; "totalElements": "totalElements"; "fixedPageCount": "fixedPageCount"; "columnsConfiguration": "columnsConfiguration"; "sort": "sort"; "trackByFn": "trackByFn"; "list": "list"; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; }, never, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./foehn-table.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../foehn-icons/foehn-icons.module";
|
|
5
|
+
import * as i4 from "../sdk-dictionary/sdk-dictionary.module";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
export declare class FoehnTableModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnTableModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnTableModule, [typeof i1.FoehnTableComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.SdkDictionaryModule, typeof i5.RouterModule], [typeof i1.FoehnTableComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FoehnTableModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { FoehnInputComponent } from '../../foehn-input/foehn-input.component';
|
|
4
|
+
import { DocumentReference } from '../../foehn-upload/document-reference';
|
|
5
|
+
import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
|
|
6
|
+
import { MultiUploadService } from '../../foehn-upload/foehn-multi-upload/multi-upload.service';
|
|
7
|
+
import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
|
|
8
|
+
import { ImageCroppedEvent } from 'ngx-image-cropper';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentReference[]> implements OnInit {
|
|
11
|
+
private growlService;
|
|
12
|
+
private uploadService;
|
|
13
|
+
private dictionaryService;
|
|
14
|
+
name: string;
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
baseUrl: string;
|
|
18
|
+
croppedPictureFilename: string;
|
|
19
|
+
resizeToWidth: number;
|
|
20
|
+
resizeToHeight: number;
|
|
21
|
+
pictureToCrop: Event;
|
|
22
|
+
croppedPictureAsBase64Url: string;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
protected currentLanguageSubscription: Subscription;
|
|
25
|
+
protected currentLanguage: string;
|
|
26
|
+
constructor(growlService: GrowlBrokerService, uploadService: MultiUploadService, dictionaryService: SdkDictionaryService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onPictureSelection(imgEvent: Event): void;
|
|
29
|
+
onPictureSelectionFailed(): void;
|
|
30
|
+
onImageCropped(croppedEvent: ImageCroppedEvent): void;
|
|
31
|
+
resetPictureSelection(): void;
|
|
32
|
+
savePicture(): void;
|
|
33
|
+
deleteFile(): void;
|
|
34
|
+
getDownloadUrl(): string;
|
|
35
|
+
get hasPicture(): boolean;
|
|
36
|
+
refreshErrors(results: any[]): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPictureUploadComponent, "foehn-picture-upload", never, { "name": "name"; "key": "key"; "label": "label"; "baseUrl": "baseUrl"; "croppedPictureFilename": "croppedPictureFilename"; "resizeToWidth": "resizeToWidth"; "resizeToHeight": "resizeToHeight"; }, {}, never, ["*"]>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./foehn-picture-upload.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../foehn-icons/foehn-icons.module";
|
|
5
|
+
import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
|
|
6
|
+
import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "ngx-image-cropper";
|
|
9
|
+
export declare class FoehnPictureUploadModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnPictureUploadModule, [typeof i1.FoehnPictureUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.ImageCropperModule], [typeof i1.FoehnPictureUploadComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FoehnPictureUploadModule>;
|
|
13
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -103,6 +103,11 @@ export * from './foehn-icons/foehn-icon-unlock-alt.component';
|
|
|
103
103
|
export * from './foehn-list/foehn-list.module';
|
|
104
104
|
export * from './foehn-list/foehn-list.component';
|
|
105
105
|
export * from './foehn-list/page-change-event';
|
|
106
|
+
export * from './foehn-table/foehn-table.module';
|
|
107
|
+
export * from './foehn-table/foehn-table.component';
|
|
108
|
+
export * from './foehn-table/foehn-table-column-configuration';
|
|
109
|
+
export * from './foehn-table/foehn-table-page-change-event';
|
|
110
|
+
export * from './foehn-table/tableSort';
|
|
106
111
|
export * from './sdk-redirect/sdk-redirect.module';
|
|
107
112
|
export * from './sdk-redirect/redirect.component';
|
|
108
113
|
export * from './sdk-recaptcha/sdk-recaptcha.module';
|
|
@@ -129,6 +134,8 @@ export * from './foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module
|
|
|
129
134
|
export * from './foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component';
|
|
130
135
|
export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service';
|
|
131
136
|
export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type';
|
|
137
|
+
export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.module';
|
|
138
|
+
export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.component';
|
|
132
139
|
export * from './sdk-epayment/sdk-epayment.module';
|
|
133
140
|
export * from './sdk-epayment/sdk-epayment.component';
|
|
134
141
|
export * from './sdk-epayment/sdk-epayment.service';
|
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"rxjs": "~6.6.3",
|
|
27
27
|
"core-js": "~3.15.1",
|
|
28
28
|
"iban": "~0.0.14",
|
|
29
|
+
"ngx-image-cropper": "~5.0.0",
|
|
29
30
|
"dayjs": "~1.10.4"
|
|
30
31
|
},
|
|
31
32
|
"schematics": "./schematics/collection.json",
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"ng-update": {
|
|
36
37
|
"migrations": "./schematics/migration-collection.json"
|
|
37
38
|
},
|
|
38
|
-
"version": "14.5.
|
|
39
|
+
"version": "14.5.14-beta3",
|
|
39
40
|
"main": "bundles/dsivd-prestations-ng.umd.js",
|
|
40
41
|
"module": "fesm2015/dsivd-prestations-ng.js",
|
|
41
42
|
"es2015": "fesm2015/dsivd-prestations-ng.js",
|
|
Binary file
|