Enhance SvelteKit project by adding new API routes for dark mode toggling, updating existing route parameters, and improving type definitions. Refactor component imports and optimize asset handling for better performance and maintainability.
This commit is contained in:
@@ -52,6 +52,14 @@
|
||||
"_false.js"
|
||||
]
|
||||
},
|
||||
"_input.js": {
|
||||
"file": "chunks/input.js",
|
||||
"name": "input",
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_utils.js"
|
||||
]
|
||||
},
|
||||
"_internal.js": {
|
||||
"file": "chunks/internal.js",
|
||||
"name": "internal",
|
||||
@@ -141,16 +149,27 @@
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true
|
||||
},
|
||||
"src/routes/+layout.server.ts": {
|
||||
"file": "entries/pages/_layout.server.ts.js",
|
||||
"name": "entries/pages/_layout.server.ts",
|
||||
"src": "src/routes/+layout.server.ts",
|
||||
"isEntry": true
|
||||
},
|
||||
"src/routes/+layout.svelte": {
|
||||
"file": "entries/pages/_layout.svelte.js",
|
||||
"name": "entries/pages/_layout.svelte",
|
||||
"src": "src/routes/+layout.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js"
|
||||
"_index2.js",
|
||||
"_exports.js",
|
||||
"_utils2.js",
|
||||
"_root.js",
|
||||
"_state.svelte.js",
|
||||
"_utils.js"
|
||||
],
|
||||
"css": [
|
||||
"_app/immutable/assets/_layout.CFU69MhF.css"
|
||||
"_app/immutable/assets/_layout.Qarrb9L6.css"
|
||||
]
|
||||
},
|
||||
"src/routes/+layout.ts": {
|
||||
@@ -174,11 +193,40 @@
|
||||
"_button.js"
|
||||
]
|
||||
},
|
||||
"src/routes/accounts/+page.server.ts": {
|
||||
"file": "entries/pages/accounts/_page.server.ts.js",
|
||||
"name": "entries/pages/accounts/_page.server.ts",
|
||||
"src": "src/routes/accounts/+page.server.ts",
|
||||
"isEntry": true
|
||||
},
|
||||
"src/routes/accounts/+page.svelte": {
|
||||
"file": "entries/pages/accounts/_page.svelte.js",
|
||||
"name": "entries/pages/accounts/_page.svelte",
|
||||
"src": "src/routes/accounts/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
"_card-content.js",
|
||||
"_input.js"
|
||||
]
|
||||
},
|
||||
"src/routes/accounts/[id]/+page.svelte": {
|
||||
"file": "entries/pages/accounts/_id_/_page.svelte.js",
|
||||
"name": "entries/pages/accounts/_id_/_page.svelte",
|
||||
"src": "src/routes/accounts/[id]/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
"_card-content.js"
|
||||
]
|
||||
},
|
||||
"src/routes/accounts/new/+page.svelte": {
|
||||
"file": "entries/pages/accounts/new/_page.svelte.js",
|
||||
"name": "entries/pages/accounts/new/_page.svelte",
|
||||
"src": "src/routes/accounts/new/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
@@ -260,7 +308,8 @@
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
"_card-content.js"
|
||||
"_card-content.js",
|
||||
"_input.js"
|
||||
]
|
||||
},
|
||||
"src/routes/receipts/[id]/+page.svelte": {
|
||||
@@ -285,11 +334,40 @@
|
||||
"_card-content.js"
|
||||
]
|
||||
},
|
||||
"src/routes/transactions/+page.server.ts": {
|
||||
"file": "entries/pages/transactions/_page.server.ts.js",
|
||||
"name": "entries/pages/transactions/_page.server.ts",
|
||||
"src": "src/routes/transactions/+page.server.ts",
|
||||
"isEntry": true
|
||||
},
|
||||
"src/routes/transactions/+page.svelte": {
|
||||
"file": "entries/pages/transactions/_page.svelte.js",
|
||||
"name": "entries/pages/transactions/_page.svelte",
|
||||
"src": "src/routes/transactions/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
"_card-content.js",
|
||||
"_input.js"
|
||||
]
|
||||
},
|
||||
"src/routes/transactions/[id]/+page.svelte": {
|
||||
"file": "entries/pages/transactions/_id_/_page.svelte.js",
|
||||
"name": "entries/pages/transactions/_id_/_page.svelte",
|
||||
"src": "src/routes/transactions/[id]/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
"_card-content.js"
|
||||
]
|
||||
},
|
||||
"src/routes/transactions/new/+page.svelte": {
|
||||
"file": "entries/pages/transactions/new/_page.svelte.js",
|
||||
"name": "entries/pages/transactions/new/_page.svelte",
|
||||
"src": "src/routes/transactions/new/+page.svelte",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index2.js",
|
||||
"_button.js",
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -13,6 +13,9 @@ var get_prototype_of = Object.getPrototypeOf;
|
||||
var is_extensible = Object.isExtensible;
|
||||
const noop = () => {
|
||||
};
|
||||
function run(fn) {
|
||||
return fn();
|
||||
}
|
||||
function run_all(arr) {
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
arr[i]();
|
||||
@@ -110,6 +113,7 @@ const ELEMENT_IS_NAMESPACED = 1;
|
||||
const ELEMENT_PRESERVE_ATTRIBUTE_CASE = 1 << 1;
|
||||
const ELEMENT_IS_INPUT = 1 << 2;
|
||||
const UNINITIALIZED = Symbol();
|
||||
const ATTACHMENT_KEY = "@attach";
|
||||
let tracing_mode_flag = false;
|
||||
let component_context = null;
|
||||
function set_component_context(context) {
|
||||
@@ -200,11 +204,11 @@ const STATUS_MASK = -7169;
|
||||
function set_signal_status(signal, status) {
|
||||
signal.f = signal.f & STATUS_MASK | status;
|
||||
}
|
||||
function update_derived_status(derived) {
|
||||
if ((derived.f & CONNECTED) !== 0 || derived.deps === null) {
|
||||
set_signal_status(derived, CLEAN);
|
||||
function update_derived_status(derived2) {
|
||||
if ((derived2.f & CONNECTED) !== 0 || derived2.deps === null) {
|
||||
set_signal_status(derived2, CLEAN);
|
||||
} else {
|
||||
set_signal_status(derived, MAYBE_DIRTY);
|
||||
set_signal_status(derived2, MAYBE_DIRTY);
|
||||
}
|
||||
}
|
||||
function clear_marked(deps) {
|
||||
@@ -741,10 +745,10 @@ function reset_branch(effect, tracked) {
|
||||
e = e.next;
|
||||
}
|
||||
}
|
||||
function destroy_derived_effects(derived) {
|
||||
var effects = derived.effects;
|
||||
function destroy_derived_effects(derived2) {
|
||||
var effects = derived2.effects;
|
||||
if (effects !== null) {
|
||||
derived.effects = null;
|
||||
derived2.effects = null;
|
||||
for (var i = 0; i < effects.length; i += 1) {
|
||||
destroy_effect(
|
||||
/** @type {Effect} */
|
||||
@@ -753,8 +757,8 @@ function destroy_derived_effects(derived) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function get_derived_parent_effect(derived) {
|
||||
var parent = derived.parent;
|
||||
function get_derived_parent_effect(derived2) {
|
||||
var parent = derived2.parent;
|
||||
while (parent !== null) {
|
||||
if ((parent.f & DERIVED) === 0) {
|
||||
return (parent.f & DESTROYED) === 0 ? (
|
||||
@@ -766,29 +770,29 @@ function get_derived_parent_effect(derived) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function execute_derived(derived) {
|
||||
function execute_derived(derived2) {
|
||||
var value;
|
||||
var prev_active_effect = active_effect;
|
||||
set_active_effect(get_derived_parent_effect(derived));
|
||||
set_active_effect(get_derived_parent_effect(derived2));
|
||||
{
|
||||
try {
|
||||
derived.f &= ~WAS_MARKED;
|
||||
destroy_derived_effects(derived);
|
||||
value = update_reaction(derived);
|
||||
derived2.f &= ~WAS_MARKED;
|
||||
destroy_derived_effects(derived2);
|
||||
value = update_reaction(derived2);
|
||||
} finally {
|
||||
set_active_effect(prev_active_effect);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
function update_derived(derived) {
|
||||
var value = execute_derived(derived);
|
||||
if (!derived.equals(value)) {
|
||||
derived.wv = increment_write_version();
|
||||
if (!current_batch?.is_fork || derived.deps === null) {
|
||||
derived.v = value;
|
||||
if (derived.deps === null) {
|
||||
set_signal_status(derived, CLEAN);
|
||||
function update_derived(derived2) {
|
||||
var value = execute_derived(derived2);
|
||||
if (!derived2.equals(value)) {
|
||||
derived2.wv = increment_write_version();
|
||||
if (!current_batch?.is_fork || derived2.deps === null) {
|
||||
derived2.v = value;
|
||||
if (derived2.deps === null) {
|
||||
set_signal_status(derived2, CLEAN);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -798,15 +802,15 @@ function update_derived(derived) {
|
||||
}
|
||||
if (batch_values !== null) {
|
||||
if (effect_tracking() || current_batch?.is_fork) {
|
||||
batch_values.set(derived, value);
|
||||
batch_values.set(derived2, value);
|
||||
}
|
||||
} else {
|
||||
update_derived_status(derived);
|
||||
update_derived_status(derived2);
|
||||
}
|
||||
}
|
||||
function freeze_derived_effects(derived) {
|
||||
if (derived.effects === null) return;
|
||||
for (const e of derived.effects) {
|
||||
function freeze_derived_effects(derived2) {
|
||||
if (derived2.effects === null) return;
|
||||
for (const e of derived2.effects) {
|
||||
if (e.teardown || e.ac) {
|
||||
e.teardown?.();
|
||||
e.ac?.abort(STALE_REACTION);
|
||||
@@ -817,9 +821,9 @@ function freeze_derived_effects(derived) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function unfreeze_derived_effects(derived) {
|
||||
if (derived.effects === null) return;
|
||||
for (const e of derived.effects) {
|
||||
function unfreeze_derived_effects(derived2) {
|
||||
if (derived2.effects === null) return;
|
||||
for (const e of derived2.effects) {
|
||||
if (e.teardown) {
|
||||
update_effect(e);
|
||||
}
|
||||
@@ -875,14 +879,14 @@ function internal_set(source2, value) {
|
||||
var batch = Batch.ensure();
|
||||
batch.capture(source2, old_value);
|
||||
if ((source2.f & DERIVED) !== 0) {
|
||||
const derived = (
|
||||
const derived2 = (
|
||||
/** @type {Derived} */
|
||||
source2
|
||||
);
|
||||
if ((source2.f & DIRTY) !== 0) {
|
||||
execute_derived(derived);
|
||||
execute_derived(derived2);
|
||||
}
|
||||
update_derived_status(derived);
|
||||
update_derived_status(derived2);
|
||||
}
|
||||
source2.wv = increment_write_version();
|
||||
mark_reactions(source2, DIRTY);
|
||||
@@ -926,16 +930,16 @@ function mark_reactions(signal, status) {
|
||||
set_signal_status(reaction, status);
|
||||
}
|
||||
if ((flags & DERIVED) !== 0) {
|
||||
var derived = (
|
||||
var derived2 = (
|
||||
/** @type {Derived} */
|
||||
reaction
|
||||
);
|
||||
batch_values?.delete(derived);
|
||||
batch_values?.delete(derived2);
|
||||
if ((flags & WAS_MARKED) === 0) {
|
||||
if (flags & CONNECTED) {
|
||||
reaction.f |= WAS_MARKED;
|
||||
}
|
||||
mark_reactions(derived, MAYBE_DIRTY);
|
||||
mark_reactions(derived2, MAYBE_DIRTY);
|
||||
}
|
||||
} else if (not_dirty) {
|
||||
if ((flags & BLOCK_EFFECT) !== 0 && eager_block_effects !== null) {
|
||||
@@ -1252,11 +1256,11 @@ function create_effect(type, fn, sync) {
|
||||
push_effect(e, parent);
|
||||
}
|
||||
if (active_reaction !== null && (active_reaction.f & DERIVED) !== 0 && (type & ROOT_EFFECT) === 0) {
|
||||
var derived = (
|
||||
var derived2 = (
|
||||
/** @type {Derived} */
|
||||
active_reaction
|
||||
);
|
||||
(derived.effects ??= []).push(e);
|
||||
(derived2.effects ??= []).push(e);
|
||||
}
|
||||
}
|
||||
return effect;
|
||||
@@ -1659,17 +1663,17 @@ function remove_reaction(signal, dependency) {
|
||||
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
||||
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
||||
(new_deps === null || !includes.call(new_deps, dependency))) {
|
||||
var derived = (
|
||||
var derived2 = (
|
||||
/** @type {Derived} */
|
||||
dependency
|
||||
);
|
||||
if ((derived.f & CONNECTED) !== 0) {
|
||||
derived.f ^= CONNECTED;
|
||||
derived.f &= ~WAS_MARKED;
|
||||
if ((derived2.f & CONNECTED) !== 0) {
|
||||
derived2.f ^= CONNECTED;
|
||||
derived2.f &= ~WAS_MARKED;
|
||||
}
|
||||
update_derived_status(derived);
|
||||
freeze_derived_effects(derived);
|
||||
remove_reactions(derived, 0);
|
||||
update_derived_status(derived2);
|
||||
freeze_derived_effects(derived2);
|
||||
remove_reactions(derived2, 0);
|
||||
}
|
||||
}
|
||||
function remove_reactions(signal, start_index) {
|
||||
@@ -1739,29 +1743,29 @@ function get(signal) {
|
||||
return old_values.get(signal);
|
||||
}
|
||||
if (is_derived) {
|
||||
var derived = (
|
||||
var derived2 = (
|
||||
/** @type {Derived} */
|
||||
signal
|
||||
);
|
||||
if (is_destroying_effect) {
|
||||
var value = derived.v;
|
||||
if ((derived.f & CLEAN) === 0 && derived.reactions !== null || depends_on_old_values(derived)) {
|
||||
value = execute_derived(derived);
|
||||
var value = derived2.v;
|
||||
if ((derived2.f & CLEAN) === 0 && derived2.reactions !== null || depends_on_old_values(derived2)) {
|
||||
value = execute_derived(derived2);
|
||||
}
|
||||
old_values.set(derived, value);
|
||||
old_values.set(derived2, value);
|
||||
return value;
|
||||
}
|
||||
var should_connect = (derived.f & CONNECTED) === 0 && !untracking && active_reaction !== null && (is_updating_effect || (active_reaction.f & CONNECTED) !== 0);
|
||||
var is_new = (derived.f & REACTION_RAN) === 0;
|
||||
if (is_dirty(derived)) {
|
||||
var should_connect = (derived2.f & CONNECTED) === 0 && !untracking && active_reaction !== null && (is_updating_effect || (active_reaction.f & CONNECTED) !== 0);
|
||||
var is_new = (derived2.f & REACTION_RAN) === 0;
|
||||
if (is_dirty(derived2)) {
|
||||
if (should_connect) {
|
||||
derived.f |= CONNECTED;
|
||||
derived2.f |= CONNECTED;
|
||||
}
|
||||
update_derived(derived);
|
||||
update_derived(derived2);
|
||||
}
|
||||
if (should_connect && !is_new) {
|
||||
unfreeze_derived_effects(derived);
|
||||
reconnect(derived);
|
||||
unfreeze_derived_effects(derived2);
|
||||
reconnect(derived2);
|
||||
}
|
||||
}
|
||||
if (batch_values?.has(signal)) {
|
||||
@@ -1772,11 +1776,11 @@ function get(signal) {
|
||||
}
|
||||
return signal.v;
|
||||
}
|
||||
function reconnect(derived) {
|
||||
derived.f |= CONNECTED;
|
||||
if (derived.deps === null) return;
|
||||
for (const dep of derived.deps) {
|
||||
(dep.reactions ??= []).push(derived);
|
||||
function reconnect(derived2) {
|
||||
derived2.f |= CONNECTED;
|
||||
if (derived2.deps === null) return;
|
||||
for (const dep of derived2.deps) {
|
||||
(dep.reactions ??= []).push(derived2);
|
||||
if ((dep.f & DERIVED) !== 0 && (dep.f & CONNECTED) === 0) {
|
||||
unfreeze_derived_effects(
|
||||
/** @type {Derived} */
|
||||
@@ -1789,10 +1793,10 @@ function reconnect(derived) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function depends_on_old_values(derived) {
|
||||
if (derived.v === UNINITIALIZED) return true;
|
||||
if (derived.deps === null) return false;
|
||||
for (const dep of derived.deps) {
|
||||
function depends_on_old_values(derived2) {
|
||||
if (derived2.v === UNINITIALIZED) return true;
|
||||
if (derived2.deps === null) return false;
|
||||
for (const dep of derived2.deps) {
|
||||
if (old_values.has(dep)) {
|
||||
return true;
|
||||
}
|
||||
@@ -2039,14 +2043,14 @@ function to_style(value, styles) {
|
||||
}
|
||||
return value == null ? null : String(value);
|
||||
}
|
||||
function subscribe_to_store(store, run, invalidate) {
|
||||
function subscribe_to_store(store, run2, invalidate) {
|
||||
if (store == null) {
|
||||
run(void 0);
|
||||
run2(void 0);
|
||||
return noop;
|
||||
}
|
||||
const unsub = untrack(
|
||||
() => store.subscribe(
|
||||
run,
|
||||
run2,
|
||||
// @ts-expect-error
|
||||
invalidate
|
||||
)
|
||||
@@ -2075,6 +2079,13 @@ https://svelte.dev/e/invalid_csp`);
|
||||
error.name = "Svelte error";
|
||||
throw error;
|
||||
}
|
||||
function lifecycle_function_unavailable(name) {
|
||||
const error = new Error(`lifecycle_function_unavailable
|
||||
\`${name}(...)\` is not available on the server
|
||||
https://svelte.dev/e/lifecycle_function_unavailable`);
|
||||
error.name = "Svelte error";
|
||||
throw error;
|
||||
}
|
||||
function server_context_required() {
|
||||
const error = new Error(`server_context_required
|
||||
Could not resolve \`render\` context.
|
||||
@@ -2098,6 +2109,12 @@ function setContext(key, context) {
|
||||
get_or_init_context_map().set(key, context);
|
||||
return context;
|
||||
}
|
||||
function hasContext(key) {
|
||||
return get_or_init_context_map().has(key);
|
||||
}
|
||||
function getAllContexts() {
|
||||
return get_or_init_context_map();
|
||||
}
|
||||
function get_or_init_context_map(name) {
|
||||
if (ssr_context === null) {
|
||||
lifecycle_outside_component();
|
||||
@@ -2839,6 +2856,22 @@ function attributes(attrs, css_hash, classes, styles, flags = 0) {
|
||||
}
|
||||
return attr_str;
|
||||
}
|
||||
function spread_props(props) {
|
||||
const merged_props = {};
|
||||
let key;
|
||||
for (let i = 0; i < props.length; i++) {
|
||||
const obj = props[i];
|
||||
for (key in obj) {
|
||||
const desc = Object.getOwnPropertyDescriptor(obj, key);
|
||||
if (desc) {
|
||||
Object.defineProperty(merged_props, key, desc);
|
||||
} else {
|
||||
merged_props[key] = obj[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
return merged_props;
|
||||
}
|
||||
function stringify(value) {
|
||||
return typeof value === "string" ? value : value == null ? "" : value + "";
|
||||
}
|
||||
@@ -2861,15 +2894,6 @@ function unsubscribe_stores(store_values) {
|
||||
store_values[store_name][1]();
|
||||
}
|
||||
}
|
||||
function slot(renderer, $$props, name, slot_props, fallback_fn) {
|
||||
var slot_fn = $$props.$$slots?.[name];
|
||||
if (slot_fn === true) {
|
||||
slot_fn = $$props["children"];
|
||||
}
|
||||
if (slot_fn !== void 0) {
|
||||
slot_fn(renderer, slot_props);
|
||||
}
|
||||
}
|
||||
function bind_props(props_parent, props_now) {
|
||||
for (const key in props_now) {
|
||||
const initial_value = props_parent[key];
|
||||
@@ -2885,36 +2909,64 @@ function ensure_array_like(array_like_or_iterator) {
|
||||
}
|
||||
return [];
|
||||
}
|
||||
function once(get_value) {
|
||||
let value = (
|
||||
/** @type {V} */
|
||||
UNINITIALIZED
|
||||
);
|
||||
return () => {
|
||||
if (value === UNINITIALIZED) {
|
||||
value = get_value();
|
||||
}
|
||||
return value;
|
||||
};
|
||||
}
|
||||
function props_id(renderer) {
|
||||
const uid = renderer.global.uid();
|
||||
renderer.push("<!--$" + uid + "-->");
|
||||
return uid;
|
||||
}
|
||||
function derived(fn) {
|
||||
const get_value = once(fn);
|
||||
let updated_value;
|
||||
return function(new_value) {
|
||||
if (arguments.length === 0) {
|
||||
return updated_value ?? get_value();
|
||||
}
|
||||
updated_value = new_value;
|
||||
return updated_value;
|
||||
};
|
||||
}
|
||||
export {
|
||||
define_property as $,
|
||||
active_effect as A,
|
||||
block as A,
|
||||
BOUNDARY_EFFECT as B,
|
||||
COMMENT_NODE as C,
|
||||
block as D,
|
||||
branch as E,
|
||||
create_text as F,
|
||||
Batch as G,
|
||||
branch as D,
|
||||
create_text as E,
|
||||
Batch as F,
|
||||
pause_effect as G,
|
||||
HYDRATION_ERROR as H,
|
||||
pause_effect as I,
|
||||
move_effect as J,
|
||||
defer_effect as K,
|
||||
set_active_effect as L,
|
||||
set_active_reaction as M,
|
||||
set_component_context as N,
|
||||
handle_error as O,
|
||||
active_reaction as P,
|
||||
component_context as Q,
|
||||
set_signal_status as R,
|
||||
DIRTY as S,
|
||||
schedule_effect as T,
|
||||
MAYBE_DIRTY as U,
|
||||
internal_set as V,
|
||||
destroy_effect as W,
|
||||
invoke_error_boundary as X,
|
||||
svelte_boundary_reset_onerror as Y,
|
||||
EFFECT_TRANSPARENT as Z,
|
||||
EFFECT_PRESERVED as _,
|
||||
attr as a,
|
||||
move_effect as I,
|
||||
defer_effect as J,
|
||||
set_active_effect as K,
|
||||
set_active_reaction as L,
|
||||
set_component_context as M,
|
||||
handle_error as N,
|
||||
active_reaction as O,
|
||||
component_context as P,
|
||||
set_signal_status as Q,
|
||||
DIRTY as R,
|
||||
schedule_effect as S,
|
||||
MAYBE_DIRTY as T,
|
||||
internal_set as U,
|
||||
destroy_effect as V,
|
||||
invoke_error_boundary as W,
|
||||
svelte_boundary_reset_onerror as X,
|
||||
EFFECT_TRANSPARENT as Y,
|
||||
EFFECT_PRESERVED as Z,
|
||||
without_reactive_context as _,
|
||||
ensure_array_like as a,
|
||||
init_operations as a0,
|
||||
get_first_child as a1,
|
||||
hydration_failed as a2,
|
||||
@@ -2930,29 +2982,37 @@ export {
|
||||
mutable_source as ac,
|
||||
render as ad,
|
||||
setContext as ae,
|
||||
stringify as b,
|
||||
escape_html as c,
|
||||
ATTACHMENT_KEY as af,
|
||||
lifecycle_function_unavailable as ag,
|
||||
hasContext as ah,
|
||||
derived as ai,
|
||||
run as aj,
|
||||
getAllContexts as ak,
|
||||
props_id as al,
|
||||
spread_props as am,
|
||||
attr as b,
|
||||
stringify as c,
|
||||
attributes as d,
|
||||
ensure_array_like as e,
|
||||
escape_html as e,
|
||||
clsx as f,
|
||||
bind_props as g,
|
||||
head as h,
|
||||
slot as i,
|
||||
getContext as j,
|
||||
element as k,
|
||||
store_get as l,
|
||||
HYDRATION_END as m,
|
||||
getContext as i,
|
||||
element as j,
|
||||
store_get as k,
|
||||
HYDRATION_END as l,
|
||||
HYDRATION_START as m,
|
||||
noop as n,
|
||||
HYDRATION_START as o,
|
||||
HYDRATION_START_ELSE as p,
|
||||
get_next_sibling as q,
|
||||
effect_tracking as r,
|
||||
HYDRATION_START_ELSE as o,
|
||||
get_next_sibling as p,
|
||||
effect_tracking as q,
|
||||
get as r,
|
||||
safe_not_equal as s,
|
||||
get as t,
|
||||
render_effect as t,
|
||||
unsubscribe_stores as u,
|
||||
render_effect as v,
|
||||
source as w,
|
||||
untrack as x,
|
||||
increment as y,
|
||||
queue_micro_task as z
|
||||
source as v,
|
||||
untrack as w,
|
||||
increment as x,
|
||||
queue_micro_task as y,
|
||||
active_effect as z
|
||||
};
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
import { d as attributes, f as clsx, g as bind_props } from "./index2.js";
|
||||
import { c as cn } from "./utils.js";
|
||||
function Input($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let {
|
||||
ref = null,
|
||||
value = void 0,
|
||||
type,
|
||||
files = void 0,
|
||||
class: className,
|
||||
"data-slot": dataSlot = "input",
|
||||
$$slots,
|
||||
$$events,
|
||||
...restProps
|
||||
} = $$props;
|
||||
if (type === "file") {
|
||||
$$renderer2.push("<!--[-->");
|
||||
$$renderer2.push(`<input${attributes(
|
||||
{
|
||||
"data-slot": dataSlot,
|
||||
class: clsx(cn("selection:bg-primary dark:bg-input/30 selection:text-primary-foreground border-input ring-offset-background placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className)),
|
||||
type: "file",
|
||||
...restProps
|
||||
},
|
||||
void 0,
|
||||
void 0,
|
||||
void 0,
|
||||
4
|
||||
)}/>`);
|
||||
} else {
|
||||
$$renderer2.push("<!--[!-->");
|
||||
$$renderer2.push(`<input${attributes(
|
||||
{
|
||||
"data-slot": dataSlot,
|
||||
class: clsx(cn("border-input bg-background selection:bg-primary dark:bg-input/30 selection:text-primary-foreground ring-offset-background placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className)),
|
||||
type,
|
||||
value,
|
||||
...restProps
|
||||
},
|
||||
void 0,
|
||||
void 0,
|
||||
void 0,
|
||||
4
|
||||
)}/>`);
|
||||
}
|
||||
$$renderer2.push(`<!--]-->`);
|
||||
bind_props($$props, { ref, value, files });
|
||||
});
|
||||
}
|
||||
export {
|
||||
Input as I
|
||||
};
|
||||
@@ -113,7 +113,7 @@ const options = {
|
||||
<div class="error">
|
||||
<span class="status">` + status + '</span>\n <div class="message">\n <h1>' + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
|
||||
},
|
||||
version_hash: "1lkqwc1"
|
||||
version_hash: "9vwupj"
|
||||
};
|
||||
async function get_hooks() {
|
||||
let handle;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { H as HYDRATION_ERROR, C as COMMENT_NODE, m as HYDRATION_END, o as HYDRATION_START, p as HYDRATION_START_ELSE, q as get_next_sibling, r as effect_tracking, t as get, v as render_effect, w as source, x as untrack, y as increment, z as queue_micro_task, A as active_effect, B as BOUNDARY_EFFECT, D as block, E as branch, F as create_text, G as Batch, I as pause_effect, J as move_effect, K as defer_effect, L as set_active_effect, M as set_active_reaction, N as set_component_context, O as handle_error, P as active_reaction, Q as component_context, R as set_signal_status, S as DIRTY, T as schedule_effect, U as MAYBE_DIRTY, V as internal_set, W as destroy_effect, X as invoke_error_boundary, Y as svelte_boundary_reset_onerror, Z as EFFECT_TRANSPARENT, _ as EFFECT_PRESERVED, $ as define_property, a0 as init_operations, a1 as get_first_child, a2 as hydration_failed, a3 as clear_text_content, a4 as component_root, a5 as array_from, a6 as is_passive_event, a7 as push, a8 as pop, a9 as set, aa as LEGACY_PROPS, ab as flushSync, ac as mutable_source, ad as render, ae as setContext } from "./index2.js";
|
||||
import { H as HYDRATION_ERROR, C as COMMENT_NODE, l as HYDRATION_END, m as HYDRATION_START, o as HYDRATION_START_ELSE, p as get_next_sibling, q as effect_tracking, r as get, t as render_effect, v as source, w as untrack, x as increment, y as queue_micro_task, z as active_effect, B as BOUNDARY_EFFECT, A as block, D as branch, E as create_text, F as Batch, G as pause_effect, I as move_effect, J as defer_effect, K as set_active_effect, L as set_active_reaction, M as set_component_context, N as handle_error, O as active_reaction, P as component_context, Q as set_signal_status, R as DIRTY, S as schedule_effect, T as MAYBE_DIRTY, U as internal_set, V as destroy_effect, W as invoke_error_boundary, X as svelte_boundary_reset_onerror, Y as EFFECT_TRANSPARENT, Z as EFFECT_PRESERVED, _ as without_reactive_context, $ as define_property, a0 as init_operations, a1 as get_first_child, a2 as hydration_failed, a3 as clear_text_content, a4 as component_root, a5 as array_from, a6 as is_passive_event, a7 as push, a8 as pop, a9 as set, aa as LEGACY_PROPS, ab as flushSync, ac as mutable_source, ad as render, ae as setContext } from "./index2.js";
|
||||
import "clsx";
|
||||
function hydration_mismatch(location) {
|
||||
{
|
||||
@@ -419,6 +419,32 @@ class Boundary {
|
||||
const event_symbol = Symbol("events");
|
||||
const all_registered_events = /* @__PURE__ */ new Set();
|
||||
const root_event_handles = /* @__PURE__ */ new Set();
|
||||
function create_event(event_name, dom, handler, options = {}) {
|
||||
function target_handler(event) {
|
||||
if (!options.capture) {
|
||||
handle_event_propagation.call(dom, event);
|
||||
}
|
||||
if (!event.cancelBubble) {
|
||||
return without_reactive_context(() => {
|
||||
return handler?.call(this, event);
|
||||
});
|
||||
}
|
||||
}
|
||||
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
|
||||
queue_micro_task(() => {
|
||||
dom.addEventListener(event_name, target_handler, options);
|
||||
});
|
||||
} else {
|
||||
dom.addEventListener(event_name, target_handler, options);
|
||||
}
|
||||
return target_handler;
|
||||
}
|
||||
function on(element, type, handler, options = {}) {
|
||||
var target_handler = create_event(type, element, handler, options);
|
||||
return () => {
|
||||
element.removeEventListener(type, target_handler, options);
|
||||
};
|
||||
}
|
||||
let last_propagated_event = null;
|
||||
function handle_event_propagation(event) {
|
||||
var handler_element = this;
|
||||
@@ -864,5 +890,6 @@ function Root($$renderer, $$props) {
|
||||
}
|
||||
const root = asClassComponent(Root);
|
||||
export {
|
||||
on as o,
|
||||
root as r
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { j as getContext, c as escape_html } from "../../chunks/index2.js";
|
||||
import { i as getContext, e as escape_html } from "../../chunks/index2.js";
|
||||
import "clsx";
|
||||
import "../../chunks/state.svelte.js";
|
||||
import "@sveltejs/kit/internal";
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
const load = async ({ locals }) => {
|
||||
const user = locals.user;
|
||||
return {
|
||||
user: user ? {
|
||||
id: user.id,
|
||||
email: user.email,
|
||||
name: user.name,
|
||||
avatar: user.avatar,
|
||||
darkmode: !!user.darkmode
|
||||
} : null
|
||||
};
|
||||
};
|
||||
export {
|
||||
load
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,22 @@ const load = async ({ locals }) => {
|
||||
const itemsForParent = list.map((i) => ({ id: i.id, Item: i.Item, SKU: i.SKU }));
|
||||
return { items: list, itemsForParent };
|
||||
};
|
||||
const actions = {
|
||||
setDarkmode: async ({ request, locals }) => {
|
||||
const user = locals.user;
|
||||
if (!user) return { success: false };
|
||||
const formData = await request.formData();
|
||||
const darkmode = formData.get("darkmode") === "true";
|
||||
try {
|
||||
const record = await locals.pb.collection("users").update(user.id, { darkmode });
|
||||
locals.pb.authStore.save(locals.pb.authStore.token, record);
|
||||
return { success: true, darkmode };
|
||||
} catch {
|
||||
return { success: false };
|
||||
}
|
||||
}
|
||||
};
|
||||
export {
|
||||
actions,
|
||||
load
|
||||
};
|
||||
|
||||
@@ -57,15 +57,6 @@ function _page($$renderer, $$props) {
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer.push(`<!----></a> <a href="/logout" class="block">`);
|
||||
Button($$renderer, {
|
||||
class: "h-12 min-h-12 w-full",
|
||||
variant: "outline",
|
||||
children: ($$renderer2) => {
|
||||
$$renderer2.push(`<!---->Log out`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer.push(`<!----></a></div></main>`);
|
||||
}
|
||||
$$renderer.push(`<!--]-->`);
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
import { h as head, e as escape_html } from "../../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let { params } = $$props;
|
||||
head("xw1yjl", $$renderer2, ($$renderer3) => {
|
||||
$$renderer3.title(($$renderer4) => {
|
||||
$$renderer4.push(`<title>Account – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer2.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/accounts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to accounts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Account</h1></div> `);
|
||||
Card($$renderer2, {
|
||||
children: ($$renderer3) => {
|
||||
Card_content($$renderer3, {
|
||||
class: "flex flex-col gap-4 py-8",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<p class="text-muted-foreground text-sm">Account ${escape_html(params.id)}</p> <a href="/accounts">`);
|
||||
Button($$renderer4, {
|
||||
variant: "outline",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<!---->Back to accounts`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer4.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer2.push(`<!----></main>`);
|
||||
});
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
const load = async () => {
|
||||
return { accounts: [] };
|
||||
};
|
||||
export {
|
||||
load
|
||||
};
|
||||
@@ -1,35 +1,108 @@
|
||||
import { h as head } from "../../../chunks/index2.js";
|
||||
import { h as head, e as escape_html, a as ensure_array_like, b as attr, c as stringify } from "../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer) {
|
||||
head("11yx1mx", $$renderer, ($$renderer2) => {
|
||||
$$renderer2.title(($$renderer3) => {
|
||||
$$renderer3.push(`<title>Accounts – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Accounts</h1></div> `);
|
||||
Card($$renderer, {
|
||||
children: ($$renderer2) => {
|
||||
Card_content($$renderer2, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer3) => {
|
||||
$$renderer3.push(`<p class="text-muted-foreground text-center text-sm">No accounts yet.</p> <p class="text-muted-foreground text-center text-xs">Accounts will appear here once this feature is available.</p> <a href="/">`);
|
||||
Button($$renderer3, {
|
||||
variant: "outline",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a>`);
|
||||
import { I as Input } from "../../../chunks/input.js";
|
||||
function _page($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let { data } = $$props;
|
||||
let searchQuery = "";
|
||||
const accounts = data?.accounts ?? [];
|
||||
const filteredAccounts = (() => {
|
||||
const q = searchQuery.trim().toLowerCase();
|
||||
if (!q) return accounts;
|
||||
return accounts.filter((a) => a.id.toLowerCase().includes(q));
|
||||
})();
|
||||
let $$settled = true;
|
||||
let $$inner_renderer;
|
||||
function $$render_inner($$renderer3) {
|
||||
head("11yx1mx", $$renderer3, ($$renderer4) => {
|
||||
$$renderer4.title(($$renderer5) => {
|
||||
$$renderer5.push(`<title>Accounts – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer3.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Accounts</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0">`);
|
||||
Input($$renderer3, {
|
||||
type: "search",
|
||||
placeholder: "Search accounts…",
|
||||
class: "h-11 w-full sm:h-9",
|
||||
get value() {
|
||||
return searchQuery;
|
||||
},
|
||||
set value($$value) {
|
||||
searchQuery = $$value;
|
||||
$$settled = false;
|
||||
}
|
||||
});
|
||||
$$renderer3.push(`<!----></div> <span class="text-muted-foreground text-sm shrink-0">${escape_html(filteredAccounts.length)}${escape_html(filteredAccounts.length !== accounts.length ? ` of ${accounts.length}` : "")} accounts</span> <a href="/accounts/new" class="block shrink-0">`);
|
||||
Button($$renderer3, {
|
||||
class: "w-full sm:w-auto min-h-11",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->New account`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
$$renderer3.push(`<!----></a></div></div> `);
|
||||
if (filteredAccounts.length === 0) {
|
||||
$$renderer3.push("<!--[-->");
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<p class="text-muted-foreground text-center text-sm">${escape_html(accounts.length === 0 ? "No accounts yet." : "No accounts match your search.")}</p> <p class="text-muted-foreground text-center text-xs">${escape_html(accounts.length === 0 ? "Create an account to get started." : "Try a different search.")}</p> <a href="/accounts/new">`);
|
||||
Button($$renderer5, {
|
||||
variant: "outline",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->New account`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer5, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
} else {
|
||||
$$renderer3.push("<!--[!-->");
|
||||
$$renderer3.push(`<div class="flex flex-col gap-2"><!--[-->`);
|
||||
const each_array = ensure_array_like(filteredAccounts);
|
||||
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
||||
let account = each_array[$$index];
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "p-4",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<a${attr("href", `/accounts/${stringify(account.id)}`)} class="font-medium hover:underline">Account ${escape_html(account.id)}</a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
}
|
||||
$$renderer3.push(`<!--]--></div>`);
|
||||
}
|
||||
$$renderer3.push(`<!--]--></main>`);
|
||||
}
|
||||
do {
|
||||
$$settled = true;
|
||||
$$inner_renderer = $$renderer2.copy();
|
||||
$$render_inner($$inner_renderer);
|
||||
} while (!$$settled);
|
||||
$$renderer2.subsume($$inner_renderer);
|
||||
});
|
||||
$$renderer.push(`<!----></main>`);
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
import { h as head } from "../../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer) {
|
||||
head("phafx2", $$renderer, ($$renderer2) => {
|
||||
$$renderer2.title(($$renderer3) => {
|
||||
$$renderer3.push(`<title>New account – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/accounts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to accounts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New account</h1></div> `);
|
||||
Card($$renderer, {
|
||||
children: ($$renderer2) => {
|
||||
Card_content($$renderer2, {
|
||||
class: "flex flex-col gap-4 py-8",
|
||||
children: ($$renderer3) => {
|
||||
$$renderer3.push(`<p class="text-muted-foreground text-center text-sm">Account creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/accounts">`);
|
||||
Button($$renderer3, {
|
||||
variant: "outline",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Back to accounts`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer3, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a></div>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer.push(`<!----></main>`);
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
import { d as attributes, f as clsx, g as bind_props, h as head, c as escape_html, a as attr, e as ensure_array_like, b as stringify } from "../../../../chunks/index2.js";
|
||||
import { d as attributes, f as clsx, g as bind_props, h as head, e as escape_html, b as attr, a as ensure_array_like, c as stringify } from "../../../../chunks/index2.js";
|
||||
import "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { j as getContext, k as element, g as bind_props, d as attributes, f as clsx, l as store_get, h as head, c as escape_html, e as ensure_array_like, a as attr, b as stringify, u as unsubscribe_stores } from "../../../chunks/index2.js";
|
||||
import { i as getContext, j as element, g as bind_props, d as attributes, f as clsx, k as store_get, h as head, e as escape_html, a as ensure_array_like, b as attr, c as stringify, u as unsubscribe_stores } from "../../../chunks/index2.js";
|
||||
import "clsx";
|
||||
import "@sveltejs/kit/internal";
|
||||
import "../../../chunks/exports.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { h as head, c as escape_html } from "../../../../chunks/index2.js";
|
||||
import { h as head, e as escape_html } from "../../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
|
||||
@@ -1,77 +1,107 @@
|
||||
import { h as head, e as ensure_array_like, a as attr, b as stringify, c as escape_html } from "../../../chunks/index2.js";
|
||||
import { h as head, e as escape_html, a as ensure_array_like, b as attr, c as stringify } from "../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
import { I as Input } from "../../../chunks/input.js";
|
||||
function _page($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let { data } = $$props;
|
||||
let searchQuery = "";
|
||||
const receipts = data?.receipts ?? [];
|
||||
head("16kr07e", $$renderer2, ($$renderer3) => {
|
||||
$$renderer3.title(($$renderer4) => {
|
||||
$$renderer4.push(`<title>Receipts – Stackq</title>`);
|
||||
const filteredReceipts = (() => {
|
||||
const q = searchQuery.trim().toLowerCase();
|
||||
if (!q) return receipts;
|
||||
return receipts.filter((r) => r.id.toLowerCase().includes(q));
|
||||
})();
|
||||
let $$settled = true;
|
||||
let $$inner_renderer;
|
||||
function $$render_inner($$renderer3) {
|
||||
head("16kr07e", $$renderer3, ($$renderer4) => {
|
||||
$$renderer4.title(($$renderer5) => {
|
||||
$$renderer5.push(`<title>Receipts – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
});
|
||||
$$renderer2.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Receipts</h1></div> <a href="/receipts/new" class="block shrink-0">`);
|
||||
Button($$renderer2, {
|
||||
class: "w-full sm:w-auto",
|
||||
children: ($$renderer3) => {
|
||||
$$renderer3.push(`<!---->New receipt`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer2.push(`<!----></a></div> `);
|
||||
if (receipts.length === 0) {
|
||||
$$renderer2.push("<!--[-->");
|
||||
Card($$renderer2, {
|
||||
children: ($$renderer3) => {
|
||||
Card_content($$renderer3, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<p class="text-muted-foreground text-center text-sm">No receipts yet.</p> <p class="text-muted-foreground text-center text-xs">Create a receipt to get started.</p> <a href="/receipts/new">`);
|
||||
Button($$renderer4, {
|
||||
variant: "outline",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<!---->New receipt`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer4.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer4, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer4.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Receipts</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0">`);
|
||||
Input($$renderer3, {
|
||||
type: "search",
|
||||
placeholder: "Search receipts…",
|
||||
class: "h-11 w-full sm:h-9",
|
||||
get value() {
|
||||
return searchQuery;
|
||||
},
|
||||
set value($$value) {
|
||||
searchQuery = $$value;
|
||||
$$settled = false;
|
||||
}
|
||||
});
|
||||
$$renderer3.push(`<!----></div> <span class="text-muted-foreground text-sm shrink-0">${escape_html(filteredReceipts.length)}${escape_html(filteredReceipts.length !== receipts.length ? ` of ${receipts.length}` : "")} receipts</span> <a href="/receipts/new" class="block shrink-0">`);
|
||||
Button($$renderer3, {
|
||||
class: "w-full sm:w-auto min-h-11",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->New receipt`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
} else {
|
||||
$$renderer2.push("<!--[!-->");
|
||||
$$renderer2.push(`<div class="flex flex-col gap-2"><!--[-->`);
|
||||
const each_array = ensure_array_like(receipts);
|
||||
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
||||
let receipt = each_array[$$index];
|
||||
Card($$renderer2, {
|
||||
children: ($$renderer3) => {
|
||||
Card_content($$renderer3, {
|
||||
class: "p-4",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<a${attr("href", `/receipts/${stringify(receipt.id)}`)} class="font-medium hover:underline">Receipt ${escape_html(receipt.id)}</a>`);
|
||||
$$renderer3.push(`<!----></a></div></div> `);
|
||||
if (filteredReceipts.length === 0) {
|
||||
$$renderer3.push("<!--[-->");
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<p class="text-muted-foreground text-center text-sm">${escape_html(receipts.length === 0 ? "No receipts yet." : "No receipts match your search.")}</p> <p class="text-muted-foreground text-center text-xs">${escape_html(receipts.length === 0 ? "Create a receipt to get started." : "Try a different search.")}</p> <a href="/receipts/new">`);
|
||||
Button($$renderer5, {
|
||||
variant: "outline",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->New receipt`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer5, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
} else {
|
||||
$$renderer3.push("<!--[!-->");
|
||||
$$renderer3.push(`<div class="flex flex-col gap-2"><!--[-->`);
|
||||
const each_array = ensure_array_like(filteredReceipts);
|
||||
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
||||
let receipt = each_array[$$index];
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "p-4",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<a${attr("href", `/receipts/${stringify(receipt.id)}`)} class="font-medium hover:underline">Receipt ${escape_html(receipt.id)}</a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
}
|
||||
$$renderer3.push(`<!--]--></div>`);
|
||||
}
|
||||
$$renderer2.push(`<!--]--></div>`);
|
||||
$$renderer3.push(`<!--]--></main>`);
|
||||
}
|
||||
$$renderer2.push(`<!--]--></main>`);
|
||||
do {
|
||||
$$settled = true;
|
||||
$$inner_renderer = $$renderer2.copy();
|
||||
$$render_inner($$inner_renderer);
|
||||
} while (!$$settled);
|
||||
$$renderer2.subsume($$inner_renderer);
|
||||
});
|
||||
}
|
||||
export {
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
import { h as head, e as escape_html } from "../../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let { params } = $$props;
|
||||
head("kuo18u", $$renderer2, ($$renderer3) => {
|
||||
$$renderer3.title(($$renderer4) => {
|
||||
$$renderer4.push(`<title>Transaction – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer2.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/transactions" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to transactions">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Transaction</h1></div> `);
|
||||
Card($$renderer2, {
|
||||
children: ($$renderer3) => {
|
||||
Card_content($$renderer3, {
|
||||
class: "flex flex-col gap-4 py-8",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<p class="text-muted-foreground text-sm">Transaction ${escape_html(params.id)}</p> <a href="/transactions">`);
|
||||
Button($$renderer4, {
|
||||
variant: "outline",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<!---->Back to transactions`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer4.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer2.push(`<!----></main>`);
|
||||
});
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
const load = async () => {
|
||||
return { transactions: [] };
|
||||
};
|
||||
export {
|
||||
load
|
||||
};
|
||||
@@ -1,35 +1,108 @@
|
||||
import { h as head } from "../../../chunks/index2.js";
|
||||
import { h as head, e as escape_html, a as ensure_array_like, b as attr, c as stringify } from "../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer) {
|
||||
head("1q0dtg6", $$renderer, ($$renderer2) => {
|
||||
$$renderer2.title(($$renderer3) => {
|
||||
$$renderer3.push(`<title>Transactions – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Transactions</h1></div> `);
|
||||
Card($$renderer, {
|
||||
children: ($$renderer2) => {
|
||||
Card_content($$renderer2, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer3) => {
|
||||
$$renderer3.push(`<p class="text-muted-foreground text-center text-sm">No transactions yet.</p> <p class="text-muted-foreground text-center text-xs">Transactions will appear here once this feature is available.</p> <a href="/">`);
|
||||
Button($$renderer3, {
|
||||
variant: "outline",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a>`);
|
||||
import { I as Input } from "../../../chunks/input.js";
|
||||
function _page($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
let { data } = $$props;
|
||||
let searchQuery = "";
|
||||
const transactions = data?.transactions ?? [];
|
||||
const filteredTransactions = (() => {
|
||||
const q = searchQuery.trim().toLowerCase();
|
||||
if (!q) return transactions;
|
||||
return transactions.filter((t) => t.id.toLowerCase().includes(q));
|
||||
})();
|
||||
let $$settled = true;
|
||||
let $$inner_renderer;
|
||||
function $$render_inner($$renderer3) {
|
||||
head("1q0dtg6", $$renderer3, ($$renderer4) => {
|
||||
$$renderer4.title(($$renderer5) => {
|
||||
$$renderer5.push(`<title>Transactions – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer3.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between"><div class="flex items-center gap-3 min-w-0"><a href="/" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to main">Back</a> <h1 class="text-xl font-semibold truncate sm:text-2xl">Transactions</h1></div> <div class="flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2"><div class="w-full sm:w-64 sm:min-w-0">`);
|
||||
Input($$renderer3, {
|
||||
type: "search",
|
||||
placeholder: "Search transactions…",
|
||||
class: "h-11 w-full sm:h-9",
|
||||
get value() {
|
||||
return searchQuery;
|
||||
},
|
||||
set value($$value) {
|
||||
searchQuery = $$value;
|
||||
$$settled = false;
|
||||
}
|
||||
});
|
||||
$$renderer3.push(`<!----></div> <span class="text-muted-foreground text-sm shrink-0">${escape_html(filteredTransactions.length)}${escape_html(filteredTransactions.length !== transactions.length ? ` of ${transactions.length}` : "")} transactions</span> <a href="/transactions/new" class="block shrink-0">`);
|
||||
Button($$renderer3, {
|
||||
class: "w-full sm:w-auto min-h-11",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->New transaction`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
$$renderer3.push(`<!----></a></div></div> `);
|
||||
if (filteredTransactions.length === 0) {
|
||||
$$renderer3.push("<!--[-->");
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "flex flex-col items-center justify-center gap-4 py-12",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<p class="text-muted-foreground text-center text-sm">${escape_html(transactions.length === 0 ? "No transactions yet." : "No transactions match your search.")}</p> <p class="text-muted-foreground text-center text-xs">${escape_html(transactions.length === 0 ? "Create a transaction to get started." : "Try a different search.")}</p> <a href="/transactions/new">`);
|
||||
Button($$renderer5, {
|
||||
variant: "outline",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->New transaction`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer5, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer6) => {
|
||||
$$renderer6.push(`<!---->Back to home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer5.push(`<!----></a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
} else {
|
||||
$$renderer3.push("<!--[!-->");
|
||||
$$renderer3.push(`<div class="flex flex-col gap-2"><!--[-->`);
|
||||
const each_array = ensure_array_like(filteredTransactions);
|
||||
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
||||
let tx = each_array[$$index];
|
||||
Card($$renderer3, {
|
||||
children: ($$renderer4) => {
|
||||
Card_content($$renderer4, {
|
||||
class: "p-4",
|
||||
children: ($$renderer5) => {
|
||||
$$renderer5.push(`<a${attr("href", `/transactions/${stringify(tx.id)}`)} class="font-medium hover:underline">Transaction ${escape_html(tx.id)}</a>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
}
|
||||
$$renderer3.push(`<!--]--></div>`);
|
||||
}
|
||||
$$renderer3.push(`<!--]--></main>`);
|
||||
}
|
||||
do {
|
||||
$$settled = true;
|
||||
$$inner_renderer = $$renderer2.copy();
|
||||
$$render_inner($$inner_renderer);
|
||||
} while (!$$settled);
|
||||
$$renderer2.subsume($$inner_renderer);
|
||||
});
|
||||
$$renderer.push(`<!----></main>`);
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
import { h as head } from "../../../../chunks/index2.js";
|
||||
import { B as Button } from "../../../../chunks/button.js";
|
||||
import { C as Card, a as Card_content } from "../../../../chunks/card-content.js";
|
||||
import "clsx";
|
||||
function _page($$renderer) {
|
||||
head("a9qngp", $$renderer, ($$renderer2) => {
|
||||
$$renderer2.title(($$renderer3) => {
|
||||
$$renderer3.push(`<title>New transaction – Stackq</title>`);
|
||||
});
|
||||
});
|
||||
$$renderer.push(`<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/transactions" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to transactions">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New transaction</h1></div> `);
|
||||
Card($$renderer, {
|
||||
children: ($$renderer2) => {
|
||||
Card_content($$renderer2, {
|
||||
class: "flex flex-col gap-4 py-8",
|
||||
children: ($$renderer3) => {
|
||||
$$renderer3.push(`<p class="text-muted-foreground text-center text-sm">Transaction creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/transactions">`);
|
||||
Button($$renderer3, {
|
||||
variant: "outline",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Back to transactions`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a> <a href="/">`);
|
||||
Button($$renderer3, {
|
||||
variant: "ghost",
|
||||
children: ($$renderer4) => {
|
||||
$$renderer4.push(`<!---->Home`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer3.push(`<!----></a></div>`);
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
},
|
||||
$$slots: { default: true }
|
||||
});
|
||||
$$renderer.push(`<!----></main>`);
|
||||
}
|
||||
export {
|
||||
_page as default
|
||||
};
|
||||
@@ -10,7 +10,7 @@ return {
|
||||
assets: new Set(["icon.svg"]),
|
||||
mimeTypes: {".svg":"image/svg+xml"},
|
||||
_: {
|
||||
client: {start:"_app/immutable/entry/start.DFCcf04d.js",app:"_app/immutable/entry/app.CjPPJjga.js",imports:["_app/immutable/entry/start.DFCcf04d.js","_app/immutable/chunks/mylYChEY.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/entry/app.CjPPJjga.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
||||
client: {start:"_app/immutable/entry/start.BpNZlEyP.js",app:"_app/immutable/entry/app.C5eu7fVU.js",imports:["_app/immutable/entry/start.BpNZlEyP.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/entry/app.C5eu7fVU.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
||||
nodes: [
|
||||
__memo(() => import('./nodes/0.js')),
|
||||
__memo(() => import('./nodes/1.js')),
|
||||
@@ -23,7 +23,11 @@ return {
|
||||
__memo(() => import('./nodes/8.js')),
|
||||
__memo(() => import('./nodes/9.js')),
|
||||
__memo(() => import('./nodes/10.js')),
|
||||
__memo(() => import('./nodes/11.js'))
|
||||
__memo(() => import('./nodes/11.js')),
|
||||
__memo(() => import('./nodes/12.js')),
|
||||
__memo(() => import('./nodes/13.js')),
|
||||
__memo(() => import('./nodes/14.js')),
|
||||
__memo(() => import('./nodes/15.js'))
|
||||
],
|
||||
remotes: {
|
||||
|
||||
@@ -40,28 +44,42 @@ return {
|
||||
id: "/accounts",
|
||||
pattern: /^\/accounts\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 8 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 10 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/accounts/new",
|
||||
pattern: /^\/accounts\/new\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 11 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/accounts/[id]",
|
||||
pattern: /^\/accounts\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 12 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/items",
|
||||
pattern: /^\/items\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 9 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 13 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/items/[id]",
|
||||
pattern: /^\/items\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 10 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 14 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/login",
|
||||
pattern: /^\/login\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 11 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 15 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
@@ -98,6 +116,20 @@ return {
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 7 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/transactions/new",
|
||||
pattern: /^\/transactions\/new\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 8 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/transactions/[id]",
|
||||
pattern: /^\/transactions\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 9 },
|
||||
endpoint: null
|
||||
}
|
||||
],
|
||||
prerendered_routes: new Set([]),
|
||||
|
||||
@@ -10,7 +10,7 @@ return {
|
||||
assets: new Set(["icon.svg"]),
|
||||
mimeTypes: {".svg":"image/svg+xml"},
|
||||
_: {
|
||||
client: {start:"_app/immutable/entry/start.DFCcf04d.js",app:"_app/immutable/entry/app.CjPPJjga.js",imports:["_app/immutable/entry/start.DFCcf04d.js","_app/immutable/chunks/mylYChEY.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/entry/app.CjPPJjga.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
||||
client: {start:"_app/immutable/entry/start.BpNZlEyP.js",app:"_app/immutable/entry/app.C5eu7fVU.js",imports:["_app/immutable/entry/start.BpNZlEyP.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/entry/app.C5eu7fVU.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
||||
nodes: [
|
||||
__memo(() => import('./nodes/0.js')),
|
||||
__memo(() => import('./nodes/1.js')),
|
||||
@@ -23,7 +23,11 @@ return {
|
||||
__memo(() => import('./nodes/8.js')),
|
||||
__memo(() => import('./nodes/9.js')),
|
||||
__memo(() => import('./nodes/10.js')),
|
||||
__memo(() => import('./nodes/11.js'))
|
||||
__memo(() => import('./nodes/11.js')),
|
||||
__memo(() => import('./nodes/12.js')),
|
||||
__memo(() => import('./nodes/13.js')),
|
||||
__memo(() => import('./nodes/14.js')),
|
||||
__memo(() => import('./nodes/15.js'))
|
||||
],
|
||||
remotes: {
|
||||
|
||||
@@ -40,28 +44,42 @@ return {
|
||||
id: "/accounts",
|
||||
pattern: /^\/accounts\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 8 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 10 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/accounts/new",
|
||||
pattern: /^\/accounts\/new\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 11 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/accounts/[id]",
|
||||
pattern: /^\/accounts\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 12 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/items",
|
||||
pattern: /^\/items\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 9 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 13 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/items/[id]",
|
||||
pattern: /^\/items\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 10 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 14 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/login",
|
||||
pattern: /^\/login\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 11 },
|
||||
page: { layouts: [0,], errors: [1,], leaf: 15 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
@@ -98,6 +116,20 @@ return {
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 7 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/transactions/new",
|
||||
pattern: /^\/transactions\/new\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 8 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/transactions/[id]",
|
||||
pattern: /^\/transactions\/([^/]+?)\/?$/,
|
||||
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 9 },
|
||||
endpoint: null
|
||||
}
|
||||
],
|
||||
prerendered_routes: new Set([]),
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
import * as universal from '../entries/pages/_layout.ts.js';
|
||||
import * as server from '../entries/pages/_layout.server.ts.js';
|
||||
|
||||
export const index = 0;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;
|
||||
export { universal };
|
||||
export const universal_id = "src/routes/+layout.ts";
|
||||
export const imports = ["_app/immutable/nodes/0.Cxu0NOCO.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Bbbv1kr5.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/CrWOhwmr.js"];
|
||||
export const stylesheets = ["_app/immutable/assets/0.B2oeYf4F.css"];
|
||||
export { server };
|
||||
export const server_id = "src/routes/+layout.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/0.CnK4IQDA.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/B3aNbgJc.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/CaCQx3BS.js","_app/immutable/chunks/DAapakUx.js","_app/immutable/chunks/DjaSJnz7.js","_app/immutable/chunks/DTbYdmbV.js","_app/immutable/chunks/CFHX6GDu.js"];
|
||||
export const stylesheets = ["_app/immutable/assets/0.CXvyW7eD.css"];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
export const index = 1;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/1.C7nmeG9W.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Bbbv1kr5.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/CrWOhwmr.js","_app/immutable/chunks/mylYChEY.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/iYSIr-5j.js"];
|
||||
export const imports = ["_app/immutable/nodes/1.CYwXj6SJ.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DAapakUx.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/DjaSJnz7.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DzJWa70M.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import * as server from '../entries/pages/items/_id_/_page.server.ts.js';
|
||||
import * as server from '../entries/pages/accounts/_page.server.ts.js';
|
||||
|
||||
export const index = 10;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/items/_id_/_page.svelte.js')).default;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/accounts/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/items/[id]/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/10.Bk0Y3XDZ.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/BR6tTwie.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/CCY2d7sc.js","_app/immutable/chunks/mylYChEY.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/BzfwckE1.js","_app/immutable/chunks/CBjBL7Hz.js","_app/immutable/chunks/Cr7vHN1I.js","_app/immutable/chunks/C3TONo7J.js","_app/immutable/chunks/D4nn9Y_6.js"];
|
||||
export const server_id = "src/routes/accounts/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/10.Vd6sWzh2.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BhGBB4Qh.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js","_app/immutable/chunks/CB0VnWqK.js","_app/immutable/chunks/DTbYdmbV.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
import * as server from '../entries/pages/login/_page.server.ts.js';
|
||||
|
||||
|
||||
export const index = 11;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/login/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/11.CjZazW5Z.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/BHRsrugl.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js"];
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/accounts/new/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/11.D5k1Bnhv.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DAapakUx.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
export const index = 12;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/accounts/_id_/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/12.CBQbcati.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as server from '../entries/pages/items/_page.server.ts.js';
|
||||
|
||||
export const index = 13;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/items/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/items/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/13.D3zuOlaF.js","_app/immutable/chunks/Cel1DXuQ.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Cua5CQwk.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/fb4NW7RP.js","_app/immutable/chunks/DkOFPg3x.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as server from '../entries/pages/items/_id_/_page.server.ts.js';
|
||||
|
||||
export const index = 14;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/items/_id_/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/items/[id]/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/14.B93ZZMys.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BhGBB4Qh.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/B3aNbgJc.js","_app/immutable/chunks/BuAKAdPx.js","_app/immutable/chunks/DzJWa70M.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/Y4l2nr7b.js","_app/immutable/chunks/AlWcxmGf.js","_app/immutable/chunks/Do7CCxfs.js","_app/immutable/chunks/CaCQx3BS.js","_app/immutable/chunks/fb4NW7RP.js","_app/immutable/chunks/CB0VnWqK.js","_app/immutable/chunks/DTbYdmbV.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as server from '../entries/pages/login/_page.server.ts.js';
|
||||
|
||||
export const index = 15;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/login/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/15.ChrpyJ03.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Cua5CQwk.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
@@ -5,6 +5,6 @@ let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/2.DgrjDafZ.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/BHRsrugl.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js"];
|
||||
export const imports = ["_app/immutable/nodes/2.Ds5Yb8tM.js","_app/immutable/chunks/B5gxx3nr.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Cua5CQwk.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -5,6 +5,6 @@ let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/receipts/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/receipts/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/3.Db4iBzV-.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/BR6tTwie.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/BzfwckE1.js"];
|
||||
export const imports = ["_app/immutable/nodes/3.D4HOGM92.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BhGBB4Qh.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js","_app/immutable/chunks/CB0VnWqK.js","_app/immutable/chunks/DTbYdmbV.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
export const index = 4;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/receipts/new/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/4._j5PA9Ai.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Bbbv1kr5.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/BzfwckE1.js"];
|
||||
export const imports = ["_app/immutable/nodes/4.Csb2MtEV.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DAapakUx.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
export const index = 5;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/receipts/_id_/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/5.C8BgfNn-.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/BzfwckE1.js"];
|
||||
export const imports = ["_app/immutable/nodes/5.BQAFw-7p.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
|
||||
import * as server from '../entries/pages/transactions/_page.server.ts.js';
|
||||
|
||||
export const index = 7;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/transactions/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/7.BT0w3m9a.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Bbbv1kr5.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/BzfwckE1.js"];
|
||||
export { server };
|
||||
export const server_id = "src/routes/transactions/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/7.4OT7_ZJx.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BhGBB4Qh.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js","_app/immutable/chunks/CB0VnWqK.js","_app/immutable/chunks/DTbYdmbV.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
export const index = 8;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/accounts/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/8.B6WLTWPS.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/Bbbv1kr5.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/BkOB8zes.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/BzfwckE1.js"];
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/transactions/new/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/8.C_l9PVkm.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DAapakUx.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
import * as server from '../entries/pages/items/_page.server.ts.js';
|
||||
|
||||
|
||||
export const index = 9;
|
||||
let component_cache;
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/items/_page.svelte.js')).default;
|
||||
export { server };
|
||||
export const server_id = "src/routes/items/+page.server.ts";
|
||||
export const imports = ["_app/immutable/nodes/9.BuXJ1sn8.js","_app/immutable/chunks/CTXwJjmZ.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BH97ETpZ.js","_app/immutable/chunks/BHRsrugl.js","_app/immutable/chunks/UvStrNyM.js","_app/immutable/chunks/Cf_fsnlT.js","_app/immutable/chunks/CgtTdn_a.js","_app/immutable/chunks/Bysmuwvg.js","_app/immutable/chunks/iYSIr-5j.js","_app/immutable/chunks/mylYChEY.js","_app/immutable/chunks/CeetFYTo.js","_app/immutable/chunks/Qgf5A_kA.js","_app/immutable/chunks/BD8q7RHQ.js","_app/immutable/chunks/Dw-PWoyz.js","_app/immutable/chunks/C3TONo7J.js"];
|
||||
export const component = async () => component_cache ??= (await import('../entries/pages/transactions/_id_/_page.svelte.js')).default;
|
||||
export const imports = ["_app/immutable/nodes/9.CPAD1Rkc.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DScGFiBY.js","_app/immutable/chunks/B7h8GtFa.js","_app/immutable/chunks/BfWekp-4.js","_app/immutable/chunks/ChlQth4G.js","_app/immutable/chunks/CcEFwafz.js","_app/immutable/chunks/BPc-JNDc.js","_app/immutable/chunks/BlbL38UD.js","_app/immutable/chunks/BNQ00IGn.js","_app/immutable/chunks/DkOFPg3x.js","_app/immutable/chunks/DoRZqEmo.js","_app/immutable/chunks/Y4l2nr7b.js"];
|
||||
export const stylesheets = [];
|
||||
export const fonts = [];
|
||||
|
||||
Reference in New Issue
Block a user