@genesislcap/foundation-notifications 14.53.0 → 14.53.1-alpha-afe9ebe.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"toast-launcher.d.ts","sourceRoot":"","sources":["../../../src/toast/toast-launcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;KAMK;AACL,eAAO,MAAM,SAAS,0BAA2B,qBAAqB,WAAW,MAAM,KAAG,IAmFzF,CAAC"}
1
+ {"version":3,"file":"toast-launcher.d.ts","sourceRoot":"","sources":["../../../src/toast/toast-launcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;KAMK;AACL,eAAO,MAAM,SAAS,0BAA2B,qBAAqB,WAAW,MAAM,KAAG,IAuFzF,CAAC"}
@@ -38,15 +38,18 @@ export interface NotificationDataRow {
38
38
  EXPIRY?: null;
39
39
  SENDER?: null;
40
40
  USER_NAME: string;
41
+ TABLE_ENTITY_ID: string;
42
+ TOPIC: string;
41
43
  }
42
44
  /**
43
45
  * Interface for ToastButton
44
46
  * @public
45
47
  */
46
48
  export interface ToastButton {
47
- action({ details, element }: {
49
+ action({ details, elementButton, elementToast, }: {
48
50
  details: NotificationDataRow;
49
- element: HTMLElement;
51
+ elementButton: HTMLElement;
52
+ elementToast: HTMLElement;
50
53
  }): void;
51
54
  condition({ details }?: {
52
55
  details: NotificationDataRow;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzD;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B,kBAAkB,uBAAuB;CAC1C;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SA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const showToast = (notificationStructure, tagName) => {
46
46
  toastBottom = document.createElement('div');
47
47
  toastBottom.setAttribute('slot', 'bottom');
48
48
  notificationStructure.config.toast.buttons.forEach((button) => {
49
- const buttonElement = document.createElement(`${tagPrefix}-button`);
50
- buttonElement.textContent = button.placeholder || 'example placeholder';
51
- buttonElement.addEventListener('click', () => {
49
+ const elementButton = document.createElement(`${tagPrefix}-button`);
50
+ elementButton.textContent = button.placeholder || 'example placeholder';
51
+ elementButton.addEventListener('click', () => {
52
52
  const { details } = notificationStructure.config.toast;
53
53
  if (button.action) {
54
- return button.action({ details, element: buttonElement });
54
+ return button.action({
55
+ details,
56
+ elementButton,
57
+ elementToast: toastNotify,
58
+ });
55
59
  }
56
60
  });
57
61
  if (button.appearance) {
58
- buttonElement.setAttribute('appearance', button.appearance);
62
+ elementButton.setAttribute('appearance', button.appearance);
59
63
  }
60
- toastBottom.appendChild(buttonElement);
64
+ toastBottom.appendChild(elementButton);
61
65
  });
62
66
  }
63
67
  toastNotify.setAttribute('notify', ((_j = (_h = notificationStructure === null || notificationStructure === void 0 ? void 0 : notificationStructure.config) === null || _h === void 0 ? void 0 : _h.toast) === null || _j === void 0 ? void 0 : _j.type) || '');
@@ -1754,6 +1754,60 @@
1754
1754
  "endIndex": 2
1755
1755
  }
1756
1756
  },
1757
+ {
1758
+ "kind": "PropertySignature",
1759
+ "canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#TABLE_ENTITY_ID:member",
1760
+ "docComment": "",
1761
+ "excerptTokens": [
1762
+ {
1763
+ "kind": "Content",
1764
+ "text": "TABLE_ENTITY_ID: "
1765
+ },
1766
+ {
1767
+ "kind": "Content",
1768
+ "text": "string"
1769
+ },
1770
+ {
1771
+ "kind": "Content",
1772
+ "text": ";"
1773
+ }
1774
+ ],
1775
+ "isReadonly": false,
1776
+ "isOptional": false,
1777
+ "releaseTag": "Public",
1778
+ "name": "TABLE_ENTITY_ID",
1779
+ "propertyTypeTokenRange": {
1780
+ "startIndex": 1,
1781
+ "endIndex": 2
1782
+ }
1783
+ },
1784
+ {
1785
+ "kind": "PropertySignature",
1786
+ "canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#TOPIC:member",
1787
+ "docComment": "",
1788
+ "excerptTokens": [
1789
+ {
1790
+ "kind": "Content",
1791
+ "text": "TOPIC: "
1792
+ },
1793
+ {
1794
+ "kind": "Content",
1795
+ "text": "string"
1796
+ },
1797
+ {
1798
+ "kind": "Content",
1799
+ "text": ";"
1800
+ }
1801
+ ],
1802
+ "isReadonly": false,
1803
+ "isOptional": false,
1804
+ "releaseTag": "Public",
1805
+ "name": "TOPIC",
1806
+ "propertyTypeTokenRange": {
1807
+ "startIndex": 1,
1808
+ "endIndex": 2
1809
+ }
1810
+ },
1757
1811
  {
1758
1812
  "kind": "PropertySignature",
1759
1813
  "canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#USER_NAME:member",
@@ -2973,7 +3027,7 @@
2973
3027
  "excerptTokens": [
2974
3028
  {
2975
3029
  "kind": "Content",
2976
- "text": "action({ details, element }: "
3030
+ "text": "action({ details, elementButton, elementToast, }: "
2977
3031
  },
2978
3032
  {
2979
3033
  "kind": "Content",
@@ -2986,7 +3040,16 @@
2986
3040
  },
2987
3041
  {
2988
3042
  "kind": "Content",
2989
- "text": ";\n element: "
3043
+ "text": ";\n elementButton: "
3044
+ },
3045
+ {
3046
+ "kind": "Reference",
3047
+ "text": "HTMLElement",
3048
+ "canonicalReference": "!HTMLElement:interface"
3049
+ },
3050
+ {
3051
+ "kind": "Content",
3052
+ "text": ";\n elementToast: "
2990
3053
  },
2991
3054
  {
2992
3055
  "kind": "Reference",
@@ -3012,17 +3075,17 @@
3012
3075
  ],
3013
3076
  "isOptional": false,
3014
3077
  "returnTypeTokenRange": {
3015
- "startIndex": 7,
3016
- "endIndex": 8
3078
+ "startIndex": 9,
3079
+ "endIndex": 10
3017
3080
  },
3018
3081
  "releaseTag": "Public",
3019
3082
  "overloadIndex": 1,
3020
3083
  "parameters": [
3021
3084
  {
3022
- "parameterName": "{ details, element }",
3085
+ "parameterName": "{ details, elementButton, elementToast, }",
3023
3086
  "parameterTypeTokenRange": {
3024
3087
  "startIndex": 1,
3025
- "endIndex": 6
3088
+ "endIndex": 8
3026
3089
  },
3027
3090
  "isOptional": false
3028
3091
  }
@@ -257,6 +257,8 @@ export declare interface NotificationDataRow {
257
257
  EXPIRY?: null;
258
258
  SENDER?: null;
259
259
  USER_NAME: string;
260
+ TABLE_ENTITY_ID: string;
261
+ TOPIC: string;
260
262
  }
261
263
 
262
264
  /**
@@ -474,9 +476,10 @@ export declare class ToastBuilder {
474
476
  * @public
475
477
  */
476
478
  export declare interface ToastButton {
477
- action({ details, element }: {
479
+ action({ details, elementButton, elementToast, }: {
478
480
  details: NotificationDataRow;
479
- element: HTMLElement;
481
+ elementButton: HTMLElement;
482
+ elementToast: HTMLElement;
480
483
  }): void;
481
484
  condition({ details }?: {
482
485
  details: NotificationDataRow;
@@ -24,5 +24,7 @@ export interface NotificationDataRow
24
24
  | [MESSAGE](./foundation-notifications.notificationdatarow.message.md) | | string | |
25
25
  | [NOTIFY\_SEVERITY](./foundation-notifications.notificationdatarow.notify_severity.md) | | [NotificationSeverity](./foundation-notifications.notificationseverity.md) | |
26
26
  | [SENDER?](./foundation-notifications.notificationdatarow.sender.md) | | null | _(Optional)_ |
27
+ | [TABLE\_ENTITY\_ID](./foundation-notifications.notificationdatarow.table_entity_id.md) | | string | |
28
+ | [TOPIC](./foundation-notifications.notificationdatarow.topic.md) | | string | |
27
29
  | [USER\_NAME](./foundation-notifications.notificationdatarow.user_name.md) | | string | |
28
30
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [NotificationDataRow](./foundation-notifications.notificationdatarow.md) &gt; [TABLE\_ENTITY\_ID](./foundation-notifications.notificationdatarow.table_entity_id.md)
4
+
5
+ ## NotificationDataRow.TABLE\_ENTITY\_ID property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ TABLE_ENTITY_ID: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [NotificationDataRow](./foundation-notifications.notificationdatarow.md) &gt; [TOPIC](./foundation-notifications.notificationdatarow.topic.md)
4
+
5
+ ## NotificationDataRow.TOPIC property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ TOPIC: string;
11
+ ```
@@ -7,9 +7,10 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- action({ details, element }: {
10
+ action({ details, elementButton, elementToast, }: {
11
11
  details: NotificationDataRow;
12
- element: HTMLElement;
12
+ elementButton: HTMLElement;
13
+ elementToast: HTMLElement;
13
14
  }): void;
14
15
  ```
15
16
 
@@ -17,7 +18,7 @@ action({ details, element }: {
17
18
 
18
19
  | Parameter | Type | Description |
19
20
  | --- | --- | --- |
20
- | { details, element } | { details: [NotificationDataRow](./foundation-notifications.notificationdatarow.md)<!-- -->; element: HTMLElement; } | |
21
+ | { details, elementButton, elementToast, } | { details: [NotificationDataRow](./foundation-notifications.notificationdatarow.md)<!-- -->; elementButton: HTMLElement; elementToast: HTMLElement; } | |
21
22
 
22
23
  **Returns:**
23
24
 
@@ -23,6 +23,6 @@ export interface ToastButton
23
23
 
24
24
  | Method | Description |
25
25
  | --- | --- |
26
- | [action({ details, element })](./foundation-notifications.toastbutton.action.md) | |
26
+ | [action({ details, elementButton, elementToast, })](./foundation-notifications.toastbutton.action.md) | |
27
27
  | [condition({ details })](./foundation-notifications.toastbutton.condition.md) | |
28
28
 
@@ -121,6 +121,10 @@ export interface NotificationDataRow {
121
121
  // (undocumented)
122
122
  SENDER?: null;
123
123
  // (undocumented)
124
+ TABLE_ENTITY_ID: string;
125
+ // (undocumented)
126
+ TOPIC: string;
127
+ // (undocumented)
124
128
  USER_NAME: string;
125
129
  }
126
130
 
@@ -232,9 +236,10 @@ export class ToastBuilder {
232
236
  // @public
233
237
  export interface ToastButton {
234
238
  // (undocumented)
235
- action({ details, element }: {
239
+ action({ details, elementButton, elementToast, }: {
236
240
  details: NotificationDataRow;
237
- element: HTMLElement;
241
+ elementButton: HTMLElement;
242
+ elementToast: HTMLElement;
238
243
  }): void;
239
244
  // (undocumented)
240
245
  appearance?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-notifications",
3
3
  "description": "Genesis Foundation UI Notifications Utils",
4
- "version": "14.53.0",
4
+ "version": "14.53.1-alpha-afe9ebe.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,11 +37,11 @@
37
37
  "test:debug": "genx test --debug"
38
38
  },
39
39
  "devDependencies": {
40
- "@genesislcap/foundation-testing": "14.53.0",
41
- "@genesislcap/genx": "14.53.0"
40
+ "@genesislcap/foundation-testing": "14.53.1-alpha-afe9ebe.0",
41
+ "@genesislcap/genx": "14.53.1-alpha-afe9ebe.0"
42
42
  },
43
43
  "dependencies": {
44
- "@genesislcap/foundation-utils": "14.53.0",
44
+ "@genesislcap/foundation-utils": "14.53.1-alpha-afe9ebe.0",
45
45
  "@microsoft/fast-element": "^1.7.0",
46
46
  "tslib": "^2.3.1"
47
47
  },
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "026e0655a3e50a4ab8db54d701c2abcd74c4bf9b"
56
+ "gitHead": "26b12468723f058fc4630b5dafa2b6306117faf0"
57
57
  }