Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 0c4bac4

Browse files
updates
1 parent f17a783 commit 0c4bac4

File tree

151 files changed

+11445
-18116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+11445
-18116
lines changed

.DS_Store

6 KB
Binary file not shown.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
export { matchers } from './client-matchers.js';
2+
3+
export const components = [
4+
() => import("../../src/routes/__layout.svelte"),
5+
() => import("../runtime/components/error.svelte"),
6+
() => import("../../src/routes/index.svelte"),
7+
() => import("../../src/routes/TopNav.svelte"),
8+
() => import("../../src/routes/schema/[schemaId]/index.svelte"),
9+
() => import("../../src/routes/schema/[schemaId]/NavItem.svelte"),
10+
() => import("../../src/routes/schema/[schemaId]/SideBar.svelte"),
11+
() => import("../../src/routes/schema/[schemaId]/Toolbar.svelte"),
12+
() => import("../../src/routes/schema/[schemaId]/Column.svelte"),
13+
() => import("../../src/routes/schema/[schemaId]/Table.svelte"),
14+
() => import("../../src/routes/schema/[schemaId]/table/LinkTableWizard.svelte"),
15+
() => import("../../src/routes/schema/[schemaId]/table/ColumnCard.svelte"),
16+
() => import("../../src/routes/schema/[schemaId]/table/Question.svelte"),
17+
() => import("../../src/routes/schema/[schemaId]/table/Design.svelte"),
18+
() => import("../../src/routes/schema/[schemaId]/table/Filter.svelte"),
19+
() => import("../../src/routes/schema/[schemaId]/table/Popup.svelte"),
20+
() => import("../../src/routes/schema/[schemaId]/table/Query.svelte"),
21+
() => import("../../src/routes/schema/[schemaId]/table/[tableId].svelte"),
22+
() => import("../../src/routes/schema/[schemaId]/Cell.svelte"),
23+
() => import("../../src/routes/schema/[schemaId]/Tabs.svelte"),
24+
() => import("../../src/routes/schema/[schemaId]/view/[viewId].svelte"),
25+
() => import("../../src/routes/schema/[schemaId]/[viewId]/index.svelte"),
26+
() => import("../../src/routes/schema/[schemaId]/[viewId]/BaseTableSelector.svelte"),
27+
() => import("../../src/routes/schema/[schemaId]/[viewId]/FormulaSettings.svelte"),
28+
() => import("../../src/routes/schema/[schemaId]/[viewId]/SelectedColumns.svelte"),
29+
() => import("../../src/routes/schema/[schemaId]/[viewId]/Transformations.svelte"),
30+
() => import("../../src/routes/schema/[schemaId]/[viewId]/ColumnSelector.svelte"),
31+
() => import("../../src/routes/schema/[schemaId]/[viewId]/ColumnSettings.svelte"),
32+
() => import("../../src/routes/schema/[schemaId]/[viewId]/ColumnEditor.svelte"),
33+
() => import("../../src/routes/schema/[schemaId]/[viewId]/TablePreview.svelte"),
34+
() => import("../../src/routes/schema/[schemaId]/[viewId]/Column.svelte"),
35+
() => import("../../src/routes/schema/[schemaId]/[viewId]/Step.svelte")
36+
];
37+
38+
export const dictionary = {
39+
"": [[0, 2], [1]],
40+
"TopNav": [[0, 3], [1]],
41+
"schema/[schemaId]": [[0, 4], [1]],
42+
"schema/[schemaId]/NavItem": [[0, 5], [1]],
43+
"schema/[schemaId]/SideBar": [[0, 6], [1]],
44+
"schema/[schemaId]/Toolbar": [[0, 7], [1]],
45+
"schema/[schemaId]/Column": [[0, 8], [1]],
46+
"schema/[schemaId]/Table": [[0, 9], [1]],
47+
"schema/[schemaId]/table/LinkTableWizard": [[0, 10], [1]],
48+
"schema/[schemaId]/table/ColumnCard": [[0, 11], [1]],
49+
"schema/[schemaId]/table/Question": [[0, 12], [1]],
50+
"schema/[schemaId]/table/Design": [[0, 13], [1]],
51+
"schema/[schemaId]/table/Filter": [[0, 14], [1]],
52+
"schema/[schemaId]/table/Popup": [[0, 15], [1]],
53+
"schema/[schemaId]/table/Query": [[0, 16], [1]],
54+
"schema/[schemaId]/table/[tableId]": [[0, 17], [1]],
55+
"schema/[schemaId]/Cell": [[0, 18], [1]],
56+
"schema/[schemaId]/Tabs": [[0, 19], [1]],
57+
"schema/[schemaId]/view/[viewId]": [[0, 20], [1]],
58+
"schema/[schemaId]/[viewId]": [[0, 21], [1]],
59+
"schema/[schemaId]/[viewId]/BaseTableSelector": [[0, 22], [1]],
60+
"schema/[schemaId]/[viewId]/FormulaSettings": [[0, 23], [1]],
61+
"schema/[schemaId]/[viewId]/SelectedColumns": [[0, 24], [1]],
62+
"schema/[schemaId]/[viewId]/Transformations": [[0, 25], [1]],
63+
"schema/[schemaId]/[viewId]/ColumnSelector": [[0, 26], [1]],
64+
"schema/[schemaId]/[viewId]/ColumnSettings": [[0, 27], [1]],
65+
"schema/[schemaId]/[viewId]/ColumnEditor": [[0, 28], [1]],
66+
"schema/[schemaId]/[viewId]/TablePreview": [[0, 29], [1]],
67+
"schema/[schemaId]/[viewId]/Column": [[0, 30], [1]],
68+
"schema/[schemaId]/[viewId]/Step": [[0, 31], [1]]
69+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const matchers = {};

.svelte-kit/generated/root.svelte

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
2+
<script>
3+
import { setContext, afterUpdate, onMount } from 'svelte';
4+
5+
// stores
6+
export let stores;
7+
export let page;
8+
9+
export let components;
10+
export let props_0 = null;
11+
export let props_1 = null;
12+
export let props_2 = null;
13+
14+
setContext('__svelte__', stores);
15+
16+
$: stores.page.set(page);
17+
afterUpdate(stores.page.notify);
18+
19+
let mounted = false;
20+
let navigated = false;
21+
let title = null;
22+
23+
onMount(() => {
24+
const unsubscribe = stores.page.subscribe(() => {
25+
if (mounted) {
26+
navigated = true;
27+
title = document.title || 'untitled page';
28+
}
29+
});
30+
31+
mounted = true;
32+
return unsubscribe;
33+
});
34+
</script>
35+
36+
{#if components[1]}
37+
<svelte:component this={components[0]} {...(props_0 || {})}>
38+
{#if components[2]}
39+
<svelte:component this={components[1]} {...(props_1 || {})}>
40+
<svelte:component this={components[2]} {...(props_2 || {})}/>
41+
</svelte:component>
42+
{:else}
43+
<svelte:component this={components[1]} {...(props_1 || {})} />
44+
{/if}
45+
</svelte:component>
46+
{:else}
47+
<svelte:component this={components[0]} {...(props_0 || {})} />
48+
{/if}
49+
50+
{#if mounted}
51+
<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
52+
{#if navigated}
53+
{title}
54+
{/if}
55+
</div>
56+
{/if}

.svelte-kit/runtime/app/env.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
export { prerendering } from '../env.js';
2+
3+
/**
4+
* @type {import('$app/env').browser}
5+
*/
6+
const browser = !import.meta.env.SSR;
7+
/**
8+
* @type {import('$app/env').dev}
9+
*/
10+
const dev = !!import.meta.env.DEV;
11+
/**
12+
* @type {import('$app/env').mode}
13+
*/
14+
const mode = import.meta.env.MODE;
15+
/**
16+
* @type {import('$app/env').amp}
17+
*/
18+
const amp = !!import.meta.env.VITE_SVELTEKIT_AMP;
19+
20+
export { amp, browser, dev, mode };

.svelte-kit/runtime/app/navigation.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { client } from '../client/singletons.js';
2+
3+
/**
4+
* @param {string} name
5+
*/
6+
function guard(name) {
7+
return () => {
8+
throw new Error(`Cannot call ${name}(...) on the server`);
9+
};
10+
}
11+
12+
const ssr = import.meta.env.SSR;
13+
14+
const disableScrollHandling = ssr
15+
? guard('disableScrollHandling')
16+
: client.disable_scroll_handling;
17+
const goto = ssr ? guard('goto') : client.goto;
18+
const invalidate = ssr ? guard('invalidate') : client.invalidate;
19+
const prefetch = ssr ? guard('prefetch') : client.prefetch;
20+
const prefetchRoutes = ssr ? guard('prefetchRoutes') : client.prefetch_routes;
21+
const beforeNavigate = ssr ? () => {} : client.before_navigate;
22+
const afterNavigate = ssr ? () => {} : client.after_navigate;
23+
24+
export { afterNavigate, beforeNavigate, disableScrollHandling, goto, invalidate, prefetch, prefetchRoutes };

.svelte-kit/runtime/app/paths.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { assets, base } from '../paths.js';

.svelte-kit/runtime/app/stores.js

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
import { getContext } from 'svelte';
2+
import { browser } from './env.js';
3+
import '../env.js';
4+
5+
// TODO remove this (for 1.0? after 1.0?)
6+
let warned = false;
7+
function stores() {
8+
if (!warned) {
9+
console.error('stores() is deprecated; use getStores() instead');
10+
warned = true;
11+
}
12+
return getStores();
13+
}
14+
15+
/**
16+
* @type {import('$app/stores').getStores}
17+
*/
18+
const getStores = () => {
19+
const stores = getContext('__svelte__');
20+
21+
return {
22+
page: {
23+
subscribe: stores.page.subscribe
24+
},
25+
navigating: {
26+
subscribe: stores.navigating.subscribe
27+
},
28+
// TODO remove this (for 1.0? after 1.0?)
29+
// @ts-expect-error - deprecated, not part of type definitions, but still callable
30+
get preloading() {
31+
console.error('stores.preloading is deprecated; use stores.navigating instead');
32+
return {
33+
subscribe: stores.navigating.subscribe
34+
};
35+
},
36+
session: stores.session,
37+
updated: stores.updated
38+
};
39+
};
40+
41+
/** @type {typeof import('$app/stores').page} */
42+
const page = {
43+
/** @param {(value: any) => void} fn */
44+
subscribe(fn) {
45+
const store = getStores().page;
46+
return store.subscribe(fn);
47+
}
48+
};
49+
50+
/** @type {typeof import('$app/stores').navigating} */
51+
const navigating = {
52+
subscribe(fn) {
53+
const store = getStores().navigating;
54+
return store.subscribe(fn);
55+
}
56+
};
57+
58+
/** @param {string} verb */
59+
const throw_error = (verb) => {
60+
throw new Error(
61+
browser
62+
? `Cannot ${verb} session store before subscribing`
63+
: `Can only ${verb} session store in browser`
64+
);
65+
};
66+
67+
/** @type {typeof import('$app/stores').session} */
68+
const session = {
69+
subscribe(fn) {
70+
const store = getStores().session;
71+
72+
if (browser) {
73+
session.set = store.set;
74+
session.update = store.update;
75+
}
76+
77+
return store.subscribe(fn);
78+
},
79+
set: () => throw_error('set'),
80+
update: () => throw_error('update')
81+
};
82+
83+
/** @type {typeof import('$app/stores').updated} */
84+
const updated = {
85+
subscribe(fn) {
86+
const store = getStores().updated;
87+
88+
if (browser) {
89+
updated.check = store.check;
90+
}
91+
92+
return store.subscribe(fn);
93+
},
94+
check: () => throw_error('check')
95+
};
96+
97+
export { getStores, navigating, page, session, stores, updated };
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/** @type {import('./types').Client} */
2+
let client;
3+
4+
/**
5+
* @param {{
6+
* client: import('./types').Client;
7+
* }} opts
8+
*/
9+
function init(opts) {
10+
client = opts.client;
11+
}
12+
13+
export { client, init };

0 commit comments

Comments
 (0)