@ieeesa-npm/presentation 0.31.5 → 0.31.6

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.
@@ -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
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.31.5",
3
+ "version": "0.31.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",