-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
464 lines (411 loc) · 47.1 KB
/
Copy pathindex.html
File metadata and controls
464 lines (411 loc) · 47.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
<!--
Generated by FreeXmlToolkit
==========================
Timestamp: 2026-06-22T16:40:10.4477194+02:00
App Version: Development
OS: Windows 11 10.0
Java: 25.0.3
Source File: FundsXML4.xsd
-->
<!--
~ FreeXMLToolkit - Universal Toolkit for XML
~ Copyright (c) Karl Kauc 2024.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
-->
<!DOCTYPE html>
<html lang="en" class="bg-slate-50">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>XSD Documentation for 'FundsXML4'</title>
<!-- Generated Tailwind CSS -->
<link href="assets/freexmltoolkit-docs.css" rel="stylesheet">
<!-- PrismJS for Syntax Highlighting -->
<link href="assets/prism.css" rel="stylesheet"/>
<!-- Favicon -->
<link rel="icon" href="assets/logo-mark-official.png" type="image/png"/>
</head>
<body class="font-sans text-slate-800" data-root-path="." data-search-index-path="search_index.json">
<!-- Modern navigation with shadow and clear spacing -->
<nav class="bg-white/80 backdrop-blur-md shadow-sm sticky top-0 z-10 border-b border-slate-200">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center h-16">
<!-- Left navigation group -->
<div class="hidden md:flex items-baseline space-x-6">
<a href="index.html" class="px-3 py-2 rounded-md text-sm font-medium text-sky-600 bg-sky-100"
aria-current="page">Home</a>
<a href="complexTypes.html"
class="px-3 py-2 rounded-md text-sm font-medium text-slate-700 hover:bg-slate-100 hover:text-slate-900">Complex
Types</a>
<a href="simpleTypes.html"
class="px-3 py-2 rounded-md text-sm font-medium text-slate-700 hover:bg-slate-100 hover:text-slate-900">Simple
Types</a>
<a href="dataDictionary.html"
class="px-3 py-2 rounded-md text-sm font-medium text-slate-700 hover:bg-slate-100 hover:text-slate-900">Data
Dictionary</a>
<a href="schema-svg.html"
class="px-3 py-2 rounded-md text-sm font-medium text-slate-700 hover:bg-slate-100 hover:text-slate-900">SVG</a>
</div>
<!-- Search Bar -->
<div class="relative flex-1 max-w-md mx-4">
<label for="search-input" class="sr-only">Search documentation</label>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3" aria-hidden="true">
<svg class="h-5 w-5 text-slate-400" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd"
d="M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z"
clip-rule="evenodd"/>
</svg>
</div>
<input type="search" id="search-input" placeholder="Loading search index..." disabled
class="w-full pl-3 pr-10 py-2 text-sm leading-tight text-slate-700 border border-slate-300 rounded-md shadow-sm appearance-none focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500 disabled:bg-slate-50 disabled:cursor-not-allowed">
<div id="search-results" role="listbox" aria-live="polite" aria-label="Search results"
class="absolute hidden w-full mt-1 bg-white border border-slate-200 rounded-md shadow-lg z-20 max-h-96 overflow-y-auto">
<!-- Search results will be injected here -->
</div>
</div>
<!-- Right navigation group (Language Switcher + GitHub Link) -->
<div class="hidden md:flex items-center space-x-2">
<!-- Language Switcher -->
<div class="flex items-center space-x-2">
<label for="lang-switcher-nav" class="text-sm text-slate-600">Language:</label>
<select id="lang-switcher-nav"
class="lang-switcher text-sm border border-slate-300 rounded-md px-2 py-1 bg-white focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500">
<option value="default">Default (no lang)</option>
</select>
</div>
<!-- GitHub Link -->
<a href="https://github.com/karlkauc/FreeXmlToolkit" target="_blank" class="flex items-center space-x-2 text-slate-700 font-bold">
<img src="assets/logo.png" alt="FreeXmlToolkit Logo" class="h-8 w-8"/>
<span>FreeXmlToolKit</span>
</a>
</div>
</div>
</div>
</nav>
<!-- Main content with generous padding -->
<main id="main-content" class="container mx-auto px-4 py-8 md:py-12">
<!-- Page Title -->
<div class="mb-8">
<h1 class="text-3xl font-bold text-slate-900 mb-2">FundsXML4 Schema Documentation</h1>
<p class="text-slate-600">Browse and search all types defined in this schema</p>
</div>
<!-- Root Element Card -->
<div class="bg-white p-6 rounded-xl shadow-md border border-slate-200 mb-8">
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
<div>
<span class="inline-flex px-2 py-1 text-xs font-semibold bg-emerald-100 text-emerald-800 rounded-full mb-2">Root Element</span>
<h2 class="text-2xl font-bold text-slate-900">FundsXML4</h2>
<p class="text-slate-600 mt-1">Click to view the root element details and explore the complete XML structure.</p>
</div>
<a href="details/FundsXML4_03619599b453e5076558dea9d0ed8acb.html" class="inline-flex items-center px-4 py-2 bg-emerald-600 hover:bg-emerald-700 text-white font-medium rounded-lg transition-colors no-underline">
<span>Go to Root Element</span>
<svg class="ml-2 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</a>
</div>
</div>
<!-- Schema Information Card -->
<div class="bg-white p-6 rounded-xl shadow-md border border-slate-200 mb-8">
<h2 class="text-lg font-semibold text-slate-900 mb-4">Schema Information</h2>
<dl class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-5">
<div class="flex flex-col">
<dt class="text-sm font-medium text-slate-500">Created on</dt>
<dd class="mt-1 text-slate-900">2026-06-22</dd>
</div>
<div class="flex flex-col">
<dt class="text-sm font-medium text-slate-500">Filename</dt>
<dd class="mt-1 text-slate-900">
<a href="FundsXML4.xsd" class="text-sky-600 hover:text-sky-800 hover:underline" download>FundsXML4.xsd</a>
</dd>
</div>
<div class="flex flex-col">
<dt class="text-sm font-medium text-slate-500">Target Namespace</dt>
<dd class="mt-1 text-slate-900 font-mono text-xs break-all"></dd>
</div>
<div class="flex flex-col">
<dt class="text-sm font-medium text-slate-500">attributeFormDefault</dt>
<dd class="mt-1 font-mono text-sm text-slate-900">unqualified</dd>
</div>
<div class="flex flex-col">
<dt class="text-sm font-medium text-slate-500">elementFormDefault</dt>
<dd class="mt-1 font-mono text-sm text-slate-900">qualified</dd>
</div>
<div class="flex flex-col md:col-span-2">
<dt class="text-sm font-medium text-slate-500">Namespaces</dt>
<dd class="mt-1 font-mono text-xs text-slate-700 bg-slate-100 p-2 rounded">xs='http://www.w3.org/2001/XMLSchema'<br />vc='http://www.w3.org/2007/XMLSchema-versioning'<br />xml='http://www.w3.org/XML/1998/namespace'<br />altova='http://www.altova.com/xml-schema-extensions'<br />ds='http://www.w3.org/2000/09/xmldsig#'</dd>
</div>
</dl>
</div>
<!-- Filter Section Card -->
<div class="bg-white p-6 rounded-xl shadow-md border border-slate-200 mb-8">
<h2 class="text-lg font-semibold text-slate-900 mb-4">Filter & Search</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div class="flex flex-col">
<label for="searchInput" class="text-sm font-medium text-slate-500 mb-2">Search Types</label>
<input type="text" id="searchInput" placeholder="e.g. 'Fund', 'Asset', 'Account'..."
class="w-full pl-3 pr-4 py-2 text-sm text-slate-700 border border-slate-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500">
</div>
<div class="flex flex-col">
<label for="categoryFilter" class="text-sm font-medium text-slate-500 mb-2">Category</label>
<select id="categoryFilter"
class="w-full pl-3 pr-8 py-2 text-sm text-slate-700 border border-slate-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500 bg-white">
<option value="">All Categories</option>
<option value="global">Global Elements</option>
<option value="complex">Complex Types</option>
<option value="simple">Simple Types</option>
</select>
</div>
<div class="flex flex-col">
<label for="sortBy" class="text-sm font-medium text-slate-500 mb-2">Sort By</label>
<select id="sortBy"
class="w-full pl-3 pr-8 py-2 text-sm text-slate-700 border border-slate-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-sky-500 focus:border-sky-500 bg-white">
<option value="name-asc">A-Z (ascending)</option>
<option value="name-desc">Z-A (descending)</option>
</select>
</div>
</div>
</div>
<!-- Stats Bar -->
<div class="flex flex-wrap gap-3 mb-6">
<div class="inline-flex items-center gap-2 px-3 py-2 bg-sky-100 border border-slate-200 rounded-lg text-sm">
<span class="text-slate-600">Total:</span>
<span class="font-bold text-sky-600" id="totalCount">0</span>
</div>
<div class="inline-flex items-center gap-2 px-3 py-2 bg-sky-100 border border-slate-200 rounded-lg text-sm">
<span class="text-slate-600">Displayed:</span>
<span class="font-bold text-sky-600" id="displayCount">0</span>
</div>
<div class="inline-flex items-center gap-2 px-3 py-2 bg-sky-100 border border-slate-200 rounded-lg text-sm">
<span class="text-slate-600">Page:</span>
<span class="font-bold text-sky-600" id="currentPageDisplay">1</span>
</div>
</div>
<!-- Types Grid -->
<div class="bg-white rounded-xl shadow-md border border-slate-200 overflow-hidden mb-8">
<div id="typesGrid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-px bg-slate-200">
<!-- Types will be injected by JavaScript -->
</div>
<!-- Empty State -->
<div class="hidden text-center py-12 px-4" id="emptyState">
<svg class="h-12 w-12 text-slate-400 mb-4" style="margin: 0 auto;" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
<h3 class="text-lg font-medium text-slate-700 mb-2">No results found</h3>
<p class="text-slate-500">Try a different search query or filter setting.</p>
</div>
<!-- Pagination -->
<div class="flex flex-wrap justify-center items-center gap-4 p-4 bg-slate-50 border-t border-slate-200">
<button id="prevBtn" onclick="goToPreviousPage()"
class="inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-300 rounded-md hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-500 transition-colors">
<svg class="mr-2 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
</svg>
Previous
</button>
<div class="flex items-center gap-2 text-sm">
<span class="text-slate-600">Page</span>
<input type="number" id="pageInput" min="1" value="1" onchange="goToPage()"
class="w-16 px-2 py-1 text-center text-sm font-medium border border-slate-300 rounded-md focus:outline-none focus:ring-2 focus:ring-sky-500">
<span class="text-slate-600">of <span id="totalPages" class="font-medium">1</span></span>
</div>
<button id="nextBtn" onclick="goToNextPage()"
class="inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-300 rounded-md hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-500 transition-colors">
Next
<svg class="ml-2 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
<!-- Hidden data containers for Thymeleaf to inject data -->
<script id="globalElementsData" type="application/json">
[{"name": "FundsXML4", "url": "details/FundsXML4_03619599b453e5076558dea9d0ed8acb.html", "prefix": null}]
</script>
<script id="complexTypesData" type="application/json">
[{"name": "AccountType", "url": "complexTypes/AccountType.html"},{"name": "AddressType", "url": "complexTypes/AddressType.html"},{"name": "AddressTypeDataDEType", "url": "complexTypes/AddressTypeDataDEType.html"},{"name": "AllocationType", "url": "complexTypes/AllocationType.html"},{"name": "AmountType", "url": "complexTypes/AmountType.html"},{"name": "AnnualReturnsDataDEType", "url": "complexTypes/AnnualReturnsDataDEType.html"},{"name": "AssetDetailsType", "url": "complexTypes/AssetDetailsType.html"},{"name": "AssetManagementClosedDataType", "url": "complexTypes/AssetManagementClosedDataType.html"},{"name": "AssetManagementCompanyAggregatedType", "url": "complexTypes/AssetManagementCompanyAggregatedType.html"},{"name": "AssetManagementCompanyDataType", "url": "complexTypes/AssetManagementCompanyDataType.html"},{"name": "AssetManagementCompanyFundAssetsType", "url": "complexTypes/AssetManagementCompanyFundAssetsType.html"},{"name": "AssetManagementCompanySalesType", "url": "complexTypes/AssetManagementCompanySalesType.html"},{"name": "AssetMasterDataType", "url": "complexTypes/AssetMasterDataType.html"},{"name": "AssetMgmtCompanyDynDataType", "url": "complexTypes/AssetMgmtCompanyDynDataType.html"},{"name": "AssetType", "url": "complexTypes/AssetType.html"},{"name": "AttributeType", "url": "complexTypes/AttributeType.html"},{"name": "AttributesType", "url": "complexTypes/AttributesType.html"},{"name": "BenchmarkDynamicDataType", "url": "complexTypes/BenchmarkDynamicDataType.html"},{"name": "BenchmarkProviderCompany", "url": "complexTypes/BenchmarkProviderCompany.html"},{"name": "BenchmarkStaticDataType", "url": "complexTypes/BenchmarkStaticDataType.html"},{"name": "BondType", "url": "complexTypes/BondType.html"},{"name": "BreakDownsType", "url": "complexTypes/BreakDownsType.html"},{"name": "CEPTV2HistoryType", "url": "complexTypes/CEPTV2HistoryType.html"},{"name": "CEPTV2PerformanceType", "url": "complexTypes/CEPTV2PerformanceType.html"},{"name": "CEPTV2PriceType", "url": "complexTypes/CEPTV2PriceType.html"},{"name": "CEPTV2_RHPSType", "url": "complexTypes/CEPTV2_RHPSType.html"},{"name": "CEPT_PriceType", "url": "complexTypes/CEPT_PriceType.html"},{"name": "CEPT_RHPSType", "url": "complexTypes/CEPT_RHPSType.html"},{"name": "CallCapitalType", "url": "complexTypes/CallCapitalType.html"},{"name": "CanonicalizationMethodType", "url": "complexTypes/CanonicalizationMethodType.html"},{"name": "CertificateType", "url": "complexTypes/CertificateType.html"},{"name": "ClassificationType", "url": "complexTypes/ClassificationType.html"},{"name": "ClassificationsType", "url": "complexTypes/ClassificationsType.html"},{"name": "ClientStatisticType", "url": "complexTypes/ClientStatisticType.html"},{"name": "CodificationType", "url": "complexTypes/CodificationType.html"},{"name": "CodificationType_V5", "url": "complexTypes/CodificationType_V5.html"},{"name": "CommercialPaperType", "url": "complexTypes/CommercialPaperType.html"},{"name": "CompanyType", "url": "complexTypes/CompanyType.html"},{"name": "ContributionToSCRType", "url": "complexTypes/ContributionToSCRType.html"},{"name": "ControlDataType", "url": "complexTypes/ControlDataType.html"},{"name": "ConvertibleBondType", "url": "complexTypes/ConvertibleBondType.html"},{"name": "CountrySpecificAssetMasterDataATType", "url": "complexTypes/CountrySpecificAssetMasterDataATType.html"},{"name": "CountrySpecificAssetMasterDataDEType", "url": "complexTypes/CountrySpecificAssetMasterDataDEType.html"},{"name": "CountrySpecificAssetMasterDataDKType", "url": "complexTypes/CountrySpecificAssetMasterDataDKType.html"},{"name": "CountrySpecificAssetMasterDataFRType", "url": "complexTypes/CountrySpecificAssetMasterDataFRType.html"},{"name": "CountrySpecificAssetMasterDataLUType", "url": "complexTypes/CountrySpecificAssetMasterDataLUType.html"},{"name": "CountrySpecificAssetMasterDataNLType", "url": "complexTypes/CountrySpecificAssetMasterDataNLType.html"},{"name": "CountrySpecificControlDataATType", "url": "complexTypes/CountrySpecificControlDataATType.html"},{"name": "CountrySpecificControlDataDEType", "url": "complexTypes/CountrySpecificControlDataDEType.html"},{"name": "CountrySpecificControlDataDKType", "url": "complexTypes/CountrySpecificControlDataDKType.html"},{"name": "CountrySpecificControlDataFRType", "url": "complexTypes/CountrySpecificControlDataFRType.html"},{"name": "CountrySpecificControlDataLUType", "url": "complexTypes/CountrySpecificControlDataLUType.html"},{"name": "CountrySpecificControlDataNLType", "url": "complexTypes/CountrySpecificControlDataNLType.html"},{"name": "CountrySpecificDataATType", "url": "complexTypes/CountrySpecificDataATType.html"},{"name": "CountrySpecificDataDEType", "url": "complexTypes/CountrySpecificDataDEType.html"},{"name": "CountrySpecificDataDKType", "url": "complexTypes/CountrySpecificDataDKType.html"},{"name": "CountrySpecificDataFRType", "url": "complexTypes/CountrySpecificDataFRType.html"},{"name": "CountrySpecificDataLUType", "url": "complexTypes/CountrySpecificDataLUType.html"},{"name": "CountrySpecificDataNLType", "url": "complexTypes/CountrySpecificDataNLType.html"},{"name": "CountrySpecificDataType", "url": "complexTypes/CountrySpecificDataType.html"},{"name": "CountrySpecificEMTATType", "url": "complexTypes/CountrySpecificEMTATType.html"},{"name": "CountrySpecificEMTDEType", "url": "complexTypes/CountrySpecificEMTDEType.html"},{"name": "CountrySpecificEMTDKType", "url": "complexTypes/CountrySpecificEMTDKType.html"},{"name": "CountrySpecificEMTDataType", "url": "complexTypes/CountrySpecificEMTDataType.html"},{"name": "CountrySpecificEMTFRType", "url": "complexTypes/CountrySpecificEMTFRType.html"},{"name": "CountrySpecificEMTLUType", "url": "complexTypes/CountrySpecificEMTLUType.html"},{"name": "CountrySpecificEMTNLType", "url": "complexTypes/CountrySpecificEMTNLType.html"},{"name": "CountrySpecificFundDataATType", "url": "complexTypes/CountrySpecificFundDataATType.html"},{"name": "CountrySpecificFundDataDEType", "url": "complexTypes/CountrySpecificFundDataDEType.html"},{"name": "CountrySpecificFundDataDKType", "url": "complexTypes/CountrySpecificFundDataDKType.html"},{"name": "CountrySpecificFundDataFRType", "url": "complexTypes/CountrySpecificFundDataFRType.html"},{"name": "CountrySpecificFundDataLUType", "url": "complexTypes/CountrySpecificFundDataLUType.html"},{"name": "CountrySpecificFundDataNLType", "url": "complexTypes/CountrySpecificFundDataNLType.html"},{"name": "CountrySpecificFundDataType", "url": "complexTypes/CountrySpecificFundDataType.html"},{"name": "CountrySpecificShareClassDataATType", "url": "complexTypes/CountrySpecificShareClassDataATType.html"},{"name": "CountrySpecificShareClassDataDEType", "url": "complexTypes/CountrySpecificShareClassDataDEType.html"},{"name": "CountrySpecificShareClassDataDKType", "url": "complexTypes/CountrySpecificShareClassDataDKType.html"},{"name": "CountrySpecificShareClassDataFRType", "url": "complexTypes/CountrySpecificShareClassDataFRType.html"},{"name": "CountrySpecificShareClassDataLUType", "url": "complexTypes/CountrySpecificShareClassDataLUType.html"},{"name": "CountrySpecificShareClassDataNLType", "url": "complexTypes/CountrySpecificShareClassDataNLType.html"},{"name": "CountrySpecificShareClassDataType", "url": "complexTypes/CountrySpecificShareClassDataType.html"},{"name": "CreditRiskDataType", "url": "complexTypes/CreditRiskDataType.html"},{"name": "CreditRiskDataType_V7", "url": "complexTypes/CreditRiskDataType_V7.html"},{"name": "CryptoType", "url": "complexTypes/CryptoType.html"},{"name": "DSAKeyValueType", "url": "complexTypes/DSAKeyValueType.html"},{"name": "DataPointType", "url": "complexTypes/DataPointType.html"},{"name": "DataSupplierType", "url": "complexTypes/DataSupplierType.html"},{"name": "DayMonthType", "url": "complexTypes/DayMonthType.html"},{"name": "DigestMethodType", "url": "complexTypes/DigestMethodType.html"},{"name": "DirectReportingType", "url": "complexTypes/DirectReportingType.html"},{"name": "DistributionType", "url": "complexTypes/DistributionType.html"},{"name": "DocumentType", "url": "complexTypes/DocumentType.html"},{"name": "DocumentsType", "url": "complexTypes/DocumentsType.html"},{"name": "DynLenNamesType", "url": "complexTypes/DynLenNamesType.html"},{"name": "EETEnhancedExclusionType", "url": "complexTypes/EETEnhancedExclusionType.html"},{"name": "EETEnhancedExclusionType1.1", "url": "complexTypes/EETEnhancedExclusionType1.1.html"},{"name": "EETExclusionType", "url": "complexTypes/EETExclusionType.html"},{"name": "EETExclusionType1.1", "url": "complexTypes/EETExclusionType1.1.html"},{"name": "EETReportType", "url": "complexTypes/EETReportType.html"},{"name": "EETReportType1.1", "url": "complexTypes/EETReportType1.1.html"},{"name": "EETReportType1.1.1", "url": "complexTypes/EETReportType1.1.1.html"},{"name": "EETReportType1.1.2", "url": "complexTypes/EETReportType1.1.2.html"},{"name": "EETReportType1.1.3", "url": "complexTypes/EETReportType1.1.3.html"},{"name": "EETWeightNumberType", "url": "complexTypes/EETWeightNumberType.html"},{"name": "EETWeightNumberType1.1", "url": "complexTypes/EETWeightNumberType1.1.html"},{"name": "EETsType", "url": "complexTypes/EETsType.html"},{"name": "EETsType1.1", "url": "complexTypes/EETsType1.1.html"},{"name": "EETsType1.1.1", "url": "complexTypes/EETsType1.1.1.html"},{"name": "EETsType1.1.2", "url": "complexTypes/EETsType1.1.2.html"},{"name": "EETsType1.1.3", "url": "complexTypes/EETsType1.1.3.html"},{"name": "EFTReportType", "url": "complexTypes/EFTReportType.html"},{"name": "EFTType", "url": "complexTypes/EFTType.html"},{"name": "EMIRType", "url": "complexTypes/EMIRType.html"},{"name": "EMIR_ReportType", "url": "complexTypes/EMIR_ReportType.html"},{"name": "EMTFinancialInstrumentType", "url": "complexTypes/EMTFinancialInstrumentType.html"},{"name": "EMTType", "url": "complexTypes/EMTType.html"},{"name": "EMTType_V3", "url": "complexTypes/EMTType_V3.html"},{"name": "EMTType_V4", "url": "complexTypes/EMTType_V4.html"},{"name": "EMTType_V41", "url": "complexTypes/EMTType_V41.html"},{"name": "EMTType_V42", "url": "complexTypes/EMTType_V42.html"},{"name": "EMTType_V43", "url": "complexTypes/EMTType_V43.html"},{"name": "EMT_V3_FinancialInstrumentType", "url": "complexTypes/EMT_V3_FinancialInstrumentType.html"},{"name": "EMT_V41_FinancialInstrumentType", "url": "complexTypes/EMT_V41_FinancialInstrumentType.html"},{"name": "EMT_V42_FinancialInstrumentType", "url": "complexTypes/EMT_V42_FinancialInstrumentType.html"},{"name": "EMT_V43_FinancialInstrumentType", "url": "complexTypes/EMT_V43_FinancialInstrumentType.html"},{"name": "EMT_V4_FinancialInstrumentType", "url": "complexTypes/EMT_V4_FinancialInstrumentType.html"},{"name": "EarningType", "url": "complexTypes/EarningType.html"},{"name": "EarningsType", "url": "complexTypes/EarningsType.html"},{"name": "EquityType", "url": "complexTypes/EquityType.html"},{"name": "ExposureType", "url": "complexTypes/ExposureType.html"},{"name": "FXRateType", "url": "complexTypes/FXRateType.html"},{"name": "FXRatesType", "url": "complexTypes/FXRatesType.html"},{"name": "FeePeriodDataType", "url": "complexTypes/FeePeriodDataType.html"},{"name": "FeeType", "url": "complexTypes/FeeType.html"},{"name": "FeesType", "url": "complexTypes/FeesType.html"},{"name": "FixedTimeDepositType", "url": "complexTypes/FixedTimeDepositType.html"},{"name": "FlowType", "url": "complexTypes/FlowType.html"},{"name": "ForeignExchangeTradeType", "url": "complexTypes/ForeignExchangeTradeType.html"},{"name": "FundAmountType", "url": "complexTypes/FundAmountType.html"},{"name": "FundCompaniesType", "url": "complexTypes/FundCompaniesType.html"},{"name": "FundCompanyType", "url": "complexTypes/FundCompanyType.html"},{"name": "FundDynamicDataType", "url": "complexTypes/FundDynamicDataType.html"},{"name": "FundOrShareClassIdentifiersType", "url": "complexTypes/FundOrShareClassIdentifiersType.html"},{"name": "FundRelatedTextType", "url": "complexTypes/FundRelatedTextType.html"},{"name": "FundStaticDataType", "url": "complexTypes/FundStaticDataType.html"},{"name": "FundStatisticClosedFundType", "url": "complexTypes/FundStatisticClosedFundType.html"},{"name": "FundStatisticType", "url": "complexTypes/FundStatisticType.html"},{"name": "FundType", "url": "complexTypes/FundType.html"},{"name": "FutureType", "url": "complexTypes/FutureType.html"},{"name": "HedgingStrategyType", "url": "complexTypes/HedgingStrategyType.html"},{"name": "HighWatermarkType", "url": "complexTypes/HighWatermarkType.html"},{"name": "IdentifiersType", "url": "complexTypes/IdentifiersType.html"},{"name": "IndexType", "url": "complexTypes/IndexType.html"},{"name": "IndirectReportingType", "url": "complexTypes/IndirectReportingType.html"},{"name": "IndustryCodeType", "url": "complexTypes/IndustryCodeType.html"},{"name": "IndustryProviderType", "url": "complexTypes/IndustryProviderType.html"},{"name": "InvestorType", "url": "complexTypes/InvestorType.html"},{"name": "InvestorTypesType", "url": "complexTypes/InvestorTypesType.html"},{"name": "IssuerType", "url": "complexTypes/IssuerType.html"},{"name": "KIIDType", "url": "complexTypes/KIIDType.html"},{"name": "KIIDsType", "url": "complexTypes/KIIDsType.html"},{"name": "KeyInfoType", "url": "complexTypes/KeyInfoType.html"},{"name": "KeyValueType", "url": "complexTypes/KeyValueType.html"},{"name": "LanguageNamesType", "url": "complexTypes/LanguageNamesType.html"},{"name": "LegType", "url": "complexTypes/LegType.html"},{"name": "LoanType", "url": "complexTypes/LoanType.html"},{"name": "ManifestType", "url": "complexTypes/ManifestType.html"},{"name": "NamesType", "url": "complexTypes/NamesType.html"},{"name": "ObjectType", "url": "complexTypes/ObjectType.html"},{"name": "OptionType", "url": "complexTypes/OptionType.html"},{"name": "OtherPricesType", "url": "complexTypes/OtherPricesType.html"},{"name": "OtherTotalValueType", "url": "complexTypes/OtherTotalValueType.html"},{"name": "PGPDataType", "url": "complexTypes/PGPDataType.html"},{"name": "PRIIPSType", "url": "complexTypes/PRIIPSType.html"},{"name": "PRIIPSType_V20", "url": "complexTypes/PRIIPSType_V20.html"},{"name": "PRIIPS_AverageReturnType", "url": "complexTypes/PRIIPS_AverageReturnType.html"},{"name": "PRIIPS_DE_EPT_PiaType", "url": "complexTypes/PRIIPS_DE_EPT_PiaType.html"},{"name": "PRIIPS_InvestmentAmountType", "url": "complexTypes/PRIIPS_InvestmentAmountType.html"},{"name": "PRIIPS_NarrativesType", "url": "complexTypes/PRIIPS_NarrativesType.html"},{"name": "PRIIPS_ReportType", "url": "complexTypes/PRIIPS_ReportType.html"},{"name": "PRIIPS_ReturnScenarioType", "url": "complexTypes/PRIIPS_ReturnScenarioType.html"},{"name": "PRIIPS_SecurityCodificationType", "url": "complexTypes/PRIIPS_SecurityCodificationType.html"},{"name": "PRIIPS_V2_Country_Specific_DE", "url": "complexTypes/PRIIPS_V2_Country_Specific_DE.html"},{"name": "PRIIPS_V2_NarrativesType", "url": "complexTypes/PRIIPS_V2_NarrativesType.html"},{"name": "PRIIPS_V2_ReturnScenarioType", "url": "complexTypes/PRIIPS_V2_ReturnScenarioType.html"},{"name": "PercentageStrategyCoverageType", "url": "complexTypes/PercentageStrategyCoverageType.html"},{"name": "PercentageStrategyCoverageType1.1", "url": "complexTypes/PercentageStrategyCoverageType1.1.html"},{"name": "PerformanceFiguresType", "url": "complexTypes/PerformanceFiguresType.html"},{"name": "PerformanceType", "url": "complexTypes/PerformanceType.html"},{"name": "PortfolioType", "url": "complexTypes/PortfolioType.html"},{"name": "PositionType", "url": "complexTypes/PositionType.html"},{"name": "PositionUnderlyingType", "url": "complexTypes/PositionUnderlyingType.html"},{"name": "PositionsDecomposedType", "url": "complexTypes/PositionsDecomposedType.html"},{"name": "PositionsType", "url": "complexTypes/PositionsType.html"},{"name": "PositiveAmountType", "url": "complexTypes/PositiveAmountType.html"},{"name": "PrivateEquityType", "url": "complexTypes/PrivateEquityType.html"},{"name": "PurchasesDataDEType", "url": "complexTypes/PurchasesDataDEType.html"},{"name": "REITType", "url": "complexTypes/REITType.html"},{"name": "RSAKeyValueType", "url": "complexTypes/RSAKeyValueType.html"},{"name": "RatingType", "url": "complexTypes/RatingType.html"},{"name": "RatingsType", "url": "complexTypes/RatingsType.html"},{"name": "RealEstateType", "url": "complexTypes/RealEstateType.html"},{"name": "RedemptionType", "url": "complexTypes/RedemptionType.html"},{"name": "RedemptionTypeDerivatives", "url": "complexTypes/RedemptionTypeDerivatives.html"},{"name": "RedemptionType_V7", "url": "complexTypes/RedemptionType_V7.html"},{"name": "ReferenceType", "url": "complexTypes/ReferenceType.html"},{"name": "RegulatoryReportingsType", "url": "complexTypes/RegulatoryReportingsType.html"},{"name": "ReposType", "url": "complexTypes/ReposType.html"},{"name": "RetrievalMethodType", "url": "complexTypes/RetrievalMethodType.html"},{"name": "RiskCodeType", "url": "complexTypes/RiskCodeType.html"},{"name": "SIIIssuerType", "url": "complexTypes/SIIIssuerType.html"},{"name": "SIIIssuerType_V5", "url": "complexTypes/SIIIssuerType_V5.html"},{"name": "SIIIssuerType_V6", "url": "complexTypes/SIIIssuerType_V6.html"},{"name": "SIIIssuerType_V7", "url": "complexTypes/SIIIssuerType_V7.html"},{"name": "SIIPositionType", "url": "complexTypes/SIIPositionType.html"},{"name": "SIIPositionType_V6", "url": "complexTypes/SIIPositionType_V6.html"},{"name": "SIIPositionType_V7", "url": "complexTypes/SIIPositionType_V7.html"},{"name": "SIISecurityCodificationType", "url": "complexTypes/SIISecurityCodificationType.html"},{"name": "SIISecurityCodificationType_V5", "url": "complexTypes/SIISecurityCodificationType_V5.html"},{"name": "SIISecurityCodificationType_V6", "url": "complexTypes/SIISecurityCodificationType_V6.html"},{"name": "SIISecurityCodificationType_V7", "url": "complexTypes/SIISecurityCodificationType_V7.html"},{"name": "SPKIDataType", "url": "complexTypes/SPKIDataType.html"},{"name": "SalesDataDEType", "url": "complexTypes/SalesDataDEType.html"},{"name": "SegmentDynamicDataType", "url": "complexTypes/SegmentDynamicDataType.html"},{"name": "SegmentStaticDataType", "url": "complexTypes/SegmentStaticDataType.html"},{"name": "SegmentType", "url": "complexTypes/SegmentType.html"},{"name": "ShareClassDetailsType", "url": "complexTypes/ShareClassDetailsType.html"},{"name": "ShareClassFeeType", "url": "complexTypes/ShareClassFeeType.html"},{"name": "ShareClassPriceType", "url": "complexTypes/ShareClassPriceType.html"},{"name": "ShareClassType", "url": "complexTypes/ShareClassType.html"},{"name": "ShareClassTypeType", "url": "complexTypes/ShareClassTypeType.html"},{"name": "SignatureMethodType", "url": "complexTypes/SignatureMethodType.html"},{"name": "SignaturePropertiesType", "url": "complexTypes/SignaturePropertiesType.html"},{"name": "SignaturePropertyType", "url": "complexTypes/SignaturePropertyType.html"},{"name": "SignatureType", "url": "complexTypes/SignatureType.html"},{"name": "SignatureValueType", "url": "complexTypes/SignatureValueType.html"},{"name": "SignedInfoType", "url": "complexTypes/SignedInfoType.html"},{"name": "SingleAmountType", "url": "complexTypes/SingleAmountType.html"},{"name": "SingleFundStaticDataType", "url": "complexTypes/SingleFundStaticDataType.html"},{"name": "SingleFundType", "url": "complexTypes/SingleFundType.html"},{"name": "SolvencyIIPortfolioType", "url": "complexTypes/SolvencyIIPortfolioType.html"},{"name": "SolvencyIIPortfolioType_V5", "url": "complexTypes/SolvencyIIPortfolioType_V5.html"},{"name": "SolvencyIIPortfolioType_V6", "url": "complexTypes/SolvencyIIPortfolioType_V6.html"},{"name": "SolvencyIIPortfolioType_V7", "url": "complexTypes/SolvencyIIPortfolioType_V7.html"},{"name": "SubfundCompaniesType", "url": "complexTypes/SubfundCompaniesType.html"},{"name": "SubfundCompanyType", "url": "complexTypes/SubfundCompanyType.html"},{"name": "SubfundStaticDataType", "url": "complexTypes/SubfundStaticDataType.html"},{"name": "SubfundType", "url": "complexTypes/SubfundType.html"},{"name": "SwapType", "url": "complexTypes/SwapType.html"},{"name": "TotalAssetValueType", "url": "complexTypes/TotalAssetValueType.html"},{"name": "TotalReturnType", "url": "complexTypes/TotalReturnType.html"},{"name": "TransactionType", "url": "complexTypes/TransactionType.html"},{"name": "TransactionsType", "url": "complexTypes/TransactionsType.html"},{"name": "TransformType", "url": "complexTypes/TransformType.html"},{"name": "TransformsType", "url": "complexTypes/TransformsType.html"},{"name": "TripartiteTemplateSolvencyIIType", "url": "complexTypes/TripartiteTemplateSolvencyIIType.html"},{"name": "TripartiteTemplateSolvencyIIType_V5", "url": "complexTypes/TripartiteTemplateSolvencyIIType_V5.html"},{"name": "TripartiteTemplateSolvencyIIType_V6", "url": "complexTypes/TripartiteTemplateSolvencyIIType_V6.html"},{"name": "TripartiteTemplateSolvencyIIType_V7", "url": "complexTypes/TripartiteTemplateSolvencyIIType_V7.html"},{"name": "UnderlyingType", "url": "complexTypes/UnderlyingType.html"},{"name": "UsageDataDEType", "url": "complexTypes/UsageDataDEType.html"},{"name": "ValueStrategyCoverageType", "url": "complexTypes/ValueStrategyCoverageType.html"},{"name": "ValueStrategyCoverageType1.1", "url": "complexTypes/ValueStrategyCoverageType1.1.html"},{"name": "ValueStrategyCoverageType1.1.2", "url": "complexTypes/ValueStrategyCoverageType1.1.2.html"},{"name": "WarrantType", "url": "complexTypes/WarrantType.html"},{"name": "X509DataType", "url": "complexTypes/X509DataType.html"},{"name": "X509IssuerSerialType", "url": "complexTypes/X509IssuerSerialType.html"}]
</script>
<script id="simpleTypesData" type="application/json">
[{"name": "AssetTypeType", "url": "simpleTypes/AssetTypeType.html"},{"name": "BenchmarkUsageType", "url": "simpleTypes/BenchmarkUsageType.html"},{"name": "BicCodeType", "url": "simpleTypes/BicCodeType.html"},{"name": "CICCodeType", "url": "simpleTypes/CICCodeType.html"},{"name": "CQSType", "url": "simpleTypes/CQSType.html"},{"name": "CalculationPeriodType", "url": "simpleTypes/CalculationPeriodType.html"},{"name": "CompanyListedClassificationType", "url": "simpleTypes/CompanyListedClassificationType.html"},{"name": "CryptoBinary", "url": "simpleTypes/CryptoBinary.html"},{"name": "DateIntervalType", "url": "simpleTypes/DateIntervalType.html"},{"name": "DayCountConventionType", "url": "simpleTypes/DayCountConventionType.html"},{"name": "DigestValueType", "url": "simpleTypes/DigestValueType.html"},{"name": "EETYesNeutralType", "url": "simpleTypes/EETYesNeutralType.html"},{"name": "EETYesNoType", "url": "simpleTypes/EETYesNoType.html"},{"name": "EMIRIDType", "url": "simpleTypes/EMIRIDType.html"},{"name": "EMTYesEmptyType", "url": "simpleTypes/EMTYesEmptyType.html"},{"name": "EMTYesNeutralType", "url": "simpleTypes/EMTYesNeutralType.html"},{"name": "EMTYesNoNeutralType", "url": "simpleTypes/EMTYesNoNeutralType.html"},{"name": "EMTYesNoType", "url": "simpleTypes/EMTYesNoType.html"},{"name": "EconomicArea2Type", "url": "simpleTypes/EconomicArea2Type.html"},{"name": "EconomicAreaType", "url": "simpleTypes/EconomicAreaType.html"},{"name": "EmailAddressType", "url": "simpleTypes/EmailAddressType.html"},{"name": "FrequencyType", "url": "simpleTypes/FrequencyType.html"},{"name": "HMACOutputLengthType", "url": "simpleTypes/HMACOutputLengthType.html"},{"name": "IBANType", "url": "simpleTypes/IBANType.html"},{"name": "ISINType", "url": "simpleTypes/ISINType.html"},{"name": "ISOCountryCodeType", "url": "simpleTypes/ISOCountryCodeType.html"},{"name": "ISOCurrencyCodeType", "url": "simpleTypes/ISOCurrencyCodeType.html"},{"name": "ISOLanguageCodeType", "url": "simpleTypes/ISOLanguageCodeType.html"},{"name": "IdentnummerType", "url": "simpleTypes/IdentnummerType.html"},{"name": "LEICodeType", "url": "simpleTypes/LEICodeType.html"},{"name": "LatitudeDataDEType", "url": "simpleTypes/LatitudeDataDEType.html"},{"name": "ListedIdentifierType", "url": "simpleTypes/ListedIdentifierType.html"},{"name": "LongitudeDataDEType", "url": "simpleTypes/LongitudeDataDEType.html"},{"name": "MICCodeType", "url": "simpleTypes/MICCodeType.html"},{"name": "NACECodeType", "url": "simpleTypes/NACECodeType.html"},{"name": "PRIIPSFrequencyType", "url": "simpleTypes/PRIIPSFrequencyType.html"},{"name": "PercentageType", "url": "simpleTypes/PercentageType.html"},{"name": "RetailProfessionalBothNeitherType", "url": "simpleTypes/RetailProfessionalBothNeitherType.html"},{"name": "SIICouponFrequencyType", "url": "simpleTypes/SIICouponFrequencyType.html"},{"name": "Text1000Type", "url": "simpleTypes/Text1000Type.html"},{"name": "Text100Type", "url": "simpleTypes/Text100Type.html"},{"name": "Text128Type", "url": "simpleTypes/Text128Type.html"},{"name": "Text16Type", "url": "simpleTypes/Text16Type.html"},{"name": "Text1Type", "url": "simpleTypes/Text1Type.html"},{"name": "Text200Type", "url": "simpleTypes/Text200Type.html"},{"name": "Text256Type", "url": "simpleTypes/Text256Type.html"},{"name": "Text32Type", "url": "simpleTypes/Text32Type.html"},{"name": "Text4Type", "url": "simpleTypes/Text4Type.html"},{"name": "Text500Type", "url": "simpleTypes/Text500Type.html"},{"name": "Text64Type", "url": "simpleTypes/Text64Type.html"},{"name": "YesNoL1Type", "url": "simpleTypes/YesNoL1Type.html"},{"name": "YesNoType", "url": "simpleTypes/YesNoType.html"},{"name": "positiveDecimals", "url": "simpleTypes/positiveDecimals.html"}]
</script>
</main>
<script>
// Parse type data from Thymeleaf-injected JSON
let allTypes = [];
function parseTypeData() {
try {
const globalElements = JSON.parse(document.getElementById('globalElementsData').textContent || '[]');
const complexTypes = JSON.parse(document.getElementById('complexTypesData').textContent || '[]');
const simpleTypes = JSON.parse(document.getElementById('simpleTypesData').textContent || '[]');
allTypes = [
...globalElements.map(e => ({ name: e.name, url: e.url, category: 'global', prefix: e.prefix })),
...complexTypes.map(e => ({ name: e.name, url: e.url, category: 'complex', prefix: null })),
...simpleTypes.map(e => ({ name: e.name, url: e.url, category: 'simple', prefix: null }))
];
} catch (e) {
console.error('Error parsing type data:', e);
allTypes = [];
}
}
let currentPage = 1;
let itemsPerPage = 25;
let filteredTypes = [];
document.addEventListener('DOMContentLoaded', function() {
parseTypeData();
filteredTypes = [...allTypes];
document.getElementById('searchInput').addEventListener('input', filterAndRender);
document.getElementById('categoryFilter').addEventListener('change', filterAndRender);
document.getElementById('sortBy').addEventListener('change', filterAndRender);
renderPage();
});
function filterAndRender() {
const searchTerm = document.getElementById('searchInput').value.toLowerCase();
const category = document.getElementById('categoryFilter').value;
const sortBy = document.getElementById('sortBy').value;
filteredTypes = allTypes.filter(type => {
const matchesSearch = type.name.toLowerCase().includes(searchTerm);
const matchesCategory = !category || type.category === category;
return matchesSearch && matchesCategory;
});
if (sortBy === 'name-asc') {
filteredTypes.sort((a, b) => a.name.localeCompare(b.name));
} else if (sortBy === 'name-desc') {
filteredTypes.sort((a, b) => b.name.localeCompare(a.name));
}
currentPage = 1;
renderPage();
}
function getBadgeClass(category) {
switch(category) {
case 'global': return 'bg-emerald-100 text-emerald-800';
case 'complex': return 'bg-amber-100 text-amber-800';
case 'simple': return 'bg-sky-100 text-sky-700';
default: return 'bg-sky-100 text-sky-700';
}
}
function escapeHtml(text) {
const div = document.createElement('div');
div.textContent = text;
return div.innerHTML;
}
function renderPage() {
const startIndex = (currentPage - 1) * itemsPerPage;
const endIndex = startIndex + itemsPerPage;
const pageItems = filteredTypes.slice(startIndex, endIndex);
const grid = document.getElementById('typesGrid');
const emptyState = document.getElementById('emptyState');
if (pageItems.length === 0) {
grid.classList.add('hidden');
emptyState.classList.remove('hidden');
} else {
grid.classList.remove('hidden');
emptyState.classList.add('hidden');
grid.innerHTML = pageItems.map(type => {
const prefixBadge = type.prefix
? `<span class="ml-2 px-1.5 py-0.5 text-xs font-medium bg-slate-200 text-slate-600 rounded" title="Imported from external namespace">${escapeHtml(type.prefix)}</span>`
: '';
return `
<div class="bg-white p-4 flex items-center justify-between hover:bg-slate-50 transition-colors">
<div class="flex items-center flex-1 min-w-0">
<a href="${escapeHtml(type.url)}"
class="text-sky-600 hover:text-sky-800 hover:underline font-medium truncate"
title="Click to view details">
${escapeHtml(type.name)}
</a>
${prefixBadge}
</div>
<span class="ml-3 px-2.5 py-0.5 text-xs font-semibold rounded-full whitespace-nowrap ${getBadgeClass(type.category)}">
${type.category}
</span>
</div>
`}).join('');
}
updatePagination();
updateStats();
}
function updatePagination() {
const totalPages = Math.max(1, Math.ceil(filteredTypes.length / itemsPerPage));
document.getElementById('totalPages').textContent = totalPages;
document.getElementById('pageInput').value = currentPage;
document.getElementById('pageInput').max = totalPages;
document.getElementById('prevBtn').disabled = currentPage === 1;
document.getElementById('nextBtn').disabled = currentPage === totalPages || filteredTypes.length === 0;
document.getElementById('currentPageDisplay').textContent = currentPage;
}
function updateStats() {
const startIndex = (currentPage - 1) * itemsPerPage;
const endIndex = Math.min(startIndex + itemsPerPage, filteredTypes.length);
const displayedCount = Math.max(0, endIndex - startIndex);
document.getElementById('totalCount').textContent = filteredTypes.length;
document.getElementById('displayCount').textContent = displayedCount;
}
function goToNextPage() {
const totalPages = Math.ceil(filteredTypes.length / itemsPerPage);
if (currentPage < totalPages) {
currentPage++;
renderPage();
window.scrollTo({ top: 0, behavior: 'smooth' });
}
}
function goToPreviousPage() {
if (currentPage > 1) {
currentPage--;
renderPage();
window.scrollTo({ top: 0, behavior: 'smooth' });
}
}
function goToPage() {
let page = parseInt(document.getElementById('pageInput').value);
const totalPages = Math.ceil(filteredTypes.length / itemsPerPage);
if (isNaN(page) || page < 1) page = 1;
if (page > totalPages) page = totalPages;
currentPage = page;
renderPage();
window.scrollTo({ top: 0, behavior: 'smooth' });
}
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const params = new URLSearchParams(window.location.search);
const xpathToFind = params.get('xpath');
if (xpathToFind) {
const searchIndexPath = document.body.dataset.searchIndexPath;
fetch(searchIndexPath)
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
}
return response.json();
})
.then(searchIndex => {
const foundItem = searchIndex.find(item => item.xpath === xpathToFind);
if (foundItem && foundItem.url) {
window.location.href = foundItem.url;
} else {
console.warn(`XPath "${xpathToFind}" not found in search index.`);
}
})
.catch(error => {
console.error('Error fetching or processing search index:', error);
});
}
});
</script>
<!-- The search script will now fetch the search_index.json file externally
using the path provided in the body's data-search-index-path attribute. -->
<script src="assets/search.js" defer></script>
<script src="assets/language-switcher.js" defer></script>
</body>
</html>