@gravitee/ui-policy-studio-angular 5.23.0 → 6.0.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.
Files changed (189) hide show
  1. package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +26 -0
  2. package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +26 -0
  3. package/esm2020/lib/gio-policy-studio.component.mjs +10 -161
  4. package/esm2020/lib/gio-policy-studio.module.mjs +10 -34
  5. package/esm2020/lib/models/flow/Flow.mjs +2 -0
  6. package/esm2020/lib/models/flow/FlowExecution.mjs +17 -0
  7. package/esm2020/lib/models/flow/HttpMethod.mjs +17 -0
  8. package/esm2020/lib/models/flow/Selector.mjs +2 -0
  9. package/esm2020/lib/models/flow/Step.mjs +2 -0
  10. package/esm2020/lib/models/flow/index.mjs +6 -4
  11. package/esm2020/lib/models/index.mjs +1 -5
  12. package/esm2020/public-api.mjs +1 -2
  13. package/esm2020/testing/lib/models/flow/Flow.fixture.mjs +42 -0
  14. package/esm2020/testing/lib/models/flow/Flow.mjs +2 -0
  15. package/esm2020/testing/lib/models/flow/HttpMethod.mjs +17 -0
  16. package/esm2020/testing/lib/models/flow/Selector.mjs +2 -0
  17. package/esm2020/testing/lib/models/flow/Step.mjs +2 -0
  18. package/esm2020/testing/lib/models/flow/index-testing.mjs +2 -4
  19. package/esm2020/testing/lib/models/index-testing.mjs +1 -4
  20. package/esm2020/testing/public-testing-api.mjs +1 -2
  21. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +21 -4301
  22. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  23. package/fesm2015/gravitee-ui-policy-studio-angular.mjs +27 -4531
  24. package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  25. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +21 -4310
  26. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  27. package/fesm2020/gravitee-ui-policy-studio-angular.mjs +28 -4542
  28. package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  29. package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +5 -0
  30. package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +5 -0
  31. package/lib/gio-policy-studio.component.d.ts +2 -84
  32. package/lib/gio-policy-studio.module.d.ts +5 -2
  33. package/lib/models/flow/Flow.d.ts +21 -0
  34. package/lib/models/flow/FlowExecution.d.ts +11 -0
  35. package/lib/models/flow/HttpMethod.d.ts +1 -0
  36. package/lib/models/flow/Selector.d.ts +37 -0
  37. package/lib/models/flow/Step.d.ts +30 -0
  38. package/lib/models/flow/index.d.ts +5 -3
  39. package/lib/models/index.d.ts +0 -4
  40. package/package.json +2 -2
  41. package/public-api.d.ts +0 -1
  42. package/testing/lib/models/flow/Flow.d.ts +21 -0
  43. package/testing/lib/models/flow/Flow.fixture.d.ts +2 -0
  44. package/testing/lib/models/flow/HttpMethod.d.ts +1 -0
  45. package/testing/lib/models/flow/Selector.d.ts +37 -0
  46. package/testing/lib/models/flow/Step.d.ts +30 -0
  47. package/testing/lib/models/flow/index-testing.d.ts +1 -3
  48. package/testing/lib/models/index-testing.d.ts +0 -3
  49. package/testing/public-testing-api.d.ts +0 -1
  50. package/esm2020/lib/models/flow/ConfigurationSchema.fixture.mjs +0 -25
  51. package/esm2020/lib/models/flow/ConfigurationSchema.mjs +0 -2
  52. package/esm2020/lib/models/flow/OrganizationFlowConfiguration.fixture.mjs +0 -10
  53. package/esm2020/lib/models/flow/OrganizationFlowConfiguration.mjs +0 -2
  54. package/esm2020/lib/models/flow/PlatformFlowSchema.fixture.mjs +0 -69
  55. package/esm2020/lib/models/flow/PlatformFlowSchema.mjs +0 -17
  56. package/esm2020/lib/models/flow/index-testing.mjs +0 -19
  57. package/esm2020/lib/models/json.mjs +0 -2
  58. package/esm2020/lib/models/policy/PolicyDocumentation.fixture.mjs +0 -218
  59. package/esm2020/lib/models/policy/PolicyDocumentation.mjs +0 -2
  60. package/esm2020/lib/models/policy/PolicyListItem.fixture.mjs +0 -18
  61. package/esm2020/lib/models/policy/PolicyListItem.mjs +0 -2
  62. package/esm2020/lib/models/policy/PolicySchema.fixture.mjs +0 -5
  63. package/esm2020/lib/models/policy/PolicySchema.mjs +0 -2
  64. package/esm2020/lib/models/policy/index-testing.mjs +0 -19
  65. package/esm2020/lib/models/policy/index.mjs +0 -19
  66. package/esm2020/lib/models/resource/ResourceDocumentation.fixture.mjs +0 -70
  67. package/esm2020/lib/models/resource/ResourceDocumentation.mjs +0 -2
  68. package/esm2020/lib/models/resource/ResourceListItem.fixture.mjs +0 -15
  69. package/esm2020/lib/models/resource/ResourceListItem.mjs +0 -2
  70. package/esm2020/lib/models/resource/index-testing.mjs +0 -18
  71. package/esm2020/lib/models/resource/index.mjs +0 -18
  72. package/esm2020/lib/models/spel/Grammar.fixture.mjs +0 -3696
  73. package/esm2020/lib/models/spel/Grammar.mjs +0 -17
  74. package/esm2020/lib/models/spel/index-testing.mjs +0 -17
  75. package/esm2020/lib/models/spel/index.mjs +0 -17
  76. package/esm2020/lib/services/flow.abstract.service.mjs +0 -3
  77. package/esm2020/lib/services/flow.service.fixture.mjs +0 -37
  78. package/esm2020/lib/services/index.mjs +0 -20
  79. package/esm2020/lib/services/policy.abstract.service.mjs +0 -3
  80. package/esm2020/lib/services/policy.service.fixture.mjs +0 -41
  81. package/esm2020/lib/services/resource.abstract.service.mjs +0 -3
  82. package/esm2020/lib/services/resource.service.fixture.mjs +0 -34
  83. package/esm2020/lib/services/spel.abstract.service.mjs +0 -3
  84. package/esm2020/lib/services/spel.service.fixture.mjs +0 -34
  85. package/esm2020/testing/lib/models/flow/ConfigurationSchema.fixture.mjs +0 -25
  86. package/esm2020/testing/lib/models/flow/ConfigurationSchema.mjs +0 -2
  87. package/esm2020/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.mjs +0 -10
  88. package/esm2020/testing/lib/models/flow/OrganizationFlowConfiguration.mjs +0 -2
  89. package/esm2020/testing/lib/models/flow/PlatformFlowSchema.fixture.mjs +0 -69
  90. package/esm2020/testing/lib/models/flow/PlatformFlowSchema.mjs +0 -17
  91. package/esm2020/testing/lib/models/flow/index.mjs +0 -19
  92. package/esm2020/testing/lib/models/json.mjs +0 -2
  93. package/esm2020/testing/lib/models/policy/PolicyDocumentation.fixture.mjs +0 -218
  94. package/esm2020/testing/lib/models/policy/PolicyDocumentation.mjs +0 -2
  95. package/esm2020/testing/lib/models/policy/PolicyListItem.fixture.mjs +0 -18
  96. package/esm2020/testing/lib/models/policy/PolicyListItem.mjs +0 -2
  97. package/esm2020/testing/lib/models/policy/PolicySchema.fixture.mjs +0 -5
  98. package/esm2020/testing/lib/models/policy/PolicySchema.mjs +0 -2
  99. package/esm2020/testing/lib/models/policy/index-testing.mjs +0 -19
  100. package/esm2020/testing/lib/models/policy/index.mjs +0 -19
  101. package/esm2020/testing/lib/models/resource/ResourceDocumentation.fixture.mjs +0 -70
  102. package/esm2020/testing/lib/models/resource/ResourceDocumentation.mjs +0 -2
  103. package/esm2020/testing/lib/models/resource/ResourceListItem.fixture.mjs +0 -15
  104. package/esm2020/testing/lib/models/resource/ResourceListItem.mjs +0 -2
  105. package/esm2020/testing/lib/models/resource/index-testing.mjs +0 -18
  106. package/esm2020/testing/lib/models/resource/index.mjs +0 -18
  107. package/esm2020/testing/lib/models/spel/Grammar.fixture.mjs +0 -3696
  108. package/esm2020/testing/lib/models/spel/Grammar.mjs +0 -17
  109. package/esm2020/testing/lib/models/spel/index-testing.mjs +0 -17
  110. package/esm2020/testing/lib/models/spel/index.mjs +0 -17
  111. package/esm2020/testing/lib/services/flow.abstract.service.mjs +0 -3
  112. package/esm2020/testing/lib/services/flow.service.fixture.mjs +0 -37
  113. package/esm2020/testing/lib/services/index-testing.mjs +0 -20
  114. package/esm2020/testing/lib/services/policy.abstract.service.mjs +0 -3
  115. package/esm2020/testing/lib/services/policy.service.fixture.mjs +0 -41
  116. package/esm2020/testing/lib/services/resource.abstract.service.mjs +0 -3
  117. package/esm2020/testing/lib/services/resource.service.fixture.mjs +0 -34
  118. package/esm2020/testing/lib/services/spel.abstract.service.mjs +0 -3
  119. package/esm2020/testing/lib/services/spel.service.fixture.mjs +0 -34
  120. package/lib/models/flow/ConfigurationSchema.d.ts +0 -2
  121. package/lib/models/flow/ConfigurationSchema.fixture.d.ts +0 -2
  122. package/lib/models/flow/OrganizationFlowConfiguration.d.ts +0 -3
  123. package/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +0 -2
  124. package/lib/models/flow/PlatformFlowSchema.d.ts +0 -2
  125. package/lib/models/flow/PlatformFlowSchema.fixture.d.ts +0 -2
  126. package/lib/models/flow/index-testing.d.ts +0 -3
  127. package/lib/models/json.d.ts +0 -3
  128. package/lib/models/policy/PolicyDocumentation.d.ts +0 -1
  129. package/lib/models/policy/PolicyDocumentation.fixture.d.ts +0 -2
  130. package/lib/models/policy/PolicyListItem.d.ts +0 -13
  131. package/lib/models/policy/PolicyListItem.fixture.d.ts +0 -2
  132. package/lib/models/policy/PolicySchema.d.ts +0 -1
  133. package/lib/models/policy/PolicySchema.fixture.d.ts +0 -2
  134. package/lib/models/policy/index-testing.d.ts +0 -3
  135. package/lib/models/policy/index.d.ts +0 -3
  136. package/lib/models/resource/ResourceDocumentation.d.ts +0 -1
  137. package/lib/models/resource/ResourceDocumentation.fixture.d.ts +0 -2
  138. package/lib/models/resource/ResourceListItem.d.ts +0 -8
  139. package/lib/models/resource/ResourceListItem.fixture.d.ts +0 -2
  140. package/lib/models/resource/index-testing.d.ts +0 -2
  141. package/lib/models/resource/index.d.ts +0 -2
  142. package/lib/models/spel/Grammar.d.ts +0 -2
  143. package/lib/models/spel/Grammar.fixture.d.ts +0 -2
  144. package/lib/models/spel/index-testing.d.ts +0 -1
  145. package/lib/models/spel/index.d.ts +0 -1
  146. package/lib/services/flow.abstract.service.d.ts +0 -7
  147. package/lib/services/flow.service.fixture.d.ts +0 -11
  148. package/lib/services/index.d.ts +0 -4
  149. package/lib/services/policy.abstract.service.d.ts +0 -14
  150. package/lib/services/policy.service.fixture.d.ts +0 -13
  151. package/lib/services/resource.abstract.service.d.ts +0 -11
  152. package/lib/services/resource.service.fixture.d.ts +0 -10
  153. package/lib/services/spel.abstract.service.d.ts +0 -5
  154. package/lib/services/spel.service.fixture.d.ts +0 -9
  155. package/testing/lib/models/flow/ConfigurationSchema.d.ts +0 -2
  156. package/testing/lib/models/flow/ConfigurationSchema.fixture.d.ts +0 -2
  157. package/testing/lib/models/flow/OrganizationFlowConfiguration.d.ts +0 -3
  158. package/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +0 -2
  159. package/testing/lib/models/flow/PlatformFlowSchema.d.ts +0 -2
  160. package/testing/lib/models/flow/PlatformFlowSchema.fixture.d.ts +0 -2
  161. package/testing/lib/models/flow/index.d.ts +0 -3
  162. package/testing/lib/models/json.d.ts +0 -3
  163. package/testing/lib/models/policy/PolicyDocumentation.d.ts +0 -1
  164. package/testing/lib/models/policy/PolicyDocumentation.fixture.d.ts +0 -2
  165. package/testing/lib/models/policy/PolicyListItem.d.ts +0 -13
  166. package/testing/lib/models/policy/PolicyListItem.fixture.d.ts +0 -2
  167. package/testing/lib/models/policy/PolicySchema.d.ts +0 -1
  168. package/testing/lib/models/policy/PolicySchema.fixture.d.ts +0 -2
  169. package/testing/lib/models/policy/index-testing.d.ts +0 -3
  170. package/testing/lib/models/policy/index.d.ts +0 -3
  171. package/testing/lib/models/resource/ResourceDocumentation.d.ts +0 -1
  172. package/testing/lib/models/resource/ResourceDocumentation.fixture.d.ts +0 -2
  173. package/testing/lib/models/resource/ResourceListItem.d.ts +0 -8
  174. package/testing/lib/models/resource/ResourceListItem.fixture.d.ts +0 -2
  175. package/testing/lib/models/resource/index-testing.d.ts +0 -2
  176. package/testing/lib/models/resource/index.d.ts +0 -2
  177. package/testing/lib/models/spel/Grammar.d.ts +0 -2
  178. package/testing/lib/models/spel/Grammar.fixture.d.ts +0 -2
  179. package/testing/lib/models/spel/index-testing.d.ts +0 -1
  180. package/testing/lib/models/spel/index.d.ts +0 -1
  181. package/testing/lib/services/flow.abstract.service.d.ts +0 -7
  182. package/testing/lib/services/flow.service.fixture.d.ts +0 -11
  183. package/testing/lib/services/index-testing.d.ts +0 -4
  184. package/testing/lib/services/policy.abstract.service.d.ts +0 -14
  185. package/testing/lib/services/policy.service.fixture.d.ts +0 -13
  186. package/testing/lib/services/resource.abstract.service.d.ts +0 -11
  187. package/testing/lib/services/resource.service.fixture.d.ts +0 -10
  188. package/testing/lib/services/spel.abstract.service.d.ts +0 -5
  189. package/testing/lib/services/spel.service.fixture.d.ts +0 -9
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Inject, Input, Output, Injectable, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
- import { chain, isNil } from 'lodash';
4
- import { tap, catchError, map } from 'rxjs/operators';
5
- import { EMPTY, of } from 'rxjs';
6
- import '@gravitee/ui-components/wc/gv-policy-studio';
7
- import * as i1 from '@angular/common';
2
+ import { Component, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/material/button';
4
+ import { MatButtonModule } from '@angular/material/button';
5
+ import { GioIconsModule } from '@gravitee/ui-particles-angular';
6
+ import * as i1 from '@angular/material/icon';
8
7
 
9
8
  /*
10
9
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
@@ -22,82 +21,6 @@ import * as i1 from '@angular/common';
22
21
  * limitations under the License.
23
22
  */
24
23
 
25
- /*
26
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
27
- *
28
- * Licensed under the Apache License, Version 2.0 (the "License");
29
- * you may not use this file except in compliance with the License.
30
- * You may obtain a copy of the License at
31
- *
32
- * http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software
35
- * distributed under the License is distributed on an "AS IS" BASIS,
36
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37
- * See the License for the specific language governing permissions and
38
- * limitations under the License.
39
- */
40
-
41
- /*
42
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
43
- *
44
- * Licensed under the Apache License, Version 2.0 (the "License");
45
- * you may not use this file except in compliance with the License.
46
- * You may obtain a copy of the License at
47
- *
48
- * http://www.apache.org/licenses/LICENSE-2.0
49
- *
50
- * Unless required by applicable law or agreed to in writing, software
51
- * distributed under the License is distributed on an "AS IS" BASIS,
52
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53
- * See the License for the specific language governing permissions and
54
- * limitations under the License.
55
- */
56
-
57
- /*
58
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
59
- *
60
- * Licensed under the Apache License, Version 2.0 (the "License");
61
- * you may not use this file except in compliance with the License.
62
- * You may obtain a copy of the License at
63
- *
64
- * http://www.apache.org/licenses/LICENSE-2.0
65
- *
66
- * Unless required by applicable law or agreed to in writing, software
67
- * distributed under the License is distributed on an "AS IS" BASIS,
68
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69
- * See the License for the specific language governing permissions and
70
- * limitations under the License.
71
- */
72
-
73
- /*
74
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
75
- *
76
- * Licensed under the Apache License, Version 2.0 (the "License");
77
- * you may not use this file except in compliance with the License.
78
- * You may obtain a copy of the License at
79
- *
80
- * http://www.apache.org/licenses/LICENSE-2.0
81
- *
82
- * Unless required by applicable law or agreed to in writing, software
83
- * distributed under the License is distributed on an "AS IS" BASIS,
84
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
85
- * See the License for the specific language governing permissions and
86
- * limitations under the License.
87
- */
88
-
89
- class FlowServiceAbstract {
90
- }
91
-
92
- class PolicyServiceAbstract {
93
- }
94
-
95
- class ResourceServiceAbstract {
96
- }
97
-
98
- class SpelServiceAbstract {
99
- }
100
-
101
24
  /*
102
25
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
103
26
  *
@@ -129,550 +52,15 @@ class SpelServiceAbstract {
129
52
  * See the License for the specific language governing permissions and
130
53
  * limitations under the License.
131
54
  */
132
- class GioPolicyStudioComponent {
133
- constructor(location, flowService, policyService, resourceService, spelService) {
134
- this.location = location;
135
- this.flowService = flowService;
136
- this.policyService = policyService;
137
- this.resourceService = resourceService;
138
- this.spelService = spelService;
139
- this.hasPlans = false;
140
- this.services = {};
141
- this.dynamicPropertySchema = {};
142
- this.configurationInformation = 'By default, the selection of a flow is based on the operator defined in the flow itself. This operator allows either to select a flow when the path matches exactly, or when the start of the path matches. The "Best match" option allows you to select the flow from the path that is closest.';
143
- this.hideTab = false;
144
- this.save = new EventEmitter();
145
- this.debug = new EventEmitter();
146
- this.unknownPolicyCategory = 'others';
147
- this.policyCategoriesOrder = ['security', 'performance', 'transformation', this.unknownPolicyCategory];
148
- }
149
- set policies(policies) {
150
- this._policies = chain(policies)
151
- .map(policy => (!isNil(policy.category) ? policy : Object.assign(Object.assign({}, policy), { category: this.unknownPolicyCategory })))
152
- // First sort by category (based on category order) and then by name
153
- .sortBy([policy => { var _a; return this.policyCategoriesOrder.indexOf((_a = policy.category) !== null && _a !== void 0 ? _a : ''); }, policy => policy.name])
154
- .value();
155
- }
156
- get policies() {
157
- return this._policies;
158
- }
159
- ngOnInit() {
160
- this.flowService
161
- .getConfigurationSchemaForm()
162
- .pipe(tap(configurationSchema => {
163
- this.configurationSchema = configurationSchema;
164
- }))
165
- .subscribe();
166
- const { tabId, flowsIds } = this.parseUrl();
167
- if (!this.hideTab) {
168
- this.tabId = tabId;
169
- }
170
- this.selectedFlowsIds = JSON.stringify(flowsIds);
171
- }
172
- onTabChanged(tabId) {
173
- this.updateUrl(Object.assign(Object.assign({}, this.parseUrl()), { tabId }));
174
- }
175
- onFlowSelectionChanged({ flows }) {
176
- this.updateUrl(Object.assign(Object.assign({}, this.parseUrl()), { flowsIds: flows }));
177
- }
178
- fetchPolicyDocumentation({ policy }) {
179
- this.policyService
180
- .getDocumentation(policy.id)
181
- .pipe(tap(documentation => (this.policyDocumentation = { id: policy.id, image: policy.icon, content: documentation })))
182
- .subscribe();
183
- }
184
- fetchResourceDocumentation({ resourceType, target, }) {
185
- this.resourceService
186
- .getDocumentation(resourceType.id)
187
- .pipe(tap(documentation => (target.documentation = { image: resourceType.icon, content: documentation })), catchError(() => {
188
- target.documentation = null;
189
- return EMPTY;
190
- }))
191
- .subscribe();
192
- }
193
- fetchSpelGrammar({ currentTarget }) {
194
- this.spelService
195
- .getGrammar()
196
- .pipe(tap(grammar => (currentTarget.grammar = grammar)))
197
- .subscribe();
198
- }
199
- parseUrl() {
200
- // TODO: Improve this with Angular Router
201
- // Hack to add the tab as Fragment part of the URL
202
- const [path, tabId] = this.location.path(true).split(/#(\w*)$/);
203
- const [basePath, ...flowsIds] = path.split('flows');
204
- const cleanedPath = basePath.replace('?', '');
205
- const cleanedFlows = (flowsIds !== null && flowsIds !== void 0 ? flowsIds : []).map(flow => flow.replace('=', ''));
206
- return {
207
- path: cleanedPath,
208
- tabId: tabId !== null && tabId !== void 0 ? tabId : '',
209
- flowsIds: cleanedFlows,
210
- };
211
- }
212
- updateUrl({ path, tabId, flowsIds }) {
213
- // TODO: Improve this with Angular Router
214
- // Hack to add the tab as Fragment part of the URL
215
- const flowsQueryParams = (flowsIds !== null && flowsIds !== void 0 ? flowsIds : []).map(value => `flows=${value}`).join('&');
216
- const queryParams = flowsQueryParams.length > 0 ? `?${flowsQueryParams}` : '';
217
- this.location.go(`${path}${queryParams}#${tabId}`);
218
- }
55
+ class GioPolicyStudioFlowsMenuComponent {
219
56
  }
220
- GioPolicyStudioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, deps: [{ token: i1.Location }, { token: 'FlowService' }, { token: 'PolicyService' }, { token: 'ResourceService' }, { token: 'SpelService' }], target: i0.ɵɵFactoryTarget.Component });
221
- GioPolicyStudioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioComponent, selector: "gio-policy-studio", inputs: { readonly: "readonly", canAdd: "canAdd", canDebug: "canDebug", hasResources: "hasResources", hasProperties: "hasProperties", hasPolicyFilter: "hasPolicyFilter", hasConditionalSteps: "hasConditionalSteps", hasPlans: "hasPlans", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle", configurationInformation: "configurationInformation", hideTab: "hideTab", tabId: "tabId" }, outputs: { save: "save", debug: "debug" }, ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.readonly]=\"readonly ? readonly : null\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.has-plans]=\"hasPlans ? hasPlans : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"hasConditionalSteps\"\n [debugResponse]=\"debugResponse\"\n [tabId]=\"tabId\"\n (:gv-policy-studio:change-tab)=\"onTabChanged($any($event).detail)\"\n [documentation]=\"policyDocumentation\"\n (:gv-policy-studio:fetch-documentation)=\"fetchPolicyDocumentation($any($event).detail)\"\n (:gv-resources:fetch-documentation)=\"fetchResourceDocumentation($any($event).detail)\"\n (:gv-expression-language:ready)=\"fetchSpelGrammar($any($event).detail)\"\n [attr.selected-flows-id]=\"selectedFlowsIds ? selectedFlowsIds : null\"\n (:gv-policy-studio:select-flows)=\"onFlowSelectionChanged($any($event).detail)\"\n (:gv-policy-studio:save)=\"save.emit($any($event).detail)\"\n (:gv-policy-studio:debug)=\"debug.emit($any($event).detail)\"\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{overflow:hidden;margin:2rem 0 1rem 1rem}\n"] });
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, decorators: [{
57
+ GioPolicyStudioFlowsMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioFlowsMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
58
+ GioPolicyStudioFlowsMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioFlowsMenuComponent, selector: "gio-ps-flows-menu", ngImport: i0, template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flows</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioFlowsMenuComponent, decorators: [{
223
60
  type: Component,
224
- args: [{ selector: 'gio-policy-studio', template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.readonly]=\"readonly ? readonly : null\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.has-plans]=\"hasPlans ? hasPlans : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"hasConditionalSteps\"\n [debugResponse]=\"debugResponse\"\n [tabId]=\"tabId\"\n (:gv-policy-studio:change-tab)=\"onTabChanged($any($event).detail)\"\n [documentation]=\"policyDocumentation\"\n (:gv-policy-studio:fetch-documentation)=\"fetchPolicyDocumentation($any($event).detail)\"\n (:gv-resources:fetch-documentation)=\"fetchResourceDocumentation($any($event).detail)\"\n (:gv-expression-language:ready)=\"fetchSpelGrammar($any($event).detail)\"\n [attr.selected-flows-id]=\"selectedFlowsIds ? selectedFlowsIds : null\"\n (:gv-policy-studio:select-flows)=\"onFlowSelectionChanged($any($event).detail)\"\n (:gv-policy-studio:save)=\"save.emit($any($event).detail)\"\n (:gv-policy-studio:debug)=\"debug.emit($any($event).detail)\"\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{overflow:hidden;margin:2rem 0 1rem 1rem}\n"] }]
225
- }], ctorParameters: function () {
226
- return [{ type: i1.Location }, { type: FlowServiceAbstract, decorators: [{
227
- type: Inject,
228
- args: ['FlowService']
229
- }] }, { type: PolicyServiceAbstract, decorators: [{
230
- type: Inject,
231
- args: ['PolicyService']
232
- }] }, { type: ResourceServiceAbstract, decorators: [{
233
- type: Inject,
234
- args: ['ResourceService']
235
- }] }, { type: SpelServiceAbstract, decorators: [{
236
- type: Inject,
237
- args: ['SpelService']
238
- }] }];
239
- }, propDecorators: { readonly: [{
240
- type: Input
241
- }], canAdd: [{
242
- type: Input
243
- }], canDebug: [{
244
- type: Input
245
- }], hasResources: [{
246
- type: Input
247
- }], hasProperties: [{
248
- type: Input
249
- }], hasPolicyFilter: [{
250
- type: Input
251
- }], hasConditionalSteps: [{
252
- type: Input
253
- }], hasPlans: [{
254
- type: Input
255
- }], sortable: [{
256
- type: Input
257
- }], policies: [{
258
- type: Input
259
- }], definition: [{
260
- type: Input
261
- }], services: [{
262
- type: Input
263
- }], flowSchema: [{
264
- type: Input
265
- }], resourceTypes: [{
266
- type: Input
267
- }], propertyProviders: [{
268
- type: Input
269
- }], readonlyPlans: [{
270
- type: Input
271
- }], dynamicPropertySchema: [{
272
- type: Input
273
- }], debugResponse: [{
274
- type: Input
275
- }], flowsTitle: [{
276
- type: Input
277
- }], configurationInformation: [{
278
- type: Input
279
- }], hideTab: [{
280
- type: Input
281
- }], tabId: [{
282
- type: Input
283
- }], save: [{
284
- type: Output
285
- }], debug: [{
286
- type: Output
287
- }] } });
288
-
289
- function fakeFlowConfigurationSchema(attributes) {
290
- const base = {
291
- type: 'object',
292
- id: 'apim',
293
- properties: {
294
- flow_mode: {
295
- title: 'Flow Mode',
296
- description: 'The flow mode',
297
- type: 'string',
298
- enum: ['DEFAULT', 'BEST_MATCH'],
299
- default: 'DEFAULT',
300
- 'x-schema-form': {
301
- titleMap: {
302
- DEFAULT: 'Default',
303
- BEST_MATCH: 'Best match',
304
- },
305
- },
306
- },
307
- },
308
- required: [],
309
- disabled: [],
310
- };
311
- return Object.assign(Object.assign({}, base), attributes);
312
- }
313
-
314
- function fakeOrganizationFlowConfiguration(attributes) {
315
- const base = {
316
- has_policies: true,
317
- };
318
- return Object.assign(Object.assign({}, base), attributes);
319
- }
320
-
321
- function fakePlatformFlowSchema(attributes) {
322
- const base = {
323
- type: 'object',
324
- id: 'apim',
325
- properties: {
326
- name: {
327
- title: 'Name',
328
- description: 'The name of flow. If empty, the name will be generated with the path and methods',
329
- type: 'string',
330
- },
331
- 'path-operator': {
332
- type: 'object',
333
- properties: {
334
- operator: {
335
- title: 'Operator path',
336
- description: 'The operator path',
337
- type: 'string',
338
- enum: ['EQUALS', 'STARTS_WITH'],
339
- default: 'STARTS_WITH',
340
- 'x-schema-form': {
341
- titleMap: {
342
- EQUALS: 'Equals',
343
- STARTS_WITH: 'Starts with',
344
- },
345
- },
346
- },
347
- path: {
348
- title: 'Path',
349
- description: 'The path of flow (must start by /)',
350
- type: 'string',
351
- pattern: '^/',
352
- default: '/',
353
- },
354
- },
355
- required: ['path', 'operator'],
356
- },
357
- methods: {
358
- title: 'Methods',
359
- description: 'The HTTP methods of flow (ALL if empty)',
360
- type: 'array',
361
- items: {
362
- type: 'string',
363
- enum: ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'],
364
- },
365
- },
366
- consumers: {
367
- title: 'Tags',
368
- description: 'The tags of flow.',
369
- type: 'array',
370
- items: {
371
- type: 'string',
372
- enum: [],
373
- },
374
- },
375
- condition: {
376
- title: 'Condition',
377
- description: 'The condition of the flow. Supports EL.',
378
- type: 'string',
379
- 'x-schema-form': {
380
- 'expression-language': true,
381
- },
382
- },
383
- },
384
- required: [],
385
- disabled: [],
386
- };
387
- return Object.assign(Object.assign({}, base), attributes);
388
- }
389
-
390
- /*
391
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
392
- *
393
- * Licensed under the Apache License, Version 2.0 (the "License");
394
- * you may not use this file except in compliance with the License.
395
- * You may obtain a copy of the License at
396
- *
397
- * http://www.apache.org/licenses/LICENSE-2.0
398
- *
399
- * Unless required by applicable law or agreed to in writing, software
400
- * distributed under the License is distributed on an "AS IS" BASIS,
401
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
402
- * See the License for the specific language governing permissions and
403
- * limitations under the License.
404
- */
405
-
406
- /*
407
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
408
- *
409
- * Licensed under the Apache License, Version 2.0 (the "License");
410
- * you may not use this file except in compliance with the License.
411
- * You may obtain a copy of the License at
412
- *
413
- * http://www.apache.org/licenses/LICENSE-2.0
414
- *
415
- * Unless required by applicable law or agreed to in writing, software
416
- * distributed under the License is distributed on an "AS IS" BASIS,
417
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
418
- * See the License for the specific language governing permissions and
419
- * limitations under the License.
420
- */
421
- class FlowService extends FlowServiceAbstract {
422
- getConfigurationSchemaForm() {
423
- return of(fakeFlowConfigurationSchema());
424
- }
425
- getPlatformFlowSchemaForm() {
426
- return of(fakePlatformFlowSchema());
427
- }
428
- getConfiguration() {
429
- return of(fakeOrganizationFlowConfiguration());
430
- }
431
- }
432
- FlowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
433
- FlowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService });
434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService, decorators: [{
435
- type: Injectable
61
+ args: [{ selector: 'gio-ps-flows-menu', template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flows</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] }]
436
62
  }] });
437
63
 
438
- function fakePolicyListItem(attributes) {
439
- const base = {
440
- category: 'transformation',
441
- description: 'Description of the JSON to JSON Transformation Gravitee Policy',
442
- icon: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAuNzEgMTEyLjgyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6Izg2YzNkMDt9LmNscy0ye2ZpbGw6I2ZmZjt9LmNscy0ze2ZvbnQtc2l6ZToxMnB4O2ZpbGw6IzFkMWQxYjtmb250LWZhbWlseTpNeXJpYWRQcm8tUmVndWxhciwgTXlyaWFkIFBybzt9LmNscy00e2xldHRlci1zcGFjaW5nOi0wLjAxZW07fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJBUEkiPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTUwLjM1LDEzLjM3YTQzLDQzLDAsMSwwLDQzLjA1LDQzQTQzLDQzLDAsMCwwLDUwLjM1LDEzLjM3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTYzLjgsNzcuMDlhNC44Myw0LjgzLDAsMSwxLDMuNjktNy45Miw0Ljc0LDQuNzQsMCwwLDEsMS4xMywzLjA5QTQuODMsNC44MywwLDAsMSw2My44LDc3LjA5Wm0wLTcuOTNhMy4xMSwzLjExLDAsMSwwLDIuMzgsMS4xMkEzLjEsMy4xLDAsMCwwLDYzLjgsNjkuMTZaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTEuNSw0My42OGE0Ljg1LDQuODUsMCwwLDEtNC43Ny00LjE0LDUsNSwwLDAsMSwwLS42OSw0LjgzLDQuODMsMCwwLDEsOS42NSwwLDMuNDUsMy40NSwwLDAsMS0uMDcuNzRBNC44MSw0LjgxLDAsMCwxLDUxLjUsNDMuNjhabTAtNy45M2EzLjEsMy4xLDAsMCwwLTMuMSwzLjEsMy4yNSwzLjI1LDAsMCwwLDAsLjQ0LDMuMSwzLjEsMCwwLDAsNi4xNCwwLDIuNjYsMi42NiwwLDAsMCwwLS40NUEzLjExLDMuMTEsMCwwLDAsNTEuNSwzNS43NVoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy42NCw3MC4xNWE0LjgzLDQuODMsMCwwLDEtMS4zNy05LjQ2LDUsNSwwLDAsMSwxLjM3LS4xOSw0LjgyLDQuODIsMCwwLDEsNC44Miw0LjgyLDQuODcsNC44NywwLDAsMS0yLjcxLDQuMzVBNC43Myw0LjczLDAsMCwxLDMzLjY0LDcwLjE1Wm0wLTcuOTNhMywzLDAsMCwwLS44OS4xMywzLjEsMy4xLDAsMCwwLC44OSw2LjA4QTMsMywwLDAsMCwzNSw2OC4xMmEzLjExLDMuMTEsMCwwLDAtMS4zNS01LjlaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzIuMTgsNTYuMzVoLS4xMmEuODcuODcsMCwwLDEtLjczLTFBMjAuNDcsMjAuNDcsMCwwLDEsNDIsNDAuMzNhLjg2Ljg2LDAsMSwxLC44LDEuNTJBMTguNzcsMTguNzcsMCwwLDAsMzMsNTUuNjEuODYuODYsMCwwLDEsMzIuMTgsNTYuMzVaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTEuNSw3OC43OWEyMC4xNywyMC4xNywwLDAsMS0xMi4yNy00LjExLjg2Ljg2LDAsMCwxLS4xNy0xLjIxLjg1Ljg1LDAsMCwxLDEuMi0uMTZBMTguNTIsMTguNTIsMCwwLDAsNTEuNSw3Ny4wNywxOC4yMywxOC4yMywwLDAsMCw1NSw3Ni43M2EuODcuODcsMCwwLDEsLjMzLDEuN0EyMC44NywyMC44NywwLDAsMSw1MS41LDc4Ljc5WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTcwLDY1LjQyYS44NC44NCwwLDAsMS0uMjcsMCwuODYuODYsMCwwLDEtLjU0LTEuMDksMTguNzEsMTguNzEsMCwwLDAtOC41NS0yMi4xNy44Ni44NiwwLDEsMSwuODUtMS41LDIwLjQyLDIwLjQyLDAsMCwxLDkuMzMsMjQuMjFBLjg3Ljg3LDAsMCwxLDcwLDY1LjQyWiIvPjwvZz48ZyBpZD0iSE9TVElORyI+PHRleHQgY2xhc3M9ImNscy0zIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNy45MyAtNC45OCkiPkpTT04gPHRzcGFuIGNsYXNzPSJjbHMtNCIgeD0iMjkuMDYiIHk9IjAiPnQ8L3RzcGFuPjx0c3BhbiB4PSIzMi45NiIgeT0iMCI+byBKU09OPC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==',
443
- id: 'json-to-json',
444
- name: 'JSON to JSON Transformation',
445
- onRequest: true,
446
- onResponse: true,
447
- schema: '{\n "type" : "object",\n "id" : "urn:jsonschema:io:gravitee:policy:json2json:configuration:JsonToJsonTransformationPolicyConfiguration",\n "properties" : {\n "scope" : {\n "title": "Scope",\n "description": "Execute policy on <strong>request</strong> or <strong>response</strong> phase.",\n "type" : "string",\n "default": "REQUEST",\n "enum" : [ "REQUEST", "RESPONSE" ],\n "deprecated": "true"\n },\n "overrideContentType" : {\n "title": "Override the Content-Type",\n "description": "Enforce the Content-Type: application/json",\n "type" : "boolean",\n "default": true\n },\n "specification" : {\n "title": "JOLT specification",\n "type" : "string",\n "x-schema-form": {\n "type": "codemirror",\n "codemirrorOptions": {\n "placeholder": "Place your JOLT specification here or drag\'n\'drop your JOLT specification file",\n "lineWrapping": true,\n "lineNumbers": true,\n "allowDropFileTypes": true,\n "autoCloseTags": true,\n "mode": "javascript"\n },\n "expression-language": true\n }\n }\n },\n "required": [\n "specification"\n ]\n}\n',
448
- version: '1.6.0',
449
- };
450
- return Object.assign(Object.assign({}, base), attributes);
451
- }
452
-
453
- function fakePolicyDocumentation(attributes) {
454
- const base = `
455
- = RateLimit policy
456
-
457
-
458
- ifdef::env-github[]
459
- image:https://ci.gravitee.io/buildStatus/icon?job=gravitee-io/gravitee-policy-ratelimit/master["Build status", link="https://ci.gravitee.io/job/gravitee-io/job/gravitee-policy-ratelimit/"]
460
- image:https://badges.gitter.im/Join Chat.svg["Gitter", link="https://gitter.im/gravitee-io/gravitee-io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
461
- endif::[]
462
-
463
- == Phase
464
-
465
- |===
466
- |onRequest |onResponse
467
-
468
- | X
469
- |
470
-
471
- |===
472
-
473
- == Description
474
-
475
- There are three \`rate-limit\` policies:
476
-
477
- * Quota: configures the number of requests allowed over a period of time (hours, days, weeks, months)
478
- * Rate-Limit: configures the number of requests allowed over a limited period of time (seconds, minutes)
479
- * Spike-Arrest: throttles the number of requests processed and sends them to the backend to avoid a spike
480
-
481
- == Configuration
482
-
483
- You can configure the policies with the following options:
484
-
485
- === Quota
486
-
487
- The Quota policy configures the number of requests allowed over a large period of time (from hours to months).
488
- This policy does not prevent request spikes.
489
-
490
- |===
491
- |Property |Required |Description |Type |Default
492
-
493
- |key
494
- |No
495
- |Key to identify a consumer to apply the quota against. Leave it empty to apply the default behavior (plan/subscription pair). Supports Expression Language.
496
- |String
497
- |null
498
-
499
- |limit
500
- |No
501
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
502
- |integer
503
- |0
504
-
505
- |dynamicLimit
506
- |No
507
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
508
- |string
509
- |null
510
-
511
- |periodTime
512
- |Yes
513
- |Time duration
514
- |Integer
515
- |1
516
-
517
- |periodTimeUnit
518
- |Yes
519
- |Time unit (\`HOURS\`, \`DAYS\`, \`WEEKS\`, \`MONTHS\`)
520
- |String
521
- |MONTHS
522
-
523
- |===
524
-
525
- ==== Configuration example
526
-
527
- [source, json]
528
- ----
529
- "quota": {
530
- "limit": "1000",
531
- "periodTime": 1,
532
- "periodTimeUnit": "MONTHS"
533
- }
534
- ----
535
-
536
- === Rate-Limit
537
-
538
- The Rate-Limit policy configures the number of requests allow over a limited period of time (from seconds to minutes).
539
- This policy does not prevent request spikes.
540
-
541
- |===
542
- |Property |Required |Description |Type |Default
543
-
544
- |key
545
- |No
546
- |Key to identify a consumer to apply rate-limiting against. Leave it empty to use the default behavior (plan/subscription pair). Supports Expression Language.
547
- |String
548
- |null
549
-
550
- |limit
551
- |No
552
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
553
- |integer
554
- |0
555
-
556
- |dynamicLimit
557
- |No
558
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
559
- |string
560
- |null
561
-
562
- |periodTime
563
- |Yes
564
- |Time duration
565
- |Integer
566
- |1
567
-
568
- |periodTimeUnit
569
- |Yes
570
- |Time unit ("SECONDS", "MINUTES" )
571
- |String
572
- |SECONDS
573
-
574
- |===
575
-
576
- ==== Configuration example
577
-
578
- [source, json]
579
- ----
580
- "rate": {
581
- "limit": "10",
582
- "periodTime": 10,
583
- "periodTimeUnit": "MINUTES"
584
- }
585
- ----
586
-
587
- === Spike Arrest
588
-
589
- The Spike-Arrest policy configures the number of requests allow over a limited period of time (from seconds to minutes).
590
- This policy prevents request spikes by throttling incoming requests.
591
- For example, a SpikeArrest policy configured to 2000 requests/second will limit the execution of simultaneous requests to 200 requests per 100ms.
592
-
593
- By default, the SpikeArrest policy is applied to a plan, not a consumer. To apply a spike arrest to a consumer, you need to use the \`key\` attribute, which supports Expression Language.
594
-
595
- |===
596
- |Property |Required |Description |Type |Default
597
-
598
- |key
599
- |No
600
- |Key to identify a consumer to apply spike arresting against. Leave it empty to use the default behavior. Supports Expression Language (example: \`{#request.headers['x-consumer-id']}\`).
601
- |String
602
- |null
603
-
604
- |limit
605
- |No
606
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
607
- |integer
608
- |0
609
-
610
- |dynamicLimit
611
- |No
612
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
613
- |string
614
- |null
615
-
616
- |periodTime
617
- |Yes
618
- |Time duration
619
- |Integer
620
- |1
621
-
622
- |periodTimeUnit
623
- |Yes
624
- |Time unit (\`SECONDS\`, \`MINUTES\`)
625
- |String
626
- |SECONDS
627
-
628
- |===
629
-
630
- ==== Configuration example
631
-
632
- [source, json]
633
- ----
634
- "spike": {
635
- "limit": "10",
636
- "periodTime": 10,
637
- "periodTimeUnit": "MINUTES"
638
- }
639
- ----
640
-
641
- == Errors
642
-
643
- === Default response override
644
-
645
- You can use the response template feature to override the default response provided by the policies. These templates must be defined at the API level (see the API Console *Response Templates*
646
- option in the API *Proxy* menu).
647
-
648
- === Error keys
649
-
650
- The error keys sent by these policies are as follows:
651
-
652
- [cols="2*", options="header"]
653
- |===
654
- ^|Key
655
- ^|Parameters
656
-
657
- .^|RATE_LIMIT_TOO_MANY_REQUESTS
658
- ^.^|limit - period_time - period_unit
659
-
660
- .^|QUOTA_TOO_MANY_REQUESTS
661
- ^.^|limit - period_time - period_unit
662
-
663
- .^|SPIKE_ARREST_TOO_MANY_REQUESTS
664
- ^.^|limit - period_time - period_unit - slice_limit - slice_period_time - slice_limit_period_unit
665
-
666
- |===
667
- `;
668
- return attributes !== null && attributes !== void 0 ? attributes : base;
669
- }
670
-
671
- function fakePolicySchema(attributes) {
672
- const base = 'A policy schema';
673
- return attributes !== null && attributes !== void 0 ? attributes : base;
674
- }
675
-
676
64
  /*
677
65
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
678
66
  *
@@ -688,3862 +76,15 @@ function fakePolicySchema(attributes) {
688
76
  * See the License for the specific language governing permissions and
689
77
  * limitations under the License.
690
78
  */
691
-
692
- /*
693
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
694
- *
695
- * Licensed under the Apache License, Version 2.0 (the "License");
696
- * you may not use this file except in compliance with the License.
697
- * You may obtain a copy of the License at
698
- *
699
- * http://www.apache.org/licenses/LICENSE-2.0
700
- *
701
- * Unless required by applicable law or agreed to in writing, software
702
- * distributed under the License is distributed on an "AS IS" BASIS,
703
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
704
- * See the License for the specific language governing permissions and
705
- * limitations under the License.
706
- */
707
- class PolicyService extends PolicyServiceAbstract {
708
- list(_params) {
709
- return of([fakePolicyListItem()]);
710
- }
711
- listSwaggerPolicies() {
712
- return of([fakePolicyListItem()]);
713
- }
714
- getSchema(_policyId) {
715
- return of(fakePolicySchema());
716
- }
717
- getDocumentation(_policyId) {
718
- return of(fakePolicyDocumentation()).pipe(map(buffer => buffer.toString()));
719
- }
79
+ class GioPolicyStudioDetailsMenuComponent {
720
80
  }
721
- PolicyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
722
- PolicyServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService });
723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService, decorators: [{
724
- type: Injectable
725
- }] });
726
-
727
- function fakeResourceDocumentation(attributes) {
728
- const base = `
729
- = Cache Resource
730
-
731
- ifdef::env-github[]
732
- image:https://ci.gravitee.io/buildStatus/icon?job=gravitee-io/gravitee-resource-cache/master["Build status", link="https://ci.gravitee.io/job/gravitee-io/job/gravitee-resource-cache/"]
733
- image:https://badges.gitter.im/Join Chat.svg["Gitter", link="https://gitter.im/gravitee-io/gravitee-io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
734
- endif::[]
735
-
736
- == Description
737
-
738
- The cache resource is used to maintain a cache and link it to the API lifecycle.
739
- It means that the cache is initialized when the API is starting and released when API is stopped.
740
-
741
- This cache is responsible to store HTTP response from the backend to avoid subsequent calls.
742
-
743
- Current implementation of the cache resource is based on https://hazelcast.com/[Hazelcast].
744
-
745
- == Configuration
746
-
747
- You can configure the resource with the following options :
748
-
749
- |===
750
- |Property |Required |Description |Type |Default
751
-
752
- .^|name
753
- ^.^|X
754
- |The name of the cache.
755
- ^.^|string
756
- ^.^|my-cache
757
-
758
- .^|timeToIdleSeconds
759
- ^.^|X
760
- |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).
761
- ^.^|integer
762
- ^.^|0
763
-
764
- .^|timeToLiveSeconds
765
- ^.^|X
766
- |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).
767
- ^.^|integer
768
- ^.^|0
769
-
770
- .^|maxEntriesLocalHeap
771
- ^.^|X
772
- |The maximum objects to be held in local heap memory (0 = no limit).
773
- ^.^|integer
774
- ^.^|1000
775
-
776
- |===
777
-
778
-
779
- [source, json]
780
- .Configuration example
781
- ----
782
- {
783
- "name" : "cache",
784
- "type" : "cache",
785
- "enabled" : true,
786
- "configuration" : {
787
- "name": "my-cache",
788
- "timeToIdleSeconds":0,
789
- "timeToLiveSeconds":0,
790
- "maxEntriesLocalHeap":1000
791
- }
792
- }
793
- ----`;
794
- return attributes !== null && attributes !== void 0 ? attributes : base;
795
- }
796
-
797
- function fakeResourceListItem(attributes) {
798
- const base = {
799
- description: 'The resource is used to maintain a cache and link it to the API lifecycle. It means that the cache is initialized when the API is starting and released when API is stopped.',
800
- icon: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAuNzEgMTEyLjgyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZvbnQtc2l6ZToxMnB4O2ZpbGw6IzFkMWQxYjtmb250LWZhbWlseTpNeXJpYWRQcm8tUmVndWxhciwgTXlyaWFkIFBybzt9LmNscy0ye2xldHRlci1zcGFjaW5nOi0wLjAxZW07fS5jbHMtM3tmaWxsOiM4NmMzZDA7fS5jbHMtNHtmaWxsOiNmZmY7c3Ryb2tlOiNmZmY7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJIT1NUSU5HIj48dGV4dCBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE3LjkzIC00Ljk4KSI+PHRzcGFuIGNsYXNzPSJjbHMtMiI+QzwvdHNwYW4+PHRzcGFuIHg9IjYuODgiIHk9IjAiPmFjaGU8L3RzcGFuPjwvdGV4dD48cmVjdCBjbGFzcz0iY2xzLTMiIHg9IjUiIHk9IjExIiB3aWR0aD0iOTAiIGhlaWdodD0iOTAiIGZpbGw9InRyYW5zcGFyZW50IiBzdHJva2Utd2lkdGg9IjUiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik00Ny40NSw3Ny41OEEyMy4zLDIzLjMsMCwwLDEsNDIsNzYuOTNMNDIuNDYsNzVhMjEuMzQsMjEuMzQsMCwxLDAtMTEtMzQuODNsLTEuNS0xLjMyQTIzLjM0LDIzLjM0LDAsMSwxLDQ3LjQ1LDc3LjU4WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtNCIgcG9pbnRzPSI0Ni4yOCA3MC44OSAzNC40MSA3Mi4zNyA0MS42MyA4MS45MSA0Ni4yOCA3MC44OSIvPjwvZz48L3N2Zz4K',
801
- id: 'cache',
802
- name: 'Cache',
803
- schema: '{\n "type" : "object",\n "id" : "urn:jsonschema:io:gravitee:resource:cache:configuration:CacheResourceConfiguration",\n "properties" : {\n "name" : {\n "title": "Cache name",\n "description": "The name of the cache.",\n "type" : "string",\n "default": "my-cache"\n },\n "timeToIdleSeconds" : {\n "title": "Time to idle (in seconds)",\n "type" : "integer",\n "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).",\n "default": 0,\n "minimum": 0\n },\n "timeToLiveSeconds" : {\n "title": "Time to live (in seconds)",\n "type" : "integer",\n "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).",\n "default": 0,\n "minimum": 0\n },\n "maxEntriesLocalHeap" : {\n "title": "Max entries on heap",\n "description": "The maximum objects to be held in local heap memory (0 = no limit).",\n "type" : "integer",\n "default": 1000,\n "minimum": 0\n }\n },\n "required": [\n "name",\n "timeToIdleSeconds",\n "timeToLiveSeconds",\n "maxEntriesLocalHeap",\n "timeToLiveSeconds"\n ]\n}\n',
804
- version: '1.6.1',
805
- };
806
- return Object.assign(Object.assign({}, base), attributes);
807
- }
808
-
809
- /*
810
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
811
- *
812
- * Licensed under the Apache License, Version 2.0 (the "License");
813
- * you may not use this file except in compliance with the License.
814
- * You may obtain a copy of the License at
815
- *
816
- * http://www.apache.org/licenses/LICENSE-2.0
817
- *
818
- * Unless required by applicable law or agreed to in writing, software
819
- * distributed under the License is distributed on an "AS IS" BASIS,
820
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
821
- * See the License for the specific language governing permissions and
822
- * limitations under the License.
823
- */
824
-
825
- /*
826
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
827
- *
828
- * Licensed under the Apache License, Version 2.0 (the "License");
829
- * you may not use this file except in compliance with the License.
830
- * You may obtain a copy of the License at
831
- *
832
- * http://www.apache.org/licenses/LICENSE-2.0
833
- *
834
- * Unless required by applicable law or agreed to in writing, software
835
- * distributed under the License is distributed on an "AS IS" BASIS,
836
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
837
- * See the License for the specific language governing permissions and
838
- * limitations under the License.
839
- */
840
- class ResourceService extends ResourceServiceAbstract {
841
- list(_params) {
842
- return of([fakeResourceListItem()]);
843
- }
844
- getDocumentation(_resourceId) {
845
- return of(fakeResourceDocumentation());
846
- }
847
- }
848
- ResourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
849
- ResourceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService });
850
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService, decorators: [{
851
- type: Injectable
81
+ GioPolicyStudioDetailsMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioDetailsMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
82
+ GioPolicyStudioDetailsMenuComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioDetailsMenuComponent, selector: "gio-ps-flow-details", ngImport: i0, template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flow details</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] });
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioDetailsMenuComponent, decorators: [{
84
+ type: Component,
85
+ args: [{ selector: 'gio-ps-flow-details', template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flow details</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] }]
852
86
  }] });
853
87
 
854
- function fakeGrammar(attributes) {
855
- return Object.assign(Object.assign({}, base), attributes);
856
- }
857
- const base = {
858
- request: {
859
- content: {
860
- _type: 'String',
861
- },
862
- contextPath: {
863
- _type: 'String',
864
- },
865
- headers: {
866
- _type: 'HttpHeaders',
867
- },
868
- id: {
869
- _type: 'String',
870
- },
871
- localAddress: {
872
- _type: 'String',
873
- },
874
- params: {
875
- _type: 'MultiValueMap',
876
- },
877
- path: {
878
- _type: 'String',
879
- },
880
- pathInfo: {
881
- _type: 'String',
882
- },
883
- pathInfos: {
884
- _type: 'String[]',
885
- },
886
- pathParams: {
887
- _type: 'MultiValueMap',
888
- },
889
- paths: {
890
- _type: 'String[]',
891
- },
892
- remoteAddress: {
893
- _type: 'String',
894
- },
895
- scheme: {
896
- _type: 'String',
897
- },
898
- ssl: {
899
- client: {
900
- attributes: {
901
- _type: 'MultiValueMap',
902
- },
903
- businessCategory: {
904
- _type: 'String',
905
- },
906
- c: {
907
- _type: 'String',
908
- },
909
- cn: {
910
- _type: 'String',
911
- },
912
- countryOfCitizenship: {
913
- _type: 'String',
914
- },
915
- countryOfResidence: {
916
- _type: 'String',
917
- },
918
- dateOfBirth: {
919
- _type: 'String',
920
- },
921
- dc: {
922
- _type: 'String',
923
- },
924
- defined: {
925
- _type: 'boolean',
926
- },
927
- description: {
928
- _type: 'String',
929
- },
930
- dmdName: {
931
- _type: 'String',
932
- },
933
- dn: {
934
- _type: 'String',
935
- },
936
- dnQualifier: {
937
- _type: 'String',
938
- },
939
- e: {
940
- _type: 'String',
941
- },
942
- emailAddress: {
943
- _type: 'String',
944
- },
945
- gender: {
946
- _type: 'String',
947
- },
948
- generation: {
949
- _type: 'String',
950
- },
951
- givenname: {
952
- _type: 'String',
953
- },
954
- initials: {
955
- _type: 'String',
956
- },
957
- l: {
958
- _type: 'String',
959
- },
960
- name: {
961
- _type: 'String',
962
- },
963
- nameAtBirth: {
964
- _type: 'String',
965
- },
966
- o: {
967
- _type: 'String',
968
- },
969
- organizationIdentifier: {
970
- _type: 'String',
971
- },
972
- ou: {
973
- _type: 'String',
974
- },
975
- placeOfBirth: {
976
- _type: 'String',
977
- },
978
- postalAddress: {
979
- _type: 'String',
980
- },
981
- postalCode: {
982
- _type: 'String',
983
- },
984
- pseudonym: {
985
- _type: 'String',
986
- },
987
- role: {
988
- _type: 'String',
989
- },
990
- serialnumber: {
991
- _type: 'String',
992
- },
993
- st: {
994
- _type: 'String',
995
- },
996
- street: {
997
- _type: 'String',
998
- },
999
- surname: {
1000
- _type: 'String',
1001
- },
1002
- t: {
1003
- _type: 'String',
1004
- },
1005
- telephoneNumber: {
1006
- _type: 'String',
1007
- },
1008
- uid: {
1009
- _type: 'String',
1010
- },
1011
- uniqueIdentifier: {
1012
- _type: 'String',
1013
- },
1014
- unstructuredAddress: {
1015
- _type: 'String',
1016
- },
1017
- },
1018
- clientHost: {
1019
- _type: 'String',
1020
- },
1021
- clientPort: {
1022
- _type: 'Integer',
1023
- },
1024
- server: {
1025
- attributes: {
1026
- _type: 'MultiValueMap',
1027
- },
1028
- businessCategory: {
1029
- _type: 'String',
1030
- },
1031
- c: {
1032
- _type: 'String',
1033
- },
1034
- cn: {
1035
- _type: 'String',
1036
- },
1037
- countryOfCitizenship: {
1038
- _type: 'String',
1039
- },
1040
- countryOfResidence: {
1041
- _type: 'String',
1042
- },
1043
- dateOfBirth: {
1044
- _type: 'String',
1045
- },
1046
- dc: {
1047
- _type: 'String',
1048
- },
1049
- defined: {
1050
- _type: 'boolean',
1051
- },
1052
- description: {
1053
- _type: 'String',
1054
- },
1055
- dmdName: {
1056
- _type: 'String',
1057
- },
1058
- dn: {
1059
- _type: 'String',
1060
- },
1061
- dnQualifier: {
1062
- _type: 'String',
1063
- },
1064
- e: {
1065
- _type: 'String',
1066
- },
1067
- emailAddress: {
1068
- _type: 'String',
1069
- },
1070
- gender: {
1071
- _type: 'String',
1072
- },
1073
- generation: {
1074
- _type: 'String',
1075
- },
1076
- givenname: {
1077
- _type: 'String',
1078
- },
1079
- initials: {
1080
- _type: 'String',
1081
- },
1082
- l: {
1083
- _type: 'String',
1084
- },
1085
- name: {
1086
- _type: 'String',
1087
- },
1088
- nameAtBirth: {
1089
- _type: 'String',
1090
- },
1091
- o: {
1092
- _type: 'String',
1093
- },
1094
- organizationIdentifier: {
1095
- _type: 'String',
1096
- },
1097
- ou: {
1098
- _type: 'String',
1099
- },
1100
- placeOfBirth: {
1101
- _type: 'String',
1102
- },
1103
- postalAddress: {
1104
- _type: 'String',
1105
- },
1106
- postalCode: {
1107
- _type: 'String',
1108
- },
1109
- pseudonym: {
1110
- _type: 'String',
1111
- },
1112
- role: {
1113
- _type: 'String',
1114
- },
1115
- serialnumber: {
1116
- _type: 'String',
1117
- },
1118
- st: {
1119
- _type: 'String',
1120
- },
1121
- street: {
1122
- _type: 'String',
1123
- },
1124
- surname: {
1125
- _type: 'String',
1126
- },
1127
- t: {
1128
- _type: 'String',
1129
- },
1130
- telephoneNumber: {
1131
- _type: 'String',
1132
- },
1133
- uid: {
1134
- _type: 'String',
1135
- },
1136
- uniqueIdentifier: {
1137
- _type: 'String',
1138
- },
1139
- unstructuredAddress: {
1140
- _type: 'String',
1141
- },
1142
- },
1143
- },
1144
- timestamp: {
1145
- _type: 'long',
1146
- },
1147
- transactionId: {
1148
- _type: 'String',
1149
- },
1150
- uri: {
1151
- _type: 'String',
1152
- },
1153
- version: {
1154
- _type: 'String',
1155
- },
1156
- },
1157
- endpoints: {
1158
- _type: 'String[]',
1159
- },
1160
- response: {
1161
- headers: {
1162
- _type: 'HttpHeaders',
1163
- },
1164
- content: {
1165
- _type: 'String',
1166
- },
1167
- status: {
1168
- _type: 'int',
1169
- },
1170
- },
1171
- context: {
1172
- attributes: {
1173
- 'context-path': {
1174
- _type: 'String',
1175
- },
1176
- application: {
1177
- _type: 'String',
1178
- },
1179
- 'api-key': {
1180
- _type: 'String',
1181
- },
1182
- 'user-id': {
1183
- _type: 'String',
1184
- },
1185
- api: {
1186
- _type: 'String',
1187
- },
1188
- plan: {
1189
- _type: 'String',
1190
- },
1191
- 'resolved-path': {
1192
- _type: 'String',
1193
- },
1194
- },
1195
- },
1196
- _enums: {
1197
- HttpHeaders: [
1198
- 'Accept',
1199
- 'Accept-Charset',
1200
- 'Accept-Encoding',
1201
- 'Accept-Language',
1202
- 'Accept-Ranges',
1203
- 'Access-Control-Allow-Credentials',
1204
- 'Access-Control-Allow-Headers',
1205
- 'Access-Control-Allow-Methods',
1206
- 'Access-Control-Allow-Origin',
1207
- 'Access-Control-Expose-Headers',
1208
- 'Access-Control-Max-Age',
1209
- 'Access-Control-Request-Headers',
1210
- 'Access-Control-Request-Method',
1211
- 'Age',
1212
- 'Allow',
1213
- 'Authorization',
1214
- 'Cache-Control',
1215
- 'Connection',
1216
- 'Content-Disposition',
1217
- 'Content-Encoding',
1218
- 'Content-ID',
1219
- 'Content-Language',
1220
- 'Content-Length',
1221
- 'Content-Location',
1222
- 'Content-MD5',
1223
- 'Content-Range',
1224
- 'Content-Type',
1225
- 'Cookie',
1226
- 'Date',
1227
- 'ETag',
1228
- 'Expires',
1229
- 'Expect',
1230
- 'Forwarded',
1231
- 'From',
1232
- 'Host',
1233
- 'If-Match',
1234
- 'If-Modified-Since',
1235
- 'If-None-Match',
1236
- 'If-Unmodified-Since',
1237
- 'Keep-Alive',
1238
- 'Last-Modified',
1239
- 'Location',
1240
- 'Link',
1241
- 'Max-Forwards',
1242
- 'MIME-Version',
1243
- 'Origin',
1244
- 'Pragma',
1245
- 'Proxy-Authenticate',
1246
- 'Proxy-Authorization',
1247
- 'Proxy-Connection',
1248
- 'Range',
1249
- 'Referer',
1250
- 'Retry-After',
1251
- 'Server',
1252
- 'Set-Cookie',
1253
- 'Set-Cookie2',
1254
- 'TE',
1255
- 'Trailer',
1256
- 'Transfer-Encoding',
1257
- 'Upgrade',
1258
- 'User-Agent',
1259
- 'Vary',
1260
- 'Via',
1261
- 'Warning',
1262
- 'WWW-Authenticate',
1263
- 'X-Forwarded-For',
1264
- 'X-Forwarded-Proto',
1265
- 'X-Forwarded-Server',
1266
- 'X-Forwarded-Host',
1267
- 'X-Forwarded-Port',
1268
- 'X-Forwarded-Prefix',
1269
- ],
1270
- },
1271
- properties: {
1272
- _type: 'String[]',
1273
- },
1274
- dictionaries: {
1275
- _type: 'String[]',
1276
- },
1277
- _types: {
1278
- MultiValueMap: {
1279
- methods: [
1280
- {
1281
- name: 'containsKey',
1282
- returnType: 'boolean',
1283
- params: [
1284
- {
1285
- name: 'arg0',
1286
- type: 'Object',
1287
- },
1288
- ],
1289
- },
1290
- {
1291
- name: 'containsValue',
1292
- returnType: 'boolean',
1293
- params: [
1294
- {
1295
- name: 'arg0',
1296
- type: 'Object',
1297
- },
1298
- ],
1299
- },
1300
- {
1301
- name: 'entrySet',
1302
- returnType: 'Set',
1303
- },
1304
- {
1305
- name: 'get',
1306
- returnType: 'Object',
1307
- params: [
1308
- {
1309
- name: 'arg0',
1310
- type: 'Object',
1311
- },
1312
- ],
1313
- },
1314
- {
1315
- name: 'getOrDefault',
1316
- returnType: 'Object',
1317
- params: [
1318
- {
1319
- name: 'arg0',
1320
- type: 'Object',
1321
- },
1322
- {
1323
- name: 'arg1',
1324
- type: 'Object',
1325
- },
1326
- ],
1327
- },
1328
- {
1329
- name: 'isEmpty',
1330
- returnType: 'boolean',
1331
- },
1332
- {
1333
- name: 'keySet',
1334
- returnType: 'Set',
1335
- },
1336
- {
1337
- name: 'size',
1338
- returnType: 'int',
1339
- },
1340
- {
1341
- name: 'values',
1342
- returnType: 'Collection',
1343
- },
1344
- ],
1345
- },
1346
- HttpHeaders: {
1347
- methods: [
1348
- {
1349
- name: 'equals',
1350
- returnType: 'boolean',
1351
- params: [
1352
- {
1353
- name: 'arg0',
1354
- type: 'Object',
1355
- },
1356
- ],
1357
- },
1358
- {
1359
- name: 'hashCode',
1360
- returnType: 'int',
1361
- },
1362
- {
1363
- name: 'toString',
1364
- returnType: 'String',
1365
- },
1366
- {
1367
- name: 'containsKey',
1368
- returnType: 'boolean',
1369
- params: [
1370
- {
1371
- name: 'arg0',
1372
- type: 'Object',
1373
- },
1374
- ],
1375
- },
1376
- {
1377
- name: 'containsValue',
1378
- returnType: 'boolean',
1379
- params: [
1380
- {
1381
- name: 'arg0',
1382
- type: 'Object',
1383
- },
1384
- ],
1385
- },
1386
- {
1387
- name: 'entrySet',
1388
- returnType: 'Set',
1389
- },
1390
- {
1391
- name: 'get',
1392
- returnType: 'Object',
1393
- params: [
1394
- {
1395
- name: 'arg0',
1396
- type: 'Object',
1397
- },
1398
- ],
1399
- },
1400
- {
1401
- name: 'getOrDefault',
1402
- returnType: 'Object',
1403
- params: [
1404
- {
1405
- name: 'arg0',
1406
- type: 'Object',
1407
- },
1408
- {
1409
- name: 'arg1',
1410
- type: 'Object',
1411
- },
1412
- ],
1413
- },
1414
- {
1415
- name: 'isEmpty',
1416
- returnType: 'boolean',
1417
- },
1418
- {
1419
- name: 'keySet',
1420
- returnType: 'Set',
1421
- },
1422
- {
1423
- name: 'size',
1424
- returnType: 'int',
1425
- },
1426
- {
1427
- name: 'values',
1428
- returnType: 'Collection',
1429
- },
1430
- ],
1431
- },
1432
- Map: {
1433
- methods: [
1434
- {
1435
- name: 'containsKey',
1436
- returnType: 'boolean',
1437
- params: [
1438
- {
1439
- name: 'arg0',
1440
- type: 'Object',
1441
- },
1442
- ],
1443
- },
1444
- {
1445
- name: 'containsValue',
1446
- returnType: 'boolean',
1447
- params: [
1448
- {
1449
- name: 'arg0',
1450
- type: 'Object',
1451
- },
1452
- ],
1453
- },
1454
- {
1455
- name: 'entrySet',
1456
- returnType: 'Set',
1457
- },
1458
- {
1459
- name: 'get',
1460
- returnType: 'Object',
1461
- params: [
1462
- {
1463
- name: 'arg0',
1464
- type: 'Object',
1465
- },
1466
- ],
1467
- },
1468
- {
1469
- name: 'getOrDefault',
1470
- returnType: 'Object',
1471
- params: [
1472
- {
1473
- name: 'arg0',
1474
- type: 'Object',
1475
- },
1476
- {
1477
- name: 'arg1',
1478
- type: 'Object',
1479
- },
1480
- ],
1481
- },
1482
- {
1483
- name: 'isEmpty',
1484
- returnType: 'boolean',
1485
- },
1486
- {
1487
- name: 'keySet',
1488
- returnType: 'Set',
1489
- },
1490
- {
1491
- name: 'size',
1492
- returnType: 'int',
1493
- },
1494
- {
1495
- name: 'values',
1496
- returnType: 'Collection',
1497
- },
1498
- ],
1499
- },
1500
- Boolean: {
1501
- methods: [
1502
- {
1503
- name: 'equals',
1504
- returnType: 'boolean',
1505
- params: [
1506
- {
1507
- name: 'arg0',
1508
- type: 'Object',
1509
- },
1510
- ],
1511
- },
1512
- {
1513
- name: 'hashCode',
1514
- returnType: 'int',
1515
- },
1516
- {
1517
- name: 'toString',
1518
- returnType: 'String',
1519
- },
1520
- ],
1521
- },
1522
- Integer: {
1523
- methods: [
1524
- {
1525
- name: 'numberOfLeadingZeros',
1526
- returnType: 'int',
1527
- params: [
1528
- {
1529
- name: 'arg0',
1530
- type: 'int',
1531
- },
1532
- ],
1533
- },
1534
- {
1535
- name: 'numberOfTrailingZeros',
1536
- returnType: 'int',
1537
- params: [
1538
- {
1539
- name: 'arg0',
1540
- type: 'int',
1541
- },
1542
- ],
1543
- },
1544
- {
1545
- name: 'bitCount',
1546
- returnType: 'int',
1547
- params: [
1548
- {
1549
- name: 'arg0',
1550
- type: 'int',
1551
- },
1552
- ],
1553
- },
1554
- {
1555
- name: 'equals',
1556
- returnType: 'boolean',
1557
- params: [
1558
- {
1559
- name: 'arg0',
1560
- type: 'Object',
1561
- },
1562
- ],
1563
- },
1564
- {
1565
- name: 'toString',
1566
- returnType: 'String',
1567
- params: [
1568
- {
1569
- name: 'arg0',
1570
- type: 'int',
1571
- },
1572
- ],
1573
- },
1574
- {
1575
- name: 'toString',
1576
- returnType: 'String',
1577
- params: [
1578
- {
1579
- name: 'arg0',
1580
- type: 'int',
1581
- },
1582
- {
1583
- name: 'arg1',
1584
- type: 'int',
1585
- },
1586
- ],
1587
- },
1588
- {
1589
- name: 'toString',
1590
- returnType: 'String',
1591
- },
1592
- {
1593
- name: 'hashCode',
1594
- returnType: 'int',
1595
- params: [
1596
- {
1597
- name: 'arg0',
1598
- type: 'int',
1599
- },
1600
- ],
1601
- },
1602
- {
1603
- name: 'hashCode',
1604
- returnType: 'int',
1605
- },
1606
- {
1607
- name: 'min',
1608
- returnType: 'int',
1609
- params: [
1610
- {
1611
- name: 'arg0',
1612
- type: 'int',
1613
- },
1614
- {
1615
- name: 'arg1',
1616
- type: 'int',
1617
- },
1618
- ],
1619
- },
1620
- {
1621
- name: 'max',
1622
- returnType: 'int',
1623
- params: [
1624
- {
1625
- name: 'arg0',
1626
- type: 'int',
1627
- },
1628
- {
1629
- name: 'arg1',
1630
- type: 'int',
1631
- },
1632
- ],
1633
- },
1634
- {
1635
- name: 'signum',
1636
- returnType: 'int',
1637
- params: [
1638
- {
1639
- name: 'arg0',
1640
- type: 'int',
1641
- },
1642
- ],
1643
- },
1644
- {
1645
- name: 'reverseBytes',
1646
- returnType: 'int',
1647
- params: [
1648
- {
1649
- name: 'arg0',
1650
- type: 'int',
1651
- },
1652
- ],
1653
- },
1654
- {
1655
- name: 'compareTo',
1656
- returnType: 'int',
1657
- params: [
1658
- {
1659
- name: 'arg0',
1660
- type: 'Object',
1661
- },
1662
- ],
1663
- },
1664
- {
1665
- name: 'compareTo',
1666
- returnType: 'int',
1667
- params: [
1668
- {
1669
- name: 'arg0',
1670
- type: 'Integer',
1671
- },
1672
- ],
1673
- },
1674
- {
1675
- name: 'byteValue',
1676
- returnType: 'byte',
1677
- },
1678
- {
1679
- name: 'shortValue',
1680
- returnType: 'short',
1681
- },
1682
- {
1683
- name: 'intValue',
1684
- returnType: 'int',
1685
- },
1686
- {
1687
- name: 'longValue',
1688
- returnType: 'long',
1689
- },
1690
- {
1691
- name: 'floatValue',
1692
- returnType: 'float',
1693
- },
1694
- {
1695
- name: 'doubleValue',
1696
- returnType: 'double',
1697
- },
1698
- {
1699
- name: 'valueOf',
1700
- returnType: 'Integer',
1701
- params: [
1702
- {
1703
- name: 'arg0',
1704
- type: 'String',
1705
- },
1706
- ],
1707
- },
1708
- {
1709
- name: 'valueOf',
1710
- returnType: 'Integer',
1711
- params: [
1712
- {
1713
- name: 'arg0',
1714
- type: 'int',
1715
- },
1716
- ],
1717
- },
1718
- {
1719
- name: 'valueOf',
1720
- returnType: 'Integer',
1721
- params: [
1722
- {
1723
- name: 'arg0',
1724
- type: 'String',
1725
- },
1726
- {
1727
- name: 'arg1',
1728
- type: 'int',
1729
- },
1730
- ],
1731
- },
1732
- {
1733
- name: 'toHexString',
1734
- returnType: 'String',
1735
- params: [
1736
- {
1737
- name: 'arg0',
1738
- type: 'int',
1739
- },
1740
- ],
1741
- },
1742
- {
1743
- name: 'decode',
1744
- returnType: 'Integer',
1745
- params: [
1746
- {
1747
- name: 'arg0',
1748
- type: 'String',
1749
- },
1750
- ],
1751
- },
1752
- {
1753
- name: 'compare',
1754
- returnType: 'int',
1755
- params: [
1756
- {
1757
- name: 'arg0',
1758
- type: 'int',
1759
- },
1760
- {
1761
- name: 'arg1',
1762
- type: 'int',
1763
- },
1764
- ],
1765
- },
1766
- {
1767
- name: 'reverse',
1768
- returnType: 'int',
1769
- params: [
1770
- {
1771
- name: 'arg0',
1772
- type: 'int',
1773
- },
1774
- ],
1775
- },
1776
- {
1777
- name: 'toUnsignedLong',
1778
- returnType: 'long',
1779
- params: [
1780
- {
1781
- name: 'arg0',
1782
- type: 'int',
1783
- },
1784
- ],
1785
- },
1786
- {
1787
- name: 'parseInt',
1788
- returnType: 'int',
1789
- params: [
1790
- {
1791
- name: 'arg0',
1792
- type: 'String',
1793
- },
1794
- {
1795
- name: 'arg1',
1796
- type: 'int',
1797
- },
1798
- ],
1799
- },
1800
- {
1801
- name: 'parseInt',
1802
- returnType: 'int',
1803
- params: [
1804
- {
1805
- name: 'arg0',
1806
- type: 'String',
1807
- },
1808
- ],
1809
- },
1810
- {
1811
- name: 'parseInt',
1812
- returnType: 'int',
1813
- params: [
1814
- {
1815
- name: 'arg0',
1816
- type: 'CharSequence',
1817
- },
1818
- {
1819
- name: 'arg1',
1820
- type: 'int',
1821
- },
1822
- {
1823
- name: 'arg2',
1824
- type: 'int',
1825
- },
1826
- {
1827
- name: 'arg3',
1828
- type: 'int',
1829
- },
1830
- ],
1831
- },
1832
- {
1833
- name: 'sum',
1834
- returnType: 'int',
1835
- params: [
1836
- {
1837
- name: 'arg0',
1838
- type: 'int',
1839
- },
1840
- {
1841
- name: 'arg1',
1842
- type: 'int',
1843
- },
1844
- ],
1845
- },
1846
- {
1847
- name: 'compareUnsigned',
1848
- returnType: 'int',
1849
- params: [
1850
- {
1851
- name: 'arg0',
1852
- type: 'int',
1853
- },
1854
- {
1855
- name: 'arg1',
1856
- type: 'int',
1857
- },
1858
- ],
1859
- },
1860
- {
1861
- name: 'toUnsignedString',
1862
- returnType: 'String',
1863
- params: [
1864
- {
1865
- name: 'arg0',
1866
- type: 'int',
1867
- },
1868
- {
1869
- name: 'arg1',
1870
- type: 'int',
1871
- },
1872
- ],
1873
- },
1874
- {
1875
- name: 'toUnsignedString',
1876
- returnType: 'String',
1877
- params: [
1878
- {
1879
- name: 'arg0',
1880
- type: 'int',
1881
- },
1882
- ],
1883
- },
1884
- {
1885
- name: 'toOctalString',
1886
- returnType: 'String',
1887
- params: [
1888
- {
1889
- name: 'arg0',
1890
- type: 'int',
1891
- },
1892
- ],
1893
- },
1894
- {
1895
- name: 'toBinaryString',
1896
- returnType: 'String',
1897
- params: [
1898
- {
1899
- name: 'arg0',
1900
- type: 'int',
1901
- },
1902
- ],
1903
- },
1904
- {
1905
- name: 'parseUnsignedInt',
1906
- returnType: 'int',
1907
- params: [
1908
- {
1909
- name: 'arg0',
1910
- type: 'String',
1911
- },
1912
- {
1913
- name: 'arg1',
1914
- type: 'int',
1915
- },
1916
- ],
1917
- },
1918
- {
1919
- name: 'parseUnsignedInt',
1920
- returnType: 'int',
1921
- params: [
1922
- {
1923
- name: 'arg0',
1924
- type: 'String',
1925
- },
1926
- ],
1927
- },
1928
- {
1929
- name: 'parseUnsignedInt',
1930
- returnType: 'int',
1931
- params: [
1932
- {
1933
- name: 'arg0',
1934
- type: 'CharSequence',
1935
- },
1936
- {
1937
- name: 'arg1',
1938
- type: 'int',
1939
- },
1940
- {
1941
- name: 'arg2',
1942
- type: 'int',
1943
- },
1944
- {
1945
- name: 'arg3',
1946
- type: 'int',
1947
- },
1948
- ],
1949
- },
1950
- {
1951
- name: 'getInteger',
1952
- returnType: 'Integer',
1953
- params: [
1954
- {
1955
- name: 'arg0',
1956
- type: 'String',
1957
- },
1958
- {
1959
- name: 'arg1',
1960
- type: 'int',
1961
- },
1962
- ],
1963
- },
1964
- {
1965
- name: 'getInteger',
1966
- returnType: 'Integer',
1967
- params: [
1968
- {
1969
- name: 'arg0',
1970
- type: 'String',
1971
- },
1972
- ],
1973
- },
1974
- {
1975
- name: 'getInteger',
1976
- returnType: 'Integer',
1977
- params: [
1978
- {
1979
- name: 'arg0',
1980
- type: 'String',
1981
- },
1982
- {
1983
- name: 'arg1',
1984
- type: 'Integer',
1985
- },
1986
- ],
1987
- },
1988
- {
1989
- name: 'divideUnsigned',
1990
- returnType: 'int',
1991
- params: [
1992
- {
1993
- name: 'arg0',
1994
- type: 'int',
1995
- },
1996
- {
1997
- name: 'arg1',
1998
- type: 'int',
1999
- },
2000
- ],
2001
- },
2002
- {
2003
- name: 'remainderUnsigned',
2004
- returnType: 'int',
2005
- params: [
2006
- {
2007
- name: 'arg0',
2008
- type: 'int',
2009
- },
2010
- {
2011
- name: 'arg1',
2012
- type: 'int',
2013
- },
2014
- ],
2015
- },
2016
- {
2017
- name: 'highestOneBit',
2018
- returnType: 'int',
2019
- params: [
2020
- {
2021
- name: 'arg0',
2022
- type: 'int',
2023
- },
2024
- ],
2025
- },
2026
- {
2027
- name: 'lowestOneBit',
2028
- returnType: 'int',
2029
- params: [
2030
- {
2031
- name: 'arg0',
2032
- type: 'int',
2033
- },
2034
- ],
2035
- },
2036
- {
2037
- name: 'rotateLeft',
2038
- returnType: 'int',
2039
- params: [
2040
- {
2041
- name: 'arg0',
2042
- type: 'int',
2043
- },
2044
- {
2045
- name: 'arg1',
2046
- type: 'int',
2047
- },
2048
- ],
2049
- },
2050
- {
2051
- name: 'rotateRight',
2052
- returnType: 'int',
2053
- params: [
2054
- {
2055
- name: 'arg0',
2056
- type: 'int',
2057
- },
2058
- {
2059
- name: 'arg1',
2060
- type: 'int',
2061
- },
2062
- ],
2063
- },
2064
- {
2065
- name: 'equals',
2066
- returnType: 'boolean',
2067
- params: [
2068
- {
2069
- name: 'arg0',
2070
- type: 'Object',
2071
- },
2072
- ],
2073
- },
2074
- {
2075
- name: 'hashCode',
2076
- returnType: 'int',
2077
- },
2078
- {
2079
- name: 'toString',
2080
- returnType: 'String',
2081
- },
2082
- ],
2083
- },
2084
- Long: {
2085
- methods: [
2086
- {
2087
- name: 'numberOfLeadingZeros',
2088
- returnType: 'int',
2089
- params: [
2090
- {
2091
- name: 'arg0',
2092
- type: 'long',
2093
- },
2094
- ],
2095
- },
2096
- {
2097
- name: 'numberOfTrailingZeros',
2098
- returnType: 'int',
2099
- params: [
2100
- {
2101
- name: 'arg0',
2102
- type: 'long',
2103
- },
2104
- ],
2105
- },
2106
- {
2107
- name: 'bitCount',
2108
- returnType: 'int',
2109
- params: [
2110
- {
2111
- name: 'arg0',
2112
- type: 'long',
2113
- },
2114
- ],
2115
- },
2116
- {
2117
- name: 'equals',
2118
- returnType: 'boolean',
2119
- params: [
2120
- {
2121
- name: 'arg0',
2122
- type: 'Object',
2123
- },
2124
- ],
2125
- },
2126
- {
2127
- name: 'toString',
2128
- returnType: 'String',
2129
- params: [
2130
- {
2131
- name: 'arg0',
2132
- type: 'long',
2133
- },
2134
- ],
2135
- },
2136
- {
2137
- name: 'toString',
2138
- returnType: 'String',
2139
- params: [
2140
- {
2141
- name: 'arg0',
2142
- type: 'long',
2143
- },
2144
- {
2145
- name: 'arg1',
2146
- type: 'int',
2147
- },
2148
- ],
2149
- },
2150
- {
2151
- name: 'toString',
2152
- returnType: 'String',
2153
- },
2154
- {
2155
- name: 'hashCode',
2156
- returnType: 'int',
2157
- params: [
2158
- {
2159
- name: 'arg0',
2160
- type: 'long',
2161
- },
2162
- ],
2163
- },
2164
- {
2165
- name: 'hashCode',
2166
- returnType: 'int',
2167
- },
2168
- {
2169
- name: 'min',
2170
- returnType: 'long',
2171
- params: [
2172
- {
2173
- name: 'arg0',
2174
- type: 'long',
2175
- },
2176
- {
2177
- name: 'arg1',
2178
- type: 'long',
2179
- },
2180
- ],
2181
- },
2182
- {
2183
- name: 'max',
2184
- returnType: 'long',
2185
- params: [
2186
- {
2187
- name: 'arg0',
2188
- type: 'long',
2189
- },
2190
- {
2191
- name: 'arg1',
2192
- type: 'long',
2193
- },
2194
- ],
2195
- },
2196
- {
2197
- name: 'signum',
2198
- returnType: 'int',
2199
- params: [
2200
- {
2201
- name: 'arg0',
2202
- type: 'long',
2203
- },
2204
- ],
2205
- },
2206
- {
2207
- name: 'reverseBytes',
2208
- returnType: 'long',
2209
- params: [
2210
- {
2211
- name: 'arg0',
2212
- type: 'long',
2213
- },
2214
- ],
2215
- },
2216
- {
2217
- name: 'compareTo',
2218
- returnType: 'int',
2219
- params: [
2220
- {
2221
- name: 'arg0',
2222
- type: 'Object',
2223
- },
2224
- ],
2225
- },
2226
- {
2227
- name: 'compareTo',
2228
- returnType: 'int',
2229
- params: [
2230
- {
2231
- name: 'arg0',
2232
- type: 'Long',
2233
- },
2234
- ],
2235
- },
2236
- {
2237
- name: 'getLong',
2238
- returnType: 'Long',
2239
- params: [
2240
- {
2241
- name: 'arg0',
2242
- type: 'String',
2243
- },
2244
- ],
2245
- },
2246
- {
2247
- name: 'getLong',
2248
- returnType: 'Long',
2249
- params: [
2250
- {
2251
- name: 'arg0',
2252
- type: 'String',
2253
- },
2254
- {
2255
- name: 'arg1',
2256
- type: 'long',
2257
- },
2258
- ],
2259
- },
2260
- {
2261
- name: 'getLong',
2262
- returnType: 'Long',
2263
- params: [
2264
- {
2265
- name: 'arg0',
2266
- type: 'String',
2267
- },
2268
- {
2269
- name: 'arg1',
2270
- type: 'Long',
2271
- },
2272
- ],
2273
- },
2274
- {
2275
- name: 'byteValue',
2276
- returnType: 'byte',
2277
- },
2278
- {
2279
- name: 'shortValue',
2280
- returnType: 'short',
2281
- },
2282
- {
2283
- name: 'intValue',
2284
- returnType: 'int',
2285
- },
2286
- {
2287
- name: 'longValue',
2288
- returnType: 'long',
2289
- },
2290
- {
2291
- name: 'floatValue',
2292
- returnType: 'float',
2293
- },
2294
- {
2295
- name: 'doubleValue',
2296
- returnType: 'double',
2297
- },
2298
- {
2299
- name: 'valueOf',
2300
- returnType: 'Long',
2301
- params: [
2302
- {
2303
- name: 'arg0',
2304
- type: 'long',
2305
- },
2306
- ],
2307
- },
2308
- {
2309
- name: 'valueOf',
2310
- returnType: 'Long',
2311
- params: [
2312
- {
2313
- name: 'arg0',
2314
- type: 'String',
2315
- },
2316
- {
2317
- name: 'arg1',
2318
- type: 'int',
2319
- },
2320
- ],
2321
- },
2322
- {
2323
- name: 'valueOf',
2324
- returnType: 'Long',
2325
- params: [
2326
- {
2327
- name: 'arg0',
2328
- type: 'String',
2329
- },
2330
- ],
2331
- },
2332
- {
2333
- name: 'toHexString',
2334
- returnType: 'String',
2335
- params: [
2336
- {
2337
- name: 'arg0',
2338
- type: 'long',
2339
- },
2340
- ],
2341
- },
2342
- {
2343
- name: 'decode',
2344
- returnType: 'Long',
2345
- params: [
2346
- {
2347
- name: 'arg0',
2348
- type: 'String',
2349
- },
2350
- ],
2351
- },
2352
- {
2353
- name: 'compare',
2354
- returnType: 'int',
2355
- params: [
2356
- {
2357
- name: 'arg0',
2358
- type: 'long',
2359
- },
2360
- {
2361
- name: 'arg1',
2362
- type: 'long',
2363
- },
2364
- ],
2365
- },
2366
- {
2367
- name: 'reverse',
2368
- returnType: 'long',
2369
- params: [
2370
- {
2371
- name: 'arg0',
2372
- type: 'long',
2373
- },
2374
- ],
2375
- },
2376
- {
2377
- name: 'sum',
2378
- returnType: 'long',
2379
- params: [
2380
- {
2381
- name: 'arg0',
2382
- type: 'long',
2383
- },
2384
- {
2385
- name: 'arg1',
2386
- type: 'long',
2387
- },
2388
- ],
2389
- },
2390
- {
2391
- name: 'compareUnsigned',
2392
- returnType: 'int',
2393
- params: [
2394
- {
2395
- name: 'arg0',
2396
- type: 'long',
2397
- },
2398
- {
2399
- name: 'arg1',
2400
- type: 'long',
2401
- },
2402
- ],
2403
- },
2404
- {
2405
- name: 'toUnsignedString',
2406
- returnType: 'String',
2407
- params: [
2408
- {
2409
- name: 'arg0',
2410
- type: 'long',
2411
- },
2412
- {
2413
- name: 'arg1',
2414
- type: 'int',
2415
- },
2416
- ],
2417
- },
2418
- {
2419
- name: 'toUnsignedString',
2420
- returnType: 'String',
2421
- params: [
2422
- {
2423
- name: 'arg0',
2424
- type: 'long',
2425
- },
2426
- ],
2427
- },
2428
- {
2429
- name: 'toOctalString',
2430
- returnType: 'String',
2431
- params: [
2432
- {
2433
- name: 'arg0',
2434
- type: 'long',
2435
- },
2436
- ],
2437
- },
2438
- {
2439
- name: 'toBinaryString',
2440
- returnType: 'String',
2441
- params: [
2442
- {
2443
- name: 'arg0',
2444
- type: 'long',
2445
- },
2446
- ],
2447
- },
2448
- {
2449
- name: 'parseLong',
2450
- returnType: 'long',
2451
- params: [
2452
- {
2453
- name: 'arg0',
2454
- type: 'String',
2455
- },
2456
- {
2457
- name: 'arg1',
2458
- type: 'int',
2459
- },
2460
- ],
2461
- },
2462
- {
2463
- name: 'parseLong',
2464
- returnType: 'long',
2465
- params: [
2466
- {
2467
- name: 'arg0',
2468
- type: 'CharSequence',
2469
- },
2470
- {
2471
- name: 'arg1',
2472
- type: 'int',
2473
- },
2474
- {
2475
- name: 'arg2',
2476
- type: 'int',
2477
- },
2478
- {
2479
- name: 'arg3',
2480
- type: 'int',
2481
- },
2482
- ],
2483
- },
2484
- {
2485
- name: 'parseLong',
2486
- returnType: 'long',
2487
- params: [
2488
- {
2489
- name: 'arg0',
2490
- type: 'String',
2491
- },
2492
- ],
2493
- },
2494
- {
2495
- name: 'divideUnsigned',
2496
- returnType: 'long',
2497
- params: [
2498
- {
2499
- name: 'arg0',
2500
- type: 'long',
2501
- },
2502
- {
2503
- name: 'arg1',
2504
- type: 'long',
2505
- },
2506
- ],
2507
- },
2508
- {
2509
- name: 'remainderUnsigned',
2510
- returnType: 'long',
2511
- params: [
2512
- {
2513
- name: 'arg0',
2514
- type: 'long',
2515
- },
2516
- {
2517
- name: 'arg1',
2518
- type: 'long',
2519
- },
2520
- ],
2521
- },
2522
- {
2523
- name: 'highestOneBit',
2524
- returnType: 'long',
2525
- params: [
2526
- {
2527
- name: 'arg0',
2528
- type: 'long',
2529
- },
2530
- ],
2531
- },
2532
- {
2533
- name: 'lowestOneBit',
2534
- returnType: 'long',
2535
- params: [
2536
- {
2537
- name: 'arg0',
2538
- type: 'long',
2539
- },
2540
- ],
2541
- },
2542
- {
2543
- name: 'rotateLeft',
2544
- returnType: 'long',
2545
- params: [
2546
- {
2547
- name: 'arg0',
2548
- type: 'long',
2549
- },
2550
- {
2551
- name: 'arg1',
2552
- type: 'int',
2553
- },
2554
- ],
2555
- },
2556
- {
2557
- name: 'rotateRight',
2558
- returnType: 'long',
2559
- params: [
2560
- {
2561
- name: 'arg0',
2562
- type: 'long',
2563
- },
2564
- {
2565
- name: 'arg1',
2566
- type: 'int',
2567
- },
2568
- ],
2569
- },
2570
- {
2571
- name: 'parseUnsignedLong',
2572
- returnType: 'long',
2573
- params: [
2574
- {
2575
- name: 'arg0',
2576
- type: 'String',
2577
- },
2578
- ],
2579
- },
2580
- {
2581
- name: 'parseUnsignedLong',
2582
- returnType: 'long',
2583
- params: [
2584
- {
2585
- name: 'arg0',
2586
- type: 'CharSequence',
2587
- },
2588
- {
2589
- name: 'arg1',
2590
- type: 'int',
2591
- },
2592
- {
2593
- name: 'arg2',
2594
- type: 'int',
2595
- },
2596
- {
2597
- name: 'arg3',
2598
- type: 'int',
2599
- },
2600
- ],
2601
- },
2602
- {
2603
- name: 'parseUnsignedLong',
2604
- returnType: 'long',
2605
- params: [
2606
- {
2607
- name: 'arg0',
2608
- type: 'String',
2609
- },
2610
- {
2611
- name: 'arg1',
2612
- type: 'int',
2613
- },
2614
- ],
2615
- },
2616
- {
2617
- name: 'equals',
2618
- returnType: 'boolean',
2619
- params: [
2620
- {
2621
- name: 'arg0',
2622
- type: 'Object',
2623
- },
2624
- ],
2625
- },
2626
- {
2627
- name: 'hashCode',
2628
- returnType: 'int',
2629
- },
2630
- {
2631
- name: 'toString',
2632
- returnType: 'String',
2633
- },
2634
- ],
2635
- },
2636
- Math: {
2637
- methods: [
2638
- {
2639
- name: 'abs',
2640
- returnType: 'long',
2641
- params: [
2642
- {
2643
- name: 'arg0',
2644
- type: 'long',
2645
- },
2646
- ],
2647
- },
2648
- {
2649
- name: 'abs',
2650
- returnType: 'double',
2651
- params: [
2652
- {
2653
- name: 'arg0',
2654
- type: 'double',
2655
- },
2656
- ],
2657
- },
2658
- {
2659
- name: 'abs',
2660
- returnType: 'int',
2661
- params: [
2662
- {
2663
- name: 'arg0',
2664
- type: 'int',
2665
- },
2666
- ],
2667
- },
2668
- {
2669
- name: 'abs',
2670
- returnType: 'float',
2671
- params: [
2672
- {
2673
- name: 'arg0',
2674
- type: 'float',
2675
- },
2676
- ],
2677
- },
2678
- {
2679
- name: 'sin',
2680
- returnType: 'double',
2681
- params: [
2682
- {
2683
- name: 'arg0',
2684
- type: 'double',
2685
- },
2686
- ],
2687
- },
2688
- {
2689
- name: 'cos',
2690
- returnType: 'double',
2691
- params: [
2692
- {
2693
- name: 'arg0',
2694
- type: 'double',
2695
- },
2696
- ],
2697
- },
2698
- {
2699
- name: 'tan',
2700
- returnType: 'double',
2701
- params: [
2702
- {
2703
- name: 'arg0',
2704
- type: 'double',
2705
- },
2706
- ],
2707
- },
2708
- {
2709
- name: 'atan2',
2710
- returnType: 'double',
2711
- params: [
2712
- {
2713
- name: 'arg0',
2714
- type: 'double',
2715
- },
2716
- {
2717
- name: 'arg1',
2718
- type: 'double',
2719
- },
2720
- ],
2721
- },
2722
- {
2723
- name: 'sqrt',
2724
- returnType: 'double',
2725
- params: [
2726
- {
2727
- name: 'arg0',
2728
- type: 'double',
2729
- },
2730
- ],
2731
- },
2732
- {
2733
- name: 'log',
2734
- returnType: 'double',
2735
- params: [
2736
- {
2737
- name: 'arg0',
2738
- type: 'double',
2739
- },
2740
- ],
2741
- },
2742
- {
2743
- name: 'log10',
2744
- returnType: 'double',
2745
- params: [
2746
- {
2747
- name: 'arg0',
2748
- type: 'double',
2749
- },
2750
- ],
2751
- },
2752
- {
2753
- name: 'pow',
2754
- returnType: 'double',
2755
- params: [
2756
- {
2757
- name: 'arg0',
2758
- type: 'double',
2759
- },
2760
- {
2761
- name: 'arg1',
2762
- type: 'double',
2763
- },
2764
- ],
2765
- },
2766
- {
2767
- name: 'exp',
2768
- returnType: 'double',
2769
- params: [
2770
- {
2771
- name: 'arg0',
2772
- type: 'double',
2773
- },
2774
- ],
2775
- },
2776
- {
2777
- name: 'min',
2778
- returnType: 'long',
2779
- params: [
2780
- {
2781
- name: 'arg0',
2782
- type: 'long',
2783
- },
2784
- {
2785
- name: 'arg1',
2786
- type: 'long',
2787
- },
2788
- ],
2789
- },
2790
- {
2791
- name: 'min',
2792
- returnType: 'float',
2793
- params: [
2794
- {
2795
- name: 'arg0',
2796
- type: 'float',
2797
- },
2798
- {
2799
- name: 'arg1',
2800
- type: 'float',
2801
- },
2802
- ],
2803
- },
2804
- {
2805
- name: 'min',
2806
- returnType: 'double',
2807
- params: [
2808
- {
2809
- name: 'arg0',
2810
- type: 'double',
2811
- },
2812
- {
2813
- name: 'arg1',
2814
- type: 'double',
2815
- },
2816
- ],
2817
- },
2818
- {
2819
- name: 'min',
2820
- returnType: 'int',
2821
- params: [
2822
- {
2823
- name: 'arg0',
2824
- type: 'int',
2825
- },
2826
- {
2827
- name: 'arg1',
2828
- type: 'int',
2829
- },
2830
- ],
2831
- },
2832
- {
2833
- name: 'max',
2834
- returnType: 'long',
2835
- params: [
2836
- {
2837
- name: 'arg0',
2838
- type: 'long',
2839
- },
2840
- {
2841
- name: 'arg1',
2842
- type: 'long',
2843
- },
2844
- ],
2845
- },
2846
- {
2847
- name: 'max',
2848
- returnType: 'float',
2849
- params: [
2850
- {
2851
- name: 'arg0',
2852
- type: 'float',
2853
- },
2854
- {
2855
- name: 'arg1',
2856
- type: 'float',
2857
- },
2858
- ],
2859
- },
2860
- {
2861
- name: 'max',
2862
- returnType: 'double',
2863
- params: [
2864
- {
2865
- name: 'arg0',
2866
- type: 'double',
2867
- },
2868
- {
2869
- name: 'arg1',
2870
- type: 'double',
2871
- },
2872
- ],
2873
- },
2874
- {
2875
- name: 'max',
2876
- returnType: 'int',
2877
- params: [
2878
- {
2879
- name: 'arg0',
2880
- type: 'int',
2881
- },
2882
- {
2883
- name: 'arg1',
2884
- type: 'int',
2885
- },
2886
- ],
2887
- },
2888
- {
2889
- name: 'floor',
2890
- returnType: 'double',
2891
- params: [
2892
- {
2893
- name: 'arg0',
2894
- type: 'double',
2895
- },
2896
- ],
2897
- },
2898
- {
2899
- name: 'ceil',
2900
- returnType: 'double',
2901
- params: [
2902
- {
2903
- name: 'arg0',
2904
- type: 'double',
2905
- },
2906
- ],
2907
- },
2908
- {
2909
- name: 'rint',
2910
- returnType: 'double',
2911
- params: [
2912
- {
2913
- name: 'arg0',
2914
- type: 'double',
2915
- },
2916
- ],
2917
- },
2918
- {
2919
- name: 'addExact',
2920
- returnType: 'int',
2921
- params: [
2922
- {
2923
- name: 'arg0',
2924
- type: 'int',
2925
- },
2926
- {
2927
- name: 'arg1',
2928
- type: 'int',
2929
- },
2930
- ],
2931
- },
2932
- {
2933
- name: 'addExact',
2934
- returnType: 'long',
2935
- params: [
2936
- {
2937
- name: 'arg0',
2938
- type: 'long',
2939
- },
2940
- {
2941
- name: 'arg1',
2942
- type: 'long',
2943
- },
2944
- ],
2945
- },
2946
- {
2947
- name: 'decrementExact',
2948
- returnType: 'int',
2949
- params: [
2950
- {
2951
- name: 'arg0',
2952
- type: 'int',
2953
- },
2954
- ],
2955
- },
2956
- {
2957
- name: 'decrementExact',
2958
- returnType: 'long',
2959
- params: [
2960
- {
2961
- name: 'arg0',
2962
- type: 'long',
2963
- },
2964
- ],
2965
- },
2966
- {
2967
- name: 'incrementExact',
2968
- returnType: 'long',
2969
- params: [
2970
- {
2971
- name: 'arg0',
2972
- type: 'long',
2973
- },
2974
- ],
2975
- },
2976
- {
2977
- name: 'incrementExact',
2978
- returnType: 'int',
2979
- params: [
2980
- {
2981
- name: 'arg0',
2982
- type: 'int',
2983
- },
2984
- ],
2985
- },
2986
- {
2987
- name: 'multiplyExact',
2988
- returnType: 'int',
2989
- params: [
2990
- {
2991
- name: 'arg0',
2992
- type: 'int',
2993
- },
2994
- {
2995
- name: 'arg1',
2996
- type: 'int',
2997
- },
2998
- ],
2999
- },
3000
- {
3001
- name: 'multiplyExact',
3002
- returnType: 'long',
3003
- params: [
3004
- {
3005
- name: 'arg0',
3006
- type: 'long',
3007
- },
3008
- {
3009
- name: 'arg1',
3010
- type: 'int',
3011
- },
3012
- ],
3013
- },
3014
- {
3015
- name: 'multiplyExact',
3016
- returnType: 'long',
3017
- params: [
3018
- {
3019
- name: 'arg0',
3020
- type: 'long',
3021
- },
3022
- {
3023
- name: 'arg1',
3024
- type: 'long',
3025
- },
3026
- ],
3027
- },
3028
- {
3029
- name: 'multiplyHigh',
3030
- returnType: 'long',
3031
- params: [
3032
- {
3033
- name: 'arg0',
3034
- type: 'long',
3035
- },
3036
- {
3037
- name: 'arg1',
3038
- type: 'long',
3039
- },
3040
- ],
3041
- },
3042
- {
3043
- name: 'negateExact',
3044
- returnType: 'long',
3045
- params: [
3046
- {
3047
- name: 'arg0',
3048
- type: 'long',
3049
- },
3050
- ],
3051
- },
3052
- {
3053
- name: 'negateExact',
3054
- returnType: 'int',
3055
- params: [
3056
- {
3057
- name: 'arg0',
3058
- type: 'int',
3059
- },
3060
- ],
3061
- },
3062
- {
3063
- name: 'subtractExact',
3064
- returnType: 'long',
3065
- params: [
3066
- {
3067
- name: 'arg0',
3068
- type: 'long',
3069
- },
3070
- {
3071
- name: 'arg1',
3072
- type: 'long',
3073
- },
3074
- ],
3075
- },
3076
- {
3077
- name: 'subtractExact',
3078
- returnType: 'int',
3079
- params: [
3080
- {
3081
- name: 'arg0',
3082
- type: 'int',
3083
- },
3084
- {
3085
- name: 'arg1',
3086
- type: 'int',
3087
- },
3088
- ],
3089
- },
3090
- {
3091
- name: 'fma',
3092
- returnType: 'float',
3093
- params: [
3094
- {
3095
- name: 'arg0',
3096
- type: 'float',
3097
- },
3098
- {
3099
- name: 'arg1',
3100
- type: 'float',
3101
- },
3102
- {
3103
- name: 'arg2',
3104
- type: 'float',
3105
- },
3106
- ],
3107
- },
3108
- {
3109
- name: 'fma',
3110
- returnType: 'double',
3111
- params: [
3112
- {
3113
- name: 'arg0',
3114
- type: 'double',
3115
- },
3116
- {
3117
- name: 'arg1',
3118
- type: 'double',
3119
- },
3120
- {
3121
- name: 'arg2',
3122
- type: 'double',
3123
- },
3124
- ],
3125
- },
3126
- {
3127
- name: 'copySign',
3128
- returnType: 'float',
3129
- params: [
3130
- {
3131
- name: 'arg0',
3132
- type: 'float',
3133
- },
3134
- {
3135
- name: 'arg1',
3136
- type: 'float',
3137
- },
3138
- ],
3139
- },
3140
- {
3141
- name: 'copySign',
3142
- returnType: 'double',
3143
- params: [
3144
- {
3145
- name: 'arg0',
3146
- type: 'double',
3147
- },
3148
- {
3149
- name: 'arg1',
3150
- type: 'double',
3151
- },
3152
- ],
3153
- },
3154
- {
3155
- name: 'signum',
3156
- returnType: 'double',
3157
- params: [
3158
- {
3159
- name: 'arg0',
3160
- type: 'double',
3161
- },
3162
- ],
3163
- },
3164
- {
3165
- name: 'signum',
3166
- returnType: 'float',
3167
- params: [
3168
- {
3169
- name: 'arg0',
3170
- type: 'float',
3171
- },
3172
- ],
3173
- },
3174
- {
3175
- name: 'scalb',
3176
- returnType: 'double',
3177
- params: [
3178
- {
3179
- name: 'arg0',
3180
- type: 'double',
3181
- },
3182
- {
3183
- name: 'arg1',
3184
- type: 'int',
3185
- },
3186
- ],
3187
- },
3188
- {
3189
- name: 'scalb',
3190
- returnType: 'float',
3191
- params: [
3192
- {
3193
- name: 'arg0',
3194
- type: 'float',
3195
- },
3196
- {
3197
- name: 'arg1',
3198
- type: 'int',
3199
- },
3200
- ],
3201
- },
3202
- {
3203
- name: 'getExponent',
3204
- returnType: 'int',
3205
- params: [
3206
- {
3207
- name: 'arg0',
3208
- type: 'float',
3209
- },
3210
- ],
3211
- },
3212
- {
3213
- name: 'getExponent',
3214
- returnType: 'int',
3215
- params: [
3216
- {
3217
- name: 'arg0',
3218
- type: 'double',
3219
- },
3220
- ],
3221
- },
3222
- {
3223
- name: 'floorMod',
3224
- returnType: 'int',
3225
- params: [
3226
- {
3227
- name: 'arg0',
3228
- type: 'int',
3229
- },
3230
- {
3231
- name: 'arg1',
3232
- type: 'int',
3233
- },
3234
- ],
3235
- },
3236
- {
3237
- name: 'floorMod',
3238
- returnType: 'long',
3239
- params: [
3240
- {
3241
- name: 'arg0',
3242
- type: 'long',
3243
- },
3244
- {
3245
- name: 'arg1',
3246
- type: 'long',
3247
- },
3248
- ],
3249
- },
3250
- {
3251
- name: 'floorMod',
3252
- returnType: 'int',
3253
- params: [
3254
- {
3255
- name: 'arg0',
3256
- type: 'long',
3257
- },
3258
- {
3259
- name: 'arg1',
3260
- type: 'int',
3261
- },
3262
- ],
3263
- },
3264
- {
3265
- name: 'asin',
3266
- returnType: 'double',
3267
- params: [
3268
- {
3269
- name: 'arg0',
3270
- type: 'double',
3271
- },
3272
- ],
3273
- },
3274
- {
3275
- name: 'acos',
3276
- returnType: 'double',
3277
- params: [
3278
- {
3279
- name: 'arg0',
3280
- type: 'double',
3281
- },
3282
- ],
3283
- },
3284
- {
3285
- name: 'atan',
3286
- returnType: 'double',
3287
- params: [
3288
- {
3289
- name: 'arg0',
3290
- type: 'double',
3291
- },
3292
- ],
3293
- },
3294
- {
3295
- name: 'toRadians',
3296
- returnType: 'double',
3297
- params: [
3298
- {
3299
- name: 'arg0',
3300
- type: 'double',
3301
- },
3302
- ],
3303
- },
3304
- {
3305
- name: 'toDegrees',
3306
- returnType: 'double',
3307
- params: [
3308
- {
3309
- name: 'arg0',
3310
- type: 'double',
3311
- },
3312
- ],
3313
- },
3314
- {
3315
- name: 'cbrt',
3316
- returnType: 'double',
3317
- params: [
3318
- {
3319
- name: 'arg0',
3320
- type: 'double',
3321
- },
3322
- ],
3323
- },
3324
- {
3325
- name: 'IEEEremainder',
3326
- returnType: 'double',
3327
- params: [
3328
- {
3329
- name: 'arg0',
3330
- type: 'double',
3331
- },
3332
- {
3333
- name: 'arg1',
3334
- type: 'double',
3335
- },
3336
- ],
3337
- },
3338
- {
3339
- name: 'round',
3340
- returnType: 'int',
3341
- params: [
3342
- {
3343
- name: 'arg0',
3344
- type: 'float',
3345
- },
3346
- ],
3347
- },
3348
- {
3349
- name: 'round',
3350
- returnType: 'long',
3351
- params: [
3352
- {
3353
- name: 'arg0',
3354
- type: 'double',
3355
- },
3356
- ],
3357
- },
3358
- {
3359
- name: 'random',
3360
- returnType: 'double',
3361
- },
3362
- {
3363
- name: 'toIntExact',
3364
- returnType: 'int',
3365
- params: [
3366
- {
3367
- name: 'arg0',
3368
- type: 'long',
3369
- },
3370
- ],
3371
- },
3372
- {
3373
- name: 'multiplyFull',
3374
- returnType: 'long',
3375
- params: [
3376
- {
3377
- name: 'arg0',
3378
- type: 'int',
3379
- },
3380
- {
3381
- name: 'arg1',
3382
- type: 'int',
3383
- },
3384
- ],
3385
- },
3386
- {
3387
- name: 'floorDiv',
3388
- returnType: 'long',
3389
- params: [
3390
- {
3391
- name: 'arg0',
3392
- type: 'long',
3393
- },
3394
- {
3395
- name: 'arg1',
3396
- type: 'int',
3397
- },
3398
- ],
3399
- },
3400
- {
3401
- name: 'floorDiv',
3402
- returnType: 'long',
3403
- params: [
3404
- {
3405
- name: 'arg0',
3406
- type: 'long',
3407
- },
3408
- {
3409
- name: 'arg1',
3410
- type: 'long',
3411
- },
3412
- ],
3413
- },
3414
- {
3415
- name: 'floorDiv',
3416
- returnType: 'int',
3417
- params: [
3418
- {
3419
- name: 'arg0',
3420
- type: 'int',
3421
- },
3422
- {
3423
- name: 'arg1',
3424
- type: 'int',
3425
- },
3426
- ],
3427
- },
3428
- {
3429
- name: 'ulp',
3430
- returnType: 'float',
3431
- params: [
3432
- {
3433
- name: 'arg0',
3434
- type: 'float',
3435
- },
3436
- ],
3437
- },
3438
- {
3439
- name: 'ulp',
3440
- returnType: 'double',
3441
- params: [
3442
- {
3443
- name: 'arg0',
3444
- type: 'double',
3445
- },
3446
- ],
3447
- },
3448
- {
3449
- name: 'sinh',
3450
- returnType: 'double',
3451
- params: [
3452
- {
3453
- name: 'arg0',
3454
- type: 'double',
3455
- },
3456
- ],
3457
- },
3458
- {
3459
- name: 'cosh',
3460
- returnType: 'double',
3461
- params: [
3462
- {
3463
- name: 'arg0',
3464
- type: 'double',
3465
- },
3466
- ],
3467
- },
3468
- {
3469
- name: 'tanh',
3470
- returnType: 'double',
3471
- params: [
3472
- {
3473
- name: 'arg0',
3474
- type: 'double',
3475
- },
3476
- ],
3477
- },
3478
- {
3479
- name: 'hypot',
3480
- returnType: 'double',
3481
- params: [
3482
- {
3483
- name: 'arg0',
3484
- type: 'double',
3485
- },
3486
- {
3487
- name: 'arg1',
3488
- type: 'double',
3489
- },
3490
- ],
3491
- },
3492
- {
3493
- name: 'expm1',
3494
- returnType: 'double',
3495
- params: [
3496
- {
3497
- name: 'arg0',
3498
- type: 'double',
3499
- },
3500
- ],
3501
- },
3502
- {
3503
- name: 'log1p',
3504
- returnType: 'double',
3505
- params: [
3506
- {
3507
- name: 'arg0',
3508
- type: 'double',
3509
- },
3510
- ],
3511
- },
3512
- {
3513
- name: 'nextAfter',
3514
- returnType: 'double',
3515
- params: [
3516
- {
3517
- name: 'arg0',
3518
- type: 'double',
3519
- },
3520
- {
3521
- name: 'arg1',
3522
- type: 'double',
3523
- },
3524
- ],
3525
- },
3526
- {
3527
- name: 'nextAfter',
3528
- returnType: 'float',
3529
- params: [
3530
- {
3531
- name: 'arg0',
3532
- type: 'float',
3533
- },
3534
- {
3535
- name: 'arg1',
3536
- type: 'double',
3537
- },
3538
- ],
3539
- },
3540
- {
3541
- name: 'nextUp',
3542
- returnType: 'double',
3543
- params: [
3544
- {
3545
- name: 'arg0',
3546
- type: 'double',
3547
- },
3548
- ],
3549
- },
3550
- {
3551
- name: 'nextUp',
3552
- returnType: 'float',
3553
- params: [
3554
- {
3555
- name: 'arg0',
3556
- type: 'float',
3557
- },
3558
- ],
3559
- },
3560
- {
3561
- name: 'nextDown',
3562
- returnType: 'float',
3563
- params: [
3564
- {
3565
- name: 'arg0',
3566
- type: 'float',
3567
- },
3568
- ],
3569
- },
3570
- {
3571
- name: 'nextDown',
3572
- returnType: 'double',
3573
- params: [
3574
- {
3575
- name: 'arg0',
3576
- type: 'double',
3577
- },
3578
- ],
3579
- },
3580
- {
3581
- name: 'equals',
3582
- returnType: 'boolean',
3583
- params: [
3584
- {
3585
- name: 'arg0',
3586
- type: 'Object',
3587
- },
3588
- ],
3589
- },
3590
- {
3591
- name: 'hashCode',
3592
- returnType: 'int',
3593
- },
3594
- {
3595
- name: 'toString',
3596
- returnType: 'String',
3597
- },
3598
- ],
3599
- },
3600
- Object: {
3601
- methods: [
3602
- {
3603
- name: 'equals',
3604
- returnType: 'boolean',
3605
- params: [
3606
- {
3607
- name: 'arg0',
3608
- type: 'Object',
3609
- },
3610
- ],
3611
- },
3612
- {
3613
- name: 'hashCode',
3614
- returnType: 'int',
3615
- },
3616
- {
3617
- name: 'toString',
3618
- returnType: 'String',
3619
- },
3620
- ],
3621
- },
3622
- List: {
3623
- methods: [
3624
- {
3625
- name: 'get',
3626
- returnType: 'Object',
3627
- params: [
3628
- {
3629
- name: 'arg0',
3630
- type: 'int',
3631
- },
3632
- ],
3633
- },
3634
- {
3635
- name: 'contains',
3636
- returnType: 'boolean',
3637
- params: [
3638
- {
3639
- name: 'arg0',
3640
- type: 'Object',
3641
- },
3642
- ],
3643
- },
3644
- {
3645
- name: 'isEmpty',
3646
- returnType: 'boolean',
3647
- },
3648
- {
3649
- name: 'size',
3650
- returnType: 'int',
3651
- },
3652
- ],
3653
- },
3654
- Collection: {
3655
- methods: [
3656
- {
3657
- name: 'contains',
3658
- returnType: 'boolean',
3659
- params: [
3660
- {
3661
- name: 'arg0',
3662
- type: 'Object',
3663
- },
3664
- ],
3665
- },
3666
- {
3667
- name: 'isEmpty',
3668
- returnType: 'boolean',
3669
- },
3670
- {
3671
- name: 'size',
3672
- returnType: 'int',
3673
- },
3674
- ],
3675
- },
3676
- Set: {
3677
- methods: [
3678
- {
3679
- name: 'contains',
3680
- returnType: 'boolean',
3681
- params: [
3682
- {
3683
- name: 'arg0',
3684
- type: 'Object',
3685
- },
3686
- ],
3687
- },
3688
- {
3689
- name: 'isEmpty',
3690
- returnType: 'boolean',
3691
- },
3692
- {
3693
- name: 'size',
3694
- returnType: 'int',
3695
- },
3696
- ],
3697
- },
3698
- String: {
3699
- methods: [
3700
- {
3701
- name: 'equals',
3702
- returnType: 'boolean',
3703
- params: [
3704
- {
3705
- name: 'arg0',
3706
- type: 'Object',
3707
- },
3708
- ],
3709
- },
3710
- {
3711
- name: 'length',
3712
- returnType: 'int',
3713
- },
3714
- {
3715
- name: 'toString',
3716
- returnType: 'String',
3717
- },
3718
- {
3719
- name: 'hashCode',
3720
- returnType: 'int',
3721
- },
3722
- {
3723
- name: 'getChars',
3724
- returnType: 'void',
3725
- params: [
3726
- {
3727
- name: 'arg0',
3728
- type: 'int',
3729
- },
3730
- {
3731
- name: 'arg1',
3732
- type: 'int',
3733
- },
3734
- {
3735
- name: 'arg2',
3736
- type: 'char[]',
3737
- },
3738
- {
3739
- name: 'arg3',
3740
- type: 'int',
3741
- },
3742
- ],
3743
- },
3744
- {
3745
- name: 'compareTo',
3746
- returnType: 'int',
3747
- params: [
3748
- {
3749
- name: 'arg0',
3750
- type: 'String',
3751
- },
3752
- ],
3753
- },
3754
- {
3755
- name: 'compareTo',
3756
- returnType: 'int',
3757
- params: [
3758
- {
3759
- name: 'arg0',
3760
- type: 'Object',
3761
- },
3762
- ],
3763
- },
3764
- {
3765
- name: 'indexOf',
3766
- returnType: 'int',
3767
- params: [
3768
- {
3769
- name: 'arg0',
3770
- type: 'String',
3771
- },
3772
- {
3773
- name: 'arg1',
3774
- type: 'int',
3775
- },
3776
- ],
3777
- },
3778
- {
3779
- name: 'indexOf',
3780
- returnType: 'int',
3781
- params: [
3782
- {
3783
- name: 'arg0',
3784
- type: 'int',
3785
- },
3786
- ],
3787
- },
3788
- {
3789
- name: 'indexOf',
3790
- returnType: 'int',
3791
- params: [
3792
- {
3793
- name: 'arg0',
3794
- type: 'int',
3795
- },
3796
- {
3797
- name: 'arg1',
3798
- type: 'int',
3799
- },
3800
- ],
3801
- },
3802
- {
3803
- name: 'indexOf',
3804
- returnType: 'int',
3805
- params: [
3806
- {
3807
- name: 'arg0',
3808
- type: 'String',
3809
- },
3810
- ],
3811
- },
3812
- {
3813
- name: 'valueOf',
3814
- returnType: 'String',
3815
- params: [
3816
- {
3817
- name: 'arg0',
3818
- type: 'long',
3819
- },
3820
- ],
3821
- },
3822
- {
3823
- name: 'valueOf',
3824
- returnType: 'String',
3825
- params: [
3826
- {
3827
- name: 'arg0',
3828
- type: 'int',
3829
- },
3830
- ],
3831
- },
3832
- {
3833
- name: 'valueOf',
3834
- returnType: 'String',
3835
- params: [
3836
- {
3837
- name: 'arg0',
3838
- type: 'char',
3839
- },
3840
- ],
3841
- },
3842
- {
3843
- name: 'valueOf',
3844
- returnType: 'String',
3845
- params: [
3846
- {
3847
- name: 'arg0',
3848
- type: 'double',
3849
- },
3850
- ],
3851
- },
3852
- {
3853
- name: 'valueOf',
3854
- returnType: 'String',
3855
- params: [
3856
- {
3857
- name: 'arg0',
3858
- type: 'float',
3859
- },
3860
- ],
3861
- },
3862
- {
3863
- name: 'valueOf',
3864
- returnType: 'String',
3865
- params: [
3866
- {
3867
- name: 'arg0',
3868
- type: 'Object',
3869
- },
3870
- ],
3871
- },
3872
- {
3873
- name: 'valueOf',
3874
- returnType: 'String',
3875
- params: [
3876
- {
3877
- name: 'arg0',
3878
- type: 'char[]',
3879
- },
3880
- ],
3881
- },
3882
- {
3883
- name: 'valueOf',
3884
- returnType: 'String',
3885
- params: [
3886
- {
3887
- name: 'arg0',
3888
- type: 'boolean',
3889
- },
3890
- ],
3891
- },
3892
- {
3893
- name: 'valueOf',
3894
- returnType: 'String',
3895
- params: [
3896
- {
3897
- name: 'arg0',
3898
- type: 'char[]',
3899
- },
3900
- {
3901
- name: 'arg1',
3902
- type: 'int',
3903
- },
3904
- {
3905
- name: 'arg2',
3906
- type: 'int',
3907
- },
3908
- ],
3909
- },
3910
- {
3911
- name: 'isEmpty',
3912
- returnType: 'boolean',
3913
- },
3914
- {
3915
- name: 'charAt',
3916
- returnType: 'char',
3917
- params: [
3918
- {
3919
- name: 'arg0',
3920
- type: 'int',
3921
- },
3922
- ],
3923
- },
3924
- {
3925
- name: 'codePointAt',
3926
- returnType: 'int',
3927
- params: [
3928
- {
3929
- name: 'arg0',
3930
- type: 'int',
3931
- },
3932
- ],
3933
- },
3934
- {
3935
- name: 'codePointBefore',
3936
- returnType: 'int',
3937
- params: [
3938
- {
3939
- name: 'arg0',
3940
- type: 'int',
3941
- },
3942
- ],
3943
- },
3944
- {
3945
- name: 'codePointCount',
3946
- returnType: 'int',
3947
- params: [
3948
- {
3949
- name: 'arg0',
3950
- type: 'int',
3951
- },
3952
- {
3953
- name: 'arg1',
3954
- type: 'int',
3955
- },
3956
- ],
3957
- },
3958
- {
3959
- name: 'offsetByCodePoints',
3960
- returnType: 'int',
3961
- params: [
3962
- {
3963
- name: 'arg0',
3964
- type: 'int',
3965
- },
3966
- {
3967
- name: 'arg1',
3968
- type: 'int',
3969
- },
3970
- ],
3971
- },
3972
- {
3973
- name: 'getBytes',
3974
- returnType: 'byte[]',
3975
- params: [
3976
- {
3977
- name: 'arg0',
3978
- type: 'Charset',
3979
- },
3980
- ],
3981
- },
3982
- {
3983
- name: 'getBytes',
3984
- returnType: 'void',
3985
- params: [
3986
- {
3987
- name: 'arg0',
3988
- type: 'int',
3989
- },
3990
- {
3991
- name: 'arg1',
3992
- type: 'int',
3993
- },
3994
- {
3995
- name: 'arg2',
3996
- type: 'byte[]',
3997
- },
3998
- {
3999
- name: 'arg3',
4000
- type: 'int',
4001
- },
4002
- ],
4003
- },
4004
- {
4005
- name: 'getBytes',
4006
- returnType: 'byte[]',
4007
- params: [
4008
- {
4009
- name: 'arg0',
4010
- type: 'String',
4011
- },
4012
- ],
4013
- },
4014
- {
4015
- name: 'getBytes',
4016
- returnType: 'byte[]',
4017
- },
4018
- {
4019
- name: 'contentEquals',
4020
- returnType: 'boolean',
4021
- params: [
4022
- {
4023
- name: 'arg0',
4024
- type: 'StringBuffer',
4025
- },
4026
- ],
4027
- },
4028
- {
4029
- name: 'contentEquals',
4030
- returnType: 'boolean',
4031
- params: [
4032
- {
4033
- name: 'arg0',
4034
- type: 'CharSequence',
4035
- },
4036
- ],
4037
- },
4038
- {
4039
- name: 'equalsIgnoreCase',
4040
- returnType: 'boolean',
4041
- params: [
4042
- {
4043
- name: 'arg0',
4044
- type: 'String',
4045
- },
4046
- ],
4047
- },
4048
- {
4049
- name: 'regionMatches',
4050
- returnType: 'boolean',
4051
- params: [
4052
- {
4053
- name: 'arg0',
4054
- type: 'boolean',
4055
- },
4056
- {
4057
- name: 'arg1',
4058
- type: 'int',
4059
- },
4060
- {
4061
- name: 'arg2',
4062
- type: 'String',
4063
- },
4064
- {
4065
- name: 'arg3',
4066
- type: 'int',
4067
- },
4068
- {
4069
- name: 'arg4',
4070
- type: 'int',
4071
- },
4072
- ],
4073
- },
4074
- {
4075
- name: 'regionMatches',
4076
- returnType: 'boolean',
4077
- params: [
4078
- {
4079
- name: 'arg0',
4080
- type: 'int',
4081
- },
4082
- {
4083
- name: 'arg1',
4084
- type: 'String',
4085
- },
4086
- {
4087
- name: 'arg2',
4088
- type: 'int',
4089
- },
4090
- {
4091
- name: 'arg3',
4092
- type: 'int',
4093
- },
4094
- ],
4095
- },
4096
- {
4097
- name: 'compareToIgnoreCase',
4098
- returnType: 'int',
4099
- params: [
4100
- {
4101
- name: 'arg0',
4102
- type: 'String',
4103
- },
4104
- ],
4105
- },
4106
- {
4107
- name: 'startsWith',
4108
- returnType: 'boolean',
4109
- params: [
4110
- {
4111
- name: 'arg0',
4112
- type: 'String',
4113
- },
4114
- {
4115
- name: 'arg1',
4116
- type: 'int',
4117
- },
4118
- ],
4119
- },
4120
- {
4121
- name: 'startsWith',
4122
- returnType: 'boolean',
4123
- params: [
4124
- {
4125
- name: 'arg0',
4126
- type: 'String',
4127
- },
4128
- ],
4129
- },
4130
- {
4131
- name: 'endsWith',
4132
- returnType: 'boolean',
4133
- params: [
4134
- {
4135
- name: 'arg0',
4136
- type: 'String',
4137
- },
4138
- ],
4139
- },
4140
- {
4141
- name: 'lastIndexOf',
4142
- returnType: 'int',
4143
- params: [
4144
- {
4145
- name: 'arg0',
4146
- type: 'String',
4147
- },
4148
- {
4149
- name: 'arg1',
4150
- type: 'int',
4151
- },
4152
- ],
4153
- },
4154
- {
4155
- name: 'lastIndexOf',
4156
- returnType: 'int',
4157
- params: [
4158
- {
4159
- name: 'arg0',
4160
- type: 'String',
4161
- },
4162
- ],
4163
- },
4164
- {
4165
- name: 'lastIndexOf',
4166
- returnType: 'int',
4167
- params: [
4168
- {
4169
- name: 'arg0',
4170
- type: 'int',
4171
- },
4172
- {
4173
- name: 'arg1',
4174
- type: 'int',
4175
- },
4176
- ],
4177
- },
4178
- {
4179
- name: 'lastIndexOf',
4180
- returnType: 'int',
4181
- params: [
4182
- {
4183
- name: 'arg0',
4184
- type: 'int',
4185
- },
4186
- ],
4187
- },
4188
- {
4189
- name: 'substring',
4190
- returnType: 'String',
4191
- params: [
4192
- {
4193
- name: 'arg0',
4194
- type: 'int',
4195
- },
4196
- ],
4197
- },
4198
- {
4199
- name: 'substring',
4200
- returnType: 'String',
4201
- params: [
4202
- {
4203
- name: 'arg0',
4204
- type: 'int',
4205
- },
4206
- {
4207
- name: 'arg1',
4208
- type: 'int',
4209
- },
4210
- ],
4211
- },
4212
- {
4213
- name: 'subSequence',
4214
- returnType: 'CharSequence',
4215
- params: [
4216
- {
4217
- name: 'arg0',
4218
- type: 'int',
4219
- },
4220
- {
4221
- name: 'arg1',
4222
- type: 'int',
4223
- },
4224
- ],
4225
- },
4226
- {
4227
- name: 'concat',
4228
- returnType: 'String',
4229
- params: [
4230
- {
4231
- name: 'arg0',
4232
- type: 'String',
4233
- },
4234
- ],
4235
- },
4236
- {
4237
- name: 'replace',
4238
- returnType: 'String',
4239
- params: [
4240
- {
4241
- name: 'arg0',
4242
- type: 'CharSequence',
4243
- },
4244
- {
4245
- name: 'arg1',
4246
- type: 'CharSequence',
4247
- },
4248
- ],
4249
- },
4250
- {
4251
- name: 'replace',
4252
- returnType: 'String',
4253
- params: [
4254
- {
4255
- name: 'arg0',
4256
- type: 'char',
4257
- },
4258
- {
4259
- name: 'arg1',
4260
- type: 'char',
4261
- },
4262
- ],
4263
- },
4264
- {
4265
- name: 'matches',
4266
- returnType: 'boolean',
4267
- params: [
4268
- {
4269
- name: 'arg0',
4270
- type: 'String',
4271
- },
4272
- ],
4273
- },
4274
- {
4275
- name: 'contains',
4276
- returnType: 'boolean',
4277
- params: [
4278
- {
4279
- name: 'arg0',
4280
- type: 'CharSequence',
4281
- },
4282
- ],
4283
- },
4284
- {
4285
- name: 'replaceFirst',
4286
- returnType: 'String',
4287
- params: [
4288
- {
4289
- name: 'arg0',
4290
- type: 'String',
4291
- },
4292
- {
4293
- name: 'arg1',
4294
- type: 'String',
4295
- },
4296
- ],
4297
- },
4298
- {
4299
- name: 'replaceAll',
4300
- returnType: 'String',
4301
- params: [
4302
- {
4303
- name: 'arg0',
4304
- type: 'String',
4305
- },
4306
- {
4307
- name: 'arg1',
4308
- type: 'String',
4309
- },
4310
- ],
4311
- },
4312
- {
4313
- name: 'split',
4314
- returnType: 'String[]',
4315
- params: [
4316
- {
4317
- name: 'arg0',
4318
- type: 'String',
4319
- },
4320
- ],
4321
- },
4322
- {
4323
- name: 'split',
4324
- returnType: 'String[]',
4325
- params: [
4326
- {
4327
- name: 'arg0',
4328
- type: 'String',
4329
- },
4330
- {
4331
- name: 'arg1',
4332
- type: 'int',
4333
- },
4334
- ],
4335
- },
4336
- {
4337
- name: 'join',
4338
- returnType: 'String',
4339
- params: [
4340
- {
4341
- name: 'arg0',
4342
- type: 'CharSequence',
4343
- },
4344
- {
4345
- name: 'arg1',
4346
- type: 'CharSequence[]',
4347
- },
4348
- ],
4349
- },
4350
- {
4351
- name: 'join',
4352
- returnType: 'String',
4353
- params: [
4354
- {
4355
- name: 'arg0',
4356
- type: 'CharSequence',
4357
- },
4358
- {
4359
- name: 'arg1',
4360
- type: 'Iterable',
4361
- },
4362
- ],
4363
- },
4364
- {
4365
- name: 'toLowerCase',
4366
- returnType: 'String',
4367
- params: [
4368
- {
4369
- name: 'arg0',
4370
- type: 'Locale',
4371
- },
4372
- ],
4373
- },
4374
- {
4375
- name: 'toLowerCase',
4376
- returnType: 'String',
4377
- },
4378
- {
4379
- name: 'toUpperCase',
4380
- returnType: 'String',
4381
- params: [
4382
- {
4383
- name: 'arg0',
4384
- type: 'Locale',
4385
- },
4386
- ],
4387
- },
4388
- {
4389
- name: 'toUpperCase',
4390
- returnType: 'String',
4391
- },
4392
- {
4393
- name: 'trim',
4394
- returnType: 'String',
4395
- },
4396
- {
4397
- name: 'strip',
4398
- returnType: 'String',
4399
- },
4400
- {
4401
- name: 'stripLeading',
4402
- returnType: 'String',
4403
- },
4404
- {
4405
- name: 'stripTrailing',
4406
- returnType: 'String',
4407
- },
4408
- {
4409
- name: 'isBlank',
4410
- returnType: 'boolean',
4411
- },
4412
- {
4413
- name: 'lines',
4414
- returnType: 'Stream',
4415
- },
4416
- {
4417
- name: 'chars',
4418
- returnType: 'IntStream',
4419
- },
4420
- {
4421
- name: 'codePoints',
4422
- returnType: 'IntStream',
4423
- },
4424
- {
4425
- name: 'toCharArray',
4426
- returnType: 'char[]',
4427
- },
4428
- {
4429
- name: 'format',
4430
- returnType: 'String',
4431
- params: [
4432
- {
4433
- name: 'arg0',
4434
- type: 'String',
4435
- },
4436
- {
4437
- name: 'arg1',
4438
- type: 'Object[]',
4439
- },
4440
- ],
4441
- },
4442
- {
4443
- name: 'format',
4444
- returnType: 'String',
4445
- params: [
4446
- {
4447
- name: 'arg0',
4448
- type: 'Locale',
4449
- },
4450
- {
4451
- name: 'arg1',
4452
- type: 'String',
4453
- },
4454
- {
4455
- name: 'arg2',
4456
- type: 'Object[]',
4457
- },
4458
- ],
4459
- },
4460
- {
4461
- name: 'copyValueOf',
4462
- returnType: 'String',
4463
- params: [
4464
- {
4465
- name: 'arg0',
4466
- type: 'char[]',
4467
- },
4468
- {
4469
- name: 'arg1',
4470
- type: 'int',
4471
- },
4472
- {
4473
- name: 'arg2',
4474
- type: 'int',
4475
- },
4476
- ],
4477
- },
4478
- {
4479
- name: 'copyValueOf',
4480
- returnType: 'String',
4481
- params: [
4482
- {
4483
- name: 'arg0',
4484
- type: 'char[]',
4485
- },
4486
- ],
4487
- },
4488
- {
4489
- name: 'intern',
4490
- returnType: 'String',
4491
- },
4492
- {
4493
- name: 'repeat',
4494
- returnType: 'String',
4495
- params: [
4496
- {
4497
- name: 'arg0',
4498
- type: 'int',
4499
- },
4500
- ],
4501
- },
4502
- {
4503
- name: 'equals',
4504
- returnType: 'boolean',
4505
- params: [
4506
- {
4507
- name: 'arg0',
4508
- type: 'Object',
4509
- },
4510
- ],
4511
- },
4512
- {
4513
- name: 'hashCode',
4514
- returnType: 'int',
4515
- },
4516
- {
4517
- name: 'toString',
4518
- returnType: 'String',
4519
- },
4520
- ],
4521
- },
4522
- 'String[]': {
4523
- methods: [
4524
- {
4525
- name: 'equals',
4526
- returnType: 'boolean',
4527
- params: [
4528
- {
4529
- name: 'arg0',
4530
- type: 'Object',
4531
- },
4532
- ],
4533
- },
4534
- {
4535
- name: 'hashCode',
4536
- returnType: 'int',
4537
- },
4538
- {
4539
- name: 'toString',
4540
- returnType: 'String',
4541
- },
4542
- ],
4543
- },
4544
- },
4545
- };
4546
-
4547
88
  /*
4548
89
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
4549
90
  *
@@ -4559,34 +100,13 @@ const base = {
4559
100
  * See the License for the specific language governing permissions and
4560
101
  * limitations under the License.
4561
102
  */
4562
-
4563
- /*
4564
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
4565
- *
4566
- * Licensed under the Apache License, Version 2.0 (the "License");
4567
- * you may not use this file except in compliance with the License.
4568
- * You may obtain a copy of the License at
4569
- *
4570
- * http://www.apache.org/licenses/LICENSE-2.0
4571
- *
4572
- * Unless required by applicable law or agreed to in writing, software
4573
- * distributed under the License is distributed on an "AS IS" BASIS,
4574
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4575
- * See the License for the specific language governing permissions and
4576
- * limitations under the License.
4577
- */
4578
- class SpelService extends SpelServiceAbstract {
4579
- getGrammar() {
4580
- return of(fakeGrammar());
4581
- }
103
+ class GioPolicyStudioComponent {
4582
104
  }
4583
- SpelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4584
- SpelServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, providedIn: 'root' });
4585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, decorators: [{
4586
- type: Injectable,
4587
- args: [{
4588
- providedIn: 'root',
4589
- }]
105
+ GioPolicyStudioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
+ GioPolicyStudioComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioComponent, selector: "gio-policy-studio", ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"header__apiName\">\n <span class=\"mat-h4\">My API name</span><span class=\"gio-badge-neutral\"><mat-icon class=\"gio-left\" svgIcon=\"gio:lock\"></mat-icon></span>\n </div>\n\n <div class=\"header__btn\">\n <button mat-stroked-button color=\"primary\">Save</button>\n </div>\n</div>\n\n<div class=\"wrapper\">\n <div class=\"wrapper__flowsMenu\">\n <gio-ps-flows-menu></gio-ps-flows-menu>\n </div>\n\n <div class=\"wrapper__flowDetails\">\n <gio-ps-flow-details></gio-ps-flow-details>\n </div>\n</div>\n", styles: [":host{display:block;padding:8px;background-color:#fff}.header{display:flex;align-items:center;padding-bottom:16px}.header__apiName{flex:1 1 auto}.wrapper{display:flex;height:100%;flex-direction:row;gap:16px}.wrapper__flowsMenu{flex:0 1 400px;padding:16px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__flowDetails{flex:1 1 auto;padding:16px;border:1px solid #d3d5dc;border-radius:8px}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: GioPolicyStudioFlowsMenuComponent, selector: "gio-ps-flows-menu" }, { type: GioPolicyStudioDetailsMenuComponent, selector: "gio-ps-flow-details" }] });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, decorators: [{
108
+ type: Component,
109
+ args: [{ selector: 'gio-policy-studio', template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"header__apiName\">\n <span class=\"mat-h4\">My API name</span><span class=\"gio-badge-neutral\"><mat-icon class=\"gio-left\" svgIcon=\"gio:lock\"></mat-icon></span>\n </div>\n\n <div class=\"header__btn\">\n <button mat-stroked-button color=\"primary\">Save</button>\n </div>\n</div>\n\n<div class=\"wrapper\">\n <div class=\"wrapper__flowsMenu\">\n <gio-ps-flows-menu></gio-ps-flows-menu>\n </div>\n\n <div class=\"wrapper__flowDetails\">\n <gio-ps-flow-details></gio-ps-flow-details>\n </div>\n</div>\n", styles: [":host{display:block;padding:8px;background-color:#fff}.header{display:flex;align-items:center;padding-bottom:16px}.header__apiName{flex:1 1 auto}.wrapper{display:flex;height:100%;flex-direction:row;gap:16px}.wrapper__flowsMenu{flex:0 1 400px;padding:16px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__flowDetails{flex:1 1 auto;padding:16px;border:1px solid #d3d5dc;border-radius:8px}\n"] }]
4590
110
  }] });
4591
111
 
4592
112
  /*
@@ -4605,40 +125,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4605
125
  * limitations under the License.
4606
126
  */
4607
127
  class GioPolicyStudioModule {
4608
- static forSpecs() {
4609
- return {
4610
- ngModule: GioPolicyStudioModule,
4611
- providers: [
4612
- {
4613
- provide: 'FlowService',
4614
- useClass: FlowService,
4615
- },
4616
- {
4617
- provide: 'PolicyService',
4618
- useClass: PolicyService,
4619
- },
4620
- {
4621
- provide: 'ResourceService',
4622
- useClass: ResourceService,
4623
- },
4624
- {
4625
- provide: 'SpelService',
4626
- useClass: SpelService,
4627
- },
4628
- ],
4629
- };
4630
- }
4631
128
  }
4632
129
  GioPolicyStudioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4633
- GioPolicyStudioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, declarations: [GioPolicyStudioComponent], exports: [GioPolicyStudioComponent] });
4634
- GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, imports: [[]] });
130
+ GioPolicyStudioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, declarations: [GioPolicyStudioComponent, GioPolicyStudioFlowsMenuComponent, GioPolicyStudioDetailsMenuComponent], imports: [MatButtonModule, GioIconsModule], exports: [GioPolicyStudioComponent] });
131
+ GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, imports: [[MatButtonModule, GioIconsModule]] });
4635
132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, decorators: [{
4636
133
  type: NgModule,
4637
134
  args: [{
4638
- declarations: [GioPolicyStudioComponent],
4639
- imports: [],
135
+ declarations: [GioPolicyStudioComponent, GioPolicyStudioFlowsMenuComponent, GioPolicyStudioDetailsMenuComponent],
136
+ imports: [MatButtonModule, GioIconsModule],
4640
137
  exports: [GioPolicyStudioComponent],
4641
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
4642
138
  }]
4643
139
  }] });
4644
140
 
@@ -4662,5 +158,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4662
158
  * Generated bundle index. Do not edit.
4663
159
  */
4664
160
 
4665
- export { FlowServiceAbstract, GioPolicyStudioComponent, GioPolicyStudioModule, PolicyServiceAbstract, ResourceServiceAbstract, SpelServiceAbstract };
161
+ export { GioPolicyStudioComponent, GioPolicyStudioModule };
4666
162
  //# sourceMappingURL=gravitee-ui-policy-studio-angular.mjs.map