@pepperi-addons/ngx-lib 0.2.51-beta.7 → 0.2.52
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/bundles/pepperi-addons-ngx-lib-form.umd.js +188 -3313
- package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
- package/bundles/pepperi-addons-ngx-lib-image.umd.js +133 -72
- package/bundles/pepperi-addons-ngx-lib-image.umd.js.map +1 -1
- package/bundles/pepperi-addons-ngx-lib-slider.umd.js +15 -4
- package/bundles/pepperi-addons-ngx-lib-slider.umd.js.map +1 -1
- package/bundles/pepperi-addons-ngx-lib.umd.js +5 -1
- package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
- package/core/common/model/wapi.model.d.ts +2 -0
- package/core/customization/customization.model.d.ts +1 -0
- package/esm2015/core/common/model/wapi.model.js +1 -1
- package/esm2015/core/customization/customization.model.js +5 -1
- package/esm2015/form/field-generator.component.js +16 -10
- package/esm2015/form/form.component.js +53 -84
- package/esm2015/form/internal-carusel.component.js +39 -3147
- package/esm2015/form/internal-carusel.service.js +13 -13
- package/esm2015/form/internal-page.component.js +7 -7
- package/esm2015/image/image.component.js +20 -36
- package/esm2015/image/image.module.js +3 -1
- package/esm2015/image/image.service.js +55 -0
- package/esm2015/image/public-api.js +2 -1
- package/esm2015/slider/slider.component.js +16 -5
- package/fesm2015/pepperi-addons-ngx-lib-form.js +123 -3257
- package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-image.js +73 -36
- package/fesm2015/pepperi-addons-ngx-lib-image.js.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-slider.js +15 -4
- package/fesm2015/pepperi-addons-ngx-lib-slider.js.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.js +4 -0
- package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
- package/form/field-generator.component.d.ts +7 -5
- package/form/form.component.d.ts +10 -4
- package/form/internal-carusel.component.d.ts +5 -3
- package/form/internal-carusel.service.d.ts +2 -7
- package/form/internal-page.component.d.ts +2 -2
- package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
- package/image/image.component.d.ts +5 -5
- package/image/image.service.d.ts +11 -0
- package/image/pepperi-addons-ngx-lib-image.metadata.json +1 -1
- package/image/public-api.d.ts +1 -0
- package/package.json +1 -1
- package/pepperi-addons-ngx-lib.metadata.json +1 -1
- package/slider/pepperi-addons-ngx-lib-slider.metadata.json +1 -1
- package/slider/slider.component.d.ts +2 -0
- package/src/core/style/base/typography.scss +28 -0
|
@@ -3,7 +3,9 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { PepFieldBase, PepLayoutType, IPepFieldValueChangeEvent, IPepFieldClickEvent } from '@pepperi-addons/ngx-lib';
|
|
4
4
|
import { IPepFormFieldClickEvent, IPepFormFieldValueChangeEvent } from './form.component';
|
|
5
5
|
export declare class PepFieldGeneratorComponent implements OnChanges, OnDestroy {
|
|
6
|
-
|
|
6
|
+
private _field;
|
|
7
|
+
set field(value: any);
|
|
8
|
+
get field(): any;
|
|
7
9
|
isActive: boolean;
|
|
8
10
|
uid: any;
|
|
9
11
|
form: FormGroup;
|
|
@@ -11,10 +13,10 @@ export declare class PepFieldGeneratorComponent implements OnChanges, OnDestroy
|
|
|
11
13
|
showTitle: boolean;
|
|
12
14
|
checkForChanges: any;
|
|
13
15
|
valueChange: EventEmitter<IPepFieldValueChangeEvent>;
|
|
14
|
-
childChange: EventEmitter<any>;
|
|
15
16
|
formValidationChange: EventEmitter<boolean>;
|
|
16
17
|
elementClick: EventEmitter<IPepFieldClickEvent>;
|
|
17
|
-
|
|
18
|
+
internalFormFieldChange: EventEmitter<any>;
|
|
19
|
+
internalFormFieldClick: EventEmitter<any>;
|
|
18
20
|
formValueChange: EventEmitter<IPepFormFieldValueChangeEvent>;
|
|
19
21
|
formFieldClick: EventEmitter<IPepFormFieldClickEvent>;
|
|
20
22
|
get isValid(): boolean;
|
|
@@ -24,10 +26,10 @@ export declare class PepFieldGeneratorComponent implements OnChanges, OnDestroy
|
|
|
24
26
|
onFileChanged(fileData: any, field: PepFieldBase): void;
|
|
25
27
|
onAddressValueChanged(valueChange: IPepFieldValueChangeEvent, field: PepFieldBase): void;
|
|
26
28
|
onValueChanged(value: any, field: PepFieldBase): void;
|
|
27
|
-
|
|
29
|
+
onInternalFormFieldChanged(internalFormFieldChange: any): void;
|
|
28
30
|
onFormValidationChanged(formValidationChange: any): void;
|
|
29
31
|
onClick(fieldClicked: any): void;
|
|
30
|
-
|
|
32
|
+
onInternalFormFieldClick(internalFormFieldClick: any): void;
|
|
31
33
|
onFormValueChanged(event: IPepFormFieldValueChangeEvent): void;
|
|
32
34
|
onFormFieldClick(event: IPepFormFieldClickEvent): void;
|
|
33
35
|
ngOnChanges(changes: any): void;
|
package/form/form.component.d.ts
CHANGED
|
@@ -3,14 +3,17 @@ import { FormGroup, FormBuilder } from '@angular/forms';
|
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { PepDialogService } from '@pepperi-addons/ngx-lib/dialog';
|
|
5
5
|
import { IPepFieldValueChangeEvent, IPepFieldClickEvent, PepLayoutType, FIELD_TYPE, PepCustomizationService, PepLayoutService, UIControl, UIControlField, ObjectsDataRow, ObjectsDataRowCell, PepFieldBase, PepHorizontalAlignment, PepVerticalAlignment, X_ALIGNMENT_TYPE, Y_ALIGNMENT_TYPE, KeyValuePair, IPepOption } from '@pepperi-addons/ngx-lib';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
6
7
|
export interface IPepFormFieldValueChangeEvent {
|
|
7
8
|
id: string;
|
|
9
|
+
uiObjectKey?: string;
|
|
8
10
|
key: string;
|
|
9
11
|
value: string;
|
|
10
12
|
controlType?: string;
|
|
11
13
|
}
|
|
12
14
|
export interface IPepFormFieldClickEvent {
|
|
13
15
|
id: string;
|
|
16
|
+
uiObjectKey?: string;
|
|
14
17
|
key: string;
|
|
15
18
|
value: any;
|
|
16
19
|
controlType: string;
|
|
@@ -43,9 +46,9 @@ export declare class PepFormComponent implements OnInit, DoCheck, OnChanges, OnD
|
|
|
43
46
|
checkForChanges: any;
|
|
44
47
|
valueChange: EventEmitter<IPepFormFieldValueChangeEvent>;
|
|
45
48
|
formValidationChange: EventEmitter<boolean>;
|
|
46
|
-
childClick: EventEmitter<any>;
|
|
47
|
-
childChange: EventEmitter<any>;
|
|
48
49
|
fieldClick: EventEmitter<IPepFormFieldClickEvent>;
|
|
50
|
+
internalFormFieldClick: EventEmitter<any>;
|
|
51
|
+
internalFormFieldChange: EventEmitter<any>;
|
|
49
52
|
isLocked: boolean;
|
|
50
53
|
formGutterSize: any;
|
|
51
54
|
cardGutterSize: any;
|
|
@@ -54,6 +57,8 @@ export declare class PepFormComponent implements OnInit, DoCheck, OnChanges, OnD
|
|
|
54
57
|
differ: any;
|
|
55
58
|
private rows;
|
|
56
59
|
fields: PepFieldBase[];
|
|
60
|
+
private _fieldsSubject;
|
|
61
|
+
get fields$(): Observable<PepFieldBase[]>;
|
|
57
62
|
columns: number;
|
|
58
63
|
private hasMenuFloatingOnOtherField;
|
|
59
64
|
private menuField;
|
|
@@ -75,6 +80,7 @@ export declare class PepFormComponent implements OnInit, DoCheck, OnChanges, OnD
|
|
|
75
80
|
convertToCustomField(controlField: UIControlField, dataField: any, canEditObject: boolean, menuField: any, hasCampaignField: any, indicatorsField: any, objectId: any, parentId: any, searchCode: any): PepFieldBase;
|
|
76
81
|
getFieldFormattedValue(field: PepFieldBase): string;
|
|
77
82
|
private toControlGroup;
|
|
83
|
+
private createBaseField;
|
|
78
84
|
showFormValidationMessage(): void;
|
|
79
85
|
ngOnInit(): void;
|
|
80
86
|
ngDoCheck(): void;
|
|
@@ -93,8 +99,8 @@ export declare class PepFormComponent implements OnInit, DoCheck, OnChanges, OnD
|
|
|
93
99
|
onFormValidationChanged(formValidationChange: any): void;
|
|
94
100
|
onValueChanged(event: IPepFieldValueChangeEvent): void;
|
|
95
101
|
onClick(fieldClickEvent: IPepFieldClickEvent): void;
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
onInternalFormFieldClicked(internalFormFieldClick: any): void;
|
|
103
|
+
onInternalFormFieldChanged(internalFormFieldChange: any): void;
|
|
98
104
|
onFormValueChanged(event: IPepFormFieldValueChangeEvent): void;
|
|
99
105
|
onFormFieldClick(event: IPepFormFieldClickEvent): void;
|
|
100
106
|
}
|
|
@@ -9,10 +9,12 @@ export declare class PepInternalCaruselComponent implements OnInit, AfterViewIni
|
|
|
9
9
|
private layoutService;
|
|
10
10
|
private internalCaruselService;
|
|
11
11
|
carousel: PepCarouselComponent;
|
|
12
|
-
|
|
12
|
+
private _field;
|
|
13
|
+
set field(value: any);
|
|
14
|
+
get field(): any;
|
|
13
15
|
layoutType: PepLayoutType;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
internalFormFieldChange: EventEmitter<any>;
|
|
17
|
+
internalFormFieldClick: EventEmitter<IPepFormFieldClickEvent>;
|
|
16
18
|
private _items;
|
|
17
19
|
set items(value: Array<any>);
|
|
18
20
|
get items(): Array<any>;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { PepHttpService } from '@pepperi-addons/ngx-lib';
|
|
2
2
|
export declare class PepInternalCaruselService {
|
|
3
3
|
private httpService;
|
|
4
|
-
private
|
|
5
|
-
private objectId;
|
|
6
|
-
private parentId;
|
|
7
|
-
private searchCode;
|
|
8
|
-
private viewType;
|
|
9
|
-
additionalApiName: string;
|
|
4
|
+
private eventUrl;
|
|
10
5
|
constructor(httpService: PepHttpService);
|
|
11
|
-
|
|
6
|
+
emitEvent(uiObjectKey: string, fieldKey: string, fieldValue: string, eventName: string, callbackFunc: any): void;
|
|
12
7
|
}
|
|
@@ -16,8 +16,8 @@ export declare class PepInternalPageComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
controlType: string;
|
|
17
17
|
field: any;
|
|
18
18
|
layoutType: PepLayoutType;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
internalFormFieldChange: EventEmitter<any>;
|
|
20
|
+
internalFormFieldClick: EventEmitter<IPepFormFieldClickEvent>;
|
|
21
21
|
my1mm: ElementRef;
|
|
22
22
|
mainViewCont: ElementRef;
|
|
23
23
|
orgCont: ViewContainerRef;
|