@gravitee/ui-policy-studio-angular 1.4.4-design-studio-angular-65923df → 1.5.0-design-studio-angular-part2-4fe7ec0

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