@unifylib/ui-lib 1.1.25 → 1.1.27
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/esm2022/lib/base-model/field-info.mjs +3 -1
- package/esm2022/lib/base-model/table-column.interface.mjs +1 -1
- package/esm2022/lib/components/action-comment/action-comment.component.mjs +3 -3
- package/esm2022/lib/components/action-confirmation/action-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +2 -2
- package/esm2022/lib/components/advanced-filter/filter-builder/filter-builder.component.mjs +57 -7
- package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +45 -4
- package/esm2022/lib/components/base-table/base-table.component.mjs +69 -20
- package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +2 -2
- package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +33 -3
- package/esm2022/lib/components/paginator/paginator.component.mjs +32 -3
- package/esm2022/lib/components/report-details-dialog/report-details-dialog.component.mjs +2 -2
- package/esm2022/lib/components/report-form/report-form.component.mjs +2 -2
- package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +19 -4
- package/esm2022/lib/components/shared/action-card/action-card.component.mjs +3 -3
- package/esm2022/lib/components/shared/attachment-uploader/attachment-uploader.component.mjs +6 -4
- package/esm2022/lib/components/shared-list/shared-list.component.mjs +2 -2
- package/fesm2022/iq-ui-lib.mjs +323 -108
- package/fesm2022/iq-ui-lib.mjs.map +1 -1
- package/fesm2022/unifylib-ui-lib.mjs +323 -108
- package/fesm2022/unifylib-ui-lib.mjs.map +1 -1
- package/lib/base-model/field-info.d.ts +1 -0
- package/lib/base-model/table-column.interface.d.ts +2 -0
- package/lib/components/advanced-filter/filter-builder/filter-builder.component.d.ts +13 -2
- package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +2 -0
- package/lib/components/base-table/base-table.component.d.ts +16 -3
- package/lib/components/item-line-editor/item-line-editor.component.d.ts +5 -2
- package/lib/components/paginator/paginator.component.d.ts +8 -1
- package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +5 -1
- package/lib/components/shared/attachment-uploader/attachment-uploader.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -50,5 +50,6 @@ export declare class FieldInfo {
|
|
|
50
50
|
hideLabel?: boolean;
|
|
51
51
|
searchOperator?: "GREATER_THAN_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_EQUAL" | "EQUALS" | "LIKE" | "NOT_EQ" | "IN" | "NOT_NULL";
|
|
52
52
|
showSearchIcon?: boolean;
|
|
53
|
+
multiLevelSearchEnable?: boolean;
|
|
53
54
|
constructor(fieldInfo: FieldInfo);
|
|
54
55
|
}
|
|
@@ -8,14 +8,25 @@ export declare class FilterBuilderComponent implements OnInit, OnDestroy {
|
|
|
8
8
|
filterFields: FieldInfo[];
|
|
9
9
|
pageInfo: PageInfo;
|
|
10
10
|
pendingFilters: FieldFilter[];
|
|
11
|
+
showExportButton: boolean;
|
|
11
12
|
filter: FieldFilter;
|
|
12
13
|
filters: FieldFilter[];
|
|
13
14
|
private searchTimeout;
|
|
14
15
|
private autoApplyTimeout;
|
|
15
|
-
filterInformation: EventEmitter<
|
|
16
|
+
filterInformation: EventEmitter<{
|
|
17
|
+
filters: FieldFilter[];
|
|
18
|
+
searchStr: string;
|
|
19
|
+
}>;
|
|
16
20
|
isEmpty: EventEmitter<boolean>;
|
|
17
21
|
applyFilter: EventEmitter<void>;
|
|
22
|
+
sortByClicked: EventEmitter<string>;
|
|
23
|
+
exportClicked: EventEmitter<string>;
|
|
18
24
|
constructor();
|
|
25
|
+
isMobile(): boolean;
|
|
26
|
+
getSortableColumns(): TableColumn<any>[];
|
|
27
|
+
labelKey(column: TableColumn<any>): string;
|
|
28
|
+
onSortByClick(columnProperty: string): void;
|
|
29
|
+
onExportClick(reportType: string): void;
|
|
19
30
|
ngOnInit(): void;
|
|
20
31
|
ngOnDestroy(): void;
|
|
21
32
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -30,5 +41,5 @@ export declare class FilterBuilderComponent implements OnInit, OnDestroy {
|
|
|
30
41
|
switchToAdvanced(): void;
|
|
31
42
|
private createDefaultFieldFilter;
|
|
32
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterBuilderComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBuilderComponent, "app-filter-builder", never, { "columns": { "alias": "columns"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "pendingFilters": { "alias": "pendingFilters"; "required": false; }; }, { "filterInformation": "filterInformation"; "isEmpty": "isEmpty"; "applyFilter": "applyFilter"; }, never, never, true, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBuilderComponent, "app-filter-builder", never, { "columns": { "alias": "columns"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "pendingFilters": { "alias": "pendingFilters"; "required": false; }; "showExportButton": { "alias": "showExportButton"; "required": false; }; }, { "filterInformation": "filterInformation"; "isEmpty": "isEmpty"; "applyFilter": "applyFilter"; "sortByClicked": "sortByClicked"; "exportClicked": "exportClicked"; }, never, never, true, never>;
|
|
34
45
|
}
|
|
@@ -119,6 +119,8 @@ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDes
|
|
|
119
119
|
checkEquation(field: FieldInfo, $event: Event): void;
|
|
120
120
|
getView(field: any): 'month' | 'year' | 'multi-year';
|
|
121
121
|
setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, field: any): void;
|
|
122
|
+
getAcceptedFileTypes(field: FieldInfo): string | undefined;
|
|
123
|
+
onAttachmentFileSelected(file: File | null, field: FieldInfo): void;
|
|
122
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCanvasComponent, never>;
|
|
123
125
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCanvasComponent, "app-base-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "workflowEditableFields": { "alias": "workflowEditableFields"; "required": false; }; "isWorkflowEditableManaged": { "alias": "isWorkflowEditableManaged"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "emitOnValueChanges": { "alias": "emitOnValueChanges"; "required": false; }; "item": { "alias": "item"; "required": false; }; "equationSuggestedFields": { "alias": "equationSuggestedFields"; "required": false; }; "currentEquationValue": { "alias": "currentEquationValue"; "required": false; "isSignal": true; }; }, { "attachmentEmitter": "attachmentEmitter"; "actionEmitter": "actionEmitter"; "formUpdated": "formUpdated"; "hyperTextEvent": "hyperTextEvent"; "currentEquationValue": "currentEquationValueChange"; }, never, never, true, never>;
|
|
124
126
|
}
|
|
@@ -45,6 +45,7 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
45
45
|
pagesCount: number;
|
|
46
46
|
pageIndex: number;
|
|
47
47
|
pageSize: number;
|
|
48
|
+
mobileDisplayedItems: number;
|
|
48
49
|
private selectedStatusFilter;
|
|
49
50
|
advancedAppliedFilter: any[];
|
|
50
51
|
pendingFilters: any[];
|
|
@@ -53,6 +54,8 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
53
54
|
private timer;
|
|
54
55
|
pageInfo: PageInfo;
|
|
55
56
|
enablePagination: boolean;
|
|
57
|
+
mobilePageSize: number;
|
|
58
|
+
mobileLoadMoreIncrement: number;
|
|
56
59
|
data?: MatTableDataSource<any>;
|
|
57
60
|
listAction: ButtonActionSettings[];
|
|
58
61
|
extraActions: ButtonActionSettings[];
|
|
@@ -78,6 +81,7 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
78
81
|
listActionClicked: EventEmitter<{
|
|
79
82
|
action: ButtonActionSettings;
|
|
80
83
|
row: any;
|
|
84
|
+
isPending: boolean;
|
|
81
85
|
}>;
|
|
82
86
|
showDialog: EventEmitter<any>;
|
|
83
87
|
usedWorkflow: Workflow;
|
|
@@ -91,6 +95,8 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
91
95
|
constructor(backendService: BackendService, translateService: TranslateService, shareDataService: ShareDataService, securityManager: any, router: Router);
|
|
92
96
|
ngOnDestroy(): void;
|
|
93
97
|
ngOnInit(): void;
|
|
98
|
+
private isMobile;
|
|
99
|
+
private initializeMobilePageSize;
|
|
94
100
|
onPageChange(event: number): void;
|
|
95
101
|
extractFieldName(element: any, property: string): any;
|
|
96
102
|
get visibleColumns(): string[];
|
|
@@ -101,6 +107,7 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
101
107
|
sortState: any;
|
|
102
108
|
getNext(pageIndex: number): void;
|
|
103
109
|
onPageSizeChange(event: number): void;
|
|
110
|
+
onLoadMore(itemsToLoad: number): void;
|
|
104
111
|
private loadData;
|
|
105
112
|
getStatusDescription(element: any): any;
|
|
106
113
|
getStateType(element: any): any;
|
|
@@ -134,8 +141,10 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
134
141
|
shouldRenderAsHyperLink(element: any): boolean;
|
|
135
142
|
onSortAction($event: Sort): void;
|
|
136
143
|
shouldShowButton(element: any): boolean;
|
|
137
|
-
|
|
138
|
-
|
|
144
|
+
storePendingFilters($event: {
|
|
145
|
+
filters: FieldFilter[];
|
|
146
|
+
searchStr: string;
|
|
147
|
+
}): void;
|
|
139
148
|
applyPendingFilters(): void;
|
|
140
149
|
handleFilterEmpty($event: boolean): void;
|
|
141
150
|
resetData($event: boolean): void;
|
|
@@ -144,6 +153,10 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
|
|
|
144
153
|
getDisplayTitle(): string;
|
|
145
154
|
getDisplaySubtitle(): string;
|
|
146
155
|
buttonClickedEvent($event: ButtonActionSettings): void;
|
|
156
|
+
getMobileCardIdColumn(): TableColumn<any> | undefined;
|
|
157
|
+
getMobileCardStatusColumn(): TableColumn<any> | undefined;
|
|
158
|
+
getMobileCardColumns(): TableColumn<any>[];
|
|
159
|
+
labelKeyByValue(column: TableColumn<any> | undefined, row: any): string;
|
|
147
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundSvgPath": { "alias": "noDataFoundSvgPath"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "noResultSvgPath": { "alias": "noResultSvgPath"; "required": false; }; "noResultTitle": { "alias": "noResultTitle"; "required": false; }; "noResultSubtitle": { "alias": "noResultSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "data": { "alias": "data"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "extraActions": { "alias": "extraActions"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "reportRequest": { "alias": "reportRequest"; "required": false; }; "separateEndpointData": { "alias": "separateEndpointData"; "required": false; }; "manageablePages": { "alias": "manageablePages"; "required": false; }; "totalPagesCount": { "alias": "totalPagesCount"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "customizedData": { "alias": "customizedData"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "pageChange": "pageChange"; "userAction": "userAction"; "hyperLinkAction": "hyperLinkAction"; "extraAction": "extraAction"; "selectedColumn": "selectedColumn"; "listActionClicked": "listActionClicked"; "showDialog": "showDialog"; "clickRoutePage": "clickRoutePage"; }, never, never, true, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundSvgPath": { "alias": "noDataFoundSvgPath"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "noResultSvgPath": { "alias": "noResultSvgPath"; "required": false; }; "noResultTitle": { "alias": "noResultTitle"; "required": false; }; "noResultSubtitle": { "alias": "noResultSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "mobilePageSize": { "alias": "mobilePageSize"; "required": false; }; "mobileLoadMoreIncrement": { "alias": "mobileLoadMoreIncrement"; "required": false; }; "data": { "alias": "data"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "extraActions": { "alias": "extraActions"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "reportRequest": { "alias": "reportRequest"; "required": false; }; "separateEndpointData": { "alias": "separateEndpointData"; "required": false; }; "manageablePages": { "alias": "manageablePages"; "required": false; }; "totalPagesCount": { "alias": "totalPagesCount"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "customizedData": { "alias": "customizedData"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "pageChange": "pageChange"; "userAction": "userAction"; "hyperLinkAction": "hyperLinkAction"; "extraAction": "extraAction"; "selectedColumn": "selectedColumn"; "listActionClicked": "listActionClicked"; "showDialog": "showDialog"; "clickRoutePage": "clickRoutePage"; }, never, never, true, never>;
|
|
149
162
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FieldInfo, PageInfo } from "../../base-model";
|
|
3
3
|
import { FormGroup } from "@angular/forms";
|
|
4
4
|
import { LineItem } from "../../base-model/line-item.model";
|
|
5
5
|
import { ItemsTotal } from "../../base-model/items-total.model";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ItemLineEditorComponent implements OnChanges {
|
|
7
|
+
export declare class ItemLineEditorComponent implements OnChanges, OnInit {
|
|
8
8
|
noDataFoundIcon: string;
|
|
9
9
|
noDataFoundTitle: string;
|
|
10
10
|
noDataFoundSubtitle: string;
|
|
@@ -35,6 +35,9 @@ export declare class ItemLineEditorComponent implements OnChanges {
|
|
|
35
35
|
formRefs: (FormGroup | undefined)[];
|
|
36
36
|
editing: boolean[];
|
|
37
37
|
noDataFound: boolean;
|
|
38
|
+
isMobile(): boolean;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
private applyMobileFieldModifications;
|
|
38
41
|
get headerFields(): FieldInfo[];
|
|
39
42
|
get hasInvalidEditingForm(): boolean;
|
|
40
43
|
get canAddNew(): boolean;
|
|
@@ -7,8 +7,11 @@ export declare class PaginatorComponent implements OnInit, OnChanges {
|
|
|
7
7
|
totalItems: number;
|
|
8
8
|
pageSize: number;
|
|
9
9
|
pageSizeOptions: number[];
|
|
10
|
+
mobileLoadMoreIncrement: number;
|
|
11
|
+
displayedItems: number;
|
|
10
12
|
pageChange: EventEmitter<number>;
|
|
11
13
|
pageSizeChange: EventEmitter<number>;
|
|
14
|
+
loadMore: EventEmitter<number>;
|
|
12
15
|
currentDirection: 'ltr' | 'rtl';
|
|
13
16
|
constructor(directionality: Directionality);
|
|
14
17
|
ngOnInit(): void;
|
|
@@ -23,7 +26,11 @@ export declare class PaginatorComponent implements OnInit, OnChanges {
|
|
|
23
26
|
getPageNumbers(): (number | string)[];
|
|
24
27
|
isEllipsis(page: number | string): boolean;
|
|
25
28
|
isActive(page: number | string): boolean;
|
|
29
|
+
onLoadMore(): void;
|
|
30
|
+
get canLoadMore(): boolean;
|
|
31
|
+
get currentPageNumber(): number;
|
|
32
|
+
get totalPageNumbers(): number;
|
|
26
33
|
protected readonly Math: Math;
|
|
27
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "app-paginator", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "app-paginator", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "mobileLoadMoreIncrement": { "alias": "mobileLoadMoreIncrement"; "required": false; }; "displayedItems": { "alias": "displayedItems"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "loadMore": "loadMore"; }, never, never, true, never>;
|
|
29
36
|
}
|
|
@@ -10,7 +10,9 @@ export declare class SectionFormCanvasComponent {
|
|
|
10
10
|
hideBackButton: boolean;
|
|
11
11
|
item: any;
|
|
12
12
|
title: string;
|
|
13
|
+
subtitle: string;
|
|
13
14
|
isTranslateTitle: boolean;
|
|
15
|
+
isTranslateSubtitle: boolean;
|
|
14
16
|
key: number;
|
|
15
17
|
hideToggle: boolean;
|
|
16
18
|
isExpanded: boolean;
|
|
@@ -23,6 +25,8 @@ export declare class SectionFormCanvasComponent {
|
|
|
23
25
|
formUpdated($event: any): void;
|
|
24
26
|
toggleExpand(): void;
|
|
25
27
|
onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
|
|
28
|
+
getDownloadButton(): ButtonActionSettings | undefined;
|
|
29
|
+
getMenuButtons(): ButtonActionSettings[];
|
|
26
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionFormCanvasComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never,
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "isTranslateSubtitle": { "alias": "isTranslateSubtitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, ["*"], true, never>;
|
|
28
32
|
}
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class AttachmentUploaderComponent {
|
|
4
4
|
fileUpload: ElementRef<HTMLInputElement>;
|
|
5
5
|
fileSelected: EventEmitter<File>;
|
|
6
|
+
acceptedTypes?: string;
|
|
6
7
|
selectedFile: File | null;
|
|
7
8
|
isDragOver: boolean;
|
|
8
9
|
triggerAttachmentUpload(): void;
|
|
@@ -12,5 +13,5 @@ export declare class AttachmentUploaderComponent {
|
|
|
12
13
|
onDragLeave(event: DragEvent): void;
|
|
13
14
|
onDrop(event: DragEvent): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentUploaderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, {}, { "fileSelected": "fileSelected"; }, never, never, true, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, { "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; }, { "fileSelected": "fileSelected"; }, never, never, true, never>;
|
|
16
17
|
}
|