@pega/angular-sdk-components 0.25.1 → 0.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/pega-angular-sdk-components.mjs +3962 -3561
- package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
- package/lib/_bridge/angular-pconnect.d.ts +1 -1
- package/lib/_bridge/component-mapper/component-mapper.component.d.ts +1 -1
- package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +14 -0
- package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
- package/lib/_components/field/auto-complete/auto-complete.component.d.ts +9 -37
- package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +7 -5
- package/lib/_components/field/check-box/check-box.component.d.ts +7 -32
- package/lib/_components/field/currency/currency.component.d.ts +19 -34
- package/lib/_components/field/date/date.component.d.ts +7 -57
- package/lib/_components/field/date-time/date-time.component.d.ts +10 -40
- package/lib/_components/field/decimal/decimal.component.d.ts +16 -31
- package/lib/_components/field/dropdown/dropdown.component.d.ts +13 -37
- package/lib/_components/field/email/email.component.d.ts +7 -34
- package/lib/_components/field/field.base.d.ts +57 -0
- package/lib/_components/field/group/group.component.d.ts +5 -2
- package/lib/_components/field/integer/integer.component.d.ts +7 -33
- package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -1
- package/lib/_components/field/location/location.component.d.ts +1 -1
- package/lib/_components/field/multiselect/multiselect.component.d.ts +7 -38
- package/lib/_components/field/object-reference/object-reference.component.d.ts +45 -0
- package/lib/_components/field/percentage/percentage.component.d.ts +18 -35
- package/lib/_components/field/phone/phone.component.d.ts +6 -32
- package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +11 -33
- package/lib/_components/field/rich-text/rich-text.component.d.ts +6 -29
- package/lib/_components/field/scalar-list/scalar-list.component.d.ts +6 -21
- package/lib/_components/field/selectable-card/selectable-card.component.d.ts +5 -18
- package/lib/_components/field/semantic-link/semantic-link.component.d.ts +21 -0
- package/lib/_components/field/text-area/text-area.component.d.ts +6 -33
- package/lib/_components/field/text-input/text-input.component.d.ts +6 -34
- package/lib/_components/field/time/time.component.d.ts +6 -34
- package/lib/_components/field/url/url.component.d.ts +6 -34
- package/lib/_components/field/user-reference/user-reference.component.d.ts +1 -1
- package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +4 -6
- package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
- package/lib/_components/infra/assignment/assignment.component.d.ts +3 -3
- package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +3 -2
- package/lib/_components/infra/defer-load/defer-load.component.d.ts +6 -6
- package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
- package/lib/_components/infra/navbar/navbar.component.d.ts +0 -1
- package/lib/_components/infra/stages/stages.component.d.ts +2 -1
- package/lib/_components/template/advanced-search/advanced-search.component.d.ts +21 -0
- package/lib/_components/template/advanced-search/search-group/persist-utils.d.ts +23 -0
- package/lib/_components/template/advanced-search/search-groups/search-groups.component.d.ts +47 -0
- package/lib/_components/template/advanced-search/search-groups/utils.d.ts +15 -0
- package/lib/_components/template/app-shell/app-shell.component.d.ts +6 -2
- package/lib/_components/template/data-reference/data-reference-advanced-search.service.d.ts +9 -0
- package/lib/_components/template/data-reference/data-reference.component.d.ts +27 -2
- package/lib/_components/template/data-reference/search-form/search-form.component.d.ts +39 -0
- package/lib/_components/template/data-reference/search-form/tabsData.d.ts +2 -0
- package/lib/_components/template/data-reference/utils.d.ts +14 -0
- package/lib/_components/template/default-form/default-form.component.d.ts +3 -2
- package/lib/_components/template/default-page/default-page.component.d.ts +29 -0
- package/lib/_components/template/list-view/list-view.component.d.ts +14 -1
- package/lib/_components/template/object-page/object-page.component.d.ts +8 -0
- package/lib/_components/template/self-service-case-view/self-service-case-view.component.d.ts +59 -0
- package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +2 -2
- package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts +18 -2
- package/lib/_components/template/utils.d.ts +4 -0
- package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +3 -5
- package/lib/_components/widget/attachment/Attachment.types.d.ts +87 -0
- package/lib/_components/widget/attachment/AttachmentUtils.d.ts +17 -0
- package/lib/_components/widget/attachment/attachment.component.d.ts +18 -33
- package/lib/_components/widget/feed-container/feed-container.component.d.ts +2 -2
- package/lib/_components/widget/todo/todo.component.d.ts +4 -2
- package/lib/_helpers/field-group-utils.d.ts +1 -3
- package/lib/_helpers/filter-utils.d.ts +1 -3
- package/lib/_helpers/objectReference-utils.d.ts +6 -0
- package/lib/_helpers/semanticLink-utils.d.ts +9 -0
- package/lib/_helpers/tab-utils.d.ts +4 -0
- package/lib/_helpers/utils.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +13 -1
|
@@ -75,7 +75,7 @@ export declare class AngularPConnectService {
|
|
|
75
75
|
* this component.
|
|
76
76
|
* This is the full set of properties that are tracked in Redux for this component.
|
|
77
77
|
*/
|
|
78
|
-
getCurrentCompleteProps(inComp?: any):
|
|
78
|
+
getCurrentCompleteProps(inComp?: any): object;
|
|
79
79
|
/**
|
|
80
80
|
* Registers the component and its callback function. When a component calls this method
|
|
81
81
|
* (typically from its ngOnInit), the component is given a unique componentID (for this session)
|
|
@@ -4,7 +4,7 @@ export declare class ComponentMapperComponent implements OnInit, OnDestroy, OnCh
|
|
|
4
4
|
dynamicComponent: ViewContainerRef | undefined;
|
|
5
5
|
componentRef: ComponentRef<any> | undefined;
|
|
6
6
|
isInitialized: boolean;
|
|
7
|
-
name
|
|
7
|
+
name?: string;
|
|
8
8
|
props: any;
|
|
9
9
|
errorMsg: string;
|
|
10
10
|
outputEvents: any;
|
|
@@ -28,6 +28,7 @@ import { GroupComponent } from '../../_components/field/group/group.component';
|
|
|
28
28
|
import { IntegerComponent } from '../../_components/field/integer/integer.component';
|
|
29
29
|
import { ListViewActionButtonsComponent } from '../../_components/field/list-view-action-buttons/list-view-action-buttons.component';
|
|
30
30
|
import { LocationComponent } from '../../_components/field/location/location.component';
|
|
31
|
+
import { ObjectReferenceComponent } from '../../_components/field/object-reference/object-reference.component';
|
|
31
32
|
import { PercentageComponent } from '../../_components/field/percentage/percentage.component';
|
|
32
33
|
import { PhoneComponent } from '../../_components/field/phone/phone.component';
|
|
33
34
|
import { RadioButtonsComponent } from '../../_components/field/radio-buttons/radio-buttons.component';
|
|
@@ -40,8 +41,10 @@ import { TimeComponent } from '../../_components/field/time/time.component';
|
|
|
40
41
|
import { UrlComponent } from '../../_components/field/url/url.component';
|
|
41
42
|
import { UserReferenceComponent } from '../../_components/field/user-reference/user-reference.component';
|
|
42
43
|
import { ScalarListComponent } from '../../_components/field/scalar-list/scalar-list.component';
|
|
44
|
+
import { SearchFormComponent } from '../../_components/template/data-reference/search-form/search-form.component';
|
|
43
45
|
import { SelectableCardComponent } from '../../_components/field/selectable-card/selectable-card.component';
|
|
44
46
|
import { RichTextComponent } from '../../_components/field/rich-text/rich-text.component';
|
|
47
|
+
import { AdvancedSearchComponent } from '../../_components/template/advanced-search/advanced-search.component';
|
|
45
48
|
import { AppShellComponent } from '../../_components/template/app-shell/app-shell.component';
|
|
46
49
|
import { BannerPageComponent } from '../../_components/template/banner-page/banner-page.component';
|
|
47
50
|
import { CaseSummaryComponent } from '../../_components/template/case-summary/case-summary.component';
|
|
@@ -49,6 +52,7 @@ import { CaseViewComponent } from '../../_components/template/case-view/case-vie
|
|
|
49
52
|
import { ConfirmationComponent } from '../../_components/template/confirmation/confirmation.component';
|
|
50
53
|
import { DataReferenceComponent } from '../../_components/template/data-reference/data-reference.component';
|
|
51
54
|
import { DefaultFormComponent } from '../../_components/template/default-form/default-form.component';
|
|
55
|
+
import { DefaultPageComponent } from '../../_components/template/default-page/default-page.component';
|
|
52
56
|
import { DetailsComponent } from '../../_components/template/details/details.component';
|
|
53
57
|
import { DetailsNarrowWideComponent } from '../../_components/template/details-narrow-wide/details-narrow-wide.component';
|
|
54
58
|
import { DetailsOneColumnComponent } from '../../_components/template/details-one-column/details-one-column.component';
|
|
@@ -67,11 +71,14 @@ import { ListViewComponent } from '../../_components/template/list-view/list-vie
|
|
|
67
71
|
import { MultiReferenceReadonlyComponent } from '../../_components/template/multi-reference-readonly/multi-reference-readonly.component';
|
|
68
72
|
import { MultiselectComponent } from '../../_components/field/multiselect/multiselect.component';
|
|
69
73
|
import { NarrowWideFormComponent } from '../../_components/template/narrow-wide-form/narrow-wide-form.component';
|
|
74
|
+
import { ObjectPageComponent } from '../../_components/template/object-page/object-page.component';
|
|
70
75
|
import { OneColumnComponent } from '../../_components/template/one-column/one-column.component';
|
|
71
76
|
import { OneColumnPageComponent } from '../../_components/template/one-column-page/one-column-page.component';
|
|
72
77
|
import { OneColumnTabComponent } from '../../_components/template/one-column-tab/one-column-tab.component';
|
|
73
78
|
import { PageComponent } from '../../_components/template/page/page.component';
|
|
74
79
|
import { PromotedFiltersComponent } from '../../_components/template/promoted-filters/promoted-filters.component';
|
|
80
|
+
import { SearchGroupsComponent } from '../../_components/template/advanced-search/search-groups/search-groups.component';
|
|
81
|
+
import { SelfServiceCaseViewComponent } from '../../_components/template/self-service-case-view/self-service-case-view.component';
|
|
75
82
|
import { SimpleTableComponent } from '../../_components/template/simple-table/simple-table.component';
|
|
76
83
|
import { SimpleTableManualComponent } from '../../_components/template/simple-table-manual/simple-table-manual.component';
|
|
77
84
|
import { SimpleTableSelectComponent } from '../../_components/template/simple-table-select/simple-table-select.component';
|
|
@@ -109,6 +116,7 @@ import { PulseComponent } from '../../_components/designSystemExtension/pulse/pu
|
|
|
109
116
|
import { RichTextEditorComponent } from '../../_components/designSystemExtension/rich-text-editor/rich-text-editor.component';
|
|
110
117
|
import { WssQuickCreateComponent } from '../../_components/designSystemExtension/wss-quick-create/wss-quick-create.component';
|
|
111
118
|
declare const pegaSdkComponentMap: {
|
|
119
|
+
AdvancedSearch: typeof AdvancedSearchComponent;
|
|
112
120
|
ActionButtons: typeof ActionButtonsComponent;
|
|
113
121
|
Alert: typeof AlertComponent;
|
|
114
122
|
AlertBanner: typeof AlertBannerComponent;
|
|
@@ -135,6 +143,7 @@ declare const pegaSdkComponentMap: {
|
|
|
135
143
|
DateTime: typeof DateTimeComponent;
|
|
136
144
|
Decimal: typeof DecimalComponent;
|
|
137
145
|
DefaultForm: typeof DefaultFormComponent;
|
|
146
|
+
DefaultPage: typeof DefaultPageComponent;
|
|
138
147
|
DeferLoad: typeof DeferLoadComponent;
|
|
139
148
|
Details: typeof DetailsComponent;
|
|
140
149
|
DetailsFields: typeof MaterialDetailsFieldsComponent;
|
|
@@ -171,6 +180,8 @@ declare const pegaSdkComponentMap: {
|
|
|
171
180
|
NarrowWideDetails: typeof DetailsNarrowWideComponent;
|
|
172
181
|
NarrowWideForm: typeof NarrowWideFormComponent;
|
|
173
182
|
NavBar: typeof NavbarComponent;
|
|
183
|
+
ObjectPage: typeof ObjectPageComponent;
|
|
184
|
+
ObjectReference: typeof ObjectReferenceComponent;
|
|
174
185
|
OneColumn: typeof OneColumnComponent;
|
|
175
186
|
OneColumnPage: typeof OneColumnPageComponent;
|
|
176
187
|
OneColumnTab: typeof OneColumnTabComponent;
|
|
@@ -188,7 +199,10 @@ declare const pegaSdkComponentMap: {
|
|
|
188
199
|
RichTextEditor: typeof RichTextEditorComponent;
|
|
189
200
|
RootContainer: typeof RootContainerComponent;
|
|
190
201
|
ScalarList: typeof ScalarListComponent;
|
|
202
|
+
SearchForm: typeof SearchFormComponent;
|
|
203
|
+
SearchGroups: typeof SearchGroupsComponent;
|
|
191
204
|
SelectableCard: typeof SelectableCardComponent;
|
|
205
|
+
SelfServiceCaseView: typeof SelfServiceCaseViewComponent;
|
|
192
206
|
SemanticLink: typeof SemanticLinkComponent;
|
|
193
207
|
SimpleTable: typeof SimpleTableComponent;
|
|
194
208
|
SimpleTableManual: typeof SimpleTableManualComponent;
|
|
@@ -9,7 +9,7 @@ export declare class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
|
9
9
|
secondaryFields$: any[];
|
|
10
10
|
primaryFieldsWithStatus$: any[];
|
|
11
11
|
constructor(utils: Utils);
|
|
12
|
-
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string, componentName?: string | null) => string;
|
|
12
|
+
localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
|
|
13
13
|
localeCategory: string;
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
ngOnChanges(): void;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import { Utils } from '../../../_helpers/utils';
|
|
3
|
+
import { FieldBase } from '../field.base';
|
|
6
4
|
import { DatapageService } from '../../../_services/datapage.service';
|
|
7
5
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
@@ -20,47 +18,23 @@ interface AutoCompleteProps extends PConnFieldProps {
|
|
|
20
18
|
datasource: any;
|
|
21
19
|
columns: any[];
|
|
22
20
|
}
|
|
23
|
-
export declare class AutoCompleteComponent implements OnInit
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
private utils;
|
|
27
|
-
private dataPageService;
|
|
28
|
-
pConn$: typeof PConnect;
|
|
29
|
-
formGroup$: FormGroup;
|
|
30
|
-
angularPConnectData: AngularPConnectData;
|
|
21
|
+
export declare class AutoCompleteComponent extends FieldBase implements OnInit {
|
|
22
|
+
protected dataPageService: DatapageService;
|
|
23
|
+
onRecordChange: EventEmitter<any>;
|
|
31
24
|
configProps$: AutoCompleteProps;
|
|
32
|
-
label$: string;
|
|
33
|
-
value$: string;
|
|
34
|
-
bRequired$: boolean;
|
|
35
|
-
bReadonly$: boolean;
|
|
36
|
-
bDisabled$: boolean;
|
|
37
|
-
bVisible$: boolean;
|
|
38
|
-
displayMode$?: string;
|
|
39
|
-
controlName$: string;
|
|
40
|
-
bHasForm$: boolean;
|
|
41
25
|
options$: any[];
|
|
42
|
-
componentReference: string;
|
|
43
|
-
testId: string;
|
|
44
26
|
listType: string;
|
|
45
27
|
columns: never[];
|
|
46
|
-
helperText: string;
|
|
47
|
-
placeholder: string;
|
|
48
|
-
fieldControl: FormControl<string | null>;
|
|
49
28
|
parameters: {};
|
|
50
|
-
hideLabel: boolean;
|
|
51
29
|
filteredOptions: Observable<any[]>;
|
|
52
30
|
filterValue: string;
|
|
53
|
-
actionsApi: Object;
|
|
54
|
-
propName: string;
|
|
55
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
|
|
56
31
|
ngOnInit(): Promise<void>;
|
|
57
32
|
setOptions(options: IOption[]): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
33
|
private _filter;
|
|
60
|
-
|
|
61
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Updates the component when there are changes in the state.
|
|
36
|
+
*/
|
|
62
37
|
updateSelf(): Promise<void>;
|
|
63
|
-
setPropertyValuesFromProps(): void;
|
|
64
38
|
generateColumnsAndDataSource(): {
|
|
65
39
|
columns: any[];
|
|
66
40
|
datasource: any;
|
|
@@ -71,9 +45,7 @@ export declare class AutoCompleteComponent implements OnInit, OnDestroy {
|
|
|
71
45
|
preProcessColumns(columnList: any): any;
|
|
72
46
|
fieldOnChange(event: Event): void;
|
|
73
47
|
optionChanged(event: any): void;
|
|
74
|
-
fieldOnBlur(event: Event): void;
|
|
75
|
-
getErrorMessage(): string;
|
|
76
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "app-auto-complete", never, {
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "app-auto-complete", never, {}, { "onRecordChange": "onRecordChange"; }, never, never, true, never>;
|
|
78
50
|
}
|
|
79
51
|
export {};
|
|
@@ -6,18 +6,20 @@ export declare class CancelAlertComponent implements OnChanges {
|
|
|
6
6
|
pConn$: typeof PConnect;
|
|
7
7
|
bShowAlert$: boolean;
|
|
8
8
|
onAlertState$: EventEmitter<boolean>;
|
|
9
|
-
heading$: string;
|
|
10
|
-
body1$: string;
|
|
11
|
-
body2$: string;
|
|
12
9
|
itemKey: string;
|
|
13
10
|
localizedVal: Function;
|
|
14
11
|
localeCategory: string;
|
|
12
|
+
discardButton: any;
|
|
13
|
+
goBackButton: any;
|
|
15
14
|
constructor(psService: ProgressSpinnerService);
|
|
16
15
|
ngOnChanges(): void;
|
|
17
|
-
dismissAlert(): void;
|
|
18
16
|
dismissAlertOnly(): void;
|
|
17
|
+
dismissAlert(): void;
|
|
19
18
|
sendMessage(sMessage: string): void;
|
|
20
|
-
|
|
19
|
+
createCancelAlertButtons(): void;
|
|
20
|
+
buttonClick({ action }: {
|
|
21
|
+
action: any;
|
|
22
|
+
}): void;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CancelAlertComponent, never>;
|
|
22
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<CancelAlertComponent, "app-cancel-alert", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "bShowAlert$": { "alias": "bShowAlert$"; "required": false; }; }, { "onAlertState$": "onAlertState$"; }, never, never, true, never>;
|
|
23
25
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
@@ -19,29 +17,11 @@ interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
19
17
|
variant?: string;
|
|
20
18
|
renderMode: string;
|
|
21
19
|
}
|
|
22
|
-
export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
23
|
-
private angularPConnect;
|
|
24
|
-
private cdRef;
|
|
25
|
-
private utils;
|
|
26
|
-
pConn$: typeof PConnect;
|
|
27
|
-
formGroup$: FormGroup;
|
|
28
|
-
angularPConnectData: AngularPConnectData;
|
|
20
|
+
export declare class CheckBoxComponent extends FieldBase implements OnInit, OnDestroy {
|
|
29
21
|
configProps$: CheckboxProps;
|
|
30
|
-
label$: string;
|
|
31
|
-
value$: any;
|
|
32
22
|
caption$?: string;
|
|
33
|
-
testId: string;
|
|
34
23
|
showLabel$: boolean;
|
|
35
24
|
isChecked$: boolean;
|
|
36
|
-
bRequired$: boolean;
|
|
37
|
-
bReadonly$: boolean;
|
|
38
|
-
bDisabled$: boolean;
|
|
39
|
-
bVisible$: boolean;
|
|
40
|
-
displayMode$?: string;
|
|
41
|
-
controlName$: string;
|
|
42
|
-
bHasForm$: boolean;
|
|
43
|
-
componentReference: string;
|
|
44
|
-
helperText: string;
|
|
45
25
|
trueLabel$?: string;
|
|
46
26
|
falseLabel$?: string;
|
|
47
27
|
selectionMode?: string;
|
|
@@ -52,21 +32,16 @@ export declare class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
52
32
|
selectedvalues: any;
|
|
53
33
|
referenceList: string;
|
|
54
34
|
listOfCheckboxes: any[];
|
|
55
|
-
actionsApi: Object;
|
|
56
|
-
propName: string;
|
|
57
35
|
variant?: string;
|
|
58
|
-
fieldControl: FormControl<string | null>;
|
|
59
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
|
|
60
36
|
ngOnInit(): void;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Updates the component when there are changes in the state.
|
|
39
|
+
*/
|
|
64
40
|
updateSelf(): void;
|
|
65
41
|
fieldOnChange(event: any): void;
|
|
66
42
|
fieldOnBlur(event: any): void;
|
|
67
43
|
handleChangeMultiMode(event: any, element: any): void;
|
|
68
|
-
getErrorMessage(): string;
|
|
69
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "app-check-box", never, {
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "app-check-box", never, {}, {}, never, never, true, never>;
|
|
71
46
|
}
|
|
72
47
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { NgxCurrencyInputMode } from 'ngx-currency';
|
|
3
|
+
import { FieldBase } from '../field.base';
|
|
5
4
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
interface CurrrencyProps extends PConnFieldProps {
|
|
@@ -9,46 +8,32 @@ interface CurrrencyProps extends PConnFieldProps {
|
|
|
9
8
|
allowDecimals: boolean;
|
|
10
9
|
formatter?: string;
|
|
11
10
|
}
|
|
12
|
-
export declare class CurrencyComponent
|
|
13
|
-
private angularPConnect;
|
|
14
|
-
private cdRef;
|
|
15
|
-
private utils;
|
|
16
|
-
pConn$: typeof PConnect;
|
|
17
|
-
formGroup$: FormGroup;
|
|
18
|
-
angularPConnectData: AngularPConnectData;
|
|
11
|
+
export declare class CurrencyComponent extends FieldBase {
|
|
19
12
|
configProps$: CurrrencyProps;
|
|
20
|
-
label$: string;
|
|
21
|
-
value$: any;
|
|
22
|
-
bRequired$: boolean;
|
|
23
|
-
bReadonly$: boolean;
|
|
24
|
-
bDisabled$: boolean;
|
|
25
|
-
bVisible$: boolean;
|
|
26
|
-
displayMode$?: string;
|
|
27
|
-
controlName$: string;
|
|
28
|
-
bHasForm$: boolean;
|
|
29
|
-
componentReference: string;
|
|
30
|
-
testId: string;
|
|
31
|
-
helperText: string;
|
|
32
|
-
placeholder: string;
|
|
33
|
-
currencyISOCode: string;
|
|
34
|
-
currencyOptions: Object;
|
|
35
13
|
fieldControl: FormControl<number | null>;
|
|
14
|
+
currencyOptions: object;
|
|
36
15
|
currencySymbol: string;
|
|
37
16
|
thousandSeparator: string;
|
|
38
17
|
decimalSeparator: string;
|
|
39
|
-
inputMode: any;
|
|
40
18
|
decimalPrecision: number | undefined;
|
|
41
19
|
formattedValue: string;
|
|
42
20
|
formatter: any;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
checkAndUpdate(): void;
|
|
21
|
+
inputMode: NgxCurrencyInputMode;
|
|
22
|
+
/**
|
|
23
|
+
* Updates the component when there are changes in the state.
|
|
24
|
+
*/
|
|
48
25
|
updateSelf(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Updates the currency properties
|
|
28
|
+
*
|
|
29
|
+
* @param {Object} configProps - Configuration properties.
|
|
30
|
+
* @param {boolean} configProps.allowDecimals - Whether to allow decimal values.
|
|
31
|
+
* @param {string} configProps.currencyISOCode - The ISO code of the currency.
|
|
32
|
+
* @param {string} configProps.formatter - The formatter type (e.g., 'currency').
|
|
33
|
+
*/
|
|
34
|
+
protected updateCurrencyProperties(configProps: any): void;
|
|
49
35
|
fieldOnBlur(event: any): void;
|
|
50
|
-
getErrorMessage(): string;
|
|
51
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponent, "app-currency", never, {
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponent, "app-currency", never, {}, {}, never, never, true, never>;
|
|
53
38
|
}
|
|
54
39
|
export {};
|
|
@@ -1,76 +1,26 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface DateProps extends PConnFieldProps {
|
|
8
6
|
}
|
|
9
|
-
declare class
|
|
10
|
-
theDateFormat: {
|
|
11
|
-
dateFormatString: string;
|
|
12
|
-
dateFormatStringLong: string;
|
|
13
|
-
dateFormatStringLC: string;
|
|
14
|
-
dateFormatMask: string;
|
|
15
|
-
};
|
|
16
|
-
get display(): {
|
|
17
|
-
dateInput: string;
|
|
18
|
-
monthYearLabel: string;
|
|
19
|
-
dateA11yLabel: string;
|
|
20
|
-
monthYearA11yLabel: string;
|
|
21
|
-
};
|
|
22
|
-
get parse(): {
|
|
23
|
-
dateInput: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export declare class DateComponent implements OnInit, OnDestroy {
|
|
27
|
-
private angularPConnect;
|
|
28
|
-
private cdRef;
|
|
29
|
-
private utils;
|
|
30
|
-
private config;
|
|
31
|
-
pConn$: typeof PConnect;
|
|
32
|
-
formGroup$: FormGroup;
|
|
33
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class DateComponent extends FieldBase implements OnInit, OnDestroy {
|
|
34
8
|
configProps$: DateProps;
|
|
35
|
-
label$: string;
|
|
36
|
-
value$: any;
|
|
37
|
-
bRequired$: boolean;
|
|
38
|
-
bReadonly$: boolean;
|
|
39
|
-
bDisabled$: boolean;
|
|
40
|
-
bVisible$: boolean;
|
|
41
|
-
displayMode$?: string;
|
|
42
|
-
controlName$: string;
|
|
43
|
-
bHasForm$: boolean;
|
|
44
|
-
componentReference: string;
|
|
45
|
-
testId: string;
|
|
46
|
-
helperText: string;
|
|
47
|
-
placeholder: string;
|
|
48
|
-
fieldControl: FormControl<string | null>;
|
|
49
|
-
dateFormatInfo: {
|
|
50
|
-
dateFormatString: string;
|
|
51
|
-
dateFormatStringLong: string;
|
|
52
|
-
dateFormatStringLC: string;
|
|
53
|
-
dateFormatMask: string;
|
|
54
|
-
};
|
|
55
9
|
theDateFormat: {
|
|
56
10
|
dateFormatString: string;
|
|
57
11
|
dateFormatStringLong: string;
|
|
58
12
|
dateFormatStringLC: string;
|
|
59
13
|
dateFormatMask: string;
|
|
60
14
|
};
|
|
61
|
-
actionsApi: Object;
|
|
62
|
-
propName: string;
|
|
63
15
|
formattedValue$: any;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
onStateChange(): void;
|
|
68
|
-
checkAndUpdate(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the component when there are changes in the state.
|
|
18
|
+
*/
|
|
69
19
|
updateSelf(): void;
|
|
70
20
|
fieldOnDateChange(event: any): void;
|
|
71
21
|
hasErrors(): boolean;
|
|
72
22
|
getErrorMessage(): string;
|
|
73
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "app-date", never, {
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "app-date", never, {}, {}, never, never, true, never>;
|
|
75
25
|
}
|
|
76
26
|
export {};
|
|
@@ -1,62 +1,32 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface DateTimeProps extends PConnFieldProps {
|
|
8
6
|
}
|
|
9
|
-
export declare class DateTimeComponent implements OnInit, OnDestroy {
|
|
10
|
-
private angularPConnect;
|
|
11
|
-
private cdRef;
|
|
12
|
-
private utils;
|
|
13
|
-
pConn$: typeof PConnect;
|
|
14
|
-
formGroup$: FormGroup;
|
|
15
|
-
angularPConnectData: AngularPConnectData;
|
|
7
|
+
export declare class DateTimeComponent extends FieldBase implements OnInit, OnDestroy {
|
|
16
8
|
configProps$: DateTimeProps;
|
|
17
|
-
label$: string;
|
|
18
|
-
value$: any;
|
|
19
|
-
bRequired$: boolean;
|
|
20
|
-
bReadonly$: boolean;
|
|
21
|
-
bDisabled$: boolean;
|
|
22
|
-
bVisible$: boolean;
|
|
23
|
-
displayMode$?: string;
|
|
24
|
-
controlName$: string;
|
|
25
|
-
bHasForm$: boolean;
|
|
26
|
-
componentReference: string;
|
|
27
|
-
testId: string;
|
|
28
|
-
helperText: string;
|
|
29
|
-
fieldControl: FormControl<string | null>;
|
|
30
9
|
stepHour: number;
|
|
31
10
|
stepMinute: number;
|
|
32
11
|
stepSecond: number;
|
|
33
12
|
color: string;
|
|
34
|
-
|
|
35
|
-
dateFormatString: string;
|
|
36
|
-
dateFormatStringLong: string;
|
|
37
|
-
dateFormatStringLC: string;
|
|
38
|
-
dateFormatMask: string;
|
|
39
|
-
};
|
|
13
|
+
formattedValue$: any;
|
|
40
14
|
theDateFormat: {
|
|
41
15
|
dateFormatString: string;
|
|
42
16
|
dateFormatStringLong: string;
|
|
43
17
|
dateFormatStringLC: string;
|
|
44
18
|
dateFormatMask: string;
|
|
45
19
|
};
|
|
46
|
-
placeholder: string;
|
|
47
|
-
actionsApi: Object;
|
|
48
|
-
propName: string;
|
|
49
|
-
formattedValue$: any;
|
|
50
20
|
timezone: string | undefined;
|
|
51
|
-
|
|
21
|
+
placeholder: string;
|
|
52
22
|
ngOnInit(): void;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Updates the component when there are changes in the state.
|
|
25
|
+
*/
|
|
56
26
|
updateSelf(): void;
|
|
27
|
+
generateDateTime(sVal: any): string;
|
|
57
28
|
fieldOnDateChange(event: any): void;
|
|
58
|
-
getErrorMessage(): string;
|
|
59
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeComponent, "app-date-time", never, {
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeComponent, "app-date-time", never, {}, {}, never, never, true, never>;
|
|
61
31
|
}
|
|
62
32
|
export {};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
5
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
interface DecimalProps extends PConnFieldProps {
|
|
@@ -10,27 +8,8 @@ interface DecimalProps extends PConnFieldProps {
|
|
|
10
8
|
showGroupSeparators?: string;
|
|
11
9
|
formatter?: string;
|
|
12
10
|
}
|
|
13
|
-
export declare class DecimalComponent
|
|
14
|
-
private angularPConnect;
|
|
15
|
-
private cdRef;
|
|
16
|
-
private utils;
|
|
17
|
-
pConn$: typeof PConnect;
|
|
18
|
-
formGroup$: FormGroup;
|
|
19
|
-
angularPConnectData: AngularPConnectData;
|
|
11
|
+
export declare class DecimalComponent extends FieldBase {
|
|
20
12
|
configProps$: DecimalProps;
|
|
21
|
-
label$: string;
|
|
22
|
-
value$: any;
|
|
23
|
-
bRequired$: boolean;
|
|
24
|
-
bReadonly$: boolean;
|
|
25
|
-
bDisabled$: boolean;
|
|
26
|
-
bVisible$: boolean;
|
|
27
|
-
displayMode$?: string;
|
|
28
|
-
controlName$: string;
|
|
29
|
-
bHasForm$: boolean;
|
|
30
|
-
componentReference: string;
|
|
31
|
-
testId: string;
|
|
32
|
-
helperText: string;
|
|
33
|
-
placeholder: string;
|
|
34
13
|
fieldControl: FormControl<number | null>;
|
|
35
14
|
decimalSeparator: string;
|
|
36
15
|
thousandSeparator: string;
|
|
@@ -40,15 +19,21 @@ export declare class DecimalComponent implements OnInit, OnDestroy {
|
|
|
40
19
|
formattedValue: any;
|
|
41
20
|
inputMode: any;
|
|
42
21
|
suffix: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
onStateChange(): void;
|
|
47
|
-
checkAndUpdate(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Updates the component when there are changes in the state.
|
|
24
|
+
*/
|
|
48
25
|
updateSelf(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Updates decimal properties based on the provided configuration.
|
|
28
|
+
*
|
|
29
|
+
* @param {Object} configProps - Configuration properties.
|
|
30
|
+
* @param {string} configProps.currencyISOCode - ISO code of the currency.
|
|
31
|
+
* @param {string} configProps.formatter - Formatter type (e.g., 'decimal', 'currency').
|
|
32
|
+
* @param {boolean} configProps.showGroupSeparators - Whether to show group separators.
|
|
33
|
+
*/
|
|
34
|
+
protected updateDecimalProperties(configProps: any): void;
|
|
49
35
|
fieldOnBlur(event: any): void;
|
|
50
|
-
getErrorMessage(): string;
|
|
51
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<DecimalComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DecimalComponent, "app-decimal", never, {
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DecimalComponent, "app-decimal", never, {}, {}, never, never, true, never>;
|
|
53
38
|
}
|
|
54
39
|
export {};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { OnInit,
|
|
2
|
-
import {
|
|
3
|
-
import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
|
|
4
|
-
import { DatapageService } from '../../../_services/datapage.service';
|
|
5
|
-
import { Utils } from '../../../_helpers/utils';
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FieldBase } from '../field.base';
|
|
6
3
|
import { PConnFieldProps } from '../../../_types/PConnProps.interface';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
5
|
interface IOption {
|
|
@@ -19,53 +16,32 @@ interface DropdownProps extends PConnFieldProps {
|
|
|
19
16
|
datasourceMetadata?: any;
|
|
20
17
|
parameters?: any;
|
|
21
18
|
}
|
|
22
|
-
export declare class DropdownComponent implements OnInit, OnDestroy {
|
|
23
|
-
|
|
24
|
-
private cdRef;
|
|
25
|
-
private utils;
|
|
26
|
-
private dataPageService;
|
|
27
|
-
pConn$: typeof PConnect;
|
|
28
|
-
formGroup$: FormGroup;
|
|
29
|
-
angularPConnectData: AngularPConnectData;
|
|
19
|
+
export declare class DropdownComponent extends FieldBase implements OnInit, OnDestroy {
|
|
20
|
+
onRecordChange: EventEmitter<any>;
|
|
30
21
|
configProps$: DropdownProps;
|
|
31
|
-
label$: string;
|
|
32
|
-
value$: string;
|
|
33
|
-
bRequired$: boolean;
|
|
34
|
-
bReadonly$: boolean;
|
|
35
|
-
bDisabled$: boolean;
|
|
36
|
-
bVisible$: boolean;
|
|
37
|
-
displayMode$?: string;
|
|
38
|
-
controlName$: string;
|
|
39
|
-
bHasForm$: boolean;
|
|
40
22
|
options$: IOption[];
|
|
41
|
-
componentReference: string;
|
|
42
|
-
testId: string;
|
|
43
|
-
helperText: string;
|
|
44
|
-
hideLabel: any;
|
|
45
23
|
theDatasource: any[] | null;
|
|
46
|
-
fieldControl: FormControl<string | null>;
|
|
47
|
-
fieldMetadata: any[];
|
|
48
24
|
localeContext: string;
|
|
49
25
|
localeClass: string;
|
|
50
26
|
localeName: string;
|
|
51
27
|
localePath: string;
|
|
52
28
|
localizedValue: string;
|
|
53
|
-
actionsApi: Object;
|
|
54
|
-
propName: string;
|
|
55
|
-
constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils, dataPageService: DatapageService);
|
|
56
|
-
ngOnInit(): void;
|
|
57
29
|
set options(options: IOption[]);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Updates the component when there are changes in the state.
|
|
32
|
+
*/
|
|
61
33
|
updateSelf(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Updates dropdown properties based on the provided configuration.
|
|
36
|
+
* @param configProps - Configuration properties
|
|
37
|
+
*/
|
|
38
|
+
updateDropdownProperties(configProps: any): void;
|
|
62
39
|
getDatapageData(): void;
|
|
63
40
|
getData(dataSource: any, parameters: any, columns: any, context: any, listType: any): void;
|
|
64
41
|
isSelected(buttonValue: string): boolean;
|
|
65
42
|
fieldOnChange(event: any): void;
|
|
66
43
|
getLocalizedOptionValue(opt: IOption): string;
|
|
67
|
-
getErrorMessage(): string;
|
|
68
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, {
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, {}, { "onRecordChange": "onRecordChange"; }, never, never, true, never>;
|
|
70
46
|
}
|
|
71
47
|
export {};
|