Files
oikos/web/node_modules/.vite/deps/chunk-FDPVFO5P.js
dtoro d4d99a7473
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
feat: Phase 1 — extract the client (web SPA + desktop) to dtoro/oikos-web
Problem: the hexagonal refactor churns the backend tree for nine more
phases; the UI delivery stack (web/ SPA, cmd/desktop Wails wrapper,
compose/web image) must move to its own repo first so doc/layout
rewrites land once on a backend-only tree.

Change:
- New repo git.hubris.network/dtoro/oikos-web (v0.33.0): web/, desktop/
  (updateURL repointed to oikos-web releases), compose/, own CI (web +
  desktop jobs), own deploy script (CI-green gate, TOCTOU guard,
  version-tagged images, prune-to-3), own webhook receiver on :9798 +
  launchd unit, own compose project publishing the same 8091:80.
- Cutover executed on mac-mini in order: oikos stack's web service
  stopped+removed, oikos-web project brought up on 8091; outer Caddy
  untouched (targets the published port) — serving + Authentik flow +
  /wails 404 quirk verified post-cutover.
- Stripped from oikos: web/, cmd/desktop/, compose/web/, desktop CI
  workflow, ci.yml web job, Makefile ui/desktop/desktop-package/install
  targets, the compose web service, oikos-web from deploy.sh's fallback
  prune list; wails + go-keyring dropped from go.mod, vendor synced.
- README / CONTRIBUTING / AGENTS.md / .agents dev+operations docs now
  point at the new repo; mbse + mascot design docs carry a path note.

Risk: production SPA serving depends on the new pipeline now; rollback
is versioned-image re-up of the old web service from a pre-split
checkout (port 8091). Desktop builds installed before the split still
check dtoro/oikos releases — one manual reinstall, noted in the
oikos-web release notes.

Verification: go vet, make test (race), make generate-check, golangci
(no new findings; baseline down 400→365); post-cutover curls —
localhost:8091 200, /wails/runtime.js 404, outer Caddy 302 Authentik.
2026-08-15 22:27:52 +02:00

179 lines
4.5 KiB
JavaScript

import {
add_locations,
attribute_effect,
check_target,
each,
element,
hmr,
index,
legacy_api,
prop,
rest_props,
snippet,
validate_dynamic_element_tag
} from "./chunk-3SEKS52A.js";
import {
append,
comment,
from_svg
} from "./chunk-YWNCLLEK.js";
import {
FILENAME,
HMR,
add_svelte_meta,
child,
first_child,
get2 as get,
getContext,
noop,
pop,
push,
reset,
setContext,
sibling,
tag,
to_array,
user_derived
} from "./chunk-IFIY7NGJ.js";
// node_modules/@lucide/svelte/dist/defaultAttributes.js
var defaultAttributes = {
xmlns: "http://www.w3.org/2000/svg",
width: 24,
height: 24,
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
"stroke-width": 2,
"stroke-linecap": "round",
"stroke-linejoin": "round"
};
var defaultAttributes_default = defaultAttributes;
// node_modules/@lucide/svelte/dist/context.js
var LucideContext = Symbol("lucide-context");
var setLucideProps = (globalProps) => setContext(LucideContext, globalProps);
var getLucideContext = () => getContext(LucideContext);
// node_modules/@lucide/svelte/dist/utils/hasA11yProp.js
var hasA11yProp = (props) => {
for (const prop2 in props) {
if (prop2.startsWith("aria-") || prop2 === "role" || prop2 === "title") {
return true;
}
}
return false;
};
// node_modules/@lucide/svelte/dist/Icon.svelte
Icon[FILENAME] = "node_modules/@lucide/svelte/dist/Icon.svelte";
var rest_excludes = /* @__PURE__ */ new Set([
"$$slots",
"$$events",
"$$legacy",
"name",
"color",
"size",
"strokeWidth",
"absoluteStrokeWidth",
"iconNode",
"children"
]);
var root = add_locations(from_svg(`<svg><!><!></svg>`), Icon[FILENAME], [[9, 0]]);
function Icon($$anchor, $$props) {
check_target(new.target);
push($$props, true, Icon);
const globalProps = getLucideContext() ?? {};
const color = prop($$props, "color", 19, () => globalProps.color ?? "currentColor"), size = prop($$props, "size", 19, () => globalProps.size ?? 24), strokeWidth = prop($$props, "strokeWidth", 19, () => globalProps.strokeWidth ?? 2), absoluteStrokeWidth = prop($$props, "absoluteStrokeWidth", 19, () => globalProps.absoluteStrokeWidth ?? false), iconNode = prop($$props, "iconNode", 19, () => []), props = rest_props($$props, rest_excludes, "props");
const calculatedStrokeWidth = tag(
user_derived(() => absoluteStrokeWidth() ? Number(strokeWidth()) * 24 / Number(size()) : strokeWidth()),
"calculatedStrokeWidth"
);
var $$exports = { ...legacy_api() };
var svg = root();
attribute_effect(
svg,
($0) => ({
...defaultAttributes_default,
...$0,
...props,
width: size(),
height: size(),
stroke: color(),
"stroke-width": get(calculatedStrokeWidth),
class: [
"lucide-icon lucide",
globalProps.class,
$$props.name && `lucide-${$$props.name}`,
$$props.class
]
}),
[
() => !$$props.children && !hasA11yProp(props) && { "aria-hidden": "true" }
]
);
var node = child(svg);
add_svelte_meta(
() => each(node, 17, iconNode, index, ($$anchor2, $$item) => {
var $$array = user_derived(() => to_array(get($$item), 2));
let tag2 = () => get($$array)[0];
tag2();
let attrs = () => get($$array)[1];
attrs();
var fragment = comment();
var node_1 = first_child(fragment);
{
validate_dynamic_element_tag(tag2);
element(
node_1,
tag2,
true,
($$element, $$anchor3) => {
attribute_effect($$element, () => ({ ...attrs() }));
},
void 0,
[20, 4]
);
}
append($$anchor2, fragment);
}),
"each",
Icon,
19,
2
);
var node_2 = sibling(node);
add_svelte_meta(() => snippet(node_2, () => $$props.children ?? noop), "render", Icon, 25, 2);
reset(svg);
append($$anchor, svg);
return pop($$exports);
}
if (import.meta.hot) {
Icon = hmr(Icon);
import.meta.hot.accept((module) => {
Icon[HMR].update(module.default);
});
}
var Icon_default = Icon;
export {
defaultAttributes_default,
setLucideProps,
getLucideContext,
Icon_default
};
/*! Bundled license information:
@lucide/svelte/dist/defaultAttributes.js:
@lucide/svelte/dist/context.js:
@lucide/svelte/dist/utils/hasA11yProp.js:
(**
* @file
* @license @lucide/svelte v1.28.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*)
*/
//# sourceMappingURL=chunk-FDPVFO5P.js.map