@k-4u/resource-mapper-core 0.0.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.
- package/.aws-icons-last-updated +1 -0
- package/.svelte-kit/ambient.d.ts +263 -0
- package/.svelte-kit/generated/client/app.js +31 -0
- package/.svelte-kit/generated/client/matchers.js +1 -0
- package/.svelte-kit/generated/client/nodes/0.js +1 -0
- package/.svelte-kit/generated/client/nodes/1.js +1 -0
- package/.svelte-kit/generated/client/nodes/2.js +3 -0
- package/.svelte-kit/generated/client/nodes/3.js +3 -0
- package/.svelte-kit/generated/client-optimized/app.js +31 -0
- package/.svelte-kit/generated/client-optimized/matchers.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/0.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/1.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/2.js +3 -0
- package/.svelte-kit/generated/client-optimized/nodes/3.js +3 -0
- package/.svelte-kit/generated/root.js +3 -0
- package/.svelte-kit/generated/root.svelte +68 -0
- package/.svelte-kit/generated/server/internal.js +53 -0
- package/.svelte-kit/non-ambient.d.ts +43 -0
- package/.svelte-kit/output/client/.vite/manifest.json +175 -0
- package/.svelte-kit/output/client/_app/immutable/assets/0.Czt_67iE.css +1 -0
- package/.svelte-kit/output/client/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css +1 -0
- package/.svelte-kit/output/client/_app/immutable/assets/helpers.ysDrpaDf.css +1 -0
- package/.svelte-kit/output/client/_app/immutable/assets/libavoid.DQJapW5w.wasm +0 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/BlLuv0eP.js +46 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/CSBHmwYv.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/CTCi5ueQ.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/CfOzjaik.js +2 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/D4PdvFNs.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/DXgP-QUS.js +2 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/DlbDC5An.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/wRWe7aK9.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/entry/app.ConrMuHl.js +2 -0
- package/.svelte-kit/output/client/_app/immutable/entry/start.Bm6FyGme.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/0.d3cL-ETU.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/1.D6z9rPGv.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/2.CLD-8chl.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/3.DXYeBoel.js +1 -0
- package/.svelte-kit/output/client/_app/version.json +1 -0
- package/.svelte-kit/output/client/libavoid.wasm +0 -0
- package/.svelte-kit/output/client/static/robots.txt +3 -0
- package/.svelte-kit/output/prerendered/dependencies/_app/env.js +1 -0
- package/.svelte-kit/output/server/.vite/manifest.json +224 -0
- package/.svelte-kit/output/server/_app/immutable/assets/LoadingOverlay.DBbe6V8W.css +1 -0
- package/.svelte-kit/output/server/_app/immutable/assets/_layout.Czt_67iE.css +1 -0
- package/.svelte-kit/output/server/_app/immutable/assets/_page.D9P41uDZ.css +1 -0
- package/.svelte-kit/output/server/chunks/ErrorDisplay.js +59 -0
- package/.svelte-kit/output/server/chunks/LoadingOverlay.js +12 -0
- package/.svelte-kit/output/server/chunks/LoadingOverlay.svelte_svelte_type_style_lang.js +1671 -0
- package/.svelte-kit/output/server/chunks/connections.js +33 -0
- package/.svelte-kit/output/server/chunks/diagram.js +7 -0
- package/.svelte-kit/output/server/chunks/environment.js +34 -0
- package/.svelte-kit/output/server/chunks/equality.js +57 -0
- package/.svelte-kit/output/server/chunks/exports.js +174 -0
- package/.svelte-kit/output/server/chunks/false.js +4 -0
- package/.svelte-kit/output/server/chunks/index.js +59 -0
- package/.svelte-kit/output/server/chunks/index2.js +2939 -0
- package/.svelte-kit/output/server/chunks/index3.js +20 -0
- package/.svelte-kit/output/server/chunks/internal.js +1017 -0
- package/.svelte-kit/output/server/chunks/shared.js +770 -0
- package/.svelte-kit/output/server/chunks/utils.js +43 -0
- package/.svelte-kit/output/server/entries/pages/_error.svelte.js +64 -0
- package/.svelte-kit/output/server/entries/pages/_layout.svelte.js +65 -0
- package/.svelte-kit/output/server/entries/pages/_page.svelte.js +3991 -0
- package/.svelte-kit/output/server/entries/pages/_page.ts.js +30 -0
- package/.svelte-kit/output/server/entries/pages/group/_groupId_/_page.svelte.js +67 -0
- package/.svelte-kit/output/server/entries/pages/group/_groupId_/_page.ts.js +47 -0
- package/.svelte-kit/output/server/index.js +3747 -0
- package/.svelte-kit/output/server/internal.js +13 -0
- package/.svelte-kit/output/server/manifest-full.js +47 -0
- package/.svelte-kit/output/server/manifest.js +47 -0
- package/.svelte-kit/output/server/nodes/0.js +8 -0
- package/.svelte-kit/output/server/nodes/1.js +8 -0
- package/.svelte-kit/output/server/nodes/2.js +10 -0
- package/.svelte-kit/output/server/nodes/3.js +10 -0
- package/.svelte-kit/output/server/remote-entry.js +557 -0
- package/.svelte-kit/tsconfig.json +61 -0
- package/.svelte-kit/types/route_meta_data.json +8 -0
- package/.svelte-kit/types/src/routes/$types.d.ts +26 -0
- package/.svelte-kit/types/src/routes/group/[groupId]/$types.d.ts +21 -0
- package/.svelte-kit/types/src/routes/group/[groupId]/proxy+page.ts +49 -0
- package/.svelte-kit/types/src/routes/proxy+page.ts +33 -0
- package/build/_app/env.js +1 -0
- package/build/_app/env.js.br +1 -0
- package/build/_app/env.js.gz +0 -0
- package/build/_app/immutable/assets/0.Czt_67iE.css +1 -0
- package/build/_app/immutable/assets/0.Czt_67iE.css.br +0 -0
- package/build/_app/immutable/assets/0.Czt_67iE.css.gz +0 -0
- package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css +1 -0
- package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css.br +0 -0
- package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css.gz +0 -0
- package/build/_app/immutable/assets/helpers.ysDrpaDf.css +1 -0
- package/build/_app/immutable/assets/helpers.ysDrpaDf.css.br +0 -0
- package/build/_app/immutable/assets/helpers.ysDrpaDf.css.gz +0 -0
- package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm +0 -0
- package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm.br +0 -0
- package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm.gz +0 -0
- package/build/_app/immutable/chunks/BlLuv0eP.js +46 -0
- package/build/_app/immutable/chunks/BlLuv0eP.js.br +0 -0
- package/build/_app/immutable/chunks/BlLuv0eP.js.gz +0 -0
- package/build/_app/immutable/chunks/CSBHmwYv.js +1 -0
- package/build/_app/immutable/chunks/CSBHmwYv.js.br +0 -0
- package/build/_app/immutable/chunks/CSBHmwYv.js.gz +0 -0
- package/build/_app/immutable/chunks/CTCi5ueQ.js +1 -0
- package/build/_app/immutable/chunks/CTCi5ueQ.js.br +0 -0
- package/build/_app/immutable/chunks/CTCi5ueQ.js.gz +0 -0
- package/build/_app/immutable/chunks/CfOzjaik.js +2 -0
- package/build/_app/immutable/chunks/CfOzjaik.js.br +0 -0
- package/build/_app/immutable/chunks/CfOzjaik.js.gz +0 -0
- package/build/_app/immutable/chunks/D4PdvFNs.js +1 -0
- package/build/_app/immutable/chunks/D4PdvFNs.js.br +0 -0
- package/build/_app/immutable/chunks/D4PdvFNs.js.gz +0 -0
- package/build/_app/immutable/chunks/DXgP-QUS.js +2 -0
- package/build/_app/immutable/chunks/DXgP-QUS.js.br +0 -0
- package/build/_app/immutable/chunks/DXgP-QUS.js.gz +0 -0
- package/build/_app/immutable/chunks/DlbDC5An.js +1 -0
- package/build/_app/immutable/chunks/DlbDC5An.js.br +0 -0
- package/build/_app/immutable/chunks/DlbDC5An.js.gz +0 -0
- package/build/_app/immutable/chunks/wRWe7aK9.js +1 -0
- package/build/_app/immutable/chunks/wRWe7aK9.js.br +0 -0
- package/build/_app/immutable/chunks/wRWe7aK9.js.gz +0 -0
- package/build/_app/immutable/entry/app.ConrMuHl.js +2 -0
- package/build/_app/immutable/entry/app.ConrMuHl.js.br +0 -0
- package/build/_app/immutable/entry/app.ConrMuHl.js.gz +0 -0
- package/build/_app/immutable/entry/start.Bm6FyGme.js +1 -0
- package/build/_app/immutable/entry/start.Bm6FyGme.js.br +2 -0
- package/build/_app/immutable/entry/start.Bm6FyGme.js.gz +0 -0
- package/build/_app/immutable/nodes/0.d3cL-ETU.js +1 -0
- package/build/_app/immutable/nodes/0.d3cL-ETU.js.br +0 -0
- package/build/_app/immutable/nodes/0.d3cL-ETU.js.gz +0 -0
- package/build/_app/immutable/nodes/1.D6z9rPGv.js +1 -0
- package/build/_app/immutable/nodes/1.D6z9rPGv.js.br +0 -0
- package/build/_app/immutable/nodes/1.D6z9rPGv.js.gz +0 -0
- package/build/_app/immutable/nodes/2.CLD-8chl.js +1 -0
- package/build/_app/immutable/nodes/2.CLD-8chl.js.br +0 -0
- package/build/_app/immutable/nodes/2.CLD-8chl.js.gz +0 -0
- package/build/_app/immutable/nodes/3.DXYeBoel.js +1 -0
- package/build/_app/immutable/nodes/3.DXYeBoel.js.br +0 -0
- package/build/_app/immutable/nodes/3.DXYeBoel.js.gz +0 -0
- package/build/_app/version.json +1 -0
- package/build/_app/version.json.br +0 -0
- package/build/_app/version.json.gz +0 -0
- package/build/index.html +34 -0
- package/build/index.html.br +0 -0
- package/build/index.html.gz +0 -0
- package/build/libavoid.wasm +0 -0
- package/build/libavoid.wasm.br +0 -0
- package/build/libavoid.wasm.gz +0 -0
- package/build/static/robots.txt +3 -0
- package/coverage/coverage-final.json +6 -0
- package/coverage/coverage-summary.json +7 -0
- package/coverage/junit.xml +57 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +131 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/stores/index.html +116 -0
- package/coverage/lcov-report/stores/routingStore.ts.html +781 -0
- package/coverage/lcov-report/utils/flow/helpers.ts.html +127 -0
- package/coverage/lcov-report/utils/flow/index.html +161 -0
- package/coverage/lcov-report/utils/flow/layout.ts.html +805 -0
- package/coverage/lcov-report/utils/flow/serviceIds.ts.html +97 -0
- package/coverage/lcov-report/utils/flow/servicesGraph.ts.html +859 -0
- package/coverage/lcov.info +646 -0
- package/coverage/test-results.json +1 -0
- package/data/services/api/api-gateway.yaml +18 -0
- package/data/services/api/group-info.yaml +7 -0
- package/data/services/api/lambda-orders.yaml +21 -0
- package/data/services/api/lambda-products.yaml +15 -0
- package/data/services/api/lambda-users.yaml +15 -0
- package/data/services/compute/alb.yaml +15 -0
- package/data/services/compute/ecs-inventory.yaml +16 -0
- package/data/services/compute/ecs-notification.yaml +15 -0
- package/data/services/compute/group-info.yaml +7 -0
- package/data/services/data/dynamodb-notifications.yaml +12 -0
- package/data/services/data/dynamodb-orders.yaml +9 -0
- package/data/services/data/dynamodb-products.yaml +9 -0
- package/data/services/data/dynamodb-users.yaml +9 -0
- package/data/services/data/group-info.yaml +7 -0
- package/data/services/data/rds-postgres.yaml +9 -0
- package/data/services/data/redis.yaml +10 -0
- package/data/services/frontend/cloudfront.yaml +12 -0
- package/data/services/frontend/group-info.yaml +7 -0
- package/data/services/frontend/route53.yaml +15 -0
- package/data/services/frontend/s3-website.yaml +9 -0
- package/data/teams/cloud-shepherds.yaml +15 -0
- package/data/teams/data-wizards.yaml +15 -0
- package/data/teams/interface-architects.yaml +19 -0
- package/e2e/demo.test.ts +54 -0
- package/e2e/header-toolbar.simple.spec.ts +0 -0
- package/e2e/header-toolbar.spec.ts +53 -0
- package/e2e/layout.spec.ts +30 -0
- package/package.json +69 -0
- package/playwright.config.ts +10 -0
- package/plugins/mapper-data-plugin.ts +32 -0
- package/project.json +23 -0
- package/src/app.css +125 -0
- package/src/app.d.ts +31 -0
- package/src/app.html +11 -0
- package/src/lib/assets/favicon.svg +19 -0
- package/src/lib/components/EmptyState.svelte +37 -0
- package/src/lib/components/ErrorDisplay.svelte +82 -0
- package/src/lib/components/FlowCanvas.svelte +223 -0
- package/src/lib/components/GenericSidebarCard.svelte +44 -0
- package/src/lib/components/GroupDetailSidebar.svelte +31 -0
- package/src/lib/components/Header.svelte +57 -0
- package/src/lib/components/Legend.svelte +25 -0
- package/src/lib/components/LoadingOverlay.svelte +42 -0
- package/src/lib/components/LoadingSpinner.svelte +10 -0
- package/src/lib/components/ServiceDetailSidebar.svelte +90 -0
- package/src/lib/components/TeamContactCard.svelte +166 -0
- package/src/lib/components/flow/ExternalNode.svelte +45 -0
- package/src/lib/components/flow/MainGroupNode.svelte +24 -0
- package/src/lib/components/flow/ServiceGroupNode.svelte +17 -0
- package/src/lib/components/flow/ServiceNode.svelte +40 -0
- package/src/lib/components/flow/SnakeEdge.svelte +206 -0
- package/src/lib/components/flow/index.ts +6 -0
- package/src/lib/components/index.ts +12 -0
- package/src/lib/data/connections.ts +26 -0
- package/src/lib/data/groups.ts +11 -0
- package/src/lib/data/services.ts +12 -0
- package/src/lib/data/teams.ts +11 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/state/theme.svelte.ts +21 -0
- package/src/lib/stores/diagram.ts +6 -0
- package/src/lib/stores/routingStore.test.ts +133 -0
- package/src/lib/stores/routingStore.ts +232 -0
- package/src/lib/utils/awsIcons.ts +117 -0
- package/src/lib/utils/flow/groupOverviewGraph.ts +73 -0
- package/src/lib/utils/flow/helpers.ts +14 -0
- package/src/lib/utils/flow/layout.test.ts +271 -0
- package/src/lib/utils/flow/layout.ts +240 -0
- package/src/lib/utils/flow/serviceIds.ts +5 -0
- package/src/lib/utils/flow/servicesGraph.test.ts +119 -0
- package/src/lib/utils/flow/servicesGraph.ts +258 -0
- package/src/routes/+error.svelte +36 -0
- package/src/routes/+layout.svelte +27 -0
- package/src/routes/+page.svelte +81 -0
- package/src/routes/+page.ts +31 -0
- package/src/routes/group/[groupId]/+page.svelte +102 -0
- package/src/routes/group/[groupId]/+page.ts +48 -0
- package/src/routes/layout.css +0 -0
- package/static/static/robots.txt +3 -0
- package/svelte.config.js +28 -0
- package/tailwind.config.js +12 -0
- package/tsconfig.json +22 -0
- package/vite.config.ts +81 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const text_encoder = new TextEncoder();
|
|
2
|
+
const text_decoder = new TextDecoder();
|
|
3
|
+
function get_relative_path(from, to) {
|
|
4
|
+
const from_parts = from.split(/[/\\]/);
|
|
5
|
+
const to_parts = to.split(/[/\\]/);
|
|
6
|
+
from_parts.pop();
|
|
7
|
+
while (from_parts[0] === to_parts[0]) {
|
|
8
|
+
from_parts.shift();
|
|
9
|
+
to_parts.shift();
|
|
10
|
+
}
|
|
11
|
+
let i = from_parts.length;
|
|
12
|
+
while (i--) from_parts[i] = "..";
|
|
13
|
+
return from_parts.concat(to_parts).join("/");
|
|
14
|
+
}
|
|
15
|
+
function base64_encode(bytes) {
|
|
16
|
+
if (globalThis.Buffer) {
|
|
17
|
+
return globalThis.Buffer.from(bytes).toString("base64");
|
|
18
|
+
}
|
|
19
|
+
let binary = "";
|
|
20
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
21
|
+
binary += String.fromCharCode(bytes[i]);
|
|
22
|
+
}
|
|
23
|
+
return btoa(binary);
|
|
24
|
+
}
|
|
25
|
+
function base64_decode(encoded) {
|
|
26
|
+
if (globalThis.Buffer) {
|
|
27
|
+
const buffer = globalThis.Buffer.from(encoded, "base64");
|
|
28
|
+
return new Uint8Array(buffer);
|
|
29
|
+
}
|
|
30
|
+
const binary = atob(encoded);
|
|
31
|
+
const bytes = new Uint8Array(binary.length);
|
|
32
|
+
for (let i = 0; i < binary.length; i++) {
|
|
33
|
+
bytes[i] = binary.charCodeAt(i);
|
|
34
|
+
}
|
|
35
|
+
return bytes;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
text_encoder as a,
|
|
39
|
+
base64_encode as b,
|
|
40
|
+
base64_decode as c,
|
|
41
|
+
get_relative_path as g,
|
|
42
|
+
text_decoder as t
|
|
43
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { a3 as getContext, _ as store_get, a1 as unsubscribe_stores } from "../../chunks/index2.js";
|
|
2
|
+
import "@sveltejs/kit/internal";
|
|
3
|
+
import "../../chunks/exports.js";
|
|
4
|
+
import "../../chunks/utils.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "@sveltejs/kit/internal/server";
|
|
7
|
+
import "../../chunks/LoadingOverlay.svelte_svelte_type_style_lang.js";
|
|
8
|
+
import { E as ErrorDisplay } from "../../chunks/ErrorDisplay.js";
|
|
9
|
+
const getStores = () => {
|
|
10
|
+
const stores$1 = getContext("__svelte__");
|
|
11
|
+
return {
|
|
12
|
+
/** @type {typeof page} */
|
|
13
|
+
page: {
|
|
14
|
+
subscribe: stores$1.page.subscribe
|
|
15
|
+
},
|
|
16
|
+
/** @type {typeof navigating} */
|
|
17
|
+
navigating: {
|
|
18
|
+
subscribe: stores$1.navigating.subscribe
|
|
19
|
+
},
|
|
20
|
+
/** @type {typeof updated} */
|
|
21
|
+
updated: stores$1.updated
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
const page = {
|
|
25
|
+
subscribe(fn) {
|
|
26
|
+
const store = getStores().page;
|
|
27
|
+
return store.subscribe(fn);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
function _error($$renderer, $$props) {
|
|
31
|
+
$$renderer.component(($$renderer2) => {
|
|
32
|
+
var $$store_subs;
|
|
33
|
+
let { error, status } = $$props;
|
|
34
|
+
const checkList = [
|
|
35
|
+
"Check your internet connection",
|
|
36
|
+
"Try refreshing the page",
|
|
37
|
+
"Contact support if the issue persists"
|
|
38
|
+
];
|
|
39
|
+
const technicalDetails = {
|
|
40
|
+
status,
|
|
41
|
+
message: error?.message,
|
|
42
|
+
stack: error?.stack,
|
|
43
|
+
url: store_get($$store_subs ??= {}, "$page", page).url.pathname
|
|
44
|
+
};
|
|
45
|
+
function handleRetry() {
|
|
46
|
+
location.reload();
|
|
47
|
+
}
|
|
48
|
+
function handleBack() {
|
|
49
|
+
history.back();
|
|
50
|
+
}
|
|
51
|
+
ErrorDisplay($$renderer2, {
|
|
52
|
+
title: status ? `Error ${status}` : "Error",
|
|
53
|
+
message: error?.message ?? "An unexpected error occurred.",
|
|
54
|
+
checkList,
|
|
55
|
+
technicalDetails,
|
|
56
|
+
onRetry: handleRetry,
|
|
57
|
+
onBack: handleBack
|
|
58
|
+
});
|
|
59
|
+
if ($$store_subs) unsubscribe_stores($$store_subs);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
_error as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { _ as store_get, $ as escape_html, a0 as attr, a1 as unsubscribe_stores, a2 as head } from "../../chunks/index2.js";
|
|
2
|
+
import "@sveltejs/kit/internal";
|
|
3
|
+
import "../../chunks/exports.js";
|
|
4
|
+
import "../../chunks/utils.js";
|
|
5
|
+
import "@sveltejs/kit/internal/server";
|
|
6
|
+
import { I as Icon, t as theme } from "../../chunks/LoadingOverlay.svelte_svelte_type_style_lang.js";
|
|
7
|
+
import { n as navigating } from "../../chunks/index3.js";
|
|
8
|
+
import { s as selectedGroup, a as showLegend } from "../../chunks/diagram.js";
|
|
9
|
+
import { L as LoadingOverlay } from "../../chunks/LoadingOverlay.js";
|
|
10
|
+
function Header($$renderer, $$props) {
|
|
11
|
+
$$renderer.component(($$renderer2) => {
|
|
12
|
+
var $$store_subs;
|
|
13
|
+
$$renderer2.push(`<header class="border-b border-gray-200 bg-gray-200 dark:bg-black dark:border-white/10"><div class="flex w-full items-center justify-between px-8 py-4"><button class="cursor-pointer select-none text-left" aria-label="Go to home page"><span class="block text-xs big-title">Resource Mapper</span> <span class="block text-2xl font-semibold text-gray-900 dark:text-gray-100">Architecture Atlas</span></button> <div class="flex-1 flex items-center justify-center big-title text-xl">`);
|
|
14
|
+
if (store_get($$store_subs ??= {}, "$selectedGroup", selectedGroup)) {
|
|
15
|
+
$$renderer2.push("<!--[-->");
|
|
16
|
+
$$renderer2.push(`${escape_html(store_get($$store_subs ??= {}, "$selectedGroup", selectedGroup).name)}`);
|
|
17
|
+
} else {
|
|
18
|
+
$$renderer2.push("<!--[!-->");
|
|
19
|
+
$$renderer2.push(`Overview`);
|
|
20
|
+
}
|
|
21
|
+
$$renderer2.push(`<!--]--></div> <nav class="flex items-center gap-4"><span class="text-gray-700 dark:text-gray-200" role="button" tabindex="0"${attr("title", store_get($$store_subs ??= {}, "$showLegend", showLegend) ? "Hide Legend" : "Show Legend")}>`);
|
|
22
|
+
if (store_get($$store_subs ??= {}, "$showLegend", showLegend)) {
|
|
23
|
+
$$renderer2.push("<!--[-->");
|
|
24
|
+
Icon($$renderer2, { icon: "mdi:eye-off-outline", width: "24", height: "24" });
|
|
25
|
+
} else {
|
|
26
|
+
$$renderer2.push("<!--[!-->");
|
|
27
|
+
Icon($$renderer2, { icon: "mdi:eye-outline", width: "24", height: "24" });
|
|
28
|
+
}
|
|
29
|
+
$$renderer2.push(`<!--]--></span> <span class="text-gray-700 dark:text-gray-200" role="button" tabindex="0"${attr("title", theme.isDark ? "Light Mode" : "Dark Mode")}>`);
|
|
30
|
+
if (theme.isDark) {
|
|
31
|
+
$$renderer2.push("<!--[-->");
|
|
32
|
+
Icon($$renderer2, { icon: "mdi:weather-sunny", width: "24", height: "24" });
|
|
33
|
+
} else {
|
|
34
|
+
$$renderer2.push("<!--[!-->");
|
|
35
|
+
Icon($$renderer2, { icon: "mdi:weather-night", width: "24", height: "24" });
|
|
36
|
+
}
|
|
37
|
+
$$renderer2.push(`<!--]--></span> <span class="text-gray-700 dark:text-gray-200" role="button" tabindex="0" title="Log Diagram">`);
|
|
38
|
+
Icon($$renderer2, { icon: "mdi:bug-outline", width: "24", height: "24" });
|
|
39
|
+
$$renderer2.push(`<!----></span></nav></div></header>`);
|
|
40
|
+
if ($$store_subs) unsubscribe_stores($$store_subs);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
const favicon = "data:image/svg+xml,%3csvg%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M64%2042V58M64%2058H34V72M64%2058H94V72'%20stroke='%2338BDF8'%20stroke-width='4'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='34'%20y='20'%20width='60'%20height='22'%20rx='6'%20fill='%2392400E'%20stroke='%23F59E0B'%20stroke-width='2'/%3e%3crect%20x='42'%20y='28'%20width='10'%20height='6'%20rx='1'%20fill='%23F59E0B'/%3e%3crect%20x='76'%20y='28'%20width='10'%20height='6'%20rx='1'%20fill='%23F59E0B'/%3e%3crect%20x='14'%20y='72'%20width='44'%20height='28'%20rx='6'%20fill='%23065F46'%20stroke='%2310B981'%20stroke-width='2'/%3e%3ccircle%20cx='26'%20cy='86'%20r='5'%20fill='%2310B981'%20/%3e%3crect%20x='36'%20y='83'%20width='14'%20height='6'%20rx='1'%20fill='%2310B981'/%3e%3crect%20x='70'%20y='72'%20width='44'%20height='28'%20rx='6'%20fill='%23065F46'%20stroke='%2310B981'%20stroke-width='2'/%3e%3ccircle%20cx='82'%20cy='86'%20r='5'%20fill='%2310B981'/%3e%3crect%20x='92'%20y='83'%20width='14'%20height='6'%20rx='1'%20fill='%2310B981'/%3e%3crect%20x='22'%20y='55'%20width='16'%20height='8'%20rx='2'%20fill='%231E293B'%20stroke='%2338BDF8'%20stroke-width='1'/%3e%3crect%20x='90'%20y='55'%20width='16'%20height='8'%20rx='2'%20fill='%231E293B'%20stroke='%2338BDF8'%20stroke-width='1'/%3e%3c/svg%3e";
|
|
44
|
+
function _layout($$renderer, $$props) {
|
|
45
|
+
$$renderer.component(($$renderer2) => {
|
|
46
|
+
let { children } = $$props;
|
|
47
|
+
head("12qhfyh", $$renderer2, ($$renderer3) => {
|
|
48
|
+
$$renderer3.push(`<link rel="icon"${attr("href", favicon)}/>`);
|
|
49
|
+
});
|
|
50
|
+
Header($$renderer2);
|
|
51
|
+
$$renderer2.push(`<!----> `);
|
|
52
|
+
if (navigating.to) {
|
|
53
|
+
$$renderer2.push("<!--[-->");
|
|
54
|
+
LoadingOverlay($$renderer2, { message: "Loading..." });
|
|
55
|
+
} else {
|
|
56
|
+
$$renderer2.push("<!--[!-->");
|
|
57
|
+
}
|
|
58
|
+
$$renderer2.push(`<!--]--> <main class="w-full h-full px-6 py-6">`);
|
|
59
|
+
children($$renderer2);
|
|
60
|
+
$$renderer2.push(`<!----></main>`);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
_layout as default
|
|
65
|
+
};
|