@edirect/documentation 11.0.60 → 11.0.62-beta.1

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 (43) hide show
  1. package/package.json +2 -20
  2. package/dist/README.md +0 -197
  3. package/dist/package.json +0 -48
  4. package/dist/src/documentation-root.controller.d.ts +0 -16
  5. package/dist/src/documentation-root.controller.d.ts.map +0 -1
  6. package/dist/src/documentation-root.controller.js +0 -45
  7. package/dist/src/documentation.constants.d.ts +0 -14
  8. package/dist/src/documentation.constants.d.ts.map +0 -1
  9. package/dist/src/documentation.constants.js +0 -15
  10. package/dist/src/documentation.controller.d.ts +0 -29
  11. package/dist/src/documentation.controller.d.ts.map +0 -1
  12. package/dist/src/documentation.controller.js +0 -90
  13. package/dist/src/documentation.module.d.ts +0 -7
  14. package/dist/src/documentation.module.d.ts.map +0 -1
  15. package/dist/src/documentation.module.js +0 -52
  16. package/dist/src/documentation.service.d.ts +0 -39
  17. package/dist/src/documentation.service.d.ts.map +0 -1
  18. package/dist/src/documentation.service.js +0 -215
  19. package/dist/src/documentation.viewer.d.ts +0 -5
  20. package/dist/src/documentation.viewer.d.ts.map +0 -1
  21. package/dist/src/documentation.viewer.js +0 -27
  22. package/dist/src/index.d.ts +0 -4
  23. package/dist/src/index.d.ts.map +0 -1
  24. package/dist/src/index.js +0 -5
  25. package/dist/src/renderers/index.d.ts +0 -5
  26. package/dist/src/renderers/index.d.ts.map +0 -1
  27. package/dist/src/renderers/index.js +0 -18
  28. package/dist/src/renderers/redoc.d.ts +0 -7
  29. package/dist/src/renderers/redoc.d.ts.map +0 -1
  30. package/dist/src/renderers/redoc.js +0 -43
  31. package/dist/src/renderers/scalar.d.ts +0 -8
  32. package/dist/src/renderers/scalar.d.ts.map +0 -1
  33. package/dist/src/renderers/scalar.js +0 -32
  34. package/dist/src/renderers/shared.d.ts +0 -59
  35. package/dist/src/renderers/shared.d.ts.map +0 -1
  36. package/dist/src/renderers/shared.js +0 -235
  37. package/dist/src/renderers/swagger-ui.d.ts +0 -7
  38. package/dist/src/renderers/swagger-ui.d.ts.map +0 -1
  39. package/dist/src/renderers/swagger-ui.js +0 -32
  40. package/dist/src/types/documentation.options.d.ts +0 -101
  41. package/dist/src/types/documentation.options.d.ts.map +0 -1
  42. package/dist/src/types/documentation.options.js +0 -2
  43. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1,215 +0,0 @@
1
- "use strict";
2
- var DocumentationService_1;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DocumentationService = void 0;
5
- const tslib_1 = require("tslib");
6
- const common_1 = require("@nestjs/common");
7
- const swagger_1 = require("@nestjs/swagger");
8
- const documentation_constants_1 = require("./documentation.constants");
9
- let DocumentationService = DocumentationService_1 = class DocumentationService {
10
- options;
11
- logger = new common_1.Logger(DocumentationService_1.name);
12
- specs = new Map();
13
- app;
14
- hasVersions = false;
15
- constructor(options) {
16
- this.options = options;
17
- (this.options.versions ?? []).forEach((version) => this.registerVersion(version));
18
- (this.options.specs ?? []).forEach((spec) => this.register(spec));
19
- }
20
- /**
21
- * Binds the running application so declarative versions can be generated lazily.
22
- * Call once after bootstrap: `app.get(DocumentationService).useApp(app)`.
23
- */
24
- useApp(app) {
25
- this.app = app;
26
- void this.prewarm();
27
- return this;
28
- }
29
- /** Warn (a little after boot) if declarative versions exist but `useApp` was never called. */
30
- onApplicationBootstrap() {
31
- if (!this.hasVersions)
32
- return;
33
- const timer = setTimeout(() => {
34
- if (!this.app) {
35
- this.logger.warn('useApp(app) was not called — declarative API versions cannot be generated. ' +
36
- 'Add `app.get(DocumentationService).useApp(app)` after bootstrap.');
37
- }
38
- }, 5000);
39
- timer.unref?.();
40
- }
41
- /** Eagerly generates and caches every registered spec so the first viewer hit is fast. */
42
- async prewarm() {
43
- for (const slug of this.specs.keys()) {
44
- await this.get(slug);
45
- }
46
- }
47
- /** Registers a declarative version whose document is generated on first access. */
48
- registerVersion(version) {
49
- this.hasVersions = true;
50
- this.register({
51
- slug: version.slug,
52
- label: version.label,
53
- description: version.description,
54
- version: version.version,
55
- order: version.order,
56
- isDefault: version.isDefault,
57
- enabled: version.enabled,
58
- deprecated: version.deprecated,
59
- document: () => this.buildVersionDocument(version),
60
- });
61
- }
62
- /** Idempotent: re-registering the same slug replaces the previous entry. */
63
- register(spec) {
64
- if (!spec?.slug) {
65
- this.logger.warn('Ignoring documentation spec without a slug.');
66
- return;
67
- }
68
- if (spec.enabled === false) {
69
- this.specs.delete(spec.slug);
70
- return;
71
- }
72
- this.specs.set(spec.slug, {
73
- slug: spec.slug,
74
- label: spec.label ?? spec.slug,
75
- description: spec.description,
76
- version: spec.version,
77
- order: spec.order ?? 0,
78
- isDefault: spec.isDefault ?? false,
79
- deprecated: spec.deprecated ?? false,
80
- source: spec.document,
81
- });
82
- if (spec.isDefault) {
83
- for (const [slug, registered] of this.specs) {
84
- if (slug !== spec.slug)
85
- registered.isDefault = false;
86
- }
87
- }
88
- }
89
- unregister(slug) {
90
- this.specs.delete(slug);
91
- }
92
- has(slug) {
93
- return this.specs.has(slug);
94
- }
95
- list() {
96
- return [...this.specs.values()]
97
- .sort((a, b) => a.order - b.order || a.label.localeCompare(b.label))
98
- .map(({ slug, label, description, version, isDefault, deprecated }) => ({
99
- slug,
100
- label,
101
- description,
102
- version,
103
- isDefault,
104
- deprecated,
105
- }));
106
- }
107
- getDefaultSlug() {
108
- const all = this.list();
109
- return all.find((spec) => spec.isDefault)?.slug ?? all[0]?.slug ?? null;
110
- }
111
- async get(slug) {
112
- const spec = this.specs.get(slug);
113
- if (!spec)
114
- return null;
115
- if (!spec.cached) {
116
- try {
117
- spec.cached = typeof spec.source === 'function' ? await spec.source() : spec.source;
118
- }
119
- catch (error) {
120
- const message = error instanceof Error ? error.message : String(error);
121
- this.logger.error(`Failed to load documentation spec '${slug}': ${message}`);
122
- return null;
123
- }
124
- }
125
- return spec.cached;
126
- }
127
- buildVersionDocument(version) {
128
- if (!this.app) {
129
- throw new Error('Documentation app is not bound. Call `app.get(DocumentationService).useApp(app)` after bootstrap.');
130
- }
131
- const builder = new swagger_1.DocumentBuilder()
132
- .setTitle(this.options.title ?? 'API Documentation')
133
- .setDescription(version.description ?? this.options.description ?? '')
134
- .setVersion(version.version ?? this.options.version ?? '1.0');
135
- if (this.options.bearerAuth !== false)
136
- builder.addBearerAuth();
137
- (this.options.servers ?? []).forEach((server) => builder.addServer(server));
138
- version.configure?.(builder);
139
- const document = swagger_1.SwaggerModule.createDocument(this.app, builder.build(), version.include ? { include: version.include } : undefined);
140
- if (!version.paths?.length)
141
- return document;
142
- const scoped = DocumentationService_1.pickByPathPrefix(document, version.paths);
143
- return DocumentationService_1.pruneComponents(scoped);
144
- }
145
- /** Builds a version-scoped OpenAPI document keeping only paths under the given prefix(es). */
146
- static pickByPathPrefix(document, prefix) {
147
- const prefixes = Array.isArray(prefix) ? prefix : [prefix];
148
- const paths = Object.fromEntries(Object.entries(document.paths ?? {}).filter(([path]) => prefixes.some((value) => path.startsWith(value))));
149
- return { ...document, paths };
150
- }
151
- /**
152
- * Drops `components` entries that are not reachable (transitively) from the document's
153
- * paths — so a version-scoped document does not ship the whole platform's schemas.
154
- * `securitySchemes` (referenced by name, not `$ref`) are always kept.
155
- */
156
- static pruneComponents(document) {
157
- const components = document.components;
158
- if (!components)
159
- return document;
160
- const REF_TYPES = [
161
- 'schemas',
162
- 'responses',
163
- 'parameters',
164
- 'requestBodies',
165
- 'headers',
166
- 'examples',
167
- 'links',
168
- 'callbacks',
169
- ];
170
- const used = {};
171
- REF_TYPES.forEach((t) => (used[t] = new Set()));
172
- const collect = (node) => {
173
- if (!node || typeof node !== 'object')
174
- return;
175
- if (Array.isArray(node))
176
- return node.forEach(collect);
177
- for (const [key, value] of Object.entries(node)) {
178
- const match = key === '$ref' && typeof value === 'string'
179
- ? value.match(/^#\/components\/([^/]+)\/(.+)$/)
180
- : null;
181
- if (match && used[match[1]])
182
- used[match[1]].add(match[2]);
183
- else
184
- collect(value);
185
- }
186
- };
187
- collect(document.paths);
188
- // Follow refs inside kept components until the used-set stops growing.
189
- const total = () => REF_TYPES.reduce((sum, t) => sum + used[t].size, 0);
190
- for (let prev = -1; prev !== total();) {
191
- prev = total();
192
- for (const type of REF_TYPES) {
193
- for (const name of [...used[type]])
194
- collect(components[type]?.[name]);
195
- }
196
- }
197
- const pruned = {};
198
- for (const [type, entries] of Object.entries(components)) {
199
- if (!REF_TYPES.includes(type)) {
200
- pruned[type] = entries; // e.g. securitySchemes — keep as-is
201
- continue;
202
- }
203
- const kept = Object.fromEntries(Object.entries(entries).filter(([name]) => used[type].has(name)));
204
- if (Object.keys(kept).length)
205
- pruned[type] = kept;
206
- }
207
- return { ...document, components: pruned };
208
- }
209
- };
210
- exports.DocumentationService = DocumentationService;
211
- exports.DocumentationService = DocumentationService = DocumentationService_1 = tslib_1.__decorate([
212
- (0, common_1.Injectable)(),
213
- tslib_1.__param(0, (0, common_1.Inject)(documentation_constants_1.DOCUMENTATION_OPTIONS)),
214
- tslib_1.__metadata("design:paramtypes", [Object])
215
- ], DocumentationService);
@@ -1,5 +0,0 @@
1
- import { DocumentationService } from './documentation.service';
2
- import { DocumentationModuleOptions } from './types/documentation.options';
3
- /** Builds the standalone viewer HTML, applying module defaults. Shared by the docs controllers. */
4
- export declare function renderDocsViewer(options: DocumentationModuleOptions, documentationService: DocumentationService, requestedSlug?: string): string;
5
- //# sourceMappingURL=documentation.viewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"documentation.viewer.d.ts","sourceRoot":"","sources":["../../src/documentation.viewer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAO3E,mGAAmG;AACnG,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,0BAA0B,EACnC,oBAAoB,EAAE,oBAAoB,EAC1C,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAmBR"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderDocsViewer = renderDocsViewer;
4
- const documentation_constants_1 = require("./documentation.constants");
5
- const renderers_1 = require("./renderers");
6
- /** Hex (#rgb/#rrggbb/#rrggbbaa) or a plain CSS color keyword — anything else is rejected
7
- * so a stray value cannot break out of the `<style>` context. */
8
- const isSafeColor = (value) => !!value && /^(#[0-9a-fA-F]{3,8}|[a-zA-Z]+)$/.test(value);
9
- /** Builds the standalone viewer HTML, applying module defaults. Shared by the docs controllers. */
10
- function renderDocsViewer(options, documentationService, requestedSlug) {
11
- const basePath = `/${documentation_constants_1.DOCS_BASE_PATH}`;
12
- const slug = requestedSlug && documentationService.has(requestedSlug)
13
- ? requestedSlug
14
- : documentationService.getDefaultSlug();
15
- return (0, renderers_1.renderViewer)({
16
- renderer: options.renderer ?? documentation_constants_1.DEFAULT_RENDERER,
17
- title: options.title ?? 'API Documentation',
18
- workspace: options.workspace,
19
- basePath,
20
- currentSlug: slug,
21
- specUrl: slug ? `${basePath}/spec/${slug}` : '',
22
- specs: documentationService.list(),
23
- logo: options.logo ?? documentation_constants_1.DEFAULT_LOGO,
24
- accent: isSafeColor(options.brand?.accent) ? options.brand.accent : documentation_constants_1.DEFAULT_ACCENT,
25
- support: options.support,
26
- });
27
- }
@@ -1,4 +0,0 @@
1
- export * from './documentation.module';
2
- export * from './documentation.service';
3
- export type { DocumentRenderer, RootBehavior, DocumentationModuleOptions, DocumentationModuleAsyncOptions, DocumentationVersionOptions, DocumentationSpec, SpecSummary, } from './types/documentation.options';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,YAAY,EACV,gBAAgB,EAChB,YAAY,EACZ,0BAA0B,EAC1B,+BAA+B,EAC/B,2BAA2B,EAC3B,iBAAiB,EACjB,WAAW,GACZ,MAAM,+BAA+B,CAAC"}
package/dist/src/index.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./documentation.module"), exports);
5
- tslib_1.__exportStar(require("./documentation.service"), exports);
@@ -1,5 +0,0 @@
1
- import { ViewerContext } from './shared';
2
- export type { ViewerContext } from './shared';
3
- /** Renders the standalone HTML viewer for the requested renderer. */
4
- export declare function renderViewer(ctx: ViewerContext): string;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/renderers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAUvD"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderViewer = renderViewer;
4
- const redoc_1 = require("./redoc");
5
- const scalar_1 = require("./scalar");
6
- const swagger_ui_1 = require("./swagger-ui");
7
- /** Renders the standalone HTML viewer for the requested renderer. */
8
- function renderViewer(ctx) {
9
- switch (ctx.renderer) {
10
- case 'redoc':
11
- return (0, redoc_1.redocHtml)(ctx);
12
- case 'swagger-ui':
13
- return (0, swagger_ui_1.swaggerUiHtml)(ctx);
14
- case 'scalar':
15
- default:
16
- return (0, scalar_1.scalarHtml)(ctx);
17
- }
18
- }
@@ -1,7 +0,0 @@
1
- import { ViewerContext } from './shared';
2
- /**
3
- * Redoc (document viewer): shared app bar + bolttech light theme (navy right panel, white
4
- * sidebar, cyan accent/headings). Its sticky sidebar/panel is offset below the bar.
5
- */
6
- export declare const redocHtml: (ctx: ViewerContext) => string;
7
- //# sourceMappingURL=redoc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redoc.d.ts","sourceRoot":"","sources":["../../../src/renderers/redoc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,aAAa,EAAE,MAAM,UAAU,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,KAAK,aAAa,KAAG,MAoCvC,CAAC"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.redocHtml = void 0;
4
- const shared_1 = require("./shared");
5
- /**
6
- * Redoc (document viewer): shared app bar + bolttech light theme (navy right panel, white
7
- * sidebar, cyan accent/headings). Its sticky sidebar/panel is offset below the bar.
8
- */
9
- const redocHtml = (ctx) => `<!doctype html>
10
- <html lang="en">
11
- <head>
12
- ${(0, shared_1.head)(ctx, `<style>
13
- .menu-content { top: var(--bt-bar-h) !important; height: calc(100vh - var(--bt-bar-h)) !important; }
14
- h2 { color: ${ctx.accent} !important; }
15
- [role='menuitem'] > label:hover { background-color: ${ctx.accent} !important; color: ${shared_1.BRAND.blueDark} !important; }
16
- .token.string { color: ${shared_1.BRAND.yellow} !important; font-family: ${shared_1.BRAND.fontCode}; }
17
- </style>`)}
18
- </head>
19
- <body>
20
- ${(0, shared_1.appBar)(ctx)}
21
- <redoc id="redoc"></redoc>
22
- <script src="${shared_1.CDN.redoc.src}" integrity="${shared_1.CDN.redoc.integrity}" crossorigin="anonymous"></script>
23
- <script>
24
- Redoc.init(
25
- '${(0, shared_1.escapeHtml)(ctx.specUrl)}',
26
- {
27
- theme: {
28
- colors: { primary: { main: '${ctx.accent}' } },
29
- typography: {
30
- fontFamily: "${shared_1.BRAND.fontText}",
31
- headings: { fontFamily: "${shared_1.BRAND.fontText}", fontWeight: '700' },
32
- code: { fontFamily: "${shared_1.BRAND.fontCode}" },
33
- },
34
- sidebar: { backgroundColor: '${shared_1.BRAND.white}', textColor: '${shared_1.BRAND.blueDark}', activeTextColor: '${ctx.accent}' },
35
- rightPanel: { backgroundColor: '${shared_1.BRAND.blueDark}', textColor: '${shared_1.BRAND.white}' },
36
- },
37
- },
38
- document.getElementById('redoc'),
39
- );
40
- </script>
41
- </body>
42
- </html>`;
43
- exports.redocHtml = redocHtml;
@@ -1,8 +0,0 @@
1
- import { ViewerContext } from './shared';
2
- /**
3
- * Scalar (app-shell viewer): branded through Scalar's own theme tokens (accent + fonts),
4
- * with the shared app bar on top. Locked to light mode (toggle hidden) for a consistent
5
- * bolttech look; we only offset its fixed sidebar so it starts below the bar.
6
- */
7
- export declare const scalarHtml: (ctx: ViewerContext) => string;
8
- //# sourceMappingURL=scalar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scalar.d.ts","sourceRoot":"","sources":["../../../src/renderers/scalar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,aAAa,EAAE,MAAM,UAAU,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,KAAK,aAAa,KAAG,MAwBxC,CAAC"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.scalarHtml = void 0;
4
- const shared_1 = require("./shared");
5
- /**
6
- * Scalar (app-shell viewer): branded through Scalar's own theme tokens (accent + fonts),
7
- * with the shared app bar on top. Locked to light mode (toggle hidden) for a consistent
8
- * bolttech look; we only offset its fixed sidebar so it starts below the bar.
9
- */
10
- const scalarHtml = (ctx) => `<!doctype html>
11
- <html lang="en">
12
- <head>
13
- ${(0, shared_1.head)(ctx, `<style>
14
- :root {
15
- --scalar-color-accent: ${ctx.accent};
16
- --scalar-font: ${shared_1.BRAND.fontText};
17
- --scalar-font-code: ${shared_1.BRAND.fontCode};
18
- }
19
- .scalar-app .sidebar, .scalar-api-reference .sidebar { top: var(--bt-bar-h); }
20
- </style>`)}
21
- </head>
22
- <body>
23
- ${(0, shared_1.appBar)(ctx)}
24
- <script
25
- id="api-reference"
26
- data-url="${(0, shared_1.escapeHtml)(ctx.specUrl)}"
27
- data-configuration='{"theme":"default","forceDarkModeState":"light","hideDarkModeToggle":true,"metaData":{"title":"${(0, shared_1.escapeHtml)(ctx.title)}"}}'
28
- ></script>
29
- <script src="${shared_1.CDN.scalar.src}" integrity="${shared_1.CDN.scalar.integrity}" crossorigin="anonymous"></script>
30
- </body>
31
- </html>`;
32
- exports.scalarHtml = scalarHtml;
@@ -1,59 +0,0 @@
1
- import { DocumentRenderer, SpecSummary } from '../types/documentation.options';
2
- export interface ViewerContext {
3
- renderer: DocumentRenderer;
4
- title: string;
5
- workspace?: string;
6
- basePath: string;
7
- currentSlug: string | null;
8
- specUrl: string;
9
- specs: SpecSummary[];
10
- logo?: {
11
- url: string;
12
- altText?: string;
13
- };
14
- /** Brand accent color used across the viewer (defaults to bolttech cyan). */
15
- accent: string;
16
- /** Support contact (email or URL) shown in the header; omitted when not set. */
17
- support?: string;
18
- }
19
- /**
20
- * Pinned, integrity-checked CDN assets. Versions are fixed (not `latest`) so the docs
21
- * cannot break from an upstream release, and SRI hashes prevent a compromised CDN from
22
- * running arbitrary script in this same-origin page. Bump version + hash together.
23
- */
24
- export declare const CDN: {
25
- scalar: {
26
- src: string;
27
- integrity: string;
28
- };
29
- redoc: {
30
- src: string;
31
- integrity: string;
32
- };
33
- swaggerCss: {
34
- href: string;
35
- integrity: string;
36
- };
37
- swaggerJs: {
38
- src: string;
39
- integrity: string;
40
- };
41
- };
42
- export declare const escapeHtml: (value: string) => string;
43
- /** bolttech brand palette / assets, shared by every renderer. */
44
- export declare const BRAND: {
45
- blueDark: string;
46
- blueLight: string;
47
- yellow: string;
48
- white: string;
49
- grayLight: string;
50
- favicon: string;
51
- fontText: string;
52
- fontCode: string;
53
- barHeight: string;
54
- };
55
- /** Shared <head> contents: charset/viewport, favicon, fonts, the app-bar styles, plus any per-renderer `extra`. */
56
- export declare const head: (ctx: ViewerContext, extra?: string) => string;
57
- /** The shared bolttech app bar markup (logo + title + env badge + version + support + download). */
58
- export declare const appBar: (ctx: ViewerContext) => string;
59
- //# sourceMappingURL=shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/renderers/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE/E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,6EAA6E;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;CAiBf,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,MAMf,CAAC;AAE7B,iEAAiE;AACjE,eAAO,MAAM,KAAK;;;;;;;;;;CAUjB,CAAC;AAkGF,mHAAmH;AACnH,eAAO,MAAM,IAAI,GAAI,KAAK,aAAa,EAAE,cAAU,KAAG,MAWf,CAAC;AAkDxC,oGAAoG;AACpG,eAAO,MAAM,MAAM,GAAI,KAAK,aAAa,KAAG,MAgD3C,CAAC"}