@gravitee/ui-policy-studio-angular 7.6.0 → 7.7.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 +2 -3
- package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +14 -7
- package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +91 -0
- package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +44 -0
- package/esm2020/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.mjs +31 -0
- package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +3 -3
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +9 -6
- package/esm2020/lib/gio-policy-studio.component.mjs +43 -28
- package/esm2020/lib/gio-policy-studio.model.mjs +1 -1
- package/esm2020/lib/gio-policy-studio.module.mjs +20 -4
- package/esm2020/lib/models/SaveOutput.mjs +2 -0
- package/esm2020/lib/models/index.mjs +2 -1
- package/esm2020/lib/models/plan/Plan.mjs +1 -1
- package/esm2020/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +41 -0
- package/esm2020/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.mjs +35 -0
- package/esm2020/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +87 -0
- package/esm2020/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +69 -0
- package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +66 -0
- package/esm2020/testing/lib/gio-policy-studio.harness.mjs +105 -0
- package/esm2020/testing/lib/models/ConnectorsInfo.mjs +2 -0
- package/esm2020/testing/lib/models/SaveOutput.mjs +2 -0
- package/esm2020/testing/lib/models/flow/Flow.fixture.mjs +2 -2
- package/esm2020/testing/{testing → lib/models}/index.mjs +5 -3
- package/esm2020/testing/lib/models/plan/Plan.fixture.mjs +2 -1
- package/esm2020/testing/lib/models/plan/Plan.mjs +1 -1
- package/esm2020/testing/lib/models/plan/index.mjs +17 -0
- package/esm2020/testing/public-testing-api.mjs +2 -2
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +329 -1312
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +240 -43
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +320 -1317
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +233 -43
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +4 -3
- package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +16 -0
- package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +11 -0
- package/lib/components/flow-details-phase-policy/gio-ps-flow-details-phase-policy.component.d.ts +7 -0
- package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +1 -1
- package/lib/gio-policy-studio.component.d.ts +5 -8
- package/lib/gio-policy-studio.model.d.ts +1 -0
- package/lib/gio-policy-studio.module.d.ts +14 -10
- package/lib/models/SaveOutput.d.ts +6 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/plan/Plan.d.ts +1 -0
- package/package.json +1 -1
- package/testing/lib/components/flow-details/gio-ps-flow-details.harness.d.ts +9 -0
- package/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.d.ts +5 -0
- package/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.d.ts +16 -0
- package/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.d.ts +15 -0
- package/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.d.ts +25 -0
- package/testing/lib/gio-policy-studio.harness.d.ts +34 -0
- package/testing/lib/models/ConnectorsInfo.d.ts +4 -0
- package/testing/lib/models/SaveOutput.d.ts +6 -0
- package/testing/lib/models/index.d.ts +4 -0
- package/testing/lib/models/plan/Plan.d.ts +1 -0
- package/testing/lib/models/plan/index.d.ts +1 -0
- package/testing/public-testing-api.d.ts +1 -1
- package/esm2020/testing/testing/harnesses/div.harness.mjs +0 -42
- package/esm2020/testing/testing/harnesses/index.mjs +0 -17
- package/esm2020/testing/testing/stories-resources/apim-definition.json +0 -405
- package/esm2020/testing/testing/stories-resources/apim-flow.json +0 -54
- package/esm2020/testing/testing/stories-resources/apim-policies.json +0 -486
- package/esm2020/testing/testing/stories-resources/apim-property-providers.json +0 -39
- package/esm2020/testing/testing/stories-resources/apim-resource-types.json +0 -187
- package/esm2020/testing/testing/stories-resources/index.mjs +0 -26
- package/testing/testing/harnesses/div.harness.d.ts +0 -20
- package/testing/testing/harnesses/index.d.ts +0 -1
- package/testing/testing/index.d.ts +0 -2
- package/testing/testing/stories-resources/index.d.ts +0 -592
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"data": [
|
|
3
|
-
{
|
|
4
|
-
"id": "custom-http",
|
|
5
|
-
"name": "Custom (HTTP)",
|
|
6
|
-
"schema": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"url": {
|
|
10
|
-
"title": "Http service URL",
|
|
11
|
-
"description": "http://localhost",
|
|
12
|
-
"type": "string",
|
|
13
|
-
"pattern": "^(http://|https://)"
|
|
14
|
-
},
|
|
15
|
-
"transformation": {
|
|
16
|
-
"title": "Transformation (JOLT Specification)",
|
|
17
|
-
"type": "string",
|
|
18
|
-
"x-schema-form": {
|
|
19
|
-
"type": "codemirror",
|
|
20
|
-
"codemirrorOptions": {
|
|
21
|
-
"lineWrapping": true,
|
|
22
|
-
"lineNumbers": true,
|
|
23
|
-
"allowDropFileTypes": true,
|
|
24
|
-
"autoCloseTags": true,
|
|
25
|
-
"mode": "javascript"
|
|
26
|
-
},
|
|
27
|
-
"help": {
|
|
28
|
-
"title": "Expected output",
|
|
29
|
-
"content": "[\n {\n \"key\": 1,\n \"value\": \"https://north-europe.company.com/\"\n },\n {\n \"key\": 2,\n \"value\": \"https://north-europe.company.com/\"\n },\n {\n \"key\": 3,\n \"value\": \"https://south-asia.company.com/\"\n }\n]"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"required": ["url"]
|
|
35
|
-
},
|
|
36
|
-
"documentation": "= Custom (HTTP)\n\n=== How to ?\n\n 1. Set `Polling frequency interval` and `Time unit`\n2. Set the `HTTP service URL`\n 3. If the HTTP service doesn't return the expected output, add a JOLT `transformation` \n\n[source, json]\n----\n[\n {\n \"key\": 1,\n \"value\": \"https://north-europe.company.com/\"\n },\n {\n \"key\": 2,\n \"value\": \"https://north-europe.company.com/\"\n },\n {\n \"key\": 3,\n \"value\": \"https://south-asia.company.com/\"\n }\n]\n----\n"
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"data": [
|
|
3
|
-
{
|
|
4
|
-
"id": "cache",
|
|
5
|
-
"name": "Cache",
|
|
6
|
-
"description": "Cache resource",
|
|
7
|
-
"version": "1.2.0",
|
|
8
|
-
"schema": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"id": "urn:jsonschema:io:gravitee:resource:cache:configuration:CacheResourceConfiguration",
|
|
11
|
-
"properties": {
|
|
12
|
-
"name": {
|
|
13
|
-
"title": "Cache name",
|
|
14
|
-
"description": "The name of the cache.",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "my-cache"
|
|
17
|
-
},
|
|
18
|
-
"timeToIdleSeconds": {
|
|
19
|
-
"title": "Time to idle (in seconds)",
|
|
20
|
-
"type": "integer",
|
|
21
|
-
"description": "The maximum number of seconds an element can exist in the cache without being accessed. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToIdle (TTI) eviction takes place (infinite lifetime).",
|
|
22
|
-
"default": 0,
|
|
23
|
-
"minimum": 0
|
|
24
|
-
},
|
|
25
|
-
"timeToLiveSeconds": {
|
|
26
|
-
"title": "Time to live (in seconds)",
|
|
27
|
-
"type": "integer",
|
|
28
|
-
"description": "The maximum number of seconds an element can exist in the cache regardless of use. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToLive (TTL) eviction takes place (infinite lifetime).",
|
|
29
|
-
"default": 0,
|
|
30
|
-
"minimum": 0
|
|
31
|
-
},
|
|
32
|
-
"maxEntriesLocalHeap": {
|
|
33
|
-
"title": "Max entries on heap",
|
|
34
|
-
"description": "The maximum objects to be held in local heap memory (0 = no limit).",
|
|
35
|
-
"type": "integer",
|
|
36
|
-
"default": 1000,
|
|
37
|
-
"minimum": 0
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"required": ["name", "timeToIdleSeconds", "timeToLiveSeconds", "maxEntriesLocalHeap"]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"id": "oauth2-am-resource",
|
|
45
|
-
"name": "Gravitee.io AM AS",
|
|
46
|
-
"description": "Gravitee.io AM Authorization Server resource",
|
|
47
|
-
"version": "1.10.0",
|
|
48
|
-
"schema": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"id": "urn:jsonschema:io:gravitee:resource:oauth2:am:configuration:OAuth2ResourceConfiguration",
|
|
51
|
-
"properties": {
|
|
52
|
-
"serverURL": {
|
|
53
|
-
"title": "Server URL",
|
|
54
|
-
"description": "The URL of the Access Management server.",
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"version": {
|
|
58
|
-
"title": "Version",
|
|
59
|
-
"description": "The version of the Access Management server.",
|
|
60
|
-
"type": "string",
|
|
61
|
-
"default": "V1_X",
|
|
62
|
-
"enum": ["V1_X", "V2_X"]
|
|
63
|
-
},
|
|
64
|
-
"securityDomain": {
|
|
65
|
-
"title": "Security domain",
|
|
66
|
-
"description": "The security domain (realm) from where the token has been generated and must be introspect.",
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
"clientId": {
|
|
70
|
-
"title": "Client Id",
|
|
71
|
-
"description": "The client identifier.",
|
|
72
|
-
"type": "string"
|
|
73
|
-
},
|
|
74
|
-
"clientSecret": {
|
|
75
|
-
"title": "Client Secret",
|
|
76
|
-
"description": "The client secret.",
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"userClaim": {
|
|
80
|
-
"title": "User claim",
|
|
81
|
-
"description": "User claim field used to store end user on log analytics",
|
|
82
|
-
"type": "string",
|
|
83
|
-
"default": "sub"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": ["serverURL", "version", "securityDomain", "clientId", "clientSecret"]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"id": "oauth2",
|
|
91
|
-
"name": "Generic OAuth2 AS",
|
|
92
|
-
"description": "Generic OAuth2 Authorization Server resource",
|
|
93
|
-
"version": "1.13.0",
|
|
94
|
-
"schema": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"id": "urn:jsonschema:io:gravitee:policy:oauth2:configuration:OAuth2PolicyConfiguration",
|
|
97
|
-
"properties": {
|
|
98
|
-
"oauthResource": {
|
|
99
|
-
"title": "OAuth2 resource",
|
|
100
|
-
"description": "OAuth2 resource used to validate token.",
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"extractPayload": {
|
|
104
|
-
"title": "Extract OAuth2 payload",
|
|
105
|
-
"description": "Push the token endpoint payload into the 'oauth.payload' context attribute.",
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"default": false
|
|
108
|
-
},
|
|
109
|
-
"checkRequiredScopes": {
|
|
110
|
-
"title": "Check scopes",
|
|
111
|
-
"description": "Check required scopes to access the resource",
|
|
112
|
-
"type": "boolean",
|
|
113
|
-
"default": false
|
|
114
|
-
},
|
|
115
|
-
"requiredScopes": {
|
|
116
|
-
"type": "array",
|
|
117
|
-
"title": "Required scopes",
|
|
118
|
-
"description": "List of required scopes to access the resource.",
|
|
119
|
-
"items": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"title": "Scope"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"modeStrict": {
|
|
125
|
-
"title": "Mode strict",
|
|
126
|
-
"description": "Check scopes with exactly those configured",
|
|
127
|
-
"type": "boolean",
|
|
128
|
-
"default": true
|
|
129
|
-
},
|
|
130
|
-
"propagateAuthHeader": {
|
|
131
|
-
"title": "Propagate Authorization header",
|
|
132
|
-
"description": "Allows to propagate Authorization header to the target endpoints",
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"default": true
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"required": ["oauthResource"]
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"id": "custom",
|
|
142
|
-
"name": "Custom",
|
|
143
|
-
"description": "Custom resource",
|
|
144
|
-
"version": "1.0.0",
|
|
145
|
-
"schema": {
|
|
146
|
-
"type": "object",
|
|
147
|
-
"id": "urn:jsonschema:custom:CustomConfiguration",
|
|
148
|
-
"properties": {
|
|
149
|
-
"url": {
|
|
150
|
-
"title": "Custom URL",
|
|
151
|
-
"description": "Custom URL",
|
|
152
|
-
"type": "string",
|
|
153
|
-
"default": ""
|
|
154
|
-
},
|
|
155
|
-
"authUrl": {
|
|
156
|
-
"title": "Custom Authentication URL",
|
|
157
|
-
"description": "Custom Authentication",
|
|
158
|
-
"type": "string",
|
|
159
|
-
"default": ""
|
|
160
|
-
},
|
|
161
|
-
"clientId": {
|
|
162
|
-
"title": "Client ID",
|
|
163
|
-
"description": "Client ID",
|
|
164
|
-
"type": "string",
|
|
165
|
-
"default": ""
|
|
166
|
-
},
|
|
167
|
-
"secrets": {
|
|
168
|
-
"title": "Client Secrets",
|
|
169
|
-
"type": "string",
|
|
170
|
-
"x-schema-form": {
|
|
171
|
-
"type": "codemirror",
|
|
172
|
-
"codemirrorOptions": {
|
|
173
|
-
"placeholder": "Place your client secrets",
|
|
174
|
-
"lineWrapping": false,
|
|
175
|
-
"lineNumbers": true,
|
|
176
|
-
"allowDropFileTypes": false,
|
|
177
|
-
"autoCloseTags": true,
|
|
178
|
-
"mode": "javascript"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"required": ["url", "authUrl", "secrets"]
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
]
|
|
187
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import _apimPolicies from './apim-policies.json';
|
|
17
|
-
import _apimResourceTypes from './apim-resource-types.json';
|
|
18
|
-
import _apimDefinition from './apim-definition.json';
|
|
19
|
-
import _apimFlow from './apim-flow.json';
|
|
20
|
-
import _apimPropertyProviders from './apim-property-providers.json';
|
|
21
|
-
export const apimPolicies = _apimPolicies;
|
|
22
|
-
export const apimResourceTypes = _apimResourceTypes;
|
|
23
|
-
export const apimDefinition = _apimDefinition;
|
|
24
|
-
export const apimFlow = _apimFlow;
|
|
25
|
-
export const apimPropertyProviders = _apimPropertyProviders;
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1wb2xpY3ktc3R1ZGlvLWFuZ3VsYXIvc3JjL3Rlc3Rpbmcvc3Rvcmllcy1yZXNvdXJjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFFSCxPQUFPLGFBQWEsTUFBTSxzQkFBc0IsQ0FBQztBQUNqRCxPQUFPLGtCQUFrQixNQUFNLDRCQUE0QixDQUFDO0FBQzVELE9BQU8sZUFBZSxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sU0FBUyxNQUFNLGtCQUFrQixDQUFDO0FBQ3pDLE9BQU8sc0JBQXNCLE1BQU0sZ0NBQWdDLENBQUM7QUFFcEUsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLGFBQWEsQ0FBQztBQUMxQyxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxrQkFBa0IsQ0FBQztBQUNwRCxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsZUFBZSxDQUFDO0FBQzlDLE1BQU0sQ0FBQyxNQUFNLFFBQVEsR0FBRyxTQUFTLENBQUM7QUFDbEMsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQ29weXJpZ2h0IChDKSAyMDIyIFRoZSBHcmF2aXRlZSB0ZWFtIChodHRwOi8vZ3Jhdml0ZWUuaW8pXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICAgICAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5pbXBvcnQgX2FwaW1Qb2xpY2llcyBmcm9tICcuL2FwaW0tcG9saWNpZXMuanNvbic7XG5pbXBvcnQgX2FwaW1SZXNvdXJjZVR5cGVzIGZyb20gJy4vYXBpbS1yZXNvdXJjZS10eXBlcy5qc29uJztcbmltcG9ydCBfYXBpbURlZmluaXRpb24gZnJvbSAnLi9hcGltLWRlZmluaXRpb24uanNvbic7XG5pbXBvcnQgX2FwaW1GbG93IGZyb20gJy4vYXBpbS1mbG93Lmpzb24nO1xuaW1wb3J0IF9hcGltUHJvcGVydHlQcm92aWRlcnMgZnJvbSAnLi9hcGltLXByb3BlcnR5LXByb3ZpZGVycy5qc29uJztcblxuZXhwb3J0IGNvbnN0IGFwaW1Qb2xpY2llcyA9IF9hcGltUG9saWNpZXM7XG5leHBvcnQgY29uc3QgYXBpbVJlc291cmNlVHlwZXMgPSBfYXBpbVJlc291cmNlVHlwZXM7XG5leHBvcnQgY29uc3QgYXBpbURlZmluaXRpb24gPSBfYXBpbURlZmluaXRpb247XG5leHBvcnQgY29uc3QgYXBpbUZsb3cgPSBfYXBpbUZsb3c7XG5leHBvcnQgY29uc3QgYXBpbVByb3BlcnR5UHJvdmlkZXJzID0gX2FwaW1Qcm9wZXJ0eVByb3ZpZGVycztcbiJdfQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AsyncFactoryFn, BaseHarnessFilters, ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
|
|
2
|
-
export declare type DivHarnessFilters = BaseHarnessFilters & {
|
|
3
|
-
/** Filters based on the text */
|
|
4
|
-
text?: string | RegExp;
|
|
5
|
-
};
|
|
6
|
-
export declare class DivHarness extends ComponentHarness {
|
|
7
|
-
static hostSelector: string;
|
|
8
|
-
/**
|
|
9
|
-
* Get Harness with the given filter.
|
|
10
|
-
*
|
|
11
|
-
* @param options Options for filtering which input instances are considered a match.
|
|
12
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
13
|
-
*/
|
|
14
|
-
static with(options?: DivHarnessFilters): HarnessPredicate<DivHarness>;
|
|
15
|
-
childLocatorFor<T extends ComponentHarness>(query: HarnessQuery<T>): AsyncFactoryFn<T>;
|
|
16
|
-
childLocatorForAll<T extends ComponentHarness>(query: HarnessQuery<T>): AsyncFactoryFn<T[]>;
|
|
17
|
-
getText(option?: {
|
|
18
|
-
childSelector?: string;
|
|
19
|
-
}): Promise<string | null>;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './div.harness';
|