@pepperi-addons/ngx-lib 0.4.2-beta.8 → 0.4.2-beta.80
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/attachment/attachment.component.d.ts +11 -2
- package/button/button.component.d.ts +8 -8
- package/core/common/services/color.service.d.ts +1 -0
- package/core/common/services/file.service.d.ts +7 -2
- package/dialog/dialog.service.d.ts +1 -0
- package/draggable-items/draggable-items.component.d.ts +3 -3
- package/draggable-items/draggable-items.module.d.ts +1 -1
- package/esm2020/address/address.component.mjs +1 -1
- package/esm2020/attachment/attachment.component.mjs +38 -18
- package/esm2020/button/button.component.mjs +7 -7
- package/esm2020/chips/chips.component.mjs +2 -2
- package/esm2020/color/color-picker.component.mjs +1 -1
- package/esm2020/core/common/services/color.service.mjs +27 -1
- package/esm2020/core/common/services/file.service.mjs +57 -20
- package/esm2020/core/common/services/session.service.mjs +2 -1
- package/esm2020/core/customization/customization.model.mjs +7 -6
- package/esm2020/core/customization/customization.service.mjs +13 -4
- package/esm2020/core/http/services/http.service.mjs +1 -1
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/dialog/dialog.service.mjs +22 -1
- package/esm2020/draggable-items/draggable-items.component.mjs +7 -7
- package/esm2020/draggable-items/draggable-items.module.mjs +6 -6
- package/esm2020/files-uploader/files-uploader.component.mjs +50 -45
- package/esm2020/form/field-generator.component.mjs +3 -3
- package/esm2020/form/form.component.mjs +4 -3
- package/esm2020/form/internal-field-generator.component.mjs +1 -1
- package/esm2020/form/internal-form.component.mjs +1 -1
- package/esm2020/form/internal-list.component.mjs +2 -2
- package/esm2020/image/image.component.mjs +32 -16
- package/esm2020/image/image.service.mjs +2 -4
- package/esm2020/images-filmstrip/images-filmstrip.component.mjs +2 -2
- package/esm2020/link/link.component.mjs +33 -58
- package/esm2020/list/list.component.mjs +85 -17
- package/esm2020/menu/menu.component.mjs +3 -3
- package/esm2020/profile-data-views-list/profile-data-views-list.component.mjs +1 -1
- package/esm2020/quantity-selector/quantity-selector.component.mjs +20 -25
- package/esm2020/query-builder/query-builder-item/query-builder-item.component.mjs +1 -1
- package/esm2020/select/select.component.mjs +39 -18
- package/esm2020/select-panel/select-panel.component.mjs +2 -2
- package/esm2020/signature/public-api.mjs +2 -1
- package/esm2020/signature/signature-dialog.component.mjs +78 -0
- package/esm2020/signature/signature.component.mjs +117 -89
- package/esm2020/signature/signature.module.mjs +6 -5
- package/esm2020/skeleton-loader/pepperi-addons-ngx-lib-skeleton-loader.mjs +5 -0
- package/esm2020/skeleton-loader/public-api.mjs +6 -0
- package/esm2020/skeleton-loader/skeleton-loader.component.mjs +44 -0
- package/esm2020/skeleton-loader/skeleton-loader.module.mjs +24 -0
- package/esm2020/smart-filters/boolean-filter/boolean-filter.component.mjs +3 -3
- package/esm2020/smart-filters/date-filter/date-filter.component.mjs +1 -1
- package/esm2020/smart-filters/multi-select-filter/multi-select-filter.component.mjs +1 -1
- package/esm2020/smart-filters/number-filter/number-filter.component.mjs +3 -3
- package/esm2020/smart-filters/text-filter/text-filter.component.mjs +1 -1
- package/esm2020/textbox/textbox.component.mjs +9 -3
- package/esm2020/top-bar/top-bar.component.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs +37 -17
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-button.mjs +6 -6
- package/fesm2015/pepperi-addons-ngx-lib-button.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs +23 -2
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs +11 -11
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs +49 -44
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs +8 -7
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs +32 -18
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs +32 -57
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +84 -17
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs +19 -24
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs +37 -16
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs +205 -102
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs +78 -0
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs +7 -7
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs +8 -2
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.mjs +101 -27
- package/fesm2015/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs +37 -17
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-button.mjs +6 -6
- package/fesm2020/pepperi-addons-ngx-lib-button.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-chips.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-color.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs +23 -2
- package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs +11 -11
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs +49 -44
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs +8 -7
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs +32 -18
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs +32 -57
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs +84 -16
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs +19 -24
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs +37 -16
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs +201 -102
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs +76 -0
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs +7 -7
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs +8 -2
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib.mjs +101 -27
- package/fesm2020/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/files-uploader/files-uploader.component.d.ts +7 -4
- package/image/image.component.d.ts +11 -3
- package/link/link.component.d.ts +23 -27
- package/list/list.component.d.ts +7 -1
- package/menu/menu.component.d.ts +1 -1
- package/package.json +10 -2
- package/quantity-selector/quantity-selector.component.d.ts +0 -2
- package/select/select.component.d.ts +9 -2
- package/signature/public-api.d.ts +1 -0
- package/signature/signature-dialog.component.d.ts +29 -0
- package/signature/signature.component.d.ts +7 -16
- package/signature/signature.module.d.ts +16 -15
- package/skeleton-loader/index.d.ts +5 -0
- package/skeleton-loader/public-api.d.ts +2 -0
- package/skeleton-loader/skeleton-loader.component.d.ts +20 -0
- package/skeleton-loader/skeleton-loader.component.theme.scss +15 -0
- package/skeleton-loader/skeleton-loader.module.d.ts +9 -0
- package/src/core/style/abstracts/AbstractsIntro.stories.mdx +7 -0
- package/src/core/style/abstracts/functions.scss +11 -11
- package/src/core/style/abstracts/mixins.scss +9 -6
- package/src/core/style/abstracts/variables.scss +38 -18
- package/src/core/style/base/BorderRadius.stories.mdx +59 -0
- package/src/core/style/base/Breakpoints.stories.mdx +36 -0
- package/src/core/style/base/Colors.stories.mdx +128 -0
- package/src/core/style/base/Shadows.stories.mdx +69 -0
- package/src/core/style/base/Spacing.stories.mdx +75 -0
- package/src/core/style/base/States.stories.mdx +62 -0
- package/src/core/style/base/Typography.stories.mdx +89 -0
- package/src/core/style/base/ZIndex.stories.mdx +47 -0
- package/src/core/style/base/base.scss +8 -10
- package/src/core/style/base/borderRadius.component.ts +27 -0
- package/src/core/style/base/breakpoints.component.ts +14 -0
- package/src/core/style/base/colors.component.ts +174 -0
- package/src/core/style/base/shadows.component.ts +90 -0
- package/src/core/style/base/spacing.component.ts +71 -0
- package/src/core/style/base/states.component.ts +84 -0
- package/src/core/style/base/typography.component.ts +94 -0
- package/src/core/style/base/typography.scss +54 -48
- package/src/core/style/base/zIndex.component.ts +25 -0
- package/src/core/style/components/file.scss +4 -4
- package/src/core/style/components/general.scss +5 -1
|
@@ -10,6 +10,7 @@ export interface IPepFileChangeEvent {
|
|
|
10
10
|
fileStr?: string;
|
|
11
11
|
fileName?: string;
|
|
12
12
|
fileExt?: string;
|
|
13
|
+
fileSize?: number;
|
|
13
14
|
}
|
|
14
15
|
export declare class PepFilesUploaderComponent implements OnInit {
|
|
15
16
|
private dialogService;
|
|
@@ -28,23 +29,25 @@ export declare class PepFilesUploaderComponent implements OnInit {
|
|
|
28
29
|
controlType: string;
|
|
29
30
|
sizeLimitMB: number;
|
|
30
31
|
form: FormGroup;
|
|
31
|
-
standAlone: boolean;
|
|
32
32
|
acceptedExtensions: string;
|
|
33
33
|
layoutType: PepLayoutType;
|
|
34
|
+
fieldHeight: string;
|
|
35
|
+
handleActions: boolean;
|
|
36
|
+
hint: string;
|
|
37
|
+
chooseFile: EventEmitter<void>;
|
|
34
38
|
fileChange: EventEmitter<IPepFileChangeEvent>;
|
|
35
39
|
elementClick: EventEmitter<IPepFieldClickEvent>;
|
|
36
40
|
fileInput: any;
|
|
37
41
|
imagePreview: any;
|
|
38
|
-
fieldHeight: string;
|
|
39
42
|
uploader: FileUploader;
|
|
40
43
|
progress: number;
|
|
41
44
|
intervalID: any;
|
|
42
45
|
constructor(dialogService: PepDialogService, customizationService: PepCustomizationService, fileService: PepFileService, translate: TranslateService);
|
|
43
46
|
getFileName(filename: any): any;
|
|
44
47
|
getFileExtension(filename: any): any;
|
|
48
|
+
private setDefaultForm;
|
|
45
49
|
ngOnInit(): void;
|
|
46
50
|
isValidFile(fileStr: any, fileExtension: any, acceptedExtensions: any, sizeLimitMB?: number): string;
|
|
47
|
-
getBase64FileSize(base64String: string): number;
|
|
48
51
|
errorHandler(event: any): void;
|
|
49
52
|
private setProgress;
|
|
50
53
|
deleteFile(): void;
|
|
@@ -52,6 +55,6 @@ export declare class PepFilesUploaderComponent implements OnInit {
|
|
|
52
55
|
onClick_ChooseFile(event: any): void;
|
|
53
56
|
onKeyPress_ChooseFile(event: any): void;
|
|
54
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepFilesUploaderComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepFilesUploaderComponent, "pep-files-uploader", never, { "key": "key"; "src": "src"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "controlType": "controlType"; "sizeLimitMB": "sizeLimitMB"; "form": "form"; "
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepFilesUploaderComponent, "pep-files-uploader", never, { "key": "key"; "src": "src"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "controlType": "controlType"; "sizeLimitMB": "sizeLimitMB"; "form": "form"; "acceptedExtensions": "acceptedExtensions"; "layoutType": "layoutType"; "fieldHeight": "fieldHeight"; "handleActions": "handleActions"; "hint": "hint"; }, { "chooseFile": "chooseFile"; "fileChange": "fileChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
56
59
|
static ɵprov: i0.ɵɵInjectableDeclaration<PepFilesUploaderComponent>;
|
|
57
60
|
}
|
|
@@ -14,8 +14,12 @@ export declare class PepImageComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
14
14
|
private translate;
|
|
15
15
|
static MENU_CLICKED: string;
|
|
16
16
|
key: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
private _srcLarge;
|
|
18
|
+
set srcLarge(value: string);
|
|
19
|
+
get srcLarge(): string;
|
|
20
|
+
private _src;
|
|
21
|
+
set src(value: string);
|
|
22
|
+
get src(): string;
|
|
19
23
|
options: IPepOption[];
|
|
20
24
|
label: string;
|
|
21
25
|
mandatory: boolean;
|
|
@@ -42,6 +46,9 @@ export declare class PepImageComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
42
46
|
isActive: boolean;
|
|
43
47
|
sizeLimitMB: number;
|
|
44
48
|
acceptImagesType: string;
|
|
49
|
+
handleActions: boolean;
|
|
50
|
+
hint: string;
|
|
51
|
+
chooseFile: EventEmitter<void>;
|
|
45
52
|
fileChange: EventEmitter<any>;
|
|
46
53
|
elementClick: EventEmitter<IPepFieldClickEvent>;
|
|
47
54
|
fieldHeight: string;
|
|
@@ -61,6 +68,7 @@ export declare class PepImageComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
61
68
|
objectIdIsNotEmpty(): boolean;
|
|
62
69
|
onFileClicked(event: IPepFieldClickEvent): void;
|
|
63
70
|
itemImageClick(event: any): void;
|
|
71
|
+
onChooseFile(event: any): void;
|
|
64
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepImageComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepImageComponent, "pep-image", never, { "key": "key"; "srcLarge": "srcLarge"; "src": "src"; "options": "options"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "indicatorsField": "indicatorsField"; "menuField": "menuField"; "hasCampaignField": "hasCampaignField"; "visible": "visible"; "form": "form"; "uid": "uid"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "layoutType": "layoutType"; "isActive": "isActive"; "sizeLimitMB": "sizeLimitMB"; "acceptImagesType": "acceptImagesType"; }, { "fileChange": "fileChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepImageComponent, "pep-image", never, { "key": "key"; "srcLarge": "srcLarge"; "src": "src"; "options": "options"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "indicatorsField": "indicatorsField"; "menuField": "menuField"; "hasCampaignField": "hasCampaignField"; "visible": "visible"; "form": "form"; "uid": "uid"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "layoutType": "layoutType"; "isActive": "isActive"; "sizeLimitMB": "sizeLimitMB"; "acceptImagesType": "acceptImagesType"; "handleActions": "handleActions"; "hint": "hint"; }, { "chooseFile": "chooseFile"; "fileChange": "fileChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
66
74
|
}
|
package/link/link.component.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { OnInit, OnChanges, EventEmitter, ElementRef, Renderer2, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { PepLayoutType, PepCustomizationService, PepHorizontalAlignment,
|
|
4
|
+
import { PepLayoutType, PepCustomizationService, PepHorizontalAlignment, PepUtilitiesService, IPepFieldClickEvent } from '@pepperi-addons/ngx-lib';
|
|
5
5
|
import { IsUrlPipe } from './link.pipes';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* This is a text box input component that can be use to
|
|
9
9
|
*
|
|
10
10
|
* @export
|
|
11
|
-
* @class
|
|
11
|
+
* @class PepLinkComponent
|
|
12
12
|
* @implements {OnChanges}
|
|
13
13
|
* @implements {OnInit}
|
|
14
14
|
* @implements {OnDestroy}
|
|
@@ -25,7 +25,7 @@ export declare class PepLinkComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
25
25
|
/**
|
|
26
26
|
* The text box key
|
|
27
27
|
*
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof PepLinkComponent
|
|
29
29
|
*/
|
|
30
30
|
set key(value: string);
|
|
31
31
|
get key(): string;
|
|
@@ -33,46 +33,46 @@ export declare class PepLinkComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
33
33
|
/**
|
|
34
34
|
* The value of the text box.
|
|
35
35
|
*
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof PepLinkComponent
|
|
37
37
|
*/
|
|
38
38
|
set value(value: string);
|
|
39
39
|
get value(): string;
|
|
40
|
-
protected formattedValue: string;
|
|
41
40
|
/**
|
|
42
|
-
* The
|
|
41
|
+
* The display value of the link.
|
|
43
42
|
*
|
|
44
|
-
* @memberof
|
|
43
|
+
* @memberof PepLinkComponent
|
|
45
44
|
*/
|
|
46
|
-
|
|
45
|
+
private _displayValue;
|
|
46
|
+
set displayValue(value: string);
|
|
47
|
+
get displayValue(): string;
|
|
47
48
|
/**
|
|
48
|
-
* The
|
|
49
|
+
* The title of the link.
|
|
49
50
|
*
|
|
50
|
-
* @memberof
|
|
51
|
+
* @memberof PepLinkComponent
|
|
51
52
|
*/
|
|
52
|
-
|
|
53
|
+
label: string;
|
|
53
54
|
/**
|
|
54
|
-
* The
|
|
55
|
+
* The placeholder (relevant only for children - if parent isn't null).
|
|
55
56
|
*
|
|
56
|
-
* @
|
|
57
|
-
* @memberof PepTextboxComponent
|
|
57
|
+
* @memberof PepLinkComponent
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
placeholder: string;
|
|
60
60
|
/**
|
|
61
|
-
* If the
|
|
61
|
+
* If the link is mandatory
|
|
62
62
|
*
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof PepLinkComponent
|
|
64
64
|
*/
|
|
65
65
|
mandatory: boolean;
|
|
66
66
|
/**
|
|
67
|
-
* If the
|
|
67
|
+
* If the link is disabled.
|
|
68
68
|
*
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof PepLinkComponent
|
|
70
70
|
*/
|
|
71
71
|
disabled: boolean;
|
|
72
72
|
/**
|
|
73
|
-
* If the
|
|
73
|
+
* If the link is readonly
|
|
74
74
|
*
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof PepLinkComponent
|
|
76
76
|
*/
|
|
77
77
|
readonly: boolean;
|
|
78
78
|
maxFieldCharacters: number;
|
|
@@ -93,22 +93,18 @@ export declare class PepLinkComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
93
93
|
* The value change event.
|
|
94
94
|
*
|
|
95
95
|
* @type {EventEmitter<string>}
|
|
96
|
-
* @memberof
|
|
96
|
+
* @memberof PepLinkComponent
|
|
97
97
|
*/
|
|
98
98
|
valueChange: EventEmitter<string>;
|
|
99
99
|
elementClick: EventEmitter<IPepFieldClickEvent>;
|
|
100
100
|
input: ElementRef;
|
|
101
|
-
private _calculateFormattedValue;
|
|
102
|
-
get calculateFormattedValue(): boolean;
|
|
103
101
|
controlType: string;
|
|
104
102
|
standAlone: boolean;
|
|
105
103
|
isInEditMode: boolean;
|
|
106
104
|
isInFocus: boolean;
|
|
107
105
|
isUrl: boolean;
|
|
108
106
|
constructor(customizationService: PepCustomizationService, renderer: Renderer2, element: ElementRef, translate: TranslateService, utilitiesService: PepUtilitiesService, isUrlPipe: IsUrlPipe);
|
|
109
|
-
private setFormattedValue;
|
|
110
107
|
private updateFormFieldValue;
|
|
111
|
-
get displayValue(): string;
|
|
112
108
|
private setDefaultForm;
|
|
113
109
|
ngOnInit(): void;
|
|
114
110
|
ngOnChanges(changes: any): void;
|
|
@@ -121,5 +117,5 @@ export declare class PepLinkComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
121
117
|
anchorClicked(): void;
|
|
122
118
|
cardTemplateClicked(event: any): void;
|
|
123
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepLinkComponent, never>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepLinkComponent, "pep-link", never, { "key": "key"; "value": "value"; "label": "label"; "placeholder": "placeholder"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "maxFieldCharacters": "maxFieldCharacters"; "textColor": "textColor"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "visible": "visible"; "form": "form"; "isActive": "isActive"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "renderError": "renderError"; "renderSymbol": "renderSymbol"; "layoutType": "layoutType"; }, { "valueChange": "valueChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepLinkComponent, "pep-link", never, { "key": "key"; "value": "value"; "displayValue": "displayValue"; "label": "label"; "placeholder": "placeholder"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "maxFieldCharacters": "maxFieldCharacters"; "textColor": "textColor"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "visible": "visible"; "form": "form"; "isActive": "isActive"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "renderError": "renderError"; "renderSymbol": "renderSymbol"; "layoutType": "layoutType"; }, { "valueChange": "valueChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
125
121
|
}
|
package/list/list.component.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
22
22
|
static SORT_BY_STATE_KEY: string;
|
|
23
23
|
static ASCENDING_STATE_KEY: string;
|
|
24
24
|
static MINIMUM_COLUMN_WIDTH: number;
|
|
25
|
+
cachedItemsNumber: number;
|
|
25
26
|
noDataFoundMsg: string;
|
|
26
27
|
selectionTypeForActions: PepListSelectionType;
|
|
27
28
|
showCardSelection: boolean;
|
|
@@ -95,6 +96,7 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
95
96
|
startX: number;
|
|
96
97
|
startWidth: number;
|
|
97
98
|
tableStartWidth: number;
|
|
99
|
+
private lastColumnsWidth;
|
|
98
100
|
isAsc: boolean;
|
|
99
101
|
sortBy: string;
|
|
100
102
|
isUserSelected: boolean;
|
|
@@ -104,8 +106,10 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
104
106
|
ngOnInit(): void;
|
|
105
107
|
ngOnChanges(changes: any): void;
|
|
106
108
|
ngOnDestroy(): void;
|
|
109
|
+
getCachedItemsNumber(): number;
|
|
107
110
|
private getScrollingElement;
|
|
108
111
|
private scrollToTop;
|
|
112
|
+
private getSelectionCheckBoxWidth;
|
|
109
113
|
private setContainerWidth;
|
|
110
114
|
private saveSortingToSession;
|
|
111
115
|
private getTopItems;
|
|
@@ -115,6 +119,8 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
115
119
|
private setSelectionItems;
|
|
116
120
|
private getUniqItemId;
|
|
117
121
|
private setLayout;
|
|
122
|
+
private setLastColumnsWidth;
|
|
123
|
+
private setColumnsWidth;
|
|
118
124
|
private calcColumnsWidth;
|
|
119
125
|
private calcObjectHeight;
|
|
120
126
|
private initResizeData;
|
|
@@ -163,5 +169,5 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
163
169
|
onValueChanged(valueChange: IPepFormFieldValueChangeEvent): void;
|
|
164
170
|
onCustomizeFieldClick(customizeFieldClickedData: IPepFormFieldClickEvent): void;
|
|
165
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepListComponent, never>;
|
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepListComponent, "pep-list", never, { "noDataFoundMsg": "noDataFoundMsg"; "selectionTypeForActions": "selectionTypeForActions"; "showCardSelection": "showCardSelection"; "hideAllSelectionInMulti": "hideAllSelectionInMulti"; "cardSize": "cardSize"; "tableViewType": "tableViewType"; "viewType": "viewType"; "firstFieldAsLink": "firstFieldAsLink"; "supportSorting": "supportSorting"; "supportResizing": "supportResizing"; "parentScroll": "parentScroll"; "disabled": "disabled"; "lockEvents": "lockEvents"; "lockItemInnerEvents": "lockItemInnerEvents"; "printMode": "printMode"; "isReport": "isReport"; "zebraStripes": "zebraStripes"; "totalsRow": "totalsRow"; "pagerType": "pagerType"; "pageSize": "pageSize"; "pageIndex": "pageIndex"; "bufferAmount": "bufferAmount"; "scrollAnimationTime": "scrollAnimationTime"; "scrollDebounceTime": "scrollDebounceTime"; "scrollThrottlingTime": "scrollThrottlingTime"; "useAsWebComponent": "useAsWebComponent"; }, { "itemClick": "itemClick"; "fieldClick": "fieldClick"; "valueChange": "valueChange"; "sortingChange": "sortingChange"; "selectedItemsChange": "selectedItemsChange"; "selectedItemChange": "selectedItemChange"; "selectAllClick": "selectAllClick"; "listLoad": "listLoad"; "loadItems": "loadItems"; "loadPage": "loadPage"; "startIndexChange": "startIndexChange"; }, never, never, false>;
|
|
172
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepListComponent, "pep-list", never, { "cachedItemsNumber": "cachedItemsNumber"; "noDataFoundMsg": "noDataFoundMsg"; "selectionTypeForActions": "selectionTypeForActions"; "showCardSelection": "showCardSelection"; "hideAllSelectionInMulti": "hideAllSelectionInMulti"; "cardSize": "cardSize"; "tableViewType": "tableViewType"; "viewType": "viewType"; "firstFieldAsLink": "firstFieldAsLink"; "supportSorting": "supportSorting"; "supportResizing": "supportResizing"; "parentScroll": "parentScroll"; "disabled": "disabled"; "lockEvents": "lockEvents"; "lockItemInnerEvents": "lockItemInnerEvents"; "printMode": "printMode"; "isReport": "isReport"; "zebraStripes": "zebraStripes"; "totalsRow": "totalsRow"; "pagerType": "pagerType"; "pageSize": "pageSize"; "pageIndex": "pageIndex"; "bufferAmount": "bufferAmount"; "scrollAnimationTime": "scrollAnimationTime"; "scrollDebounceTime": "scrollDebounceTime"; "scrollThrottlingTime": "scrollThrottlingTime"; "useAsWebComponent": "useAsWebComponent"; }, { "itemClick": "itemClick"; "fieldClick": "fieldClick"; "valueChange": "valueChange"; "sortingChange": "sortingChange"; "selectedItemsChange": "selectedItemsChange"; "selectedItemChange": "selectedItemChange"; "selectAllClick": "selectAllClick"; "listLoad": "listLoad"; "loadItems": "loadItems"; "loadPage": "loadPage"; "startIndexChange": "startIndexChange"; }, never, never, false>;
|
|
167
173
|
}
|
package/menu/menu.component.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class PepMenuComponent implements OnChanges, OnDestroy {
|
|
|
7
7
|
layoutService: PepLayoutService;
|
|
8
8
|
text: string;
|
|
9
9
|
/**
|
|
10
|
-
* The icon name to show on the menu
|
|
10
|
+
* The icon name to show on the menu, look in (@link icon -> All icons), default icon `system_menu`
|
|
11
11
|
*
|
|
12
12
|
* @type {PepIconType} See {@link PepIconType}
|
|
13
13
|
* @memberof PepMenuComponent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pepperi-addons/ngx-lib",
|
|
3
|
-
"version": "0.4.2-beta.
|
|
3
|
+
"version": "0.4.2-beta.80",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": ">= 14.0.2",
|
|
6
6
|
"@angular/cdk": ">= 14.0.2",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@ngx-translate/core": ">= 14.0.0",
|
|
18
18
|
"@ngx-translate/http-loader": ">= 7.0.0",
|
|
19
19
|
"ngx-translate-multi-http-loader": ">= 3.0.0",
|
|
20
|
-
"rxjs": ">=
|
|
20
|
+
"rxjs": ">= 7.5.0"
|
|
21
21
|
},
|
|
22
22
|
"description": "This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.1.",
|
|
23
23
|
"main": "karma.conf.js",
|
|
@@ -325,6 +325,14 @@
|
|
|
325
325
|
"node": "./fesm2015/pepperi-addons-ngx-lib-size-detector.mjs",
|
|
326
326
|
"default": "./fesm2020/pepperi-addons-ngx-lib-size-detector.mjs"
|
|
327
327
|
},
|
|
328
|
+
"./skeleton-loader": {
|
|
329
|
+
"types": "./skeleton-loader/index.d.ts",
|
|
330
|
+
"esm2020": "./esm2020/skeleton-loader/pepperi-addons-ngx-lib-skeleton-loader.mjs",
|
|
331
|
+
"es2020": "./fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs",
|
|
332
|
+
"es2015": "./fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs",
|
|
333
|
+
"node": "./fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs",
|
|
334
|
+
"default": "./fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs"
|
|
335
|
+
},
|
|
328
336
|
"./slider": {
|
|
329
337
|
"types": "./slider/index.d.ts",
|
|
330
338
|
"esm2020": "./esm2020/slider/pepperi-addons-ngx-lib-slider.mjs",
|
|
@@ -105,8 +105,6 @@ export declare class PepQuantitySelectorComponent implements OnChanges, OnInit,
|
|
|
105
105
|
decrement(event: any): void;
|
|
106
106
|
enterChildren(event: any): void;
|
|
107
107
|
enterPackage(event: any): void;
|
|
108
|
-
setupQsButtons(qsWidth: number): void;
|
|
109
|
-
setQsView(): void;
|
|
110
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepQuantitySelectorComponent, never>;
|
|
111
109
|
static ɵcmp: i0.ɵɵComponentDeclaration<PepQuantitySelectorComponent, "pep-quantity-selector", never, { "key": "key"; "value": "value"; "minFractionDigits": "minFractionDigits"; "maxFractionDigits": "maxFractionDigits"; "label": "label"; "type": "type"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "textColor": "textColor"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "allowDecimal": "allowDecimal"; "additionalValue": "additionalValue"; "notificationInfo": "notificationInfo"; "visible": "visible"; "form": "form"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "layoutType": "layoutType"; "isActive": "isActive"; "styleType": "styleType"; "isInFocus": "isInFocus"; }, { "valueChange": "valueChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
112
110
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { OnInit, OnChanges, EventEmitter, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatSelect } from '@angular/material/select';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
5
|
import { PepLayoutType, PepCustomizationService, PepHorizontalAlignment, PepSelectFieldType, IPepOption } from '@pepperi-addons/ngx-lib';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PepSelectComponent implements OnChanges, OnInit, OnDestroy {
|
|
8
|
+
private translate;
|
|
7
9
|
private customizationService;
|
|
8
10
|
private renderer;
|
|
9
11
|
private element;
|
|
@@ -18,6 +20,11 @@ export declare class PepSelectComponent implements OnChanges, OnInit, OnDestroy
|
|
|
18
20
|
readonly: boolean;
|
|
19
21
|
xAlignment: PepHorizontalAlignment;
|
|
20
22
|
rowSpan: number;
|
|
23
|
+
private _placeholder;
|
|
24
|
+
private _placeholderSet;
|
|
25
|
+
set placeholder(value: string);
|
|
26
|
+
get placeholder(): string;
|
|
27
|
+
placeholderWhenDisabled: string;
|
|
21
28
|
private _options;
|
|
22
29
|
set options(value: Array<IPepOption>);
|
|
23
30
|
get options(): Array<IPepOption>;
|
|
@@ -43,7 +50,7 @@ export declare class PepSelectComponent implements OnChanges, OnInit, OnDestroy
|
|
|
43
50
|
selectedValuesModel: string[];
|
|
44
51
|
selectedValueModel: string;
|
|
45
52
|
fieldFormattedValue: string;
|
|
46
|
-
constructor(customizationService: PepCustomizationService, renderer: Renderer2, element: ElementRef);
|
|
53
|
+
constructor(translate: TranslateService, customizationService: PepCustomizationService, renderer: Renderer2, element: ElementRef);
|
|
47
54
|
private addOptionsIfNeeded;
|
|
48
55
|
private setFieldFormattedValue;
|
|
49
56
|
private setDefaultForm;
|
|
@@ -55,5 +62,5 @@ export declare class PepSelectComponent implements OnChanges, OnInit, OnDestroy
|
|
|
55
62
|
changeValue(value: any): void;
|
|
56
63
|
cardTemplateClicked(event: any): void;
|
|
57
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepSelectComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepSelectComponent, "pep-select", never, { "key": "key"; "value": "value"; "label": "label"; "type": "type"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "options": "options"; "visible": "visible"; "emptyOption": "emptyOption"; "form": "form"; "layoutType": "layoutType"; "parentFieldKey": "parentFieldKey"; "isActive": "isActive"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSelectComponent, "pep-select", never, { "key": "key"; "value": "value"; "label": "label"; "type": "type"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "placeholder": "placeholder"; "placeholderWhenDisabled": "placeholderWhenDisabled"; "options": "options"; "visible": "visible"; "emptyOption": "emptyOption"; "form": "form"; "layoutType": "layoutType"; "parentFieldKey": "parentFieldKey"; "isActive": "isActive"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
59
66
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { SignaturePad } from 'ngx-signaturepad';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface IPepSignatureDialogData {
|
|
6
|
+
title: string;
|
|
7
|
+
value: string;
|
|
8
|
+
showActionBtn: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class PepSignatureDialogComponent implements OnInit, AfterViewInit {
|
|
12
|
+
private dialogRef;
|
|
13
|
+
data: IPepSignatureDialogData;
|
|
14
|
+
private signatureURL;
|
|
15
|
+
private acceptSignatureType;
|
|
16
|
+
protected signaturePadOptions: any;
|
|
17
|
+
signaturePad: SignaturePad;
|
|
18
|
+
constructor(dialogRef: MatDialogRef<PepSignatureDialogComponent>, data: IPepSignatureDialogData);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
drawComplete(): void;
|
|
22
|
+
drawStart(): void;
|
|
23
|
+
clearSignModal(): void;
|
|
24
|
+
saveSignModal(event: any): void;
|
|
25
|
+
closeDialog(event: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSignatureDialogComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSignatureDialogComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, EventEmitter, ChangeDetectorRef, OnChanges, ElementRef, Renderer2
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter, ChangeDetectorRef, OnChanges, ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { PepFileService, PepLayoutType, PepCustomizationService, PepHorizontalAlignment } from '@pepperi-addons/ngx-lib';
|
|
3
|
+
import { PepFileService, PepLayoutType, PepCustomizationService, PepHorizontalAlignment, IPepFieldClickEvent } from '@pepperi-addons/ngx-lib';
|
|
5
4
|
import { PepDialogService } from '@pepperi-addons/ngx-lib/dialog';
|
|
6
5
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
@@ -34,35 +33,27 @@ export declare class PepSignatureComponent implements OnInit, OnChanges, OnDestr
|
|
|
34
33
|
set layoutType(value: PepLayoutType);
|
|
35
34
|
get layoutType(): PepLayoutType;
|
|
36
35
|
isActive: boolean;
|
|
36
|
+
handleActions: boolean;
|
|
37
|
+
chooseFile: EventEmitter<void>;
|
|
37
38
|
fileChange: EventEmitter<any>;
|
|
38
|
-
|
|
39
|
-
signaturePopupPad: TemplateRef<any>;
|
|
39
|
+
elementClick: EventEmitter<IPepFieldClickEvent>;
|
|
40
40
|
dialogRef: MatDialogRef<any>;
|
|
41
41
|
fieldHeight: string;
|
|
42
42
|
standAlone: boolean;
|
|
43
43
|
dataURI: any;
|
|
44
44
|
showActionBtn: boolean;
|
|
45
|
-
isVisibleModal: boolean;
|
|
46
|
-
acceptSignatureType: string;
|
|
47
|
-
signaturePadOptions: any;
|
|
48
45
|
constructor(dialogService: PepDialogService, customizationService: PepCustomizationService, fileService: PepFileService, cd: ChangeDetectorRef, renderer: Renderer2, element: ElementRef);
|
|
49
46
|
private setFieldHeight;
|
|
50
47
|
private setDefaultForm;
|
|
48
|
+
private openSignatoreDlg;
|
|
51
49
|
ngOnInit(): void;
|
|
52
50
|
ngOnChanges(changes: any): void;
|
|
53
51
|
ngOnDestroy(): void;
|
|
54
|
-
drawComplete(): void;
|
|
55
|
-
drawStart(): void;
|
|
56
52
|
openSignModal(): void;
|
|
57
|
-
openSignatoreDlg(src?: string): void;
|
|
58
|
-
afterDialogOpened(): void;
|
|
59
|
-
clearSignModal(): void;
|
|
60
53
|
deleteSignature(event: any): void;
|
|
61
|
-
saveSignModal(event: any): void;
|
|
62
|
-
closeDialog(event: any): void;
|
|
63
54
|
errorHandler(event: any): void;
|
|
64
55
|
changeValue(fileData: any): void;
|
|
65
56
|
onKeyPress_OpenSignModal(event: any): void;
|
|
66
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepSignatureComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepSignatureComponent, "pep-signature", never, { "key": "key"; "src": "src"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "signatureURL": "signatureURL"; "visible": "visible"; "form": "form"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "layoutType": "layoutType"; "isActive": "isActive"; }, { "fileChange": "fileChange"; }, never, never, false>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSignatureComponent, "pep-signature", never, { "key": "key"; "src": "src"; "label": "label"; "mandatory": "mandatory"; "disabled": "disabled"; "readonly": "readonly"; "xAlignment": "xAlignment"; "rowSpan": "rowSpan"; "signatureURL": "signatureURL"; "visible": "visible"; "form": "form"; "showTitle": "showTitle"; "renderTitle": "renderTitle"; "layoutType": "layoutType"; "isActive": "isActive"; "handleActions": "handleActions"; }, { "chooseFile": "chooseFile"; "fileChange": "fileChange"; "elementClick": "elementClick"; }, never, never, false>;
|
|
68
59
|
}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { PepIconRegistry } from '@pepperi-addons/ngx-lib/icon';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./signature.component";
|
|
4
|
-
import * as i2 from "
|
|
5
|
-
import * as i3 from "@angular/
|
|
6
|
-
import * as i4 from "@angular/
|
|
7
|
-
import * as i5 from "@angular/material/
|
|
8
|
-
import * as i6 from "@angular/material/
|
|
9
|
-
import * as i7 from "@angular/material/
|
|
10
|
-
import * as i8 from "@angular/material/
|
|
11
|
-
import * as i9 from "@angular/material/
|
|
12
|
-
import * as i10 from "
|
|
13
|
-
import * as i11 from "
|
|
14
|
-
import * as i12 from "@pepperi-addons/ngx-lib
|
|
15
|
-
import * as i13 from "@pepperi-addons/ngx-lib/
|
|
16
|
-
import * as i14 from "@pepperi-addons/ngx-lib/
|
|
17
|
-
import * as i15 from "@pepperi-addons/ngx-lib/
|
|
4
|
+
import * as i2 from "./signature-dialog.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/forms";
|
|
7
|
+
import * as i5 from "@angular/material/core";
|
|
8
|
+
import * as i6 from "@angular/material/button";
|
|
9
|
+
import * as i7 from "@angular/material/form-field";
|
|
10
|
+
import * as i8 from "@angular/material/input";
|
|
11
|
+
import * as i9 from "@angular/material/icon";
|
|
12
|
+
import * as i10 from "@angular/material/dialog";
|
|
13
|
+
import * as i11 from "ngx-signaturepad";
|
|
14
|
+
import * as i12 from "@pepperi-addons/ngx-lib";
|
|
15
|
+
import * as i13 from "@pepperi-addons/ngx-lib/icon";
|
|
16
|
+
import * as i14 from "@pepperi-addons/ngx-lib/field-title";
|
|
17
|
+
import * as i15 from "@pepperi-addons/ngx-lib/files-uploader";
|
|
18
|
+
import * as i16 from "@pepperi-addons/ngx-lib/dialog";
|
|
18
19
|
export declare class PepSignatureModule {
|
|
19
20
|
private pepIconRegistry;
|
|
20
21
|
constructor(pepIconRegistry: PepIconRegistry);
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepSignatureModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PepSignatureModule, [typeof i1.PepSignatureComponent], [typeof
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepSignatureModule, [typeof i1.PepSignatureComponent, typeof i2.PepSignatureDialogComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MatCommonModule, typeof i6.MatButtonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatIconModule, typeof i10.MatDialogModule, typeof i11.SignaturePadModule, typeof i12.PepNgxLibModule, typeof i13.PepIconModule, typeof i14.PepFieldTitleModule, typeof i15.PepFilesUploaderModule, typeof i16.PepDialogModule], [typeof i1.PepSignatureComponent, typeof i2.PepSignatureDialogComponent]>;
|
|
23
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<PepSignatureModule>;
|
|
24
25
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { PepSizeType } from '@pepperi-addons/ngx-lib';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface IPepSkeletonLoaderDialogData {
|
|
5
|
+
rowHeightType: PepSizeType;
|
|
6
|
+
rowsNumber: number;
|
|
7
|
+
lastRowOffset: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class PepSkeletonLoaderComponent {
|
|
10
|
+
private dialogRef;
|
|
11
|
+
private data;
|
|
12
|
+
rowHeightType: PepSizeType;
|
|
13
|
+
rowsNumber: number;
|
|
14
|
+
lastRowOffset: boolean;
|
|
15
|
+
constructor(dialogRef: MatDialogRef<PepSkeletonLoaderComponent>, data: IPepSkeletonLoaderDialogData);
|
|
16
|
+
counter(i: number): any[];
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSkeletonLoaderComponent, [{ optional: true; }, { optional: true; }]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSkeletonLoaderComponent, "pep-skeleton-loader", never, { "rowHeightType": "rowHeightType"; "rowsNumber": "rowsNumber"; "lastRowOffset": "lastRowOffset"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use '../src/core/style/abstracts/mixins';
|
|
2
|
+
|
|
3
|
+
.group-buttons-container {
|
|
4
|
+
.toggle-buttons {
|
|
5
|
+
.is-selected {
|
|
6
|
+
&.weak {
|
|
7
|
+
@include mixins.pep-button-states(regular);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.regular {
|
|
11
|
+
@include mixins.pep-button-states(weak);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./skeleton-loader.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@pepperi-addons/ngx-lib";
|
|
5
|
+
export declare class PepSkeletonLoaderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSkeletonLoaderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepSkeletonLoaderModule, [typeof i1.PepSkeletonLoaderComponent], [typeof i2.CommonModule, typeof i3.PepNgxLibModule], [typeof i1.PepSkeletonLoaderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PepSkeletonLoaderModule>;
|
|
9
|
+
}
|