@pepperi-addons/ngx-lib 0.4.2-beta.7 → 0.4.2-beta.71
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/core/customization/customization.service.d.ts +3 -0
- 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/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 +74 -13
- package/esm2020/menu/menu.component.mjs +3 -3
- package/esm2020/quantity-selector/quantity-selector.component.mjs +20 -25
- package/esm2020/select/select.component.mjs +3 -3
- 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/number-filter/number-filter.component.mjs +2 -2
- package/esm2020/textbox/textbox.component.mjs +9 -3
- package/esm2020/top-bar/top-bar.component.mjs +2 -2
- 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 +73 -13
- 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-quantity-selector.mjs +19 -24
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.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 +2 -2
- 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 +3 -3
- 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-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 +73 -12
- 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-quantity-selector.mjs +19 -24
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.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 +2 -2
- 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 +3 -3
- 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 +4 -0
- package/menu/menu.component.d.ts +1 -1
- package/package.json +10 -2
- package/quantity-selector/quantity-selector.component.d.ts +0 -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 +56 -49
- 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 -0
|
@@ -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
|
@@ -95,6 +95,7 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
95
95
|
startX: number;
|
|
96
96
|
startWidth: number;
|
|
97
97
|
tableStartWidth: number;
|
|
98
|
+
private lastColumnsWidth;
|
|
98
99
|
isAsc: boolean;
|
|
99
100
|
sortBy: string;
|
|
100
101
|
isUserSelected: boolean;
|
|
@@ -106,6 +107,7 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
106
107
|
ngOnDestroy(): void;
|
|
107
108
|
private getScrollingElement;
|
|
108
109
|
private scrollToTop;
|
|
110
|
+
private getSelectionCheckBoxWidth;
|
|
109
111
|
private setContainerWidth;
|
|
110
112
|
private saveSortingToSession;
|
|
111
113
|
private getTopItems;
|
|
@@ -115,6 +117,8 @@ export declare class PepListComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
115
117
|
private setSelectionItems;
|
|
116
118
|
private getUniqItemId;
|
|
117
119
|
private setLayout;
|
|
120
|
+
private setLastColumnsWidth;
|
|
121
|
+
private setColumnsWidth;
|
|
118
122
|
private calcColumnsWidth;
|
|
119
123
|
private calcObjectHeight;
|
|
120
124
|
private initResizeData;
|
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.71",
|
|
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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
color-tran-30: variables.$color-system-primary-invert-tran-30,
|
|
20
20
|
color-tran-20: variables.$color-system-primary-invert-tran-20,
|
|
21
21
|
color-tran-10: variables.$color-system-primary-invert-tran-10,
|
|
22
|
-
color-tran-
|
|
22
|
+
color-tran-00: variables.$color-system-primary-invert-tran-00,
|
|
23
23
|
// Flat colors.
|
|
24
24
|
color-flat-l-20: variables.$color-system-primary-invert-flat-l-20,
|
|
25
25
|
color-flat-l-10: variables.$color-system-primary-invert-flat-l-10,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
color-tran-30: variables.$color-system-primary-tran-30,
|
|
45
45
|
color-tran-20: variables.$color-system-primary-tran-20,
|
|
46
46
|
color-tran-10: variables.$color-system-primary-tran-10,
|
|
47
|
-
color-tran-
|
|
47
|
+
color-tran-00: variables.$color-system-primary-tran-00,
|
|
48
48
|
// Flat colors.
|
|
49
49
|
color-flat-l-20: variables.$color-system-primary-flat-l-20,
|
|
50
50
|
color-flat-l-10: variables.$color-system-primary-flat-l-10,
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
color-tran-30: variables.$color-system-success-tran-30,
|
|
70
70
|
color-tran-20: variables.$color-system-success-tran-20,
|
|
71
71
|
color-tran-10: variables.$color-system-success-tran-10,
|
|
72
|
-
color-tran-
|
|
72
|
+
color-tran-00: variables.$color-system-success-tran-00,
|
|
73
73
|
// Flat colors.
|
|
74
74
|
color-flat-l-20: variables.$color-system-success-flat-l-20,
|
|
75
75
|
color-flat-l-10: variables.$color-system-success-flat-l-10,
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
color-tran-30: variables.$color-system-caution-tran-30,
|
|
95
95
|
color-tran-20: variables.$color-system-caution-tran-20,
|
|
96
96
|
color-tran-10: variables.$color-system-caution-tran-10,
|
|
97
|
-
color-tran-
|
|
97
|
+
color-tran-00: variables.$color-system-caution-tran-00,
|
|
98
98
|
// Flat colors.
|
|
99
99
|
color-flat-l-20: variables.$color-system-caution-flat-l-20,
|
|
100
100
|
color-flat-l-10: variables.$color-system-caution-flat-l-10,
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
color-tran-30: variables.$color-user-primary-tran-30,
|
|
120
120
|
color-tran-20: variables.$color-user-primary-tran-20,
|
|
121
121
|
color-tran-10: variables.$color-user-primary-tran-10,
|
|
122
|
-
color-tran-
|
|
122
|
+
color-tran-00: variables.$color-user-primary-tran-00,
|
|
123
123
|
// Flat colors.
|
|
124
124
|
color-flat-l-20: variables.$color-user-primary-flat-l-20,
|
|
125
125
|
color-flat-l-10: variables.$color-user-primary-flat-l-10,
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
color-tran-30: variables.$color-user-secondary-tran-30,
|
|
145
145
|
color-tran-20: variables.$color-user-secondary-tran-20,
|
|
146
146
|
color-tran-10: variables.$color-user-secondary-tran-10,
|
|
147
|
-
color-tran-
|
|
147
|
+
color-tran-00: variables.$color-user-secondary-tran-00,
|
|
148
148
|
// Flat colors.
|
|
149
149
|
color-flat-l-20: variables.$color-user-secondary-flat-l-20,
|
|
150
150
|
color-flat-l-10: variables.$color-user-secondary-flat-l-10,
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
color-tran-30: variables.$color-weak-tran-30,
|
|
170
170
|
color-tran-20: variables.$color-weak-tran-20,
|
|
171
171
|
color-tran-10: variables.$color-weak-tran-10,
|
|
172
|
-
color-tran-
|
|
172
|
+
color-tran-00: variables.$color-weak-tran-00,
|
|
173
173
|
// Flat colors.
|
|
174
174
|
color-flat-l-20: variables.$color-weak-flat-l-20,
|
|
175
175
|
color-flat-l-10: variables.$color-weak-flat-l-10,
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
color-tran-30: variables.$color-regular-tran-30,
|
|
195
195
|
color-tran-20: variables.$color-regular-tran-20,
|
|
196
196
|
color-tran-10: variables.$color-regular-tran-10,
|
|
197
|
-
color-tran-
|
|
197
|
+
color-tran-00: variables.$color-regular-tran-00,
|
|
198
198
|
// Flat colors.
|
|
199
199
|
color-flat-l-20: variables.$color-regular-flat-l-20,
|
|
200
200
|
color-flat-l-10: variables.$color-regular-flat-l-10,
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
color-tran-30: variables.$color-strong-tran-30,
|
|
220
220
|
color-tran-20: variables.$color-strong-tran-20,
|
|
221
221
|
color-tran-10: variables.$color-strong-tran-10,
|
|
222
|
-
color-tran-
|
|
222
|
+
color-tran-00: variables.$color-strong-tran-00,
|
|
223
223
|
// Flat colors.
|
|
224
224
|
color-flat-l-20: variables.$color-strong-flat-l-20,
|
|
225
225
|
color-flat-l-10: variables.$color-strong-flat-l-10,
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
color-tran-30: variables.$color-top-header-tran-30,
|
|
245
245
|
color-tran-20: variables.$color-top-header-tran-20,
|
|
246
246
|
color-tran-10: variables.$color-top-header-tran-10,
|
|
247
|
-
color-tran-
|
|
247
|
+
color-tran-00: variables.$color-top-header-tran-00,
|
|
248
248
|
// Flat colors.
|
|
249
249
|
color-flat-l-20: variables.$color-top-header-flat-l-20,
|
|
250
250
|
color-flat-l-10: variables.$color-top-header-flat-l-10,
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
color-tran-30: variables.$color-qs-tran-30,
|
|
269
269
|
color-tran-20: variables.$color-qs-tran-20,
|
|
270
270
|
color-tran-10: variables.$color-qs-tran-10,
|
|
271
|
-
color-tran-
|
|
271
|
+
color-tran-00: variables.$color-qs-tran-00,
|
|
272
272
|
// Flat colors.
|
|
273
273
|
color-flat-l-20: variables.$color-qs-flat-l-20,
|
|
274
274
|
color-flat-l-10: variables.$color-qs-flat-l-10,
|
|
@@ -194,14 +194,17 @@
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
@mixin font-title($fs: variables.$fs-md, $lh: variables.$lh-md) {
|
|
197
|
-
font-family: variables.$font-family-title;
|
|
198
|
-
font-weight: variables.$font-weight-bold;
|
|
197
|
+
font-family: variables.$font-family-title !important;
|
|
198
|
+
font-weight: variables.$font-weight-bold !important;
|
|
199
199
|
|
|
200
200
|
@include font-size($fs);
|
|
201
201
|
@include line-height($lh);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
@mixin font-body($fs: variables.$fs-sm, $lh: variables.$lh-sm) {
|
|
205
|
+
font-family: variables.$font-family-body !important;
|
|
206
|
+
font-weight: variables.$font-weight-normal;
|
|
207
|
+
|
|
205
208
|
@include font-size($fs);
|
|
206
209
|
@include line-height($lh);
|
|
207
210
|
}
|
|
@@ -280,7 +283,7 @@
|
|
|
280
283
|
$color-high-opacity: null;
|
|
281
284
|
|
|
282
285
|
@if ($hex-color == null) {
|
|
283
|
-
$color-low-opacity: functions.get-pep-color(color-system-caution, color-tran-
|
|
286
|
+
$color-low-opacity: functions.get-pep-color(color-system-caution, color-tran-00);
|
|
284
287
|
$color-high-opacity: functions.get-pep-color(color-system-caution, color-tran-60);
|
|
285
288
|
} @else {
|
|
286
289
|
$color-low-opacity: rgba($hex-color, 0);
|
|
@@ -485,7 +488,7 @@
|
|
|
485
488
|
}
|
|
486
489
|
|
|
487
490
|
&:not(.keep-background-on-focus) {
|
|
488
|
-
// background: functions.get-pep-color($color-map-key, color-tran-
|
|
491
|
+
// background: functions.get-pep-color($color-map-key, color-tran-00); // TODO: In Table view is gray so what sould we do ask Yonatan.
|
|
489
492
|
background: functions.get-pep-color(color-system-primary-invert, color-base);
|
|
490
493
|
}
|
|
491
494
|
|
|
@@ -654,11 +657,11 @@
|
|
|
654
657
|
// None - default
|
|
655
658
|
// -----------------------------------------------------------------------------
|
|
656
659
|
@mixin state-none-default() {
|
|
657
|
-
background: functions.get-pep-color(color-system-primary, color-tran-
|
|
660
|
+
background: functions.get-pep-color(color-system-primary, color-tran-00);
|
|
658
661
|
}
|
|
659
662
|
@mixin state-none-disable() {
|
|
660
663
|
@include state-disabled();
|
|
661
|
-
background: functions.get-pep-color(color-system-primary, color-tran-
|
|
664
|
+
background: functions.get-pep-color(color-system-primary, color-tran-00) !important;
|
|
662
665
|
}
|
|
663
666
|
@mixin state-none-hover() {
|
|
664
667
|
@include state-weak-hover();
|