@rxap/open-api 22.0.0-dev.0 → 22.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +90 -5
- package/compodoc/classes/OpenApiHttpResponseError.html +110 -39
- package/compodoc/classes/RxapOpenApiError.html +77 -10
- package/compodoc/classes/SchemaValidationMixin.html +100 -29
- package/compodoc/dependencies.html +128 -35
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/OpenApiConfigService.html +112 -38
- package/compodoc/interfaces/OpenApiInitOptions.html +166 -111
- package/compodoc/interfaces/OpenApiMetaData.html +259 -175
- package/compodoc/interfaces/OperationObjectWithMetadata.html +165 -91
- package/compodoc/interfaces/SchemaValidationResponse.html +247 -182
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +27 -14
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +156 -0
- package/compodoc/miscellaneous/functions.html +167 -19
- package/compodoc/miscellaneous/typealiases.html +46 -4
- package/compodoc/miscellaneous/variables.html +123 -16
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1287 -1054
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/OpenApiConfigService.html +216 -14
- package/docs/html/classes/OpenApiHttpResponseError.html +215 -26
- package/docs/html/classes/RxapOpenApiError.html +242 -23
- package/docs/html/classes/SchemaValidationMixin.html +245 -16
- package/docs/html/functions/AssertOpenApiV3.html +42 -1
- package/docs/html/functions/IsOpenApiV3.html +42 -1
- package/docs/html/functions/IsReferenceObject.html +42 -1
- package/docs/html/functions/NotContainsReferenceObjects.html +46 -1
- package/docs/html/functions/OpenApiInit.html +43 -1
- package/docs/html/functions/getJsonContentSchema.html +42 -1
- package/docs/html/functions/getJsonSchema.html +42 -1
- package/docs/html/functions/hasJsonContentSchema.html +46 -1
- package/docs/html/functions/hasJsonSchema.html +42 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +44 -7
- package/docs/html/interfaces/OpenApiInitOptions.html +65 -5
- package/docs/html/interfaces/OpenApiMetaData.html +98 -9
- package/docs/html/interfaces/OperationObjectWithMetadata.html +151 -15
- package/docs/html/interfaces/SchemaValidationResponse.html +77 -5
- package/docs/html/modules.html +52 -1
- package/docs/html/types/OperationMap.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +33 -1
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +33 -1
- package/docs/html/variables/DISABLE_VALIDATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +33 -1
- package/docs/html/variables/injectOpenApiBaseUrlHttpInterceptorFn.html +33 -0
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/OpenApiConfigService.md +27 -27
- package/docs/markdown/classes/OpenApiHttpResponseError.md +26 -26
- package/docs/markdown/classes/RxapOpenApiError.md +25 -25
- package/docs/markdown/classes/SchemaValidationMixin.md +36 -30
- package/docs/markdown/functions/AssertOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsReferenceObject.md +3 -3
- package/docs/markdown/functions/NotContainsReferenceObjects.md +7 -5
- package/docs/markdown/functions/OpenApiInit.md +5 -5
- package/docs/markdown/functions/getJsonContentSchema.md +5 -5
- package/docs/markdown/functions/getJsonSchema.md +5 -5
- package/docs/markdown/functions/hasJsonContentSchema.md +8 -6
- package/docs/markdown/functions/hasJsonSchema.md +3 -3
- package/docs/markdown/globals.md +3 -3
- package/docs/markdown/interfaces/OpenApiInitOptions.md +6 -6
- package/docs/markdown/interfaces/OpenApiMetaData.md +12 -12
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +27 -27
- package/docs/markdown/interfaces/SchemaValidationResponse.md +11 -9
- package/docs/markdown/type-aliases/OperationMap.md +3 -3
- package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
- package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
- package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +3 -3
- package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
- package/docs/markdown/variables/injectOpenApiBaseUrlHttpInterceptorFn.md +11 -0
- package/docs/wiki/Class.OpenApiConfigService.md +26 -26
- package/docs/wiki/Class.OpenApiHttpResponseError.md +25 -25
- package/docs/wiki/Class.RxapOpenApiError.md +24 -24
- package/docs/wiki/Class.SchemaValidationMixin.md +35 -29
- package/docs/wiki/Function.AssertOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsReferenceObject.md +2 -2
- package/docs/wiki/Function.NotContainsReferenceObjects.md +6 -4
- package/docs/wiki/Function.OpenApiInit.md +4 -4
- package/docs/wiki/Function.getJsonContentSchema.md +4 -4
- package/docs/wiki/Function.getJsonSchema.md +4 -4
- package/docs/wiki/Function.hasJsonContentSchema.md +7 -5
- package/docs/wiki/Function.hasJsonSchema.md +2 -2
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.OpenApiInitOptions.md +5 -5
- package/docs/wiki/Interface.OpenApiMetaData.md +11 -11
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +26 -26
- package/docs/wiki/Interface.SchemaValidationResponse.md +10 -8
- package/docs/wiki/TypeAlias.OperationMap.md +2 -2
- package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
- package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
- package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +2 -2
- package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
- package/docs/wiki/Variable.injectOpenApiBaseUrlHttpInterceptorFn.md +7 -0
- package/docs/wiki/_Sidebar.md +1 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-open-api-data-source-table.mjs +1 -1
- package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +6 -2
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/generators.json +16 -0
- package/package.json +28 -29
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +0 -1
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +0 -25
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +0 -21
- package/theme.css +0 -1
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,34 +137,37 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#AssertOpenApiV3" title="src/lib/utilities.ts" ><b>AssertOpenApiV3</b> (src/.../utilities.ts)</a>
|
|
140
|
+
<a href="#AssertOpenApiV3" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>AssertOpenApiV3</b> (src/.../utilities.ts)</span></a>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#getJsonContentSchema" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>getJsonContentSchema</b> (src/.../utilities.ts)</span></a>
|
|
116
144
|
</li>
|
|
117
145
|
<li>
|
|
118
|
-
<a href="#
|
|
146
|
+
<a href="#getJsonSchema" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>getJsonSchema</b> (src/.../utilities.ts)</span></a>
|
|
119
147
|
</li>
|
|
120
148
|
<li>
|
|
121
|
-
<a href="#
|
|
149
|
+
<a href="#hasJsonContentSchema" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>hasJsonContentSchema</b> (src/.../utilities.ts)</span></a>
|
|
122
150
|
</li>
|
|
123
151
|
<li>
|
|
124
|
-
<a href="#
|
|
152
|
+
<a href="#hasJsonSchema" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>hasJsonSchema</b> (src/.../utilities.ts)</span></a>
|
|
125
153
|
</li>
|
|
126
154
|
<li>
|
|
127
|
-
<a href="#
|
|
155
|
+
<a href="#initGenerator" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>initGenerator</b> (src/.../generator.ts)</span></a>
|
|
128
156
|
</li>
|
|
129
157
|
<li>
|
|
130
|
-
<a href="#
|
|
158
|
+
<a href="#IsOpenApiV3" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>IsOpenApiV3</b> (src/.../utilities.ts)</span></a>
|
|
131
159
|
</li>
|
|
132
160
|
<li>
|
|
133
|
-
<a href="#
|
|
161
|
+
<a href="#IsReferenceObject" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>IsReferenceObject</b> (src/.../utilities.ts)</span></a>
|
|
134
162
|
</li>
|
|
135
163
|
<li>
|
|
136
|
-
<a href="#
|
|
164
|
+
<a href="#NotContainsReferenceObjects" title="src/lib/utilities.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>NotContainsReferenceObjects</b> (src/.../utilities.ts)</span></a>
|
|
137
165
|
</li>
|
|
138
166
|
<li>
|
|
139
|
-
<a href="#
|
|
167
|
+
<a href="#OpenApiInit" title="src/lib/open-api-init.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>OpenApiInit</b> (src/.../open-api-init.ts)</span></a>
|
|
140
168
|
</li>
|
|
141
169
|
<li>
|
|
142
|
-
<a href="#
|
|
170
|
+
<a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b> (src/.../generator.ts)</span></a>
|
|
143
171
|
</li>
|
|
144
172
|
</ul>
|
|
145
173
|
</td>
|
|
@@ -335,12 +363,20 @@
|
|
|
335
363
|
</tr>
|
|
336
364
|
<tr>
|
|
337
365
|
<td class="col-md-4">
|
|
338
|
-
<code>hasJsonContentSchema(data)</code>
|
|
366
|
+
<code>hasJsonContentSchema<T extends OpenAPIV3.RequestBodyObject | OpenAPIV3.ResponseObject>(data)</code>
|
|
339
367
|
</td>
|
|
340
368
|
</tr>
|
|
341
369
|
|
|
342
370
|
|
|
343
371
|
|
|
372
|
+
<tr>
|
|
373
|
+
<td class="col-md-4">
|
|
374
|
+
<b>Type parameters :</b>
|
|
375
|
+
<ul class="type-parameters">
|
|
376
|
+
<li>T extends OpenAPIV3.RequestBodyObject | OpenAPIV3.ResponseObject</li>
|
|
377
|
+
</ul>
|
|
378
|
+
</td>
|
|
379
|
+
</tr>
|
|
344
380
|
|
|
345
381
|
<tr>
|
|
346
382
|
<td class="col-md-4">
|
|
@@ -368,6 +404,13 @@
|
|
|
368
404
|
</tbody>
|
|
369
405
|
</table>
|
|
370
406
|
</div>
|
|
407
|
+
<div class="io-description">
|
|
408
|
+
<b>Returns : </b> <code>T & literal type</code>
|
|
409
|
+
|
|
410
|
+
</div>
|
|
411
|
+
<div class="io-description">
|
|
412
|
+
|
|
413
|
+
</div>
|
|
371
414
|
</td>
|
|
372
415
|
</tr>
|
|
373
416
|
</tbody>
|
|
@@ -557,12 +600,20 @@
|
|
|
557
600
|
</tr>
|
|
558
601
|
<tr>
|
|
559
602
|
<td class="col-md-4">
|
|
560
|
-
<code>NotContainsReferenceObjects(array?: Array)</code>
|
|
603
|
+
<code>NotContainsReferenceObjects<T>(array?: Array)</code>
|
|
561
604
|
</td>
|
|
562
605
|
</tr>
|
|
563
606
|
|
|
564
607
|
|
|
565
608
|
|
|
609
|
+
<tr>
|
|
610
|
+
<td class="col-md-4">
|
|
611
|
+
<b>Type parameters :</b>
|
|
612
|
+
<ul class="type-parameters">
|
|
613
|
+
<li>T</li>
|
|
614
|
+
</ul>
|
|
615
|
+
</td>
|
|
616
|
+
</tr>
|
|
566
617
|
|
|
567
618
|
<tr>
|
|
568
619
|
<td class="col-md-4">
|
|
@@ -605,7 +656,8 @@
|
|
|
605
656
|
</tr>
|
|
606
657
|
</tbody>
|
|
607
658
|
</table>
|
|
608
|
-
</section>
|
|
659
|
+
</section>
|
|
660
|
+
<h3>src/generators/init/generator.ts</h3>
|
|
609
661
|
<section data-compodoc="block-methods">
|
|
610
662
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
611
663
|
<tbody>
|
|
@@ -620,7 +672,7 @@
|
|
|
620
672
|
</tr>
|
|
621
673
|
<tr>
|
|
622
674
|
<td class="col-md-4">
|
|
623
|
-
<code>initGenerator(tree: Tree
|
|
675
|
+
<code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
|
|
624
676
|
</td>
|
|
625
677
|
</tr>
|
|
626
678
|
|
|
@@ -645,7 +697,7 @@
|
|
|
645
697
|
<tr>
|
|
646
698
|
<td>tree</td>
|
|
647
699
|
<td>
|
|
648
|
-
|
|
700
|
+
<code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
|
|
649
701
|
</td>
|
|
650
702
|
|
|
651
703
|
<td>
|
|
@@ -673,7 +725,86 @@
|
|
|
673
725
|
</tr>
|
|
674
726
|
</tbody>
|
|
675
727
|
</table>
|
|
676
|
-
|
|
728
|
+
<table class="table table-sm table-bordered">
|
|
729
|
+
<tbody>
|
|
730
|
+
<tr>
|
|
731
|
+
<td class="col-md-4">
|
|
732
|
+
<a name="resolvePackageDir"></a>
|
|
733
|
+
<span class="name">
|
|
734
|
+
<span ><b>resolvePackageDir</b></span>
|
|
735
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
736
|
+
</span>
|
|
737
|
+
</td>
|
|
738
|
+
</tr>
|
|
739
|
+
<tr>
|
|
740
|
+
<td class="col-md-4">
|
|
741
|
+
<code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
742
|
+
</td>
|
|
743
|
+
</tr>
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
<tr>
|
|
749
|
+
<td class="col-md-4">
|
|
750
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
751
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
752
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
753
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
754
|
+
</div>
|
|
755
|
+
|
|
756
|
+
<div class="io-description">
|
|
757
|
+
<b>Parameters :</b>
|
|
758
|
+
|
|
759
|
+
<table class="params">
|
|
760
|
+
<thead>
|
|
761
|
+
<tr>
|
|
762
|
+
<td>Name</td>
|
|
763
|
+
<td>Type</td>
|
|
764
|
+
<td>Optional</td>
|
|
765
|
+
</tr>
|
|
766
|
+
</thead>
|
|
767
|
+
<tbody>
|
|
768
|
+
<tr>
|
|
769
|
+
<td>root</td>
|
|
770
|
+
<td>
|
|
771
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
772
|
+
</td>
|
|
773
|
+
|
|
774
|
+
<td>
|
|
775
|
+
No
|
|
776
|
+
</td>
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
</tr>
|
|
780
|
+
<tr>
|
|
781
|
+
<td>packageName</td>
|
|
782
|
+
<td>
|
|
783
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
784
|
+
</td>
|
|
785
|
+
|
|
786
|
+
<td>
|
|
787
|
+
No
|
|
788
|
+
</td>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
</tr>
|
|
792
|
+
</tbody>
|
|
793
|
+
</table>
|
|
794
|
+
</div>
|
|
795
|
+
<div class="io-description">
|
|
796
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
797
|
+
|
|
798
|
+
</div>
|
|
799
|
+
<div class="io-description">
|
|
800
|
+
|
|
801
|
+
</div>
|
|
802
|
+
</td>
|
|
803
|
+
</tr>
|
|
804
|
+
</tbody>
|
|
805
|
+
</table>
|
|
806
|
+
</section>
|
|
807
|
+
<h3>src/lib/open-api-init.ts</h3>
|
|
677
808
|
<section data-compodoc="block-methods">
|
|
678
809
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
679
810
|
<tbody>
|
|
@@ -750,6 +881,7 @@
|
|
|
750
881
|
</section>
|
|
751
882
|
|
|
752
883
|
|
|
884
|
+
|
|
753
885
|
</div><div class="search-results">
|
|
754
886
|
<div class="has-results">
|
|
755
887
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -782,6 +914,24 @@
|
|
|
782
914
|
|
|
783
915
|
<script>
|
|
784
916
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
917
|
+
var updateDarkModeSwitchOffset = function () {
|
|
918
|
+
var content = document.querySelector('.content');
|
|
919
|
+
var scrollbarWidth = 0;
|
|
920
|
+
|
|
921
|
+
if (content) {
|
|
922
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
document.documentElement.style.setProperty(
|
|
926
|
+
'--content-scrollbar-width',
|
|
927
|
+
scrollbarWidth + 'px'
|
|
928
|
+
);
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
updateDarkModeSwitchOffset();
|
|
932
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
933
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
934
|
+
|
|
785
935
|
checkToggle(darkModeState);
|
|
786
936
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
787
937
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -797,14 +947,12 @@
|
|
|
797
947
|
<script src="../js/libs/lit-html.js"></script>
|
|
798
948
|
|
|
799
949
|
<script src="../js/menu-wc.js" defer></script>
|
|
800
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
801
950
|
|
|
802
951
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
803
952
|
|
|
804
953
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
805
954
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
806
955
|
<script src="../js/libs/promise.min.js"></script>
|
|
807
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
808
956
|
|
|
809
957
|
<script src="../js/compodoc.js"></script>
|
|
810
958
|
|
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,7 +137,7 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#OperationMap" title="src/lib/open-api-config.service.ts" ><b>OperationMap</b> (src/.../open-api-config.service.ts)</a>
|
|
140
|
+
<a href="#OperationMap" title="src/lib/open-api-config.service.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>OperationMap</b> (src/.../open-api-config.service.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
</ul>
|
|
118
143
|
</td>
|
|
@@ -142,6 +167,7 @@
|
|
|
142
167
|
</section>
|
|
143
168
|
|
|
144
169
|
|
|
170
|
+
|
|
145
171
|
</div><div class="search-results">
|
|
146
172
|
<div class="has-results">
|
|
147
173
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -174,6 +200,24 @@
|
|
|
174
200
|
|
|
175
201
|
<script>
|
|
176
202
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
203
|
+
var updateDarkModeSwitchOffset = function () {
|
|
204
|
+
var content = document.querySelector('.content');
|
|
205
|
+
var scrollbarWidth = 0;
|
|
206
|
+
|
|
207
|
+
if (content) {
|
|
208
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
document.documentElement.style.setProperty(
|
|
212
|
+
'--content-scrollbar-width',
|
|
213
|
+
scrollbarWidth + 'px'
|
|
214
|
+
);
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
updateDarkModeSwitchOffset();
|
|
218
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
219
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
220
|
+
|
|
177
221
|
checkToggle(darkModeState);
|
|
178
222
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
179
223
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -189,14 +233,12 @@
|
|
|
189
233
|
<script src="../js/libs/lit-html.js"></script>
|
|
190
234
|
|
|
191
235
|
<script src="../js/menu-wc.js" defer></script>
|
|
192
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
193
236
|
|
|
194
237
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
195
238
|
|
|
196
239
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
197
240
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
198
241
|
<script src="../js/libs/promise.min.js"></script>
|
|
199
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
200
242
|
|
|
201
243
|
<script src="../js/compodoc.js"></script>
|
|
202
244
|
|