@cqa-lib/cqa-ui 1.1.445 → 1.1.446
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/new-version-history-detail/new-version-history-detail.component.mjs +11 -3
- package/esm2020/lib/version-history/version-history-restore-confirm/version-history-restore-confirm.component.mjs +3 -42
- package/fesm2015/cqa-lib-cqa-ui.mjs +12 -43
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +12 -43
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/version-history/new-version-history-detail/new-version-history-detail.component.d.ts +13 -1
- package/lib/version-history/version-history-restore-confirm/version-history-restore-confirm.component.d.ts +0 -8
- package/package.json +1 -1
- package/styles.css +1 -1
package/lib/version-history/new-version-history-detail/new-version-history-detail.component.d.ts
CHANGED
|
@@ -13,6 +13,18 @@ export declare class NewVersionHistoryDetailComponent {
|
|
|
13
13
|
getStepActionHtmlFn: (step: any) => string;
|
|
14
14
|
hiddenFields: string[];
|
|
15
15
|
parseFieldAsTableFn: (field: string, value: any, stepData?: any) => Record<string, any> | null;
|
|
16
|
+
/** Return a badge config to render before the value text, or null for no badge. */
|
|
17
|
+
getValueBadgeConfigFn: (value: any, field: string, stepData?: any) => {
|
|
18
|
+
label: string;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
textColor: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
} | null;
|
|
23
|
+
/** Return { oldHtml, newHtml } with inline diff markup, or null to use plain text rendering. */
|
|
24
|
+
getInlineDiffFn: (oldValue: any, newValue: any, field: string, oldStepData?: any, newStepData?: any) => {
|
|
25
|
+
oldHtml: string;
|
|
26
|
+
newHtml: string;
|
|
27
|
+
} | null;
|
|
16
28
|
compare: EventEmitter<void>;
|
|
17
29
|
restore: EventEmitter<void>;
|
|
18
30
|
get hasTestCaseChanges(): boolean;
|
|
@@ -39,5 +51,5 @@ export declare class NewVersionHistoryDetailComponent {
|
|
|
39
51
|
trackByStepId(_index: number, step: any): number;
|
|
40
52
|
private prioritizeFields;
|
|
41
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewVersionHistoryDetailComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewVersionHistoryDetailComponent, "cqa-new-version-history-detail", never, { "selectedVersion": "selectedVersion"; "selectedIsCurrent": "selectedIsCurrent"; "isRestoring": "isRestoring"; "getAuthorLabelFn": "getAuthorLabelFn"; "getFieldLabelFn": "getFieldLabelFn"; "getStepPrefixFn": "getStepPrefixFn"; "getCategoryLabelFn": "getCategoryLabelFn"; "formatDisplayValueFn": "formatDisplayValueFn"; "getStepActionHtmlFn": "getStepActionHtmlFn"; "hiddenFields": "hiddenFields"; "parseFieldAsTableFn": "parseFieldAsTableFn"; }, { "compare": "compare"; "restore": "restore"; }, never, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewVersionHistoryDetailComponent, "cqa-new-version-history-detail", never, { "selectedVersion": "selectedVersion"; "selectedIsCurrent": "selectedIsCurrent"; "isRestoring": "isRestoring"; "getAuthorLabelFn": "getAuthorLabelFn"; "getFieldLabelFn": "getFieldLabelFn"; "getStepPrefixFn": "getStepPrefixFn"; "getCategoryLabelFn": "getCategoryLabelFn"; "formatDisplayValueFn": "formatDisplayValueFn"; "getStepActionHtmlFn": "getStepActionHtmlFn"; "hiddenFields": "hiddenFields"; "parseFieldAsTableFn": "parseFieldAsTableFn"; "getValueBadgeConfigFn": "getValueBadgeConfigFn"; "getInlineDiffFn": "getInlineDiffFn"; }, { "compare": "compare"; "restore": "restore"; }, never, never>;
|
|
43
55
|
}
|
|
@@ -7,14 +7,6 @@ export declare class VersionHistoryRestoreConfirmComponent {
|
|
|
7
7
|
getChangeHeadlineFn: ((change: any) => string) | null;
|
|
8
8
|
getRestoreToLabel(): string;
|
|
9
9
|
formatDate(date: Date): string;
|
|
10
|
-
getChangeInfo(change: any): {
|
|
11
|
-
sentence: string;
|
|
12
|
-
fromDisplay: string;
|
|
13
|
-
toDisplay: string;
|
|
14
|
-
op: string;
|
|
15
|
-
};
|
|
16
|
-
private fallbackSentence;
|
|
17
|
-
private toDisplayHtml;
|
|
18
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<VersionHistoryRestoreConfirmComponent, never>;
|
|
19
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryRestoreConfirmComponent, "cqa-version-history-restore-confirm", never, { "restoringToVersion": "restoringToVersion"; "currentVersionNumber": "currentVersionNumber"; "newVersionNumber": "newVersionNumber"; "authorName": "authorName"; "getChangeHeadlineFn": "getChangeHeadlineFn"; }, {}, never, never>;
|
|
20
12
|
}
|