@ieeesa-npm/presentation 0.31.5 → 0.31.7
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/components/policy-confirmation-dialog/policy-confirmation-dialog.component.mjs +27 -4
- package/esm2022/lib/components/text-area/text-area.component.mjs +6 -2
- package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +6 -1
- package/esm2022/lib/models/policy-confirmation-dialog.model.mjs +1 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +34 -3
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.d.ts +10 -0
- package/lib/components/text-area/text-area.component.d.ts +2 -1
- package/lib/models/policy-confirmation-dialog.model.d.ts +4 -0
- package/package.json +1 -1
|
@@ -15,7 +15,17 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export declare class PolicyConfirmationDialogComponent {
|
|
16
16
|
data: PolicyConfirmationDialogData;
|
|
17
17
|
private dialogRef;
|
|
18
|
+
/** Text before the hyperlink */
|
|
19
|
+
bodyTextBefore: string;
|
|
20
|
+
/** Text after the hyperlink */
|
|
21
|
+
bodyTextAfter: string;
|
|
18
22
|
constructor(data: PolicyConfirmationDialogData, dialogRef: MatDialogRef<PolicyConfirmationDialogComponent>);
|
|
23
|
+
/**
|
|
24
|
+
* Splits the bodyText around the policyLinkText so the template can render
|
|
25
|
+
* the link portion as a hyperlink.
|
|
26
|
+
* @memberof PolicyConfirmationDialogComponent
|
|
27
|
+
*/
|
|
28
|
+
private splitBodyText;
|
|
19
29
|
/**
|
|
20
30
|
* Handles the Confirm button click — closes the dialog returning `true`.
|
|
21
31
|
* @memberof PolicyConfirmationDialogComponent
|
|
@@ -11,6 +11,7 @@ export declare class TextAreaComponent implements OnInit, FormField {
|
|
|
11
11
|
constants: any;
|
|
12
12
|
leftCharCount: number;
|
|
13
13
|
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
14
|
+
inputValueChange: EventEmitter<string>;
|
|
14
15
|
/**
|
|
15
16
|
* Initializes the leftCharCount and remainingCharsLeftMessage
|
|
16
17
|
* @memberof TextAreaComponent
|
|
@@ -28,5 +29,5 @@ export declare class TextAreaComponent implements OnInit, FormField {
|
|
|
28
29
|
*/
|
|
29
30
|
onSupportTextLinkClick(event: LinkEventEmitType): void;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ieeesa-text-area", never, { "remainingCharsLeftMessage": { "alias": "remainingCharsLeftMessage"; "required": false; }; }, { "supportTextLinkClick": "supportTextLinkClick"; }, never, never, true, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ieeesa-text-area", never, { "remainingCharsLeftMessage": { "alias": "remainingCharsLeftMessage"; "required": false; }; }, { "supportTextLinkClick": "supportTextLinkClick"; "inputValueChange": "inputValueChange"; }, never, never, true, never>;
|
|
32
33
|
}
|
|
@@ -6,4 +6,8 @@ export interface PolicyConfirmationDialogData {
|
|
|
6
6
|
bodyText: string;
|
|
7
7
|
cancelLabel: string;
|
|
8
8
|
confirmLabel: string;
|
|
9
|
+
/** Optional URL that turns the policyLinkText portion of bodyText into a hyperlink */
|
|
10
|
+
policyUrl?: string;
|
|
11
|
+
/** The substring within bodyText that should become a hyperlink (requires policyUrl) */
|
|
12
|
+
policyLinkText?: string;
|
|
9
13
|
}
|