@genesislcap/foundation-alerts 14.408.0 → 14.409.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.
- package/README.md +7 -17
- package/package.json +14 -14
- package/docs/api/foundation-alerts.alertconfig.designsystemprefix.md +0 -18
- package/docs/api/foundation-alerts.alertconfig.md +0 -78
- package/docs/api/foundation-alerts.alertconfig.templateoptions.md +0 -18
- package/docs/api/foundation-alerts.configure.md +0 -77
- package/docs/api/foundation-alerts.defaultalertconfig.md +0 -13
- package/docs/api/foundation-alerts.foundationalerts.alertconfig.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.alertedititemdata.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.connect.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.connectedcallback.md +0 -18
- package/docs/api/foundation-alerts.foundationalerts.criteriafromfilters.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.criteriafromfilterschanged.md +0 -18
- package/docs/api/foundation-alerts.foundationalerts.datasource.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.datasubscription.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.delete.md +0 -53
- package/docs/api/foundation-alerts.foundationalerts.disconnectedcallback.md +0 -18
- package/docs/api/foundation-alerts.foundationalerts.displaystate.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.filters.md +0 -20
- package/docs/api/foundation-alerts.foundationalerts.handleaddalertaction.md +0 -18
- package/docs/api/foundation-alerts.foundationalerts.handleeditalertaction.md +0 -53
- package/docs/api/foundation-alerts.foundationalerts.items.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.md +0 -351
- package/docs/api/foundation-alerts.foundationalerts.ready.md +0 -14
- package/docs/api/foundation-alerts.foundationalerts.tooglestatus.md +0 -53
- package/docs/api/foundation-alerts.foundationalertsstyles.md +0 -12
- package/docs/api/foundation-alerts.foundationalertstemplate.md +0 -12
- package/docs/api/foundation-alerts.md +0 -141
- package/docs/api/foundation-alerts.zeroalerts.md +0 -39
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -109
package/README.md
CHANGED
|
@@ -1,35 +1,25 @@
|
|
|
1
|
-
#
|
|
2
|
-
`foundation-alerts` is a Micro-Frontend that is used for managing a list of alert rules. It enables users to create, edit, delete, disable and view alerts rules.
|
|
3
|
-
[API](./docs/api/index.md)
|
|
4
|
-
`foundation-alerts` provides several exports to promote reuse and extensibility at various levels. These include but are
|
|
5
|
-
not limited to:
|
|
1
|
+
# @genesislcap/foundation-alerts
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
* `configure`: A customisation hook for the base micro frontend that integrates it with your design system of choice.
|
|
3
|
+
Documentation for this package is published on the Genesis docs site:
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
**Docs: [Toast notifications](https://docs.genesis.global/docs/develop/client-capabilities/toast-notifications/)**
|
|
11
6
|
|
|
12
|
-
|
|
7
|
+
## Installation
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
|
|
15
10
|
|
|
16
11
|
```json
|
|
17
12
|
{
|
|
18
|
-
...
|
|
19
13
|
"dependencies": {
|
|
20
|
-
...
|
|
21
14
|
"@genesislcap/foundation-alerts": "latest"
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
...
|
|
15
|
+
}
|
|
25
16
|
}
|
|
26
17
|
```
|
|
27
18
|
|
|
28
|
-
## [API Docs](./docs/api/index.md)
|
|
29
|
-
|
|
30
19
|
## License
|
|
31
20
|
|
|
32
21
|
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
|
|
33
22
|
|
|
34
23
|
### Licensed components
|
|
24
|
+
|
|
35
25
|
Genesis low-code platform
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-alerts",
|
|
3
3
|
"description": "Genesis Foundation Alerts",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.409.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-alerts.d.ts",
|
|
@@ -71,20 +71,20 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@genesislcap/foundation-testing": "14.
|
|
75
|
-
"@genesislcap/genx": "14.
|
|
76
|
-
"@genesislcap/rollup-builder": "14.
|
|
77
|
-
"@genesislcap/ts-builder": "14.
|
|
78
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
79
|
-
"@genesislcap/vite-builder": "14.
|
|
80
|
-
"@genesislcap/webpack-builder": "14.
|
|
74
|
+
"@genesislcap/foundation-testing": "14.409.0",
|
|
75
|
+
"@genesislcap/genx": "14.409.0",
|
|
76
|
+
"@genesislcap/rollup-builder": "14.409.0",
|
|
77
|
+
"@genesislcap/ts-builder": "14.409.0",
|
|
78
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0",
|
|
79
|
+
"@genesislcap/vite-builder": "14.409.0",
|
|
80
|
+
"@genesislcap/webpack-builder": "14.409.0"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@genesislcap/foundation-comms": "14.
|
|
84
|
-
"@genesislcap/foundation-logger": "14.
|
|
85
|
-
"@genesislcap/foundation-ui": "14.
|
|
86
|
-
"@genesislcap/foundation-utils": "14.
|
|
87
|
-
"@genesislcap/foundation-zero": "14.
|
|
83
|
+
"@genesislcap/foundation-comms": "14.409.0",
|
|
84
|
+
"@genesislcap/foundation-logger": "14.409.0",
|
|
85
|
+
"@genesislcap/foundation-ui": "14.409.0",
|
|
86
|
+
"@genesislcap/foundation-utils": "14.409.0",
|
|
87
|
+
"@genesislcap/foundation-zero": "14.409.0",
|
|
88
88
|
"@microsoft/fast-components": "2.30.6",
|
|
89
89
|
"@microsoft/fast-element": "1.14.0",
|
|
90
90
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"access": "public"
|
|
102
102
|
},
|
|
103
103
|
"customElements": "dist/custom-elements.json",
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
|
|
105
105
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [AlertConfig](./foundation-alerts.alertconfig.md) > [designSystemPrefix](./foundation-alerts.alertconfig.designsystemprefix.md)
|
|
4
|
-
|
|
5
|
-
## AlertConfig.designSystemPrefix property
|
|
6
|
-
|
|
7
|
-
Design System prefix for foundation-form
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
designSystemPrefix: string;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Used by foundation-form to specify the design system used by the form elements
|
|
18
|
-
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [AlertConfig](./foundation-alerts.alertconfig.md)
|
|
4
|
-
|
|
5
|
-
## AlertConfig interface
|
|
6
|
-
|
|
7
|
-
AlertConfig DI interface.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface AlertConfig extends PartialFASTElementDefinition
|
|
13
|
-
```
|
|
14
|
-
**Extends:** PartialFASTElementDefinition
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Property
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Modifiers
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th><th>
|
|
34
|
-
|
|
35
|
-
Description
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</th></tr></thead>
|
|
39
|
-
<tbody><tr><td>
|
|
40
|
-
|
|
41
|
-
[designSystemPrefix](./foundation-alerts.alertconfig.designsystemprefix.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
string
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
Design System prefix for foundation-form
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td></tr>
|
|
58
|
-
<tr><td>
|
|
59
|
-
|
|
60
|
-
[templateOptions](./foundation-alerts.alertconfig.templateoptions.md)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</td><td>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
TemplateOptions
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
Template options.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</td></tr>
|
|
77
|
-
</tbody></table>
|
|
78
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [AlertConfig](./foundation-alerts.alertconfig.md) > [templateOptions](./foundation-alerts.alertconfig.templateoptions.md)
|
|
4
|
-
|
|
5
|
-
## AlertConfig.templateOptions property
|
|
6
|
-
|
|
7
|
-
Template options.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
templateOptions: TemplateOptions;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Used by host applications to assign MF template options and subcomponent tags to align with the host design system.
|
|
18
|
-
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [configure](./foundation-alerts.configure.md)
|
|
4
|
-
|
|
5
|
-
## configure() function
|
|
6
|
-
|
|
7
|
-
configure.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function configure(config: Partial<AlertConfig>): Promise<typeof import("../main").FoundationAlerts>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
config
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
Partial<[AlertConfig](./foundation-alerts.alertconfig.md)<!-- -->>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
A partial AlertConfig.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<typeof import("../main").[FoundationAlerts](./foundation-alerts.foundationalerts.md)<!-- -->>
|
|
54
|
-
|
|
55
|
-
## Remarks
|
|
56
|
-
|
|
57
|
-
Configure the alert micro frontend for host app integration.
|
|
58
|
-
|
|
59
|
-
## Example
|
|
60
|
-
|
|
61
|
-
Providing template options to align to your host application.
|
|
62
|
-
|
|
63
|
-
```ts
|
|
64
|
-
|
|
65
|
-
const { configure } = await import('@genesislcap/foundation-alerts/config'); // < import from the subpath
|
|
66
|
-
return configure({
|
|
67
|
-
name: `nexus-app-alerts`,
|
|
68
|
-
// These will be merged with the packages `defaultTemplateOptions`. You will need to have these components registered in your application.
|
|
69
|
-
templateOptions: {
|
|
70
|
-
button: 'nexus-button',
|
|
71
|
-
checkbox: 'nexus-checkbox-next',
|
|
72
|
-
provider: 'template',
|
|
73
|
-
},
|
|
74
|
-
});
|
|
75
|
-
},
|
|
76
|
-
```
|
|
77
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [defaultAlertConfig](./foundation-alerts.defaultalertconfig.md)
|
|
4
|
-
|
|
5
|
-
## defaultAlertConfig variable
|
|
6
|
-
|
|
7
|
-
Default AlertConfig DI implementation.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
defaultAlertConfig: AlertConfig
|
|
13
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [alertConfig](./foundation-alerts.foundationalerts.alertconfig.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.alertConfig property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
alertConfig: AlertConfig;
|
|
14
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [alertEditItemData](./foundation-alerts.foundationalerts.alertedititemdata.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.alertEditItemData property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
alertEditItemData: AlertRule;
|
|
14
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [connect](./foundation-alerts.foundationalerts.connect.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.connect property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
connect: Connect;
|
|
14
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [connectedCallback](./foundation-alerts.foundationalerts.connectedcallback.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.connectedCallback() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
connectedCallback(): Promise<void>;
|
|
14
|
-
```
|
|
15
|
-
**Returns:**
|
|
16
|
-
|
|
17
|
-
Promise<void>
|
|
18
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [criteriaFromFilters](./foundation-alerts.foundationalerts.criteriafromfilters.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.criteriaFromFilters property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
criteriaFromFilters: Map<string, string>;
|
|
14
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [criteriaFromFiltersChanged](./foundation-alerts.foundationalerts.criteriafromfilterschanged.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.criteriaFromFiltersChanged() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
criteriaFromFiltersChanged(): void;
|
|
14
|
-
```
|
|
15
|
-
**Returns:**
|
|
16
|
-
|
|
17
|
-
void
|
|
18
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [datasource](./foundation-alerts.foundationalerts.datasource.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.datasource property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
datasource: Datasource;
|
|
14
|
-
```
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [dataSubscription](./foundation-alerts.foundationalerts.datasubscription.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.dataSubscription property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
dataSubscription: Subscription;
|
|
14
|
-
```
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [delete](./foundation-alerts.foundationalerts.delete.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.delete() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
delete(id: AlertRuleRow['DYNAMIC_NOTIFY_RULE_ID']): Promise<Message>;
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Parameter
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Type
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Description
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th></tr></thead>
|
|
34
|
-
<tbody><tr><td>
|
|
35
|
-
|
|
36
|
-
id
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</td><td>
|
|
40
|
-
|
|
41
|
-
AlertRuleRow\['DYNAMIC\_NOTIFY\_RULE\_ID'\]
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td></tr>
|
|
48
|
-
</tbody></table>
|
|
49
|
-
|
|
50
|
-
**Returns:**
|
|
51
|
-
|
|
52
|
-
Promise<Message>
|
|
53
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [disconnectedCallback](./foundation-alerts.foundationalerts.disconnectedcallback.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.disconnectedCallback() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
disconnectedCallback(): void;
|
|
14
|
-
```
|
|
15
|
-
**Returns:**
|
|
16
|
-
|
|
17
|
-
void
|
|
18
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [displayState](./foundation-alerts.foundationalerts.displaystate.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.displayState property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
displayState: displayState;
|
|
14
|
-
```
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [filters](./foundation-alerts.foundationalerts.filters.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.filters property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
filters: {
|
|
14
|
-
name: string;
|
|
15
|
-
callback: () => void;
|
|
16
|
-
icon: {
|
|
17
|
-
name: string;
|
|
18
|
-
};
|
|
19
|
-
}[];
|
|
20
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [handleAddAlertAction](./foundation-alerts.foundationalerts.handleaddalertaction.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.handleAddAlertAction() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
handleAddAlertAction(): void;
|
|
14
|
-
```
|
|
15
|
-
**Returns:**
|
|
16
|
-
|
|
17
|
-
void
|
|
18
|
-
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [handleEditAlertAction](./foundation-alerts.foundationalerts.handleeditalertaction.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.handleEditAlertAction() method
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
handleEditAlertAction(item: any): void;
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Parameters
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Parameter
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Type
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Description
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th></tr></thead>
|
|
34
|
-
<tbody><tr><td>
|
|
35
|
-
|
|
36
|
-
item
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</td><td>
|
|
40
|
-
|
|
41
|
-
any
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td></tr>
|
|
48
|
-
</tbody></table>
|
|
49
|
-
|
|
50
|
-
**Returns:**
|
|
51
|
-
|
|
52
|
-
void
|
|
53
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-alerts](./foundation-alerts.md) > [FoundationAlerts](./foundation-alerts.foundationalerts.md) > [items](./foundation-alerts.foundationalerts.items.md)
|
|
4
|
-
|
|
5
|
-
## FoundationAlerts.items property
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
**Signature:**
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
items: AlertRule[];
|
|
14
|
-
```
|