@cqa-lib/cqa-ui 1.1.436 → 1.1.437
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/esm2020/lib/version-history/version-history-compare/version-history-compare.component.mjs +5 -11
- package/esm2020/lib/version-history/version-history-detail/version-history-detail.component.mjs +3 -3
- package/esm2020/lib/version-history/version-history-restore-confirm/version-history-restore-confirm.component.mjs +18 -49
- package/fesm2015/cqa-lib-cqa-ui.mjs +23 -60
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +23 -60
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/version-history/version-history-compare/version-history-compare.component.d.ts +3 -4
- package/lib/version-history/version-history-detail/version-history-detail.component.d.ts +1 -1
- package/lib/version-history/version-history-restore-confirm/version-history-restore-confirm.component.d.ts +2 -3
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ export declare class VersionHistoryCompareComponent implements OnChanges {
|
|
|
5
5
|
versions: any[];
|
|
6
6
|
compareFromId: number | null;
|
|
7
7
|
compareToId: number | null;
|
|
8
|
-
formatValueHtmlFn: (value: any) => string;
|
|
9
|
-
|
|
8
|
+
formatValueHtmlFn: (value: any, field?: string) => string;
|
|
9
|
+
getFieldLabelFn: (field: string) => string;
|
|
10
10
|
swapVersions: EventEmitter<void>;
|
|
11
11
|
closeComparison: EventEmitter<void>;
|
|
12
12
|
compareFromChange: EventEmitter<number>;
|
|
@@ -17,8 +17,7 @@ export declare class VersionHistoryCompareComponent implements OnChanges {
|
|
|
17
17
|
changes: any[];
|
|
18
18
|
}>;
|
|
19
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
getFieldLabel(field: string): string;
|
|
21
20
|
private buildGroupedStepChanges;
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<VersionHistoryCompareComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryCompareComponent, "cqa-version-history-compare", never, { "compareResult": "compareResult"; "versions": "versions"; "compareFromId": "compareFromId"; "compareToId": "compareToId"; "formatValueHtmlFn": "formatValueHtmlFn"; "
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryCompareComponent, "cqa-version-history-compare", never, { "compareResult": "compareResult"; "versions": "versions"; "compareFromId": "compareFromId"; "compareToId": "compareToId"; "formatValueHtmlFn": "formatValueHtmlFn"; "getFieldLabelFn": "getFieldLabelFn"; }, { "swapVersions": "swapVersions"; "closeComparison": "closeComparison"; "compareFromChange": "compareFromChange"; "compareToChange": "compareToChange"; }, never, never>;
|
|
24
23
|
}
|
|
@@ -22,7 +22,7 @@ export declare class VersionHistoryDetailComponent {
|
|
|
22
22
|
borderColor: string;
|
|
23
23
|
};
|
|
24
24
|
getChangeHeadlineFn: (change: any) => string;
|
|
25
|
-
formatValueHtmlFn: (value: any) => string;
|
|
25
|
+
formatValueHtmlFn: (value: any, field?: string) => string;
|
|
26
26
|
trackByGroupCategoryFn: (index: number, group: {
|
|
27
27
|
category: string;
|
|
28
28
|
}) => string;
|
|
@@ -5,7 +5,6 @@ export declare class VersionHistoryRestoreConfirmComponent {
|
|
|
5
5
|
newVersionNumber: number;
|
|
6
6
|
authorName: string;
|
|
7
7
|
getChangeHeadlineFn: ((change: any) => string) | null;
|
|
8
|
-
fieldLabelMap: Record<string, string>;
|
|
9
8
|
getRestoreToLabel(): string;
|
|
10
9
|
formatDate(date: Date): string;
|
|
11
10
|
getChangeInfo(change: any): {
|
|
@@ -14,8 +13,8 @@ export declare class VersionHistoryRestoreConfirmComponent {
|
|
|
14
13
|
toDisplay: string;
|
|
15
14
|
op: string;
|
|
16
15
|
};
|
|
17
|
-
private
|
|
16
|
+
private fallbackSentence;
|
|
18
17
|
private toDisplayHtml;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<VersionHistoryRestoreConfirmComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryRestoreConfirmComponent, "cqa-version-history-restore-confirm", never, { "restoringToVersion": "restoringToVersion"; "currentVersionNumber": "currentVersionNumber"; "newVersionNumber": "newVersionNumber"; "authorName": "authorName"; "getChangeHeadlineFn": "getChangeHeadlineFn";
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryRestoreConfirmComponent, "cqa-version-history-restore-confirm", never, { "restoringToVersion": "restoringToVersion"; "currentVersionNumber": "currentVersionNumber"; "newVersionNumber": "newVersionNumber"; "authorName": "authorName"; "getChangeHeadlineFn": "getChangeHeadlineFn"; }, {}, never, never>;
|
|
21
20
|
}
|