@disy/cadenza.js 1.7.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +7 -12
  3. package/apidoc/assets/navigation.js +1 -1
  4. package/apidoc/assets/search.js +1 -1
  5. package/apidoc/classes/AbortError.html +3 -3
  6. package/apidoc/classes/CadenzaClient.html +21 -35
  7. package/apidoc/classes/CadenzaError.html +4 -4
  8. package/apidoc/functions/cadenza.html +1 -1
  9. package/apidoc/index.html +6 -6
  10. package/apidoc/interfaces/CadenzaEvent.html +3 -3
  11. package/apidoc/interfaces/ExternalLinkKey.html +3 -3
  12. package/apidoc/interfaces/Geometry.html +2 -2
  13. package/apidoc/interfaces/PageSource.html +2 -2
  14. package/apidoc/interfaces/WorkbookKey.html +3 -3
  15. package/apidoc/interfaces/WorkbookViewKey.html +4 -4
  16. package/apidoc/interfaces/WorksheetKey.html +4 -4
  17. package/apidoc/modules.html +2 -2
  18. package/apidoc/types/CadenzaErrorEvent.html +1 -1
  19. package/apidoc/types/DataType.html +2 -0
  20. package/apidoc/types/EmbeddingTargetId.html +1 -1
  21. package/apidoc/types/Extent.html +1 -1
  22. package/apidoc/types/FilterVariables.html +2 -2
  23. package/apidoc/types/GeometryType.html +1 -1
  24. package/apidoc/types/GlobalId.html +1 -1
  25. package/apidoc/types/OperationMode.html +1 -1
  26. package/apidoc/types/TablePart.html +2 -2
  27. package/apidoc/types/UiFeature.html +1 -1
  28. package/apidoc/types/WorkbookSource.html +1 -1
  29. package/apidoc/types/WorkbookViewSource.html +1 -1
  30. package/apidoc/types/WorksheetSource.html +1 -1
  31. package/cadenza.d.ts +17 -42
  32. package/cadenza.js +37 -60
  33. package/package.json +1 -1
  34. package/sandbox.html +52 -22
  35. package/apidoc/types/MediaType.html +0 -3
package/cadenza.js CHANGED
@@ -68,15 +68,9 @@ globalThis.cadenza = Object.assign((/** @type Parameters<cadenza> */ ...args) =>
68
68
  * _Note:_ The GeoJSON geometry type "GeometryCollection" is currently not supported.
69
69
  */
70
70
  /** @typedef {[number,number,number,number]} Extent - An array of numbers representing an extent: [minx, miny, maxx, maxy] */
71
- /**
72
- * @typedef {string} MediaType - A media type
73
- *
74
- * See {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types}
75
- */
76
- /** @typedef {'columns' | 'values' | 'totals'} TablePart - A part of a table to export. */
77
- /**
78
- * @typedef {Record<string, string | number | Date>} FilterVariables - Filter variable values
79
- */
71
+ /** @typedef {'csv' | 'excel' | 'json' | 'pdf'} DataType - A data type */
72
+ /** @typedef {'columns' | 'values' | 'totals'} TablePart - A part of a table to export */
73
+ /** @typedef {Record<string, string | number | Date>} FilterVariables - Filter variable names and values */
80
74
  /**
81
75
  * _Notes:_
82
76
  * * Most public methods can be aborted using an [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal).
@@ -150,25 +144,24 @@ export class CadenzaClient {
150
144
  *
151
145
  * @param {PageSource | WorkbookSource | WorksheetSource | WorkbookViewSource} source - The source to show
152
146
  * @param {object} [options]
147
+ * @param {DataType} [options.dataType] - Set to 'pdf' for views of type "JasperReports report"
148
+ * to show the report PDF directly, without any Cadenza headers or footers.
153
149
  * @param {UiFeature[]} [options.disabledUiFeatures] - Cadenza UI features to disable
154
150
  * @param {boolean} [options.expandNavigator] - Indicates if the navigator should be expanded.
155
- * @param {FilterVariables} [options.filter] - Filter variables. The keys should contain the
156
- * filter variable names and the values the filter variable values.
151
+ * @param {FilterVariables} [options.filter] - Filter variables
157
152
  * @param {boolean} [options.hideMainHeaderAndFooter] - Whether to hide the main Cadenza header and footer
158
153
  * @param {boolean} [options.hideWorkbookToolBar] - Whether to hide the workbook toolbar
159
154
  * @param {GlobalId} [options.highlightGlobalId] - The ID of an item to highlight / expand in the navigator
160
155
  * @param {String} [options.labelSet] - The name of a label set defined in the `basicweb-config.xml` (only supported for the welcome page)
161
- * @param {MediaType} [options.mediaType] - Set to 'application/pdf' for views of type "JasperReports report"
162
- * to show the report PDF directly, without any Cadenza headers or footers.
163
156
  * @param {OperationMode} [options.operationMode] - The mode in which a workbook should be operated
164
157
  * @param {AbortSignal} [options.signal] - A signal to abort the iframe loading
165
158
  * @return {Promise<void>} A Promise for when the iframe is loaded
166
159
  * @throws For invalid arguments
167
160
  */
168
- show(source, { disabledUiFeatures, expandNavigator, filter, hideMainHeaderAndFooter, hideWorkbookToolBar, highlightGlobalId, labelSet, mediaType, operationMode, signal, } = {}) {
161
+ show(source, { dataType, disabledUiFeatures, expandNavigator, filter, hideMainHeaderAndFooter, hideWorkbookToolBar, highlightGlobalId, labelSet, operationMode, signal, } = {}) {
169
162
  this.#log('CadenzaClient#show', source);
170
- if (mediaType) {
171
- assertSupportedMediaType(mediaType, [MediaType.PDF]);
163
+ if (dataType) {
164
+ assertSupportedDataType(dataType, ['pdf']);
172
165
  }
173
166
  if (labelSet) {
174
167
  assert(typeof source !== 'string' &&
@@ -183,7 +176,7 @@ export class CadenzaClient {
183
176
  hideWorkbookToolBar,
184
177
  highlightGlobalId,
185
178
  labelSet,
186
- mediaType,
179
+ dataType,
187
180
  operationMode,
188
181
  webApplication: this.#webApplication,
189
182
  });
@@ -196,8 +189,7 @@ export class CadenzaClient {
196
189
  * @param {object} [options] - Options
197
190
  * @param {UiFeature[]} [options.disabledUiFeatures] - Cadenza UI features to disable
198
191
  * @param {boolean} [options.expandNavigator] - Indicates if the navigator should be expanded.
199
- * @param {FilterVariables} [options.filter] - Filter variables. The keys should contain the
200
- * filter variable names and the values the filter variable values.
192
+ * @param {FilterVariables} [options.filter] - Filter variables
201
193
  * @param {Geometry} [options.geometry] - A geometry to show on the map
202
194
  * @param {boolean} [options.hideMainHeaderAndFooter] - Whether to hide the main Cadenza header and footer
203
195
  * @param {boolean} [options.hideWorkbookToolBar] - Whether to hide the workbook toolbar
@@ -399,21 +391,17 @@ export class CadenzaClient {
399
391
  * Fetch data from a workbook view.
400
392
  *
401
393
  * @param {WorkbookViewSource} source - The workbook view to fetch data from
402
- * @param {MediaType} mediaType - The media type to use for the data. Allowed are:
403
- * * 'application/json'
404
- * * 'application/pdf' (for Jasper Report views)
405
- * * 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' (Excel)
406
- * * 'text/csv'
394
+ * @param {DataType} dataType - The data type you want to get back from the server
407
395
  * @param {object} options - Options
408
396
  * @param {TablePart[]} [options.parts] - Table parts to export; If not specified, all parts are exported.
409
397
  * @param {AbortSignal} [options.signal] - A signal to abort the data fetching
410
398
  * @return {Promise<Response>} A Promise for the fetch response
411
399
  * @throws For invalid arguments
412
400
  */
413
- fetchData(source, mediaType, { parts, signal } = {}) {
414
- this.#log('CadenzaClient#fetchData', source, mediaType);
415
- assertSupportedMediaType(mediaType);
416
- const params = createParams({ mediaType, parts });
401
+ fetchData(source, dataType, { parts, signal } = {}) {
402
+ this.#log('CadenzaClient#fetchData', source, dataType);
403
+ assertSupportedDataType(dataType);
404
+ const params = createParams({ dataType, parts });
417
405
  return this.#fetch(resolvePath(source), params, signal);
418
406
  }
419
407
  async #fetch(
@@ -439,20 +427,16 @@ export class CadenzaClient {
439
427
  * _Note:_ The file name, if not provided, is generated from the name of the workbook view and the current date.
440
428
  *
441
429
  * @param {WorkbookViewSource} source - The workbook view to download data from
442
- * @param {MediaType} mediaType - The media type to use for the data. Allowed are:
443
- * * 'application/json'
444
- * * 'application/pdf' (for Jasper Report views)
445
- * * 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' (Excel)
446
- * * 'text/csv'
430
+ * @param {DataType} dataType - The data type you want to get back from the server
447
431
  * @param {object} options - Options
448
432
  * @param {string} [options.fileName] - The file name to use; The file extension is appended by Cadenza.
449
433
  * @param {TablePart[]} [options.parts] - Table parts to export; If not specified, all parts are exported.
450
434
  * @throws For invalid arguments
451
435
  */
452
- downloadData(source, mediaType, { fileName, parts }) {
453
- this.#log('CadenzaClient#downloadData', source, mediaType);
454
- assertSupportedMediaType(mediaType);
455
- const params = createParams({ fileName, mediaType, parts });
436
+ downloadData(source, dataType, { fileName, parts }) {
437
+ this.#log('CadenzaClient#downloadData', source, dataType);
438
+ assertSupportedDataType(dataType);
439
+ const params = createParams({ dataType, fileName, parts });
456
440
  this.#download(resolvePath(source), params);
457
441
  }
458
442
  #download(/** @type string */ path, /** @type URLSearchParams */ params) {
@@ -570,25 +554,19 @@ function validOperationMode(/** @type string */ value) {
570
554
  function validUiFeature(/** @type string */ value) {
571
555
  return ['workbook-design', 'workbook-view-management'].includes(value);
572
556
  }
573
- const MediaType = /** @type {Record<string, MediaType>} */ {
574
- CSV: 'text/csv',
575
- EXCEL: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
576
- JSON: 'application/json',
577
- PDF: 'application/pdf',
578
- };
579
- function assertSupportedMediaType(
580
- /** @type MediaType */ type,
581
- /** @type MediaType[] */ supportedTypes = Object.values(MediaType)) {
582
- assert(supportedTypes.includes(type), `Invalid media type: ${type}`);
557
+ function assertSupportedDataType(
558
+ /** @type DataType */ type,
559
+ /** @type DataType[] */ supportedTypes = ['csv', 'excel', 'json', 'pdf']) {
560
+ assert(supportedTypes.includes(type), `Invalid data type: ${type}`);
583
561
  }
584
562
  /**
585
563
  * @param {object} params - Options
586
564
  * @param {string} [params.action]
565
+ * @param {DataType} [params.dataType]
587
566
  * @param {UiFeature[]} [params.disabledUiFeatures]
588
567
  * @param {boolean} [params.expandNavigator]
589
568
  * @param {string} [params.fileName]
590
- * @param {FilterVariables} [params.filter] - Filter variables. The keys should contain the filter
591
- * variable names and the values the filter variable values.
569
+ * @param {FilterVariables} [params.filter]
592
570
  * @param {GeometryType} [params.geometryType]
593
571
  * @param {boolean} [params.hideMainHeaderAndFooter]
594
572
  * @param {boolean} [params.hideWorkbookToolBar]
@@ -596,7 +574,6 @@ function assertSupportedMediaType(
596
574
  * @param {string} [params.labelSet]
597
575
  * @param {string} [params.locationFinder]
598
576
  * @param {Extent} [params.mapExtent]
599
- * @param {MediaType} [params.mediaType]
600
577
  * @param {number} [params.minScale]
601
578
  * @param {OperationMode} [params.operationMode]
602
579
  * @param {TablePart[]} [params.parts]
@@ -604,10 +581,13 @@ function assertSupportedMediaType(
604
581
  * @param {ExternalLinkKey} [params.webApplication]
605
582
  * @return {URLSearchParams}
606
583
  */
607
- function createParams({ action, disabledUiFeatures, expandNavigator, fileName, filter, geometryType, hideMainHeaderAndFooter, hideWorkbookToolBar, highlightGlobalId, labelSet, locationFinder, mapExtent, mediaType, minScale, parts, useMapSrs, webApplication, operationMode, }) {
584
+ function createParams({ action, dataType, disabledUiFeatures, expandNavigator, fileName, filter, geometryType, hideMainHeaderAndFooter, hideWorkbookToolBar, highlightGlobalId, labelSet, locationFinder, mapExtent, minScale, parts, useMapSrs, webApplication, operationMode, }) {
608
585
  if (disabledUiFeatures) {
609
586
  disabledUiFeatures.forEach((feature) => assert(validUiFeature(feature), `Invalid UI feature: ${feature}`));
610
587
  }
588
+ if (filter) {
589
+ Object.keys(filter).forEach((varName) => assert(validKebabCaseString(varName), `Invalid filter variable name: ${varName}`));
590
+ }
611
591
  if (geometryType) {
612
592
  assertValidGeometryType(geometryType);
613
593
  }
@@ -617,16 +597,19 @@ function createParams({ action, disabledUiFeatures, expandNavigator, fileName, f
617
597
  if (parts) {
618
598
  parts.forEach((part) => assert(validTablePart(part), `Invalid table part: ${part}`));
619
599
  }
620
- if (filter) {
621
- Object.keys(filter).forEach((varName) => assert(validKebabCaseString(varName), `Invalid filter variable name: ${varName}`));
622
- }
623
600
  return new URLSearchParams({
624
601
  ...(action && { action }),
602
+ ...(dataType && { dataType }),
625
603
  ...(disabledUiFeatures && {
626
604
  disabledUiFeatures: disabledUiFeatures.join(),
627
605
  }),
628
606
  ...(expandNavigator && { expandNavigator: 'true' }),
629
607
  ...(fileName && { fileName }),
608
+ ...(filter &&
609
+ Object.fromEntries(Object.entries(filter).map(([variable, value]) => [
610
+ `filter.${variable}`,
611
+ JSON.stringify(value instanceof Date ? value.toISOString() : value),
612
+ ]))),
630
613
  ...(geometryType && { geometryType }),
631
614
  ...(hideMainHeaderAndFooter && { hideMainHeaderAndFooter: 'true' }),
632
615
  ...(hideWorkbookToolBar && { hideWorkbookToolBar: 'true' }),
@@ -634,7 +617,6 @@ function createParams({ action, disabledUiFeatures, expandNavigator, fileName, f
634
617
  ...(labelSet && { labelSet }),
635
618
  ...(locationFinder && { locationFinder }),
636
619
  ...(mapExtent && { mapExtent: mapExtent.join() }),
637
- ...(mediaType && { mediaType }),
638
620
  ...(minScale && { minScale: String(minScale) }),
639
621
  ...(operationMode && operationMode !== 'normal' && { operationMode }),
640
622
  ...(parts && { parts: parts.join() }),
@@ -643,11 +625,6 @@ function createParams({ action, disabledUiFeatures, expandNavigator, fileName, f
643
625
  webApplicationLink: webApplication.externalLinkId,
644
626
  webApplicationLinkRepository: webApplication.repositoryName,
645
627
  }),
646
- ...(filter &&
647
- Object.fromEntries(Object.entries(filter).map(([variable, value]) => [
648
- `filter.${variable}`,
649
- JSON.stringify(value instanceof Date ? value.toISOString() : value),
650
- ]))),
651
628
  });
652
629
  }
653
630
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@disy/cadenza.js",
3
- "version": "1.7.0",
3
+ "version": "2.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": "github:DisyInformationssysteme/cadenza.js",
6
6
  "type": "module",
package/sandbox.html CHANGED
@@ -28,7 +28,21 @@
28
28
  form, fieldset {
29
29
  display: flex;
30
30
  flex-direction: column;
31
- gap: 16px;
31
+ gap: 12px;
32
+ }
33
+ fieldset > div {
34
+ display: flex;
35
+ flex-direction: column;
36
+ gap: 4px;
37
+ }
38
+ fieldset small {
39
+ display: flex;
40
+ flex-direction: column;
41
+ gap: 4px;
42
+
43
+ & > * {
44
+ margin-block: 0;
45
+ }
32
46
  }
33
47
  main {
34
48
  flex: 1;
@@ -57,11 +71,13 @@
57
71
  const action = actionSelect.value;
58
72
  const settingsTemplate = document.querySelector(`[data-action=${action}]`);
59
73
  settingsContainer.append(settingsTemplate.content.cloneNode(true));
60
- const commonSettingsTemplate = document.getElementById(`common-${settingsTemplate.dataset.common}`);
61
- if (commonSettingsTemplate) {
62
- settingsContainer.append(
63
- document.createElement('hr'),
64
- commonSettingsTemplate.content.cloneNode(true));
74
+ if (settingsTemplate.dataset.common) {
75
+ settingsTemplate.dataset.common.split(',').forEach(commonId => {
76
+ const commonSettingsTemplate = document.getElementById(`common-${commonId}`);
77
+ settingsContainer.append(
78
+ document.createElement('hr'),
79
+ commonSettingsTemplate.content.cloneNode(true));
80
+ })
65
81
  }
66
82
 
67
83
  const data = localStorage.getItem(`cadenzajs-sandbox-${action}`);
@@ -86,9 +102,9 @@
86
102
  editGeometry: data => cadenzaClient.editGeometry(data.embeddingTargetId, JSON.parse(data.geometry), getOptions(data)),
87
103
  fetchData: data => {
88
104
  console.log('Inspect the fetchData() request in the devtools.');
89
- cadenzaClient.fetchData(data.embeddingTargetId, data.mediaType, getOptions(data));
105
+ cadenzaClient.fetchData(data.embeddingTargetId, data.dataType, getOptions(data));
90
106
  },
91
- downloadData: data => cadenzaClient.downloadData(data.embeddingTargetId, data.mediaType, getOptions(data))
107
+ downloadData: data => cadenzaClient.downloadData(data.embeddingTargetId, data.dataType, getOptions(data))
92
108
  };
93
109
 
94
110
  const form = document.getElementById('form');
@@ -118,6 +134,7 @@
118
134
  function getOptions ({
119
135
  disabledUiFeatures,
120
136
  expandNavigator,
137
+ filter,
121
138
  geometry,
122
139
  hideMainHeaderAndFooter,
123
140
  hideWorkbookToolBar,
@@ -129,25 +146,24 @@
129
146
  minScale,
130
147
  parts,
131
148
  simplifiedOperationMode,
132
- useMapSrs,
133
- filter
149
+ useMapSrs
134
150
  }) {
135
151
  return {
136
152
  disabledUiFeatures: disabledUiFeatures && disabledUiFeatures.split(','),
137
153
  expandNavigator: (expandNavigator === 'on'),
154
+ filter: filter && parseFilterVariables(filter),
138
155
  geometry: geometry && JSON.parse(geometry),
139
156
  hideMainHeaderAndFooter: (hideMainHeaderAndFooter === 'on'),
140
157
  hideWorkbookToolBar: (hideWorkbookToolBar === 'on'),
141
158
  highlightGlobalId,
142
- ...(jasperReportAsPdf === 'on' && { mediaType: 'application/pdf' }),
159
+ ...(jasperReportAsPdf === 'on' && { dataType: 'pdf' }),
143
160
  labelSet,
144
161
  locationFinder,
145
162
  mapExtent: mapExtent && mapExtent.split(','),
146
163
  minScale,
147
164
  parts: parts && parts.split(','),
148
165
  ...(simplifiedOperationMode === 'on' && { operationMode: 'simplified' }),
149
- useMapSrs: useMapSrs === 'on',
150
- filter: filter && parseFilterVariables(filter)
166
+ useMapSrs: useMapSrs === 'on'
151
167
  };
152
168
  }
153
169
 
@@ -224,11 +240,25 @@
224
240
  </div>
225
241
  <div>
226
242
  <label for="disabledUiFeatures">Disabled UI features</label>
227
- <input name="disabledUiFeatures" id="disabledUiFeatures" placeholder="feature1,feature2...">
243
+ <input name="disabledUiFeatures" id="disabledUiFeatures" placeholder="feature1,feature2,...">
244
+
245
+ <small>
246
+ <p>Comma-separated list of features</p>
247
+
248
+ Supported features:
249
+ <ul>
250
+ <li>workbook-design</li>
251
+ <li>workbook-view-management</li>
252
+ </ul>
253
+ </small>
228
254
  </div>
229
255
  <div>
230
256
  <label for="filter">Filter</label>
231
- <input name="filter" id="filter" placeholder='{ "textvar": "foo", "numbervar": 42.0, "datevar1": "2000-01-01T00.000Z", "datevar2": "{{currentDate}}" }'>
257
+ <textarea name="filter" id="filter" rows="3"></textarea>
258
+ <small>
259
+ <p>A JSON object with filter variable names and values</p>
260
+ <p>Dates need to be ISO strings<br>(e.g. <code>"2023-11-17T17:12:06.175Z"</code>).<br>Use <code>"{{currentDate}}"</code> for the current date.</p>
261
+ </small>
232
262
  </div>
233
263
  </template>
234
264
 
@@ -251,12 +281,12 @@
251
281
 
252
282
  <template id="common-data">
253
283
  <div>
254
- <label for="mediaType">Media type *</label>
255
- <select name="mediaType" id="mediaType" required>
256
- <option>text/csv</option>
257
- <option>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</option>
258
- <option>application/json</option>
259
- <option>application/pdf</option>
284
+ <label for="dataType">Data type *</label>
285
+ <select name="dataType" id="dataType" required>
286
+ <option>csv</option>
287
+ <option>excel</option>
288
+ <option>json</option>
289
+ <option>pdf</option>
260
290
  </select>
261
291
  </div>
262
292
  <div>
@@ -301,7 +331,7 @@
301
331
  </div>
302
332
  </template>
303
333
 
304
- <template data-action="showMap" data-common="show">
334
+ <template data-action="showMap" data-common="map,show">
305
335
  <div>
306
336
  <label for="embeddingTargetId">Embedding target ID of the map view *</label>
307
337
  <input name="embeddingTargetId" id="embeddingTargetId" required>
@@ -1,3 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MediaType | Cadenza JS</title><meta name="description" content="Documentation for Cadenza JS"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Cadenza JS</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">Cadenza JS</a></li><li><a href="MediaType.html">MediaType</a></li></ul><h1>Type alias MediaType</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Media<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A media type</p>
2
- <p>See <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types">https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types</a></p>
3
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/DisyInformationssysteme/cadenza.js/blob/f6d377e/src/cadenza.js#L82">src/cadenza.js:82</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1"></use></svg><span>Cadenza JS</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li><a href="../classes/AbortError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg>AbortError</a></li><li><a href="../classes/CadenzaClient.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg>CadenzaClient</a></li><li><a href="../classes/CadenzaError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg>CadenzaError</a></li><li><a href="../interfaces/CadenzaEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>CadenzaEvent</a></li><li><a href="../interfaces/ExternalLinkKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>ExternalLinkKey</a></li><li><a href="../interfaces/Geometry.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>Geometry</a></li><li><a href="../interfaces/PageSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>PageSource</a></li><li><a href="../interfaces/WorkbookKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>WorkbookKey</a></li><li><a href="../interfaces/WorkbookViewKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>WorkbookViewKey</a></li><li><a href="../interfaces/WorksheetKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg>WorksheetKey</a></li><li><a href="CadenzaErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>CadenzaErrorEvent</a></li><li><a href="EmbeddingTargetId.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>EmbeddingTargetId</a></li><li><a href="Extent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>Extent</a></li><li><a href="FilterVariables.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>FilterVariables</a></li><li><a href="GeometryType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>GeometryType</a></li><li><a href="GlobalId.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>GlobalId</a></li><li><a href="MediaType.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>MediaType</a></li><li><a href="OperationMode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>OperationMode</a></li><li><a href="TablePart.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>TablePart</a></li><li><a href="UiFeature.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>UiFeature</a></li><li><a href="WorkbookSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2097152"></use></svg>WorkbookSource</a></li><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><svg style="display: none"><g id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g><g id="icon-16"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g><g id="icon-8192"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g><g id="icon-32768"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-262144"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-524288"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)"></path></g><g id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g><g id="icon-chevronDown"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></g><g id="icon-chevronSmall"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></g><g id="icon-menu"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></g><g id="icon-search"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></g><g id="icon-anchor"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g></svg></body></html>