@skill-map/cli 0.31.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/tutorial/sm-tutorial/SKILL.md +27 -7
- package/dist/cli.js +1366 -501
- package/dist/cli.js.map +1 -1
- package/dist/index.js +206 -15
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +199 -4
- package/dist/kernel/index.js +206 -15
- package/dist/kernel/index.js.map +1 -1
- package/dist/migrations/001_initial.sql +2 -2
- package/dist/ui/chunk-2QZDJSJN.js +1 -0
- package/dist/ui/chunk-5CFY2K3Y.js +135 -0
- package/dist/ui/{chunk-YQIWQVJ6.js → chunk-L3OLNVKI.js} +9 -9
- package/dist/ui/chunk-OKFHCQNJ.js +123 -0
- package/dist/ui/{chunk-47OZB7LR.js → chunk-TKV6TXTI.js} +1 -1
- package/dist/ui/{chunk-WJLIYGWJ.js → chunk-UK5YFHL3.js} +1 -1
- package/dist/ui/{chunk-FEPH4VNB.js → chunk-UMCC32EJ.js} +3 -3
- package/dist/ui/{chunk-VDQLDTTR.js → chunk-YZ7KCL3G.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/main-H7FURBYT.js +2 -0
- package/migrations/001_initial.sql +2 -2
- package/package.json +3 -2
- package/dist/ui/chunk-LNRQ7VKE.js +0 -1
- package/dist/ui/chunk-LS2NXZQZ.js +0 -135
- package/dist/ui/chunk-PVKIT7DW.js +0 -123
- package/dist/ui/main-N23S66NJ.js +0 -2
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import{b as Rt,c as k,d as Bt,e as Oe}from"./chunk-2QZDJSJN.js";import{a as wt,b as kt,c as Se,d as Ee,e as jt}from"./chunk-UK5YFHL3.js";import{a as Me,b as Ie,c as Dt,d as At,e as Ft,f as Nt,g as Vt,h as Lt,i as le,j as de}from"./chunk-YZ7KCL3G.js";import{e as Pt,f as Te,h as re,i as ae,j as St,k as Et,l as Tt,m as se,o as Mt,p as It,q as Ot}from"./chunk-5CFY2K3Y.js";import{$ as nt,Aa as at,Ba as ee,Bc as ie,Hb as ne,I as Ye,Ic as we,J as Je,Jb as ut,Jc as ke,K as Ze,Ka as b,Lc as vt,M as et,Na as m,O as T,Oa as h,Oc as xt,Pa as st,Qa as Y,Qb as mt,Ra as I,S as tt,Sa as O,T as P,Ta as p,Tb as y,U as S,Ua as s,Uc as yt,Va as a,Vc as fe,Wa as M,Wb as Ce,Wc as Ct,Xa as v,Xb as R,Ya as x,Yb as ht,Za as te,ab as lt,bd as Pe,cc as Ke,cd as oe,da as _,db as j,dc as _t,ea as L,eb as J,fb as w,ga as Be,hb as l,id as U,jd as G,ka as it,kb as dt,la as he,lb as ct,mb as ve,nb as xe,oa as o,oc as ft,pb as gt,pc as bt,qb as pt,sb as ze,tb as K,ub as ye,vb as _e,wa as N,wb as d,xa as ot,xb as u,yb as f,za as rt,zb as D}from"./chunk-LTQTJU54.js";import"./chunk-3SI3TVER.js";import{a as H,b as X}from"./chunk-VB56BUGO.js";function pn(t,n){if(t&1&&(v(0,"p",6),d(1),x()),t&2){let e=l();o(),D(" ",e.texts.aboutErrorPrefix," ",e.loadError()," ")}}var je=class t{dataSource=T(U);updateCheck=T(Rt);theme=T(Oe);visible=R.required();texts=k;health=_(null);loadError=_(null);markSrc=y(()=>this.theme.resolved()==="dark"?"skill-map-mark-light.svg":"skill-map-mark-dark.svg");cliVersion=y(()=>this.updateCheck.current()??this.health()?.implVersion??this.texts.aboutUnknown);specVersion=y(()=>this.health()?.specVersion??this.texts.aboutLoading);schemaVersion=y(()=>this.health()?.schemaVersion??this.texts.aboutLoading);cwd=y(()=>this.health()?.cwd??this.texts.aboutLoading);dbDisplay=y(()=>{let n=this.health();return n?this.texts.aboutDbValue(n.db,un(n.dbPath,n.cwd)):this.texts.aboutLoading});constructor(){L(()=>{this.visible()&&this.health()===null&&this.load()})}async load(){this.loadError.set(null);try{let n=await this.dataSource.health();this.health.set(n)}catch(n){let e=n instanceof G||n instanceof Error?n.message:String(n);this.loadError.set(e)}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-about"]],inputs:{visible:[1,"visible"]},decls:57,vars:25,consts:[["aria-labelledby","settings-about-heading","data-testid","settings-about",1,"settings-about"],[1,"settings-about__header"],["alt","","aria-hidden","true","data-testid","settings-about-logo",1,"settings-about__logo",3,"src"],[1,"settings-about__heading-text"],["id","settings-about-heading",1,"settings-about__title"],[1,"settings-about__intro"],["data-testid","settings-about-error",1,"settings-about__error"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-star",1,"settings-about__star",3,"href"],["aria-hidden","true",1,"fa-solid","fa-star","settings-about__star-icon"],[1,"settings-about__star-text"],[1,"settings-about__star-heading"],[1,"settings-about__star-body"],[1,"settings-about__star-cta"],["aria-hidden","true",1,"fa-solid","fa-star"],[1,"settings-about__list"],[1,"settings-about__row"],[1,"settings-about__label"],[1,"settings-about__value"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-website",1,"settings-about__link",3,"href"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-github",1,"settings-about__link",3,"href"],["data-testid","settings-about-cli",1,"settings-about__value"],["data-testid","settings-about-spec",1,"settings-about__value"],["data-testid","settings-about-schema",1,"settings-about__value"],["data-testid","settings-about-cwd",1,"settings-about__value"],["data-testid","settings-about-db",1,"settings-about__value"]],template:function(e,i){e&1&&(v(0,"section",0)(1,"header",1),te(2,"img",2),v(3,"div",3)(4,"h2",4),d(5),x(),v(6,"p",5),d(7),x()()(),m(8,pn,2,2,"p",6),v(9,"a",7),te(10,"i",8),v(11,"span",9)(12,"span",10),d(13),x(),v(14,"span",11),d(15),x()(),v(16,"span",12),te(17,"i",13),d(18),x()(),v(19,"dl",14)(20,"div",15)(21,"dt",16),d(22),x(),v(23,"dd",17)(24,"a",18),d(25),x()()(),v(26,"div",15)(27,"dt",16),d(28),x(),v(29,"dd",17)(30,"a",19),d(31),x()()(),v(32,"div",15)(33,"dt",16),d(34),x(),v(35,"dd",20),d(36),x()(),v(37,"div",15)(38,"dt",16),d(39),x(),v(40,"dd",21),d(41),x()(),v(42,"div",15)(43,"dt",16),d(44),x(),v(45,"dd",22),d(46),x()(),v(47,"div",15)(48,"dt",16),d(49),x(),v(50,"dd",23),d(51),x()(),v(52,"div",15)(53,"dt",16),d(54),x(),v(55,"dd",24),d(56),x()()()()),e&2&&(o(2),J("src",i.markSrc(),he),o(3),f(" ",i.texts.aboutHeading," "),o(2),u(i.texts.aboutIntro),o(),h(i.loadError()?8:-1),o(),J("href",i.texts.aboutGithubUrl,he),b("aria-label",i.texts.aboutStarA11y),o(4),u(i.texts.aboutStarHeading),o(2),u(i.texts.aboutStarBody),o(3),f(" ",i.texts.aboutStarCta," "),o(4),u(i.texts.aboutWebsiteLabel),o(2),J("href",i.texts.aboutWebsiteUrl,he),o(),u(i.texts.aboutWebsiteUrl),o(3),u(i.texts.aboutGithubLabel),o(2),J("href",i.texts.aboutGithubUrl,he),o(),u(i.texts.aboutGithubUrl),o(3),u(i.texts.aboutCliLabel),o(2),f(" ",i.cliVersion()," "),o(3),u(i.texts.aboutSpecLabel),o(2),f(" ",i.specVersion()," "),o(3),u(i.texts.aboutSchemaLabel),o(2),f(" ",i.schemaVersion()," "),o(3),u(i.texts.aboutFolderLabel),o(2),f(" ",i.cwd()," "),o(3),u(i.texts.aboutDbLabel),o(2),f(" ",i.dbDisplay()," "))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-about[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.settings-about__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.settings-about__logo[_ngcontent-%COMP%]{width:64px;height:64px;flex-shrink:0}.settings-about__heading-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.settings-about__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-about__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-about__error[_ngcontent-%COMP%]{margin:0;padding:.5rem .75rem;border-radius:var(--p-border-radius);background:var(--p-message-error-background);color:var(--p-message-error-color);font-size:.875rem}.settings-about__list[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-about__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:180px 1fr;align-items:baseline;gap:.75rem;padding:.5rem .75rem;border-radius:var(--p-border-radius)}.settings-about__row[_ngcontent-%COMP%]:nth-child(odd){background:var(--p-content-hover-background)}.settings-about__label[_ngcontent-%COMP%]{margin:0;font-size:.875rem;color:var(--p-text-muted-color)}.settings-about__value[_ngcontent-%COMP%]{margin:0;font-family:var(--p-monospace-font-family);font-size:.875rem;word-break:break-all}.settings-about__link[_ngcontent-%COMP%]{color:var(--p-primary-color);text-decoration:none}.settings-about__link[_ngcontent-%COMP%]:hover, .settings-about__link[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}.settings-about__star[_ngcontent-%COMP%]{--star-accent: #f4b400;display:flex;align-items:center;gap:.875rem;padding:.875rem 1rem;border-radius:var(--p-border-radius);border:1px solid color-mix(in oklab,var(--star-accent) 45%,transparent);background:color-mix(in oklab,var(--star-accent) 12%,transparent);color:var(--p-text-color);text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.settings-about__star[_ngcontent-%COMP%]:hover, .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 22%,transparent);border-color:color-mix(in oklab,var(--star-accent) 70%,transparent);transform:translateY(-1px);outline:none}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 18%,transparent);border-color:color-mix(in oklab,var(--star-accent) 55%,transparent)}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 30%,transparent);border-color:var(--star-accent)}.settings-about__star-icon[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--star-accent);flex-shrink:0}.settings-about__star-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-about__star-heading[_ngcontent-%COMP%]{font-weight:600;font-size:.95rem}.settings-about__star-body[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-text-muted-color);line-height:1.4}.settings-about__star-cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border-radius:var(--sm-radius-pill);background:var(--star-accent);color:#1a1a1a;font-weight:600;font-size:.8125rem;white-space:nowrap;flex-shrink:0}.settings-about__star[_ngcontent-%COMP%]:hover .settings-about__star-cta[_ngcontent-%COMP%], .settings-about__star[_ngcontent-%COMP%]:focus-visible .settings-about__star-cta[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 88%,white)}"],changeDetection:0})};function un(t,n){if(!t||!n)return t;let e=n.replace(/[/\\]+$/,"");return t.startsWith(e)?t.slice(e.length).replace(/^[/\\]+/,""):t}var zt={schemaVersion:1,entries:[{version:"0.33.0",date:"2026-05-19",kind:"user-facing",highlights:[{body:"Settings \u2192 Project: new Active provider dropdown switches the runtime lens (Claude / Gemini / Codex / Cursor). Tools matching `mcp__name__*` surface MCP nodes in the graph. Codex `.toml` sub-agents under `.codex/agents/` are classified. Link confidence renders as percent.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.32.0",date:"2026-05-17",kind:"user-facing",highlights:[{body:"Settings \u2192 Project gains a new **Ignored patterns** section to edit `.skillmapignore` from the UI: add or remove each pattern, the scan refreshes instantly. Comments and blank lines in the file are preserved on save.",packages:["@skill-map/cli"]},{body:"Settings now rejects commas in path inputs and refuses paths that don't exist on disk. Adding / removing a folder logs to the server console and live-reloads the watcher, so new nodes appear in the graph without restarting `sm serve` or clicking Scan.",packages:["@skill-map/cli"]},{body:"We removed `scan.extraFolders`. To extend the scan beyond the project root, pass folders as positional arguments to `sm scan [roots...]`. The `scan.referencePaths` key (validates links against on-disk files without indexing) is unchanged. Existing entries are silently ignored.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.31.0",date:"2026-05-16",kind:"user-facing",highlights:[{body:'`sm tutorial` now lays the skill at `.claude/skills/<slug>/` (was a single `.md`) so multi-file skills like `sm-master` ship their `references/`. Claude Code auto-discovers it; invoke with its trigger phrase (e.g. "tutorial maestro"), no more `@sm-master.md`.',packages:["@skill-map/cli"]}]},{version:"0.30.0",date:"2026-05-16",kind:"user-facing",highlights:[{body:"When `@foo` or `/foo` fails to resolve and a file `foo.md` exists nearby without `name:` in its frontmatter, broken-ref now suggests adding `name: foo` to that file. The hint appears in `sm check`, `sm show`, and the inspector panel.",packages:["@skill-map/cli"]},{body:"**Cleaner scans on prose with file paths and `@file` refs.** `/Volumes/foo` no longer emits a broken-ref, `@file.md` lands as a `references` link (was `mentions`), and tokens inside code blocks are skipped. Re-run `sm scan` to refresh counts.",packages:["@skill-map/cli"]}]},{version:"0.29.0",date:"2026-05-16",kind:"user-facing",highlights:[{body:"The graph view now lets you pick the layout algorithm (**Balanced**, **Stretched** or **Organic**), direction (top/bottom/left/right) and spacing (compact / normal / spacious) from new buttons in the bottom toolbar. The matching section in Settings \u2192 General was removed.",packages:["@skill-map/cli"]},{body:"**Plugin manifests are smaller.** `plugin.json` drops `id`; every extension declares only `version` + `description` plus kind-specific fields. View contributions move to `ui:`. Provider kinds live under `kinds/<kindName>/`. Run `sm plugins doctor` after upgrading.",packages:["@skill-map/cli","@skill-map/spec","@skill-map/testkit"]},{body:"`.skillmapignore` is now created with mode `0o644` (was `0o600`), so other users on multi-user hosts can read it without `chmod`. Existing files keep their current mode; re-run `sm init --force` if you want the new default.",packages:["@skill-map/cli"]},{body:"**Plugin layout changed.** Extensions now live at `<kind>s/<name>/index.js` (e.g. `extractors/keyword-counter/index.js`); `plugin.json` no longer lists `extensions[]` and requires `granularity`. Run `sm plugins doctor` after migrating, or use `sm plugins create` for new plugins.",packages:["@skill-map/cli","@skill-map/spec","@skill-map/testkit"]}]},{version:"0.28.0",date:"2026-05-15",kind:"user-facing",highlights:[{body:"A new **Matrix** theme is now available in Settings \u2192 General \u2192 Theme. Once enabled it overrides the topbar dark/light toggle; click that toggle to exit Matrix and return to your previous dark/light mode in one step.",packages:["@skill-map/cli"]},{body:"`sm plugins show core` (and the same verb against any user plugin) now groups extensions by kind in pipeline order, **provider, extractor, analyzer, action, formatter, hook**, with each group sorted by id. The JSON output is unchanged.",packages:["@skill-map/cli"]},{body:'The `Update available` banner now leads with a **down arrow** (`\u2B07`) instead of the previous up arrow, reading as "an update is coming in" rather than "upgrade outward".',packages:["@skill-map/cli"]}]},{version:"0.26.2",date:"2026-05-15",kind:"user-facing",highlights:[{body:"`sm plugins show <bundle>/<ext>` now shows the requested extension's own detail (Kind, Version, Stability, Description, Preconditions, Entry) instead of dumping the parent bundle. `--json` returns just that extension. Bare bundle ids (`sm plugins show core`) are unchanged.",packages:["@skill-map/cli"]}]},{version:"0.26.0",date:"2026-05-15",kind:"user-facing",highlights:[{body:"**Bidirectional `.sm` relations no longer double-count.** A relation declared from both sides (e.g. `supersedes` + `supersededBy`) now tallies as `1` in the `linksIn` / `linksOut` chips and the graph. Before, the count was inflated on cold start and dropped on the next save.",packages:["@skill-map/cli"]},{body:"The `.sm` annotation catalog shrinks from 13 to 10 fields. `requires`, `related`, and `conflictsWith` were dropped, their edges all rendered as plain `references` and added no extra meaning. Existing sidecars keep working; the three keys are now flagged by `unknown-field`.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Broken frontmatter now lights up on the graph.** Vendor agent/skill nodes missing `name` or `description` show a red alert badge and a matching footer chip, same chassis as broken references. Trigger-style links (`/cmd`, `@handle`) now also tally into the target's `linksIn`.",packages:["@skill-map/cli"]}]},{version:"0.25.0",date:"2026-05-14",kind:"user-facing",highlights:[{body:"**`sm list` and `sm show` now report tokens, not bytes.** The `BYTES` column on `sm list` is now `TOKENS` (cl100k_base, frontmatter + body), and `sm show` lists `Tokens:` instead of `Bytes:`. Sort with `--sort-by tokens_total`. `--json` is unchanged.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**`sm tutorial master`** materializes the advanced tester walkthrough (`sm-master.md`) in your cwd. Trigger it from Claude Code with `ejecut\xE1 @sm-master.md`. Bare `sm tutorial` keeps its previous behaviour and writes `sm-tutorial.md`.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.24.5",date:"2026-05-14",kind:"internal",highlights:[]},{version:"0.24.4",date:"2026-05-13",kind:"internal",highlights:[]},{version:"0.24.3",date:"2026-05-13",kind:"internal",highlights:[]},{version:"0.24.2",date:"2026-05-13",kind:"user-facing",highlights:[{body:'**Graph edge style picker** \u2014 Settings \u2192 General now has an "Edge style" control. Pick **Orthogonal**, **Straight**, **Bezier**, or **Adaptive curve** (new default) and the graph re-renders immediately. The choice is remembered in this browser only.',packages:["@skill-map/cli"]},{body:"**Edge look refresh** \u2014 graph edges now show a small **dot at the start** and arrow at the end, with thinner strokes and softer colors. Kind colors (invokes / references / mentions / supersedes) are still distinct but no longer compete with the node cards for attention.",packages:["@skill-map/cli"]},{body:"**Click an edge to highlight it** \u2014 clicking a connection in the graph now selects it: the line grows a touch thicker and saturates to its full colour (same hue as the base, just louder). Click elsewhere on the canvas to clear the selection.",packages:["@skill-map/cli"]},{body:"**Footer link icons refresh** \u2014 the incoming / outgoing link counters on each node card now use the classic **download / upload** glyphs instead of plain up / down arrows. The arrow shape stays exclusive to the graph's edges, which keeps the visual vocabulary clearer.",packages:["@skill-map/cli"]}]},{version:"0.24.1",date:"2026-05-13",kind:"user-facing",highlights:[{body:'**Graph edge style picker** \u2014 Settings \u2192 General now has an "Edge style" control. Pick **Orthogonal** (default), **Straight**, **Bezier**, or **Adaptive curve** and the graph re-renders immediately. The choice is remembered in this browser only.',packages:["@skill-map/cli"]}]},{version:"0.24.0",date:"2026-05-13",kind:"user-facing",highlights:[{body:"**CLI flags fixed.** `sm refresh`, `sm watch`, `sm jobs prune` now honor `--db` / `-g`. `sm watch` and `sm scan --watch` honor `--no-color`. `sm scan --watch` names the conflicting flag on combo errors. `sm conformance run` progress moved to stderr; `--quiet` silences it.",packages:["@skill-map/cli"]}]},{version:"0.23.1",date:"2026-05-12",kind:"user-facing",highlights:[{body:"Inspector chips and the hero card now render their variant styling (link, warn, broken, danger, hero accent border). They had silently been rendering as bare defaults since PrimeNG 21 changed how `[styleClass]` is applied to chip and card hosts.",packages:["@skill-map/cli"]}]},{version:"0.23.0",date:"2026-05-12",kind:"user-facing",highlights:[{body:'Node inspector will split actions into "Applicable" (always available) and "Recommended" (per finding). First pairing: stale sidecar recommends running `bump`. UI hookup lands in the next iteration; the spec field ships first.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm plugins create <id> -g` now scaffolds under `~/.skill-map/plugins/<id>` instead of the project dir. The flag was advertised in `--help` but previously ignored.",packages:["@skill-map/cli"]},{body:"`sm refresh`, `sm plugins doctor`, and `sm conformance run` now respect `--json` for machine-readable output. `sm graph --format json` is a new format that emits the full ScanResult. CI / scripts can parse these instead of the human text.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm serve` now rejects browser requests whose `Host` or `Origin` is not a loopback name. Closes a DNS-rebinding lane where a malicious page could trigger scans or settings writes. `--dev-cors` still works for Vite-style dev UIs on a different loopback port.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm` now refuses to grant the `.sm` write consent (or apply `scan.extraFolders` / `scan.referencePaths`) from user-level config. The first prompt re-appears per project. Move stray values into `<project>/.skill-map/settings.local.json` (gitignored).",packages:["@skill-map/cli"]}]},{version:"0.22.0",date:"2026-05-12",kind:"user-facing",highlights:[{body:'The "include HOME" toggle is gone. To scan paths outside the project, list them in **Extra folders to scan** (renamed from *Extra roots*). If you had `scan.includeHome: true`, add the paths you actually need (e.g. `~/.claude/agents`), not one click anymore.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.21.0",date:"2026-05-10",kind:"user-facing",highlights:[{body:"Expanded node cards now show the file path above the description and a provider chip (Claude, Gemini, Open Skills). Favorite toggle uses a star instead of a heart.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Disabling a plugin now removes its card chips from the UI immediately. Previously the chips lingered until the next `sm scan`, making the toggle look broken.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"The card footer is cleaner: the three outgoing counters (`@`-mentions, markdown links, `/`-commands) share a single `\u2193` arrow glyph on the left, and the URL counter keeps its link glyph on the right. Three legacy hardcoded chips (in / out links, external URLs) were removed.",packages:["@skill-map/cli"]},{body:"`sm plugins show core/<ext>` now resolves like `enable`/`disable` do, and `sm plugins list` marks individually-disabled extensions with `\u2715`. The `sm tutorial` content is realigned with the v0.20.0 verbs (no more `sm graph --root` / `sm export --kind` / `kind: hook` claims).",packages:["@skill-map/cli"]},{body:"The view slot `card.footer.left.counter` was renamed to `card.footer.left`, symmetrical with `card.footer.right`. Plugin authors using the old literal in `plugin.json` need to update it; the scaffolder emits the new name automatically.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"The topbar now shows the full project path under the **skill-map** wordmark, so a screenshot or a quick glance at the UI is always self-identifying. Previously only the last folder segment was shown, and projects scanned from their own root saw no path at all.",packages:["@skill-map/cli"]}]},{version:"0.20.0",date:"2026-05-10",kind:"user-facing",highlights:[{body:'**Update-check is now a user preference.** Whether you see "Update available" notifications no longer depends on the project you are scanning. The toggle moved to **Settings \u2192 General**; the CLI equivalent is `sm config set -g updateCheck.enabled <bool>`.',packages:["@skill-map/cli"]},{body:"**`sm scan` now flags orphan job files.** A new check scans `.skill-map/jobs/` for MD files that no DB row references and reports each as a `warn` issue. To delete the files, run `sm bump prune --orphan-files` (unchanged).",packages:["@skill-map/cli"]},{body:"**`sm scan -g` now scans your HOME directory.** Run `sm scan -g` (without positional roots) to walk every active provider's HOME dir, typically `~/.claude`, `~/.gemini`, `~/.agents`, using the global config + DB.",packages:["@skill-map/cli"]},{body:"**Three new privacy-sensitive project settings** in Settings \u2192 Project: *include HOME provider directories*, *extra scan roots*, and *reference paths for link validation*. Every change that expands disk access beyond your project root requires explicit confirmation.",packages:["@skill-map/cli"]},{body:'**Reset Layout uses a proper dialog.** The "Reset all node positions" action used to fire a browser-native `confirm()` popup; it now uses the in-app dialog style with a destructive-styled "Reset" button and a "Cancel" escape.',packages:["@skill-map/cli"]},{body:'**Plugins can be locked by the host.** Settings \u2192 Plugins shows a "Locked" pill on plugins marked as mandatory (today only `core/markdown`, the universal `.md` fallback). The toggle stays visible but disabled, with a tooltip explaining why.',packages:["@skill-map/cli"]}]},{version:"0.19.0",date:"2026-05-09",kind:"user-facing",highlights:[{body:"**Settings \u2192 Changelog.** The Changelog tab in Settings now lists what's new in skill-map: one entry per release, newest first, bullet points for the user-facing changes. Bundled with the demo so it's available offline too.",packages:["@skill-map/cli"]},{body:"**Tags zoom-to-matching.** Clicking a tag chip in the inspector now pans + zooms the graph to fit every node that carries the tag. Click the same chip again to clear the selection and return to the previous view.",packages:["@skill-map/cli"]}]},{version:"0.18.0",date:"2026-05-07",kind:"user-facing",highlights:[{body:"**Bump sidecars in batch.** New `sm bump --pending` walks every node whose `.sm` sidecar reports drift and refreshes them in one pass. Single-node `sm bump <path>` also lands.",packages:["@skill-map/cli"]},{body:'**Annotation field dropped: `released`.** Redundant with `audit.lastBumpedAt`. The inspector and node card now read the activity timestamp from the `audit:` block, no more confusion between "officially released" and "last bumped".',packages:["@skill-map/cli"]}]},{version:"0.17.0",date:"2026-04-29",kind:"user-facing",highlights:[{body:"**Per-node chips in the graph card and inspector.** Plugins can now decorate nodes with counters, alerts, and key-value rows. Two come built-in: external-URL count per node, and in/out link counts.",packages:["@skill-map/cli"]},{body:"**Multi-provider graphs.** Claude, Gemini, and the open-standard `agent-skills` flavour now coexist in the same graph. Cards paint with each Provider's accent; the kind palette in the graph view filters on the actual node kind names.",packages:["@skill-map/cli"]}]}]};var Kt=zt;var hn=(t,n)=>n.version;function _n(t,n){if(t&1&&(v(0,"p",3),d(1),x()),t&2){let e=l();o(),f(" ",e.texts.changelogEmpty," ")}}function fn(t,n){if(t&1&&(v(0,"p",10),d(1),x()),t&2){let e=l(3);o(),f(" ",e.texts.changelogInternalRelease," ")}}function bn(t,n){if(t&1&&(v(0,"li",15),d(1),x()),t&2){let e=n.$implicit;o(),u(e)}}function vn(t,n){if(t&1&&(v(0,"ul",14),I(1,bn,2,1,"li",15,Y),x()),t&2){let e=l().$implicit,i=l(4);b("aria-label",i.texts.changelogAffectedPackages),o(),O(e.packages)}}function xn(t,n){if(t&1&&(v(0,"li",12),te(1,"div",13),m(2,vn,3,1,"ul",14),x()),t&2){let e=n.$implicit;o(),J("innerHTML",e.bodyHtml,it),o(),h(e.packages.length?2:-1)}}function yn(t,n){if(t&1&&(v(0,"ul",11),I(1,xn,3,2,"li",12,st),x()),t&2){let e=l().$implicit;o(),O(e.highlights)}}function Cn(t,n){if(t&1&&(v(0,"li",6)(1,"header",7)(2,"span",8),d(3),x(),v(4,"span",9),d(5),x()(),m(6,fn,2,1,"p",10)(7,yn,3,0,"ul",11),x()),t&2){let e=n.$implicit;K("settings-changelog__entry--internal",e.kind==="internal"),b("data-testid","settings-changelog-entry-"+e.version),o(3),f("v",e.version),o(2),u(e.date),o(),h(e.kind==="internal"?6:7)}}function wn(t,n){if(t&1&&(v(0,"ol",4),I(1,Cn,8,6,"li",5,hn),x()),t&2){let e=l();o(),O(e.entries())}}var De=class t{markdown=T(jt);texts=k;entries=_([]);hasEntries=y(()=>this.entries().length>0);ngOnInit(){this.renderAll()}async renderAll(){let n=[];for(let e of Kt.entries){let i=[];for(let r of e.highlights)i.push({bodyHtml:await this.markdown.render(r.body),packages:r.packages});n.push({version:e.version,date:this.formatDate(e.date),kind:e.kind,highlights:i})}this.entries.set(n)}formatDate(n){let e=new Date(n+"T00:00:00Z");return Number.isNaN(e.getTime())?n:new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(e)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-changelog"]],decls:7,vars:4,consts:[["data-testid","settings-changelog",1,"settings-changelog"],["id","settings-changelog-heading",1,"settings-changelog__title"],[1,"settings-changelog__intro"],["data-testid","settings-changelog-empty",1,"settings-changelog__empty"],["role","list",1,"settings-changelog__list"],[1,"settings-changelog__entry",3,"settings-changelog__entry--internal"],[1,"settings-changelog__entry"],[1,"settings-changelog__entry-header"],[1,"settings-changelog__version"],[1,"settings-changelog__date"],[1,"settings-changelog__internal-body"],["role","list",1,"settings-changelog__highlights"],[1,"settings-changelog__highlight"],[1,"settings-changelog__highlight-body",3,"innerHTML"],["role","list",1,"settings-changelog__packages"],[1,"settings-changelog__package"]],template:function(e,i){e&1&&(v(0,"section",0)(1,"h2",1),d(2),x(),v(3,"p",2),d(4),x(),m(5,_n,2,1,"p",3)(6,wn,3,0,"ol",4),x()),e&2&&(b("aria-labelledby","settings-changelog-heading"),o(2),f(" ",i.texts.changelogHeading," "),o(2),u(i.texts.changelogIntro),o(),h(i.hasEntries()?6:5))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-changelog__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-changelog__empty[_ngcontent-%COMP%]{margin:1.5rem 0 0;font-size:.9rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.settings-changelog__entry[_ngcontent-%COMP%]{border-left:2px solid var(--p-primary-color);padding:.25rem 0 .25rem .85rem}.settings-changelog__entry--internal[_ngcontent-%COMP%]{border-left-color:var(--sm-border)}.settings-changelog__entry-header[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.6rem;margin-bottom:.45rem}.settings-changelog__version[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.95rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__date[_ngcontent-%COMP%]{font-size:.78rem;color:var(--sm-text-muted)}.settings-changelog__internal-body[_ngcontent-%COMP%]{margin:0;font-size:.85rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__highlights[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}.settings-changelog__highlight[_ngcontent-%COMP%]{font-size:.88rem;line-height:1.5;color:var(--p-text-color)}.settings-changelog__highlight-body[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p+p{margin-top:.45rem}[_nghost-%COMP%] .settings-changelog__highlight-body code{font-family:var(--sm-font-mono);font-size:.82rem;padding:.05rem .3rem;border-radius:var(--sm-radius-sm);background:var(--sm-bg-hover);color:var(--p-text-color)}[_nghost-%COMP%] .settings-changelog__highlight-body a{color:var(--p-primary-color);text-decoration:underline}[_nghost-%COMP%] .settings-changelog__highlight-body strong{font-weight:600}.settings-changelog__packages[_ngcontent-%COMP%]{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}.settings-changelog__package[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.7rem;padding:.1rem .4rem;border-radius:var(--sm-radius-sm);background:var(--sm-bg-hover);color:var(--sm-text-muted);border:1px solid var(--sm-border);line-height:1.4}"],changeDetection:0})};var $t=`
|
|
2
|
+
.p-toggleswitch {
|
|
3
|
+
display: inline-block;
|
|
4
|
+
width: dt('toggleswitch.width');
|
|
5
|
+
height: dt('toggleswitch.height');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-toggleswitch-input {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
appearance: none;
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 0;
|
|
13
|
+
inset-inline-start: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
outline: 0 none;
|
|
21
|
+
border-radius: dt('toggleswitch.border.radius');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-toggleswitch-slider {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
border-width: dt('toggleswitch.border.width');
|
|
29
|
+
border-style: solid;
|
|
30
|
+
border-color: dt('toggleswitch.border.color');
|
|
31
|
+
background: dt('toggleswitch.background');
|
|
32
|
+
transition:
|
|
33
|
+
background dt('toggleswitch.transition.duration'),
|
|
34
|
+
color dt('toggleswitch.transition.duration'),
|
|
35
|
+
border-color dt('toggleswitch.transition.duration'),
|
|
36
|
+
outline-color dt('toggleswitch.transition.duration'),
|
|
37
|
+
box-shadow dt('toggleswitch.transition.duration');
|
|
38
|
+
border-radius: dt('toggleswitch.border.radius');
|
|
39
|
+
outline-color: transparent;
|
|
40
|
+
box-shadow: dt('toggleswitch.shadow');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-toggleswitch-handle {
|
|
44
|
+
position: absolute;
|
|
45
|
+
top: 50%;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
background: dt('toggleswitch.handle.background');
|
|
50
|
+
color: dt('toggleswitch.handle.color');
|
|
51
|
+
width: dt('toggleswitch.handle.size');
|
|
52
|
+
height: dt('toggleswitch.handle.size');
|
|
53
|
+
inset-inline-start: dt('toggleswitch.gap');
|
|
54
|
+
margin-block-start: calc(-1 * calc(dt('toggleswitch.handle.size') / 2));
|
|
55
|
+
border-radius: dt('toggleswitch.handle.border.radius');
|
|
56
|
+
transition:
|
|
57
|
+
background dt('toggleswitch.transition.duration'),
|
|
58
|
+
color dt('toggleswitch.transition.duration'),
|
|
59
|
+
inset-inline-start dt('toggleswitch.slide.duration'),
|
|
60
|
+
box-shadow dt('toggleswitch.slide.duration');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-slider {
|
|
64
|
+
background: dt('toggleswitch.checked.background');
|
|
65
|
+
border-color: dt('toggleswitch.checked.border.color');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-handle {
|
|
69
|
+
background: dt('toggleswitch.handle.checked.background');
|
|
70
|
+
color: dt('toggleswitch.handle.checked.color');
|
|
71
|
+
inset-inline-start: calc(dt('toggleswitch.width') - calc(dt('toggleswitch.handle.size') + dt('toggleswitch.gap')));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-slider {
|
|
75
|
+
background: dt('toggleswitch.hover.background');
|
|
76
|
+
border-color: dt('toggleswitch.hover.border.color');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-handle {
|
|
80
|
+
background: dt('toggleswitch.handle.hover.background');
|
|
81
|
+
color: dt('toggleswitch.handle.hover.color');
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-slider {
|
|
85
|
+
background: dt('toggleswitch.checked.hover.background');
|
|
86
|
+
border-color: dt('toggleswitch.checked.hover.border.color');
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-handle {
|
|
90
|
+
background: dt('toggleswitch.handle.checked.hover.background');
|
|
91
|
+
color: dt('toggleswitch.handle.checked.hover.color');
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:focus-visible) .p-toggleswitch-slider {
|
|
95
|
+
box-shadow: dt('toggleswitch.focus.ring.shadow');
|
|
96
|
+
outline: dt('toggleswitch.focus.ring.width') dt('toggleswitch.focus.ring.style') dt('toggleswitch.focus.ring.color');
|
|
97
|
+
outline-offset: dt('toggleswitch.focus.ring.offset');
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-toggleswitch.p-invalid > .p-toggleswitch-slider {
|
|
101
|
+
border-color: dt('toggleswitch.invalid.border.color');
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.p-toggleswitch.p-disabled {
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.p-toggleswitch.p-disabled .p-toggleswitch-slider {
|
|
109
|
+
background: dt('toggleswitch.disabled.background');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-toggleswitch.p-disabled .p-toggleswitch-handle {
|
|
113
|
+
background: dt('toggleswitch.handle.disabled.background');
|
|
114
|
+
}
|
|
115
|
+
`;var kn=["handle"],Pn=["input"],Sn=t=>({checked:t});function En(t,n){t&1&<(0)}function Tn(t,n){if(t&1&&ee(0,En,1,0,"ng-container",3),t&2){let e=l();p("ngTemplateOutlet",e.handleTemplate||e._handleTemplate)("ngTemplateOutletContext",ut(2,Sn,e.checked()))}}var Mn=`
|
|
116
|
+
${$t}
|
|
117
|
+
|
|
118
|
+
p-toggleswitch.ng-invalid.ng-dirty > .p-toggleswitch-slider {
|
|
119
|
+
border-color: dt('toggleswitch.invalid.border.color');
|
|
120
|
+
}
|
|
121
|
+
`,In={root:{position:"relative"}},On={root:({instance:t})=>["p-toggleswitch p-component",{"p-toggleswitch p-component":!0,"p-toggleswitch-checked":t.checked(),"p-disabled":t.$disabled(),"p-invalid":t.invalid()}],input:"p-toggleswitch-input",slider:"p-toggleswitch-slider",handle:"p-toggleswitch-handle"},Gt=(()=>{class t extends vt{name="toggleswitch";style=Mn;classes=On;inlineStyles=In;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Be(t)))(r||t)}})();static \u0275prov=Je({token:t,factory:t.\u0275fac})}return t})();var Ht=new et("TOGGLESWITCH_INSTANCE"),jn={provide:Pt,useExisting:Ye(()=>ge),multi:!0},ge=(()=>{class t extends Mt{componentName="ToggleSwitch";$pcToggleSwitch=T(Ht,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=T(fe,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;tabindex;inputId;readonly;trueValue=!0;falseValue=!1;ariaLabel;size=R();ariaLabelledBy;autofocus;onChange=new nt;input;handleTemplate;_handleTemplate;focused=!1;_componentStyle=T(Gt);templates;onHostClick(e){this.onClick(e)}onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="handle"?this._handleTemplate=e.template:this._handleTemplate=e.template})}onClick(e){!this.$disabled()&&!this.readonly&&(this.writeModelValue(this.checked()?this.falseValue:this.trueValue),this.onModelChange(this.modelValue()),this.onChange.emit({originalEvent:e,checked:this.modelValue()}),this.input.nativeElement.focus())}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}checked(){return this.modelValue()===this.trueValue}writeControlValue(e,i){i(e),this.cd.markForCheck()}get dataP(){return this.cn({checked:this.checked(),disabled:this.$disabled(),invalid:this.invalid()})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Be(t)))(r||t)}})();static \u0275cmp=N({type:t,selectors:[["p-toggleswitch"],["p-toggleSwitch"],["p-toggle-switch"]],contentQueries:function(i,r,c){if(i&1&&dt(c,kn,4)(c,we,4),i&2){let g;ve(g=xe())&&(r.handleTemplate=g.first),ve(g=xe())&&(r.templates=g)}},viewQuery:function(i,r){if(i&1&&ct(Pn,5),i&2){let c;ve(c=xe())&&(r.input=c.first)}},hostVars:7,hostBindings:function(i,r){i&1&&w("click",function(g){return r.onHostClick(g)}),i&2&&(b("data-p-checked",r.checked())("data-p-disabled",r.$disabled())("data-p",r.dataP),ye(r.sx("root")),_e(r.cn(r.cx("root"),r.styleClass)))},inputs:{styleClass:"styleClass",tabindex:[2,"tabindex","tabindex",_t],inputId:"inputId",readonly:[2,"readonly","readonly",Ke],trueValue:"trueValue",falseValue:"falseValue",ariaLabel:"ariaLabel",size:[1,"size"],ariaLabelledBy:"ariaLabelledBy",autofocus:[2,"autofocus","autofocus",Ke]},outputs:{onChange:"onChange"},features:[ne([jn,Gt,{provide:Ht,useExisting:t},{provide:xt,useExisting:t}]),rt([fe]),at],decls:5,vars:22,consts:[["input",""],["type","checkbox","role","switch",3,"focus","blur","checked","pAutoFocus","pBind"],[3,"pBind"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){i&1&&(s(0,"input",1,0),w("focus",function(){return r.onFocus()})("blur",function(){return r.onBlur()}),a(),s(2,"div",2)(3,"div",2),m(4,Tn,1,4,"ng-container"),a()()),i&2&&(_e(r.cx("input")),p("checked",r.checked())("pAutoFocus",r.autofocus)("pBind",r.ptm("input")),b("id",r.inputId)("required",r.required()?"":void 0)("disabled",r.$disabled()?"":void 0)("aria-checked",r.checked())("aria-labelledby",r.ariaLabelledBy)("aria-label",r.ariaLabel)("name",r.name())("tabindex",r.tabindex),o(2),_e(r.cx("slider")),p("pBind",r.ptm("slider")),b("data-p",r.dataP),o(),_e(r.cx("handle")),p("pBind",r.ptm("handle")),b("data-p",r.dataP),o(),h(r.handleTemplate||r._handleTemplate?4:-1))},dependencies:[bt,ft,yt,ke,Ct,fe],encapsulation:2,changeDetection:0})}return t})(),Ae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ot({type:t});static \u0275inj=Ze({imports:[ge,ke,ke]})}return t})();var Dn=(t,n)=>n.key;function An(t,n){if(t&1&&(s(0,"p-message",3),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.general.loadErrorPrefix," ",n," ")}}function Fn(t,n){if(t&1&&(s(0,"p-message",4),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.general.saveErrorPrefix," ",n," ")}}function Nn(t,n){if(t&1){let e=j();s(0,"li",6)(1,"div",9)(2,"div",10),d(3),a(),s(4,"div",11),d(5),a()(),s(6,"p-toggleswitch",14),w("ngModelChange",function(r){let c=P(e).$implicit,g=l();return S(g.onToggle(c,r))}),a()()}if(t&2){let e=n.$implicit,i=l();b("data-testid","settings-general-row-"+e.key),o(3),u(i.toggleLabel(e.key)),o(2),f(" ",i.toggleDescription(e.key)," "),o(),p("ngModel",i.valueOf(e))("disabled",i.loading()||i.isPending(e.key)||i.preferences()===null),b("data-testid","settings-general-toggle-"+e.key)}}function Vn(t,n){if(t&1&&(s(0,"span",15),d(1),a()),t&2){let e=n.$implicit,i=l();o(),f(" ",i.extraThemeLabel(e.labelKey)," ")}}var Ln=[{key:"updateCheck.enabled",read:t=>t.updateCheck.enabled,patch:t=>({updateCheck:{enabled:t}})}],Rn=[{value:"none",labelKey:"none"},{value:"matrix",labelKey:"matrix"}];function Bn(t){return t==="matrix"?"matrix":"none"}function zn(t){return t==="matrix"?"matrix":null}var Fe=class t{dataSource=T(U);themeService=T(Oe);visible=R.required();texts=k;toggles=Ln;extraThemeOptions=Rn;extraThemeWire=y(()=>Bn(this.themeService.extraTheme()));loading=_(!1);loadError=_(null);saveError=_(null);preferences=_(null);pending=_(new Set);constructor(){L(()=>{this.visible()&&this.refresh()})}toggleLabel(n){return k.general.toggles[n].label}toggleDescription(n){return k.general.toggles[n].description}valueOf(n){let e=this.preferences();return e?n.read(e):!1}isPending(n){return this.pending().has(n)}onToggle(n,e){this.runToggle(n,e)}onExtraThemeChange(n){this.themeService.setExtraTheme(zn(n??"none"))}extraThemeLabel(n){return k.general.extraTheme.options[n].label}async refresh(){this.loading.set(!0),this.loadError.set(null),this.saveError.set(null);try{let n=await this.dataSource.getPreferences();this.preferences.set(n)}catch(n){this.loadError.set(qt(n)),this.preferences.set(null)}finally{this.loading.set(!1)}}async runToggle(n,e){if(this.pending().has(n.key))return;let i=new Set(this.pending());i.add(n.key),this.pending.set(i),this.saveError.set(null);try{let r=await this.dataSource.setPreferences(n.patch(e));this.preferences.set(r)}catch(r){this.saveError.set(qt(r))}finally{let r=new Set(this.pending());r.delete(n.key),this.pending.set(r)}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-general"]],inputs:{visible:[1,"visible"]},decls:23,vars:12,consts:[["data-testid","settings-general",1,"settings-general"],["id","settings-general-heading",1,"settings-general__title"],[1,"settings-general__intro"],["severity","error","data-testid","settings-general-load-error",3,"closable"],["severity","error","data-testid","settings-general-save-error",3,"closable"],["role","list",1,"settings-general__list"],[1,"settings-general__row"],[1,"settings-general__subheading"],["data-testid","settings-general-row-extra-theme",1,"settings-general__row","settings-general__row--stacked"],[1,"settings-general__row-text"],[1,"settings-general__row-label"],[1,"settings-general__row-description"],["optionLabel","labelKey","optionValue","value","data-testid","settings-general-extra-theme",3,"ngModelChange","options","ngModel","allowEmpty"],["pTemplate","item"],[3,"ngModelChange","ngModel","disabled"],["data-testid","settings-general-extra-theme-option"]],template:function(e,i){if(e&1&&(s(0,"section",0)(1,"h2",1),d(2),a(),s(3,"p",2),d(4),a(),m(5,An,2,3,"p-message",3),m(6,Fn,2,3,"p-message",4),s(7,"ul",5),I(8,Nn,7,6,"li",6,Dn),a(),s(10,"h3",7),d(11),a(),s(12,"p",2),d(13),a(),s(14,"ul",5)(15,"li",8)(16,"div",9)(17,"div",10),d(18),a(),s(19,"div",11),d(20),a()(),s(21,"p-selectbutton",12),w("ngModelChange",function(c){return i.onExtraThemeChange(c)}),ee(22,Vn,2,1,"ng-template",13),a()()()()),e&2){let r,c;b("aria-labelledby","settings-general-heading"),o(2),f(" ",i.texts.general.heading," "),o(2),u(i.texts.general.intro),o(),h((r=i.loadError())?5:-1,r),o(),h((c=i.saveError())?6:-1,c),o(2),O(i.toggles),o(3),f(" ",i.texts.general.localPreferences.heading," "),o(2),f(" ",i.texts.general.localPreferences.intro," "),o(5),f(" ",i.texts.general.extraTheme.label," "),o(2),f(" ",i.texts.general.extraTheme.description," "),o(),p("options",i.extraThemeOptions)("ngModel",i.extraThemeWire())("allowEmpty",!1)}},dependencies:[se,re,ae,de,le,we,Lt,Vt,Ae,ge],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-general__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-general__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-general__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.settings-general__row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:.5rem;background:var(--p-content-background)}.settings-general__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.settings-general__row-label[_ngcontent-%COMP%]{font-size:.9rem;font-weight:600;color:var(--p-text-color)}.settings-general__row-description[_ngcontent-%COMP%]{font-size:.8rem;color:var(--sm-text-muted);line-height:1.45}.settings-general__subheading[_ngcontent-%COMP%]{margin:1.75rem 0 .25rem;font-size:.95rem;font-weight:600;color:var(--p-text-color)}.settings-general__row--stacked[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:.65rem}"],changeDetection:0})};function qt(t){return t instanceof G||t instanceof Error?t.message:String(t)}var $e={provider:"#7C3AED",extractor:"#A78BFA",analyzer:"#5FD17C",action:"#00C853",formatter:"#5BC0EB",hook:"#FFB627"};function Xt(t){let n=t.toLowerCase();return $e[n]??"currentColor"}var Le=["all",...Object.keys($e)],Ne=["claude","gemini","agent-skills","core"],Ve=["provider","extractor","analyzer","action","formatter","hook"];function pe(t,n){return`${t}/${n}`}function Ge(t){let n=new Map;for(let e of t)if(!ue(e.status)){if(e.granularity==="bundle"){n.set(e.id,e.status==="enabled");continue}if(e.granularity==="extension"&&e.extensions)for(let i of e.extensions)n.set(pe(e.id,i.id),i.enabled)}return n}function He(t){let n=t.target;return!n||typeof n.closest!="function"?!1:n.closest('label, button, input, [role="switch"], p-toggleswitch')!==null}function Yt(t,n){if(Kn(t,n))return[t];if(t.granularity!=="extension"||!t.extensions)return[];let e=t.extensions.filter(i=>$n(i,n));return e.length===0?[]:[X(H({},t),{extensions:e})]}function Jt(t,n){if(t.granularity==="bundle")return t.kinds.some(i=>i.toLowerCase()===n)?[t]:[];if(!t.extensions)return[];let e=t.extensions.filter(i=>i.kind.toLowerCase()===n);return e.length===0?[]:[X(H({},t),{extensions:e})]}function Zt(t){if(t.locked)return[];if(t.granularity!=="extension"||!t.extensions)return[t];let n=t.extensions.filter(e=>!e.locked);return n.length===0?[]:[X(H({},t),{extensions:n})]}function en(t){return t.slice().sort((e,i)=>{let r=Ne.indexOf(e.id),c=Ne.indexOf(i.id),g=r>=0?r:Ne.length,C=c>=0?c:Ne.length;return g!==C?g-C:e.id.localeCompare(i.id)}).map(e=>{if(e.granularity!=="extension"||!e.extensions)return e;let i=e.extensions.slice().sort((r,c)=>{let g=Ve.indexOf(r.kind.toLowerCase()),C=Ve.indexOf(c.kind.toLowerCase()),B=g>=0?g:Ve.length,A=C>=0?C:Ve.length;return B!==A?B-A:r.id.localeCompare(c.id)});return X(H({},e),{extensions:i})})}function Kn(t,n){return!!(t.id.toLowerCase().includes(n)||t.description&&t.description.toLowerCase().includes(n))}function $n(t,n){return!!(t.id.toLowerCase().includes(n)||t.description&&t.description.toLowerCase().includes(n))}function ue(t){return t==="incompatible-spec"||t==="invalid-manifest"||t==="load-error"||t==="id-collision"}function Ue(t){return t instanceof G||t instanceof Error?t.message:String(t)}function tn(t,n){return ue(t.status)?n.statusFailure[t.status]??t.status:t.status==="enabled"?n.enabledLabel:n.disabledLabel}function nn(t,n){switch(t){case"built-in":return n.sourceBuiltIn;case"project":return n.sourceProject}}var qe="sm.settings.plugins.collapsed",We="sm.settings.plugins.kind-filter";function on(){let t=null;try{t=localStorage.getItem(qe)}catch{return new Set}if(!t)return new Set;let n;try{n=JSON.parse(t)}catch{return new Set}if(!Array.isArray(n))return new Set;let e=new Set;for(let i of n)typeof i=="string"&&i.length>0&&e.add(i);return e}function rn(t){try{if(t.size===0){localStorage.removeItem(qe);return}localStorage.setItem(qe,JSON.stringify([...t]))}catch{}}function an(){let t=null;try{t=localStorage.getItem(We)}catch{return"all"}return t&&Le.includes(t)?t:"all"}function sn(t){try{if(t==="all"){localStorage.removeItem(We);return}localStorage.setItem(We,t)}catch{}}function Qe(){tt(Qe);let t=_(on());L(()=>rn(t()));let n=i=>{let r=new Set(t());r.has(i)?r.delete(i):r.add(i),t.set(r)},e=i=>!t().has(i);return{collapsed:t.asReadonly(),toggleExpanded:n,isExpanded:e}}function ln(t){let n=_(""),e=y(()=>n().trim().length>0),i=_(an()),r=y(()=>i()!=="all");L(()=>sn(i()));let c=y(()=>en(t.plugins().flatMap(Zt))),g=y(()=>{let A=n().trim().toLowerCase(),q=i(),z=c();return q!=="all"&&(z=z.flatMap(W=>Jt(W,q))),A.length>0&&(z=z.flatMap(W=>Yt(W,A))),z});return{searchText:n,searchActive:e,kindFilter:i,setKindFilter:A=>{i.set(A)},isKindFilterActive:A=>i()===A,kindFilterActive:r,kindFilterOptions:Le,visiblePlugins:c,filteredPlugins:g}}function dn(t){let n=_(!1),e=_(null),i=_(null),r=_([]),c=_(new Map),g=_(new Map),C=_(!1),B=y(()=>{let E=c(),F=g(),$=new Set;for(let[Q,V]of F)E.get(Q)!==V&&$.add(Q);return $}),A=y(()=>B().size>0),q=y(()=>r().some(E=>ue(E.status))),z=y(()=>{let E=g();for(let F of r())if(F.startsAsDisabled===!0&&E.get(F.id)===!0)return!0;return!1});return{plugins:r,loading:n,loadError:e,toggleError:i,applying:C,hasFailureRows:q,originalState:c,pendingState:g,dirtyIds:B,hasPendingChanges:A,restartRecommended:z,pendingEnabled:E=>g().get(E)??!1,isDirty:E=>B().has(E),refresh:async()=>{n.set(!0),e.set(null),i.set(null);try{let E=await t.dataSource.listPlugins();r.set([...E.items]);let F=Ge(E.items);c.set(F),g.set(new Map(F))}catch(E){e.set(Ue(E)),r.set([]),c.set(new Map),g.set(new Map)}finally{n.set(!1)}},onBundleToggle:(E,F)=>{if(C())return;let $=new Map(g());$.set(E.id,F),g.set($)},onExtensionToggle:(E,F,$)=>{if(C())return;let Q=pe(E,F.id),V=new Map(g());V.set(Q,$),g.set(V)},applyChanges:async()=>{if(C())return{ok:!1};let E=B();if(E.size===0)return{ok:!1};let F=[],$=g();for(let V of E)F.push({id:V,enabled:$.get(V)??!1});C.set(!0),i.set(null);let Q=!1;try{let V=await t.dataSource.applyPluginChanges(F);r.set([...V.items]);let Xe=Ge(V.items);c.set(Xe),g.set(new Map(Xe)),t.scanTrigger.run(),Q=!0}catch(V){i.set(Ue(V))}finally{C.set(!1)}return{ok:Q}},discardChanges:()=>{g.set(new Map(c())),i.set(null)}}}var cn=(t,n)=>n.id;function Un(t,n){if(t&1&&d(0),t&2){let e=l().$implicit,i=l();f(" ",e==="all"?i.texts.pluginsKindFilterAll:e," ")}}function qn(t,n){if(t&1){let e=j();s(0,"p-togglebutton",16),w("ngModelChange",function(){let r=P(e).$implicit,c=l();return S(c.setKindFilter(r))}),ee(1,Un,1,1,"ng-template",null,0,mt),a()}if(t&2){let e=n.$implicit,i=l();ze("--kind-color",e==="all"?null:i.kindTint(e)),p("ngModel",i.isKindFilterActive(e))("styleClass","settings-plugins__kind-chip"+(e==="all"?" is-all":""))("ariaLabel",i.texts.pluginsKindFilterOptionA11y(e,!i.isKindFilterActive(e))),b("data-testid","settings-plugins-kind-chip-"+e)}}function Wn(t,n){if(t&1&&(s(0,"p-message",11),d(1),a()),t&2){let e=l();p("closable",!1),o(),f(" ",e.texts.unsavedChangesMessage(e.dirtyIds().size)," ")}}function Qn(t,n){if(t&1&&(s(0,"p",12),M(1,"i",17),d(2),a()),t&2){let e=l();o(2),f(" ",e.texts.loading," ")}}function Xn(t,n){if(t&1&&(s(0,"p-message",13),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.errorPrefix," ",e.loadError()," ")}}function Yn(t,n){if(t&1&&(s(0,"p",14),d(1),a()),t&2){let e=l();o(),f(" ",e.texts.empty," ")}}function Jn(t,n){if(t&1){let e=j();s(0,"p-message",22),w("onClose",function(){P(e);let r=l(2);return S(r.toggleError.set(null))}),d(1),a()}if(t&2){let e=l(2);p("closable",!0),o(),D(" ",e.texts.toggleErrorPrefix," ",e.toggleError()," ")}}function Zn(t,n){if(t&1&&(s(0,"p",19),M(1,"i",23),d(2),a()),t&2){let e=l(2);o(2),f(" ",e.texts.pluginsSearchEmpty(e.searchText())," ")}}function ei(t,n){if(t&1){let e=j();s(0,"button",41),w("click",function(r){P(e);let c=l().$implicit;return l(2).toggleExpanded(c.id),S(r.stopPropagation())}),M(1,"i",42),a()}if(t&2){let e=l().$implicit,i=l(2);b("aria-expanded",i.isExpanded(e.id))("aria-label",i.isExpanded(e.id)?i.texts.collapseLabel:i.texts.expandLabel)("data-testid","settings-bundle-expand-"+e.id),o(),K("fa-chevron-down",i.isExpanded(e.id))("fa-chevron-right",!i.isExpanded(e.id))}}function ti(t,n){t&1&&M(0,"span",27)}function ni(t,n){if(t&1&&(s(0,"span",33),d(1),a()),t&2){let e=l().$implicit;o(),f("v",e.version)}}function ii(t,n){if(t&1&&(s(0,"span",34),M(1,"i",43),d(2),a()),t&2){let e=l().$implicit,i=l(2);p("title",i.texts.lockedTooltip),b("data-testid","settings-row-locked-"+e.id),o(2),f(" ",i.texts.lockedLabel," ")}}function oi(t,n){if(t&1&&(s(0,"span",35),d(1),a()),t&2){let e=l().$implicit,i=l(2);o(),u(i.statusLabel(e))}}function ri(t,n){if(t&1&&(s(0,"p",36),d(1),a()),t&2){let e=l().$implicit;o(),u(e.description)}}function ai(t,n){if(t&1&&(s(0,"span",37),d(1),a()),t&2){let e=l().$implicit;o(),u(e.reason)}}function si(t,n){if(t&1&&(s(0,"p",38),M(1,"i",44),d(2),a()),t&2){let e=l().$implicit,i=l(2);b("data-testid","settings-row-starts-disabled-"+e.id),o(2),f(" ",i.texts.startsAsDisabledRowHint," ")}}function li(t,n){if(t&1){let e=j();s(0,"p-toggleswitch",45),w("ngModelChange",function(r){P(e);let c=l().$implicit,g=l(2);return S(g.onBundleToggle(c,r))}),a()}if(t&2){let e=l().$implicit,i=l(2);p("ngModel",i.pendingEnabled(e.id))("disabled",i.applying()||!!e.locked)("ariaLabel",i.texts.a11y.pluginToggle(e.id,!i.pendingEnabled(e.id))),b("data-testid","settings-toggle-"+e.id)}}function di(t,n){if(t&1&&(s(0,"span",34),M(1,"i",43),d(2),a()),t&2){let e=l().$implicit,i=l(2).$implicit,r=l(2);p("title",r.texts.lockedTooltip),b("data-testid","settings-extrow-locked-"+i.id+"-"+e.id),o(2),f(" ",r.texts.lockedLabel," ")}}function ci(t,n){if(t&1&&(s(0,"p",53),d(1),a()),t&2){let e=l().$implicit;o(),u(e.description)}}function gi(t,n){if(t&1){let e=j();s(0,"li",47),w("click",function(r){let c=P(e).$implicit,g=l(2).$implicit,C=l(2);return S(C.onSubrowClick(g.id,c,r))})("keydown.enter",function(r){let c=P(e).$implicit,g=l(2).$implicit,C=l(2);return S(C.onSubrowClick(g.id,c,r))})("keydown.space",function(r){let c=P(e).$implicit,g=l(2).$implicit,C=l(2);return r.preventDefault(),S(C.onSubrowClick(g.id,c,r))}),s(1,"div",48)(2,"div",49),M(3,"span",30),s(4,"span",50),d(5),a(),s(6,"span",51),d(7),a(),s(8,"span",52),d(9),a(),m(10,di,3,3,"span",34),a(),m(11,ci,2,1,"p",53),a(),s(12,"p-toggleswitch",45),w("ngModelChange",function(r){let c=P(e).$implicit,g=l(2).$implicit,C=l(2);return S(C.onExtensionToggle(g.id,c,r))}),a()()}if(t&2){let e=n.$implicit,i=l(2).$implicit,r=l(2);K("is-clickable",r.extensionToggleInteractive(e))("is-dirty",r.isDirty(r.qualifiedExt(i.id,e.id))),b("aria-label",r.texts.a11y.extensionRow(r.qualifiedExt(i.id,e.id)))("data-testid","settings-extrow-"+i.id+"-"+e.id),o(3),K("settings-plugins__dirty-dot--visible",r.isDirty(r.qualifiedExt(i.id,e.id))),b("data-testid","settings-extrow-dirty-"+i.id+"-"+e.id),o(2),u(e.id),o(),ze("--kind-color",r.kindTint(e.kind)),o(),u(e.kind),o(2),f("v",e.version),o(),h(e.locked?10:-1),o(),h(e.description?11:-1),o(),p("ngModel",r.pendingEnabled(r.qualifiedExt(i.id,e.id)))("disabled",r.applying()||!!e.locked)("ariaLabel",r.texts.a11y.extensionToggle(r.qualifiedExt(i.id,e.id),!r.pendingEnabled(r.qualifiedExt(i.id,e.id)))),b("data-testid","settings-ext-toggle-"+i.id+"-"+e.id)}}function pi(t,n){if(t&1&&(s(0,"ul",40),I(1,gi,13,20,"li",46,cn),a()),t&2){let e=l().$implicit;b("data-testid","settings-extensions-"+e.id),o(),O(e.extensions)}}function ui(t,n){if(t&1){let e=j();s(0,"li",24)(1,"div",25),w("click",function(r){let c=P(e).$implicit,g=l(2);return S(g.onRowClick(c,r))})("keydown.enter",function(r){let c=P(e).$implicit,g=l(2);return S(g.onRowClick(c,r))})("keydown.space",function(r){let c=P(e).$implicit,g=l(2);return r.preventDefault(),S(g.onRowClick(c,r))}),m(2,ei,2,7,"button",26)(3,ti,1,0,"span",27),s(4,"div",28)(5,"div",29),M(6,"span",30),s(7,"span",31),d(8),a(),s(9,"span",32),d(10),a(),m(11,ni,2,1,"span",33),m(12,ii,3,3,"span",34),m(13,oi,2,1,"span",35),a(),m(14,ri,2,1,"p",36),m(15,ai,2,1,"span",37),m(16,si,3,2,"p",38),a(),m(17,li,1,4,"p-toggleswitch",39),a(),m(18,pi,3,1,"ul",40),a()}if(t&2){let e=n.$implicit,i=l(2);K("is-extension-bundle",e.granularity==="extension")("is-failed",!i.canToggleBundle(e)&&e.granularity==="bundle")("is-clickable",i.rowIsClickable(e))("is-dirty",e.granularity==="bundle"&&i.isDirty(e.id)),b("data-testid","settings-row-"+e.id),o(),b("aria-label",i.texts.a11y.pluginRow(e.id)),o(),h(i.canExpandExtensions(e)?2:3),o(4),K("settings-plugins__dirty-dot--visible",e.granularity==="bundle"&&i.isDirty(e.id)),b("data-testid","settings-row-dirty-"+e.id),o(2),u(e.id),o(2),u(i.sourceLabel(e.source)),o(),h(e.version?11:-1),o(),h(e.locked?12:-1),o(),h(!i.canToggleBundle(e)&&e.granularity==="bundle"?13:-1),o(),h(e.description?14:-1),o(),h(e.reason?15:-1),o(),h(i.showStartsAsDisabledHint(e)?16:-1),o(),h(i.canToggleBundle(e)?17:-1),o(),h(i.canExpandExtensions(e)&&i.isExpanded(e.id)?18:-1)}}function mi(t,n){if(t&1&&(m(0,Jn,2,3,"p-message",18),m(1,Zn,3,1,"p",19),s(2,"ul",20),I(3,ui,19,24,"li",21,cn),a()),t&2){let e=l();h(e.toggleError()?0:-1),o(),h(e.searchActive()&&e.filteredPlugins().length===0?1:-1),o(2),O(e.filteredPlugins())}}function hi(t,n){if(t&1&&(s(0,"em",54),d(1),a()),t&2){let e=l(2);o(),f(" ",e.texts.startsAsDisabledFooterHint," ")}}function _i(t,n){if(t&1){let e=j();s(0,"footer",15),m(1,hi,2,1,"em",54),s(2,"p-button",55),w("onClick",function(){P(e);let r=l();return S(r.discardChanges())}),a(),s(3,"p-button",56),w("onClick",function(){P(e);let r=l();return S(r.applyChanges())}),a()()}if(t&2){let e=l();o(),h(e.restartRecommended()?1:-1),o(),p("text",!0)("label",e.texts.discardChanges)("ariaLabel",e.texts.discardA11y)("disabled",e.applying()),o(),p("label",e.texts.applyAndClose)("ariaLabel",e.texts.applyA11y)("disabled",e.applying())("loading",e.applying())}}var me=class t{dataSource=T(U);scanTrigger=T(Bt);visible=R.required();applied=Ce();texts=k;pluginState=dn({dataSource:this.dataSource,scanTrigger:this.scanTrigger});plugins=this.pluginState.plugins;loading=this.pluginState.loading;loadError=this.pluginState.loadError;toggleError=this.pluginState.toggleError;applying=this.pluginState.applying;hasFailureRows=this.pluginState.hasFailureRows;originalState=this.pluginState.originalState;pendingState=this.pluginState.pendingState;dirtyIds=this.pluginState.dirtyIds;hasPendingChanges=this.pluginState.hasPendingChanges;restartRecommended=this.pluginState.restartRecommended;pluginCollapse=Qe();collapsed=this.pluginCollapse.collapsed;pluginFilter=ln({plugins:this.plugins});searchText=this.pluginFilter.searchText;searchActive=this.pluginFilter.searchActive;kindFilter=this.pluginFilter.kindFilter;kindFilterActive=this.pluginFilter.kindFilterActive;kindFilterOptions=this.pluginFilter.kindFilterOptions;visiblePlugins=this.pluginFilter.visiblePlugins;filteredPlugins=this.pluginFilter.filteredPlugins;constructor(){L(()=>{this.visible()&&this.pluginState.refresh()})}setKindFilter(n){this.pluginFilter.setKindFilter(n)}isKindFilterActive(n){return this.pluginFilter.isKindFilterActive(n)}toggleExpanded(n){this.pluginCollapse.toggleExpanded(n)}isExpanded(n){return this.pluginCollapse.isExpanded(n)}pendingEnabled(n){return this.pluginState.pendingEnabled(n)}isDirty(n){return this.pluginState.isDirty(n)}showStartsAsDisabledHint(n){return n.startsAsDisabled?this.pendingEnabled(n.id):!1}onBundleToggle(n,e){this.pluginState.onBundleToggle(n,e)}onExtensionToggle(n,e,i){this.pluginState.onExtensionToggle(n,e,i)}async applyChanges(){(await this.pluginState.applyChanges()).ok&&this.applied.emit()}discardChanges(){this.pluginState.discardChanges()}canToggleBundle(n){return n.granularity==="extension"?!1:!ue(n.status)}canExpandExtensions(n){return(n.extensions?.length??0)>0}bundleToggleInteractive(n){return this.canToggleBundle(n)&&!n.locked}extensionToggleInteractive(n){return!n.locked}rowIsClickable(n){return!!(this.bundleToggleInteractive(n)||this.canExpandExtensions(n))}onRowClick(n,e){if(!He(e)){if(this.bundleToggleInteractive(n)){this.onBundleToggle(n,!this.pendingEnabled(n.id));return}this.canExpandExtensions(n)&&this.toggleExpanded(n.id)}}onSubrowClick(n,e,i){if(He(i)||!this.extensionToggleInteractive(e))return;let r=pe(n,e.id);this.onExtensionToggle(n,e,!this.pendingEnabled(r))}statusLabel(n){return tn(n,this.texts)}sourceLabel(n){return nn(n,this.texts)}qualifiedExt(n,e){return pe(n,e)}kindTint(n){return Xt(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-plugins"]],inputs:{visible:[1,"visible"]},outputs:{applied:"applied"},decls:19,vars:9,consts:[["content",""],["aria-labelledby","settings-plugins-heading",1,"settings-plugins"],[1,"settings-plugins__scroll"],[1,"settings-plugins__header"],["id","settings-plugins-heading",1,"settings-plugins__title"],[1,"settings-plugins__intro"],["iconPosition","left",1,"settings-plugins__search"],["styleClass","fa-solid fa-magnifying-glass"],["pInputText","","type","text","data-testid","settings-plugins-search",3,"ngModelChange","placeholder","ngModel"],["role","group","data-testid","settings-plugins-kind-filter",1,"settings-plugins__kind-filter"],[3,"ngModel","styleClass","--kind-color","ariaLabel"],["severity","warn","styleClass","settings-plugins__banner","data-testid","settings-banner-unsaved",3,"closable"],["data-testid","settings-loading",1,"settings-plugins__hint"],["severity","error","data-testid","settings-error",3,"closable"],["data-testid","settings-empty",1,"settings-plugins__hint"],["data-testid","settings-plugins-footer",1,"settings-plugins__footer"],[3,"ngModelChange","ngModel","styleClass","ariaLabel"],["aria-hidden","true",1,"fa-solid","fa-spinner","fa-spin"],["severity","error","data-testid","settings-toggle-error",3,"closable"],["data-testid","settings-search-empty",1,"settings-plugins__hint"],["role","list",1,"settings-plugins__list"],[1,"settings-plugins__row",3,"is-extension-bundle","is-failed","is-clickable","is-dirty"],["severity","error","data-testid","settings-toggle-error",3,"onClose","closable"],["aria-hidden","true",1,"fa-solid","fa-magnifying-glass"],[1,"settings-plugins__row"],["role","button","tabindex","0",1,"settings-plugins__row-main",3,"click","keydown.enter","keydown.space"],["type","button",1,"settings-plugins__expand"],["aria-hidden","true",1,"settings-plugins__expand-spacer"],[1,"settings-plugins__row-text"],[1,"settings-plugins__row-headline"],["aria-hidden","true",1,"settings-plugins__dirty-dot"],[1,"settings-plugins__row-id"],[1,"settings-plugins__row-source"],[1,"settings-plugins__row-version"],[1,"settings-plugins__row-locked",3,"title"],[1,"settings-plugins__row-status"],[1,"settings-plugins__row-description"],[1,"settings-plugins__row-reason"],[1,"settings-plugins__row-hint"],[3,"ngModel","disabled","ariaLabel"],["role","list",1,"settings-plugins__sublist"],["type","button",1,"settings-plugins__expand",3,"click"],["aria-hidden","true",1,"fa-solid"],["aria-hidden","true",1,"fa-solid","fa-lock"],["aria-hidden","true",1,"fa-solid","fa-triangle-exclamation"],[3,"ngModelChange","ngModel","disabled","ariaLabel"],["role","button","tabindex","0",1,"settings-plugins__subrow",3,"is-clickable","is-dirty"],["role","button","tabindex","0",1,"settings-plugins__subrow",3,"click","keydown.enter","keydown.space"],[1,"settings-plugins__subrow-text"],[1,"settings-plugins__subrow-headline"],[1,"settings-plugins__subrow-id"],[1,"settings-plugins__subrow-kind"],[1,"settings-plugins__subrow-version"],[1,"settings-plugins__subrow-description"],["data-testid","settings-plugins-restart-hint",1,"settings-plugins__footer-hint"],["severity","secondary","data-testid","settings-plugins-discard",3,"onClick","text","label","ariaLabel","disabled"],["data-testid","settings-plugins-apply",3,"onClick","label","ariaLabel","disabled","loading"]],template:function(e,i){e&1&&(s(0,"section",1)(1,"div",2)(2,"header",3)(3,"h2",4),d(4),a(),s(5,"p",5),d(6),a()(),s(7,"p-iconfield",6),M(8,"p-inputicon",7),s(9,"input",8),w("ngModelChange",function(c){return i.searchText.set(c)}),a()(),s(10,"div",9),I(11,qn,3,6,"p-togglebutton",10,Y),a(),m(13,Wn,2,2,"p-message",11),m(14,Qn,3,1,"p",12)(15,Xn,2,3,"p-message",13)(16,Yn,2,1,"p",14)(17,mi,5,2),a(),m(18,_i,4,9,"footer",15),a()),e&2&&(o(4),f(" ",i.texts.pluginsHeading," "),o(2),u(i.texts.pluginsIntro),o(3),p("placeholder",i.texts.pluginsSearchPlaceholder)("ngModel",i.searchText()),b("aria-label",i.texts.pluginsSearchA11y),o(),b("aria-label",i.texts.pluginsKindFilterA11y),o(),O(i.kindFilterOptions),o(2),h(i.hasPendingChanges()?13:-1),o(),h(i.loading()?14:i.loadError()?15:i.plugins().length===0?16:17),o(4),h(i.hasPendingChanges()?18:-1))},dependencies:[se,Te,re,ae,oe,Pe,At,Dt,Nt,Ft,Ie,Me,de,le,Ot,It,Ae,ge],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:hidden}.settings-plugins[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-height:0}.settings-plugins__scroll[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:.75rem;min-height:0}.settings-plugins__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.settings-plugins__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-plugins__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-plugins__search[_ngcontent-%COMP%]{display:block;width:100%}.settings-plugins__search[_ngcontent-%COMP%] :where(input[_ngcontent-%COMP%]){width:100%}.settings-plugins__kind-filter[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.375rem}.settings-plugins__kind-chip[_ngcontent-%COMP%]{--chip-accent: var(--kind-color, var(--p-text-color));--p-togglebutton-padding: .25rem .625rem;--p-togglebutton-content-padding: 0;--p-togglebutton-content-checked-background: transparent;--p-togglebutton-content-checked-shadow: none;--p-togglebutton-border-radius: var(--sm-radius-pill);--p-togglebutton-background: color-mix(in oklab, var(--chip-accent) 8%, transparent);--p-togglebutton-hover-background: color-mix(in oklab, var(--chip-accent) 18%, transparent);--p-togglebutton-checked-background: color-mix(in oklab, var(--chip-accent) 80%, transparent);--p-togglebutton-border-color: color-mix(in oklab, var(--chip-accent) 35%, transparent);--p-togglebutton-hover-border-color: color-mix(in oklab, var(--chip-accent) 55%, transparent);--p-togglebutton-checked-border-color: var(--chip-accent);--p-togglebutton-color: color-mix(in oklab, var(--chip-accent) 70%, var(--p-text-color));--p-togglebutton-hover-color: color-mix(in oklab, var(--chip-accent) 70%, var(--p-text-color));--p-togglebutton-checked-color: var(--p-surface-50);font-size:.75rem;font-weight:500;letter-spacing:.02em;text-transform:lowercase}.app-dark[_nghost-%COMP%] .settings-plugins__kind-chip[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__kind-chip[_ngcontent-%COMP%]{--p-togglebutton-background: color-mix(in oklab, var(--chip-accent) 14%, transparent);--p-togglebutton-hover-background: color-mix(in oklab, var(--chip-accent) 26%, transparent);--p-togglebutton-checked-background: color-mix(in oklab, var(--chip-accent) 70%, transparent);--p-togglebutton-border-color: color-mix(in oklab, var(--chip-accent) 50%, transparent);--p-togglebutton-hover-border-color: color-mix(in oklab, var(--chip-accent) 70%, transparent);--p-togglebutton-color: color-mix(in oklab, var(--chip-accent) 80%, var(--p-text-color));--p-togglebutton-hover-color: color-mix(in oklab, var(--chip-accent) 80%, var(--p-text-color));--p-togglebutton-checked-color: var(--p-surface-900)}.settings-plugins__banner[_ngcontent-%COMP%]{display:block}.settings-plugins__banner-body[_ngcontent-%COMP%]{font-weight:400}.settings-plugins__hint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;padding:1rem 0;color:var(--p-text-muted-color);font-size:.875rem}.settings-plugins__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-plugins__row[_ngcontent-%COMP%]{border:1px solid var(--p-content-border-color);border-radius:var(--p-border-radius);background:var(--p-content-background);padding:.75rem .875rem;display:flex;flex-direction:column;gap:.5rem}.settings-plugins__row.is-clickable[_ngcontent-%COMP%]{cursor:pointer;transition:background .12s ease}.settings-plugins__row.is-clickable[_ngcontent-%COMP%]:hover{background:var(--p-content-hover-background)}.settings-plugins__row.is-failed[_ngcontent-%COMP%]{border-color:var(--p-message-error-border-color);background:var(--p-message-error-background)}.settings-plugins__row.is-extension-bundle[_ngcontent-%COMP%]{background:var(--p-content-background)}.settings-plugins__row-main[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.settings-plugins__expand[_ngcontent-%COMP%], .settings-plugins__expand-spacer[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.settings-plugins__expand[_ngcontent-%COMP%]{border:none;background:transparent;cursor:pointer;color:var(--p-text-muted-color);border-radius:var(--p-border-radius)}.settings-plugins__expand[_ngcontent-%COMP%]:hover{color:var(--p-text-color);background:var(--p-content-hover-background)}.settings-plugins__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-plugins__row-headline[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem .75rem;position:relative}.settings-plugins__row-id[_ngcontent-%COMP%]{font-weight:600;font-family:var(--p-monospace-font-family)}.settings-plugins__row-source[_ngcontent-%COMP%], .settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-kind[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap}.settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{font-family:var(--p-monospace-font-family)}.settings-plugins__row-source[_ngcontent-%COMP%], .settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-text-color) 8%,transparent);border:1px solid color-mix(in oklab,var(--p-text-color) 18%,transparent);color:var(--p-text-color)}.app-dark[_nghost-%COMP%] .settings-plugins__row-source[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-source[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__row-version[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-version[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__subrow-version[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__subrow-version[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-text-color) 14%,transparent);border-color:color-mix(in oklab,var(--p-text-color) 28%,transparent)}.settings-plugins__subrow-kind[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--kind-color, var(--p-text-color)) 14%,transparent);border:1px solid color-mix(in oklab,var(--kind-color, var(--p-text-color)) 38%,transparent);color:color-mix(in oklab,var(--kind-color, var(--p-text-color)) 70%,var(--p-surface-900))}.app-dark[_nghost-%COMP%] .settings-plugins__subrow-kind[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__subrow-kind[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--kind-color, var(--p-text-color)) 22%,transparent);border-color:color-mix(in oklab,var(--kind-color, var(--p-text-color)) 55%,transparent);color:color-mix(in oklab,var(--kind-color, var(--p-text-color)) 80%,var(--p-surface-50))}.settings-plugins__row-status[_ngcontent-%COMP%]{font-weight:500}.settings-plugins__row-locked[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap;background:color-mix(in oklab,var(--p-message-warn-color) 14%,transparent);border:1px solid color-mix(in oklab,var(--p-message-warn-color) 35%,transparent);color:color-mix(in oklab,var(--p-message-warn-color) 70%,var(--p-surface-900))}.settings-plugins__row-locked[_ngcontent-%COMP%] > .pi[_ngcontent-%COMP%]{font-size:.7rem}.app-dark[_nghost-%COMP%] .settings-plugins__row-locked[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-locked[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-message-warn-color) 22%,transparent);border-color:color-mix(in oklab,var(--p-message-warn-color) 55%,transparent);color:color-mix(in oklab,var(--p-message-warn-color) 85%,var(--p-surface-50))}.settings-plugins__row-description[_ngcontent-%COMP%]{margin:.25rem 0 0;font-size:.8125rem;line-height:1.4;color:var(--p-text-muted-color)}.settings-plugins__row-reason[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-message-error-color);font-family:var(--p-monospace-font-family);margin-top:.25rem}.settings-plugins__sublist[_ngcontent-%COMP%]{list-style:none;margin:0;padding:.5rem 0 0 1.75rem;display:flex;flex-direction:column;gap:.25rem;border-top:1px dashed var(--p-content-border-color)}.settings-plugins__subrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.375rem .5rem;border-radius:var(--p-border-radius)}.settings-plugins__subrow.is-clickable[_ngcontent-%COMP%]{cursor:pointer;transition:background .12s ease}.settings-plugins__subrow.is-clickable[_ngcontent-%COMP%]:hover{background:var(--p-content-hover-background)}.settings-plugins__subrow-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-plugins__subrow-headline[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem .75rem;position:relative}.settings-plugins__subrow-id[_ngcontent-%COMP%]{font-family:var(--p-monospace-font-family);font-size:.875rem}.settings-plugins__subrow-description[_ngcontent-%COMP%]{margin:.25rem 0 0;font-size:.75rem;line-height:1.4;color:var(--p-text-muted-color)}.settings-plugins__dirty-dot[_ngcontent-%COMP%]{position:absolute;left:-.75rem;top:50%;transform:translateY(-50%);width:.5rem;height:.5rem;border-radius:50%;background:var(--p-warn-color);visibility:hidden}.settings-plugins__dirty-dot--visible[_ngcontent-%COMP%]{visibility:visible}.settings-plugins__row-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:.25rem 0 0;font-size:.75rem;line-height:1.4;color:var(--p-warn-color)}.settings-plugins__row-hint[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-top:.125rem}.settings-plugins__footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-top:1px solid var(--p-content-border-color);background:var(--p-content-background)}.settings-plugins__footer-hint[_ngcontent-%COMP%]{font-style:italic;font-size:.75rem;line-height:1.4;color:var(--p-warn-color);margin-right:auto}"],changeDetection:0})};var bi=(t,n)=>n.id;function vi(t,n){if(t&1&&(s(0,"p-message",3),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.loadErrorPrefix," ",n," ")}}function xi(t,n){if(t&1&&(s(0,"p-message",4),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.saveErrorPrefix," ",n," ")}}function yi(t,n){t&1&&(s(0,"p-message",5),d(1),a()),t&2&&(p("closable",!1),o(),f(" ",n," "))}function Ci(t,n){if(t&1&&(s(0,"span",11),d(1),a()),t&2){let e=l();o(),u(e.texts.project.activeProviderSourceConfig)}}function wi(t,n){if(t&1&&(s(0,"span",11),d(1),a()),t&2){let e=l();o(),u(e.texts.project.activeProviderSourceAutodetect)}}function ki(t,n){if(t&1&&(s(0,"span",11),d(1),a()),t&2){let e=l();o(),u(e.texts.project.activeProviderSourceNone)}}function Pi(t,n){if(t&1&&(s(0,"span",11),d(1),a()),t&2){let e=l(),i=l();o(),D(" ",i.texts.project.activeProviderDetectedPrefix," ",e," ")}}function Si(t,n){t&1&&m(0,Pi,2,2,"span",11),t&2&&h(n.length>0?0:-1)}function Ei(t,n){if(t&1&&(s(0,"option",15),d(1),a()),t&2){let e=n.$implicit;p("value",e.id),o(),u(e.label)}}function Ti(t,n){if(t&1&&(s(0,"p-message",16),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.loadErrorPrefix," ",n," ")}}function Mi(t,n){if(t&1&&(s(0,"p-message",17),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.saveErrorPrefix," ",n," ")}}function Ii(t,n){if(t&1){let e=j();s(0,"li",20)(1,"span",28),d(2),a(),s(3,"p-button",29),w("onClick",function(){let r=P(e).$implicit,c=l();return S(c.onReferencePathRemove(r))}),a()()}if(t&2){let e=n.$implicit,i=l();o(2),u(e),o(),p("label",i.texts.project.removePathLabel)("outlined",!0)("disabled",i.isPending("scan.referencePaths")),b("data-testid","settings-project-reference-paths-remove")}}function Oi(t,n){if(t&1&&(s(0,"p-message",23),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.loadErrorPrefix," ",n," ")}}function ji(t,n){if(t&1&&(s(0,"p-message",24),d(1),a()),t&2){let e=l();p("closable",!1),o(),D(" ",e.texts.project.saveErrorPrefix," ",n," ")}}function Di(t,n){if(t&1){let e=j();s(0,"li",20)(1,"span",28),d(2),a(),s(3,"p-button",29),w("onClick",function(){let r=P(e).$implicit,c=l();return S(c.onIgnorePatternRemove(r))}),a()()}if(t&2){let e=n.$implicit,i=l();o(2),u(e),o(),p("label",i.texts.project.removeIgnorePatternLabel)("outlined",!0)("disabled",i.isPending("ignore.patterns")),b("data-testid","settings-project-ignore-patterns-remove")}}var Ai=[{id:"claude",label:"Claude Code"},{id:"gemini",label:"Gemini CLI"},{id:"openai",label:"OpenAI Codex"},{id:"cursor",label:"Cursor"}],Fi=/[\n\r\x00-\x1F\x7F]/,Re=class t{dataSource=T(U);confirmation=T(ie);visible=R.required();texts=k;loading=_(!1);loadError=_(null);saveError=_(null);preferences=_(null);pending=_(new Set);newReferencePath=_("");referencePaths=y(()=>this.preferences()?.scan.referencePaths??[]);ignoreLoadError=_(null);ignoreSaveError=_(null);ignoreEnvelope=_(null);newIgnorePattern=_("");ignorePatterns=y(()=>this.ignoreEnvelope()?.patterns??[]);activeProviderEnvelope=_(null);activeProviderLoadError=_(null);activeProviderSaveError=_(null);activeProviderSwitchAnnouncement=_(null);knownProviders=Ai;activeProviderValue=y(()=>this.activeProviderEnvelope()?.activeProvider??"");activeProviderDetectedLabel=y(()=>(this.activeProviderEnvelope()?.detected??[]).join(", "));activeProviderSource=y(()=>this.activeProviderEnvelope()?.source??"none");constructor(){L(()=>{this.visible()&&(this.refresh(),this.refreshIgnore(),this.refreshActiveProvider())})}isPending(n){return this.pending().has(n)}onReferencePathAdd(){let n=this.newReferencePath().trim();if(n.length===0)return;if(n.includes(",")){this.saveError.set(this.texts.project.commaForbidden);return}let e=[...this.referencePaths(),n];this.runPatch("scan.referencePaths",{scan:{referencePaths:e}}).then(i=>{i&&this.newReferencePath.set("")})}onReferencePathRemove(n){let e=this.referencePaths().filter(i=>i!==n);this.runPatch("scan.referencePaths",{scan:{referencePaths:[...e]}})}onIgnorePatternAdd(){let n=this.newIgnorePattern().trim();if(n.length===0){this.ignoreSaveError.set(this.texts.project.ignorePatternEmpty);return}if(Fi.test(n)){this.ignoreSaveError.set(this.texts.project.ignorePatternHasControlChar);return}let e=this.ignorePatterns();if(e.includes(n)){this.ignoreSaveError.set(this.texts.project.ignorePatternDuplicate);return}let i=[...e,n];this.runIgnorePatch({patterns:i}).then(r=>{r&&this.newIgnorePattern.set("")})}onIgnorePatternRemove(n){let e=this.ignorePatterns().filter(i=>i!==n);this.runIgnorePatch({patterns:[...e]})}onActiveProviderChange(n){n===""||n===this.activeProviderValue()||this.confirmActiveProviderSwitch(n,async()=>{await this.runActiveProviderSwitch(n)})}async refresh(){this.loading.set(!0),this.loadError.set(null),this.saveError.set(null);try{let n=await this.dataSource.getProjectPreferences();this.preferences.set(n)}catch(n){this.loadError.set(Z(n)),this.preferences.set(null)}finally{this.loading.set(!1)}}async refreshIgnore(){this.ignoreLoadError.set(null),this.ignoreSaveError.set(null);try{let n=await this.dataSource.getProjectIgnore();this.ignoreEnvelope.set(n)}catch(n){this.ignoreLoadError.set(Z(n)),this.ignoreEnvelope.set(null)}}async refreshActiveProvider(){this.activeProviderLoadError.set(null),this.activeProviderSaveError.set(null);try{let n=await this.dataSource.getActiveProvider();this.activeProviderEnvelope.set(n)}catch(n){this.activeProviderLoadError.set(Z(n)),this.activeProviderEnvelope.set(null)}}async runActiveProviderSwitch(n){this.activeProviderSaveError.set(null),this.activeProviderSwitchAnnouncement.set(null);try{let e=await this.dataSource.setActiveProvider(n);this.activeProviderEnvelope.set({activeProvider:e.activeProvider,detected:e.detected,source:e.source});let i=e.switch.dropped;if(i===null)this.activeProviderSwitchAnnouncement.set(this.texts.project.activeProviderSwitchedNoDb);else{let r=this.texts.project;this.activeProviderSwitchAnnouncement.set(`${r.activeProviderSwitchedPrefix} ${i.tableCount} ${r.activeProviderSwitchedSuffix}`)}}catch(e){this.activeProviderSaveError.set(Z(e))}}confirmActiveProviderSwitch(n,e){this.confirmation.confirm({header:this.texts.project.activeProviderConfirmHeader,message:this.texts.project.activeProviderConfirmIntro,acceptLabel:this.texts.project.activeProviderConfirmAccept,rejectLabel:this.texts.project.activeProviderConfirmReject,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{e()},reject:()=>{let i=this.activeProviderEnvelope();i&&this.activeProviderEnvelope.set(H({},i))}})}async runPatch(n,e){if(this.pending().has(n))return!1;let i=new Set(this.pending());i.add(n),this.pending.set(i),this.saveError.set(null);let r=!1;try{let c=await this.dataSource.setProjectPreferences(e);this.preferences.set(c),r=!0}catch(c){if(c instanceof G&&c.code==="confirm-required"){let g=c.paths??[];this.confirmDialog(g,async()=>{try{let C=await this.dataSource.setProjectPreferences(X(H({},e),{confirm:!0}));this.preferences.set(C),this.newReferencePath.set("")}catch(C){this.saveError.set(Z(C))}})}else this.saveError.set(Z(c))}finally{let c=new Set(this.pending());c.delete(n),this.pending.set(c)}return r}async runIgnorePatch(n){let e="ignore.patterns";if(this.pending().has(e))return!1;let i=new Set(this.pending());i.add(e),this.pending.set(i),this.ignoreSaveError.set(null);let r=!1;try{let c=await this.dataSource.setProjectIgnore(n);this.ignoreEnvelope.set(c),r=!0}catch(c){this.ignoreSaveError.set(Z(c))}finally{let c=new Set(this.pending());c.delete(e),this.pending.set(c)}return r}confirmDialog(n,e){this.confirmation.confirm({header:k.project.confirmDialogHeader,message:k.project.confirmDialogIntro+`
|
|
122
|
+
`+n.map(i=>`\u2022 ${i}`).join(`
|
|
123
|
+
`),acceptLabel:k.project.confirmDialogAccept,rejectLabel:k.project.confirmDialogReject,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{e()}})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-project"]],inputs:{visible:[1,"visible"]},features:[ne([ie])],decls:54,vars:30,consts:[["data-testid","settings-project",1,"settings-project"],["id","settings-project-heading",1,"settings-project__title"],[1,"settings-project__intro"],["severity","error","data-testid","settings-project-active-provider-load-error",3,"closable"],["severity","error","data-testid","settings-project-active-provider-save-error",3,"closable"],["severity","info","data-testid","settings-project-active-provider-switch-announce",3,"closable"],["data-testid","settings-project-active-provider-row",1,"settings-project__list-row"],[1,"settings-project__row-text"],[1,"settings-project__row-label"],[1,"settings-project__row-description"],[1,"settings-project__row-meta"],[1,"settings-project__meta-line"],[1,"settings-project__add-row"],["data-testid","settings-project-active-provider-select",1,"settings-project__provider-select",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["severity","error","data-testid","settings-project-load-error",3,"closable"],["severity","error","data-testid","settings-project-save-error",3,"closable"],["data-testid","settings-project-reference-paths-row",1,"settings-project__list-row"],["role","list",1,"settings-project__path-list"],[1,"settings-project__path-item"],["type","text","pInputText","","data-testid","settings-project-reference-paths-input",3,"ngModelChange","keydown.enter","ngModel","placeholder","disabled"],["severity","primary","size","small","data-testid","settings-project-reference-paths-add",3,"onClick","label","disabled"],["severity","error","data-testid","settings-project-ignore-load-error",3,"closable"],["severity","error","data-testid","settings-project-ignore-save-error",3,"closable"],["data-testid","settings-project-ignore-patterns-row",1,"settings-project__list-row"],["type","text","pInputText","","data-testid","settings-project-ignore-patterns-input",3,"ngModelChange","keydown.enter","ngModel","placeholder","disabled"],["severity","primary","size","small","data-testid","settings-project-ignore-patterns-add",3,"onClick","label","disabled"],[1,"settings-project__path-text"],["severity","secondary","size","small",3,"onClick","label","outlined","disabled"]],template:function(e,i){if(e&1&&(s(0,"section",0)(1,"h2",1),d(2),a(),s(3,"p",2),d(4),a(),m(5,vi,2,3,"p-message",3),m(6,xi,2,3,"p-message",4),m(7,yi,2,2,"p-message",5),s(8,"div",6)(9,"div",7)(10,"div",8),d(11),a(),s(12,"div",9),d(13),a(),s(14,"div",10),m(15,Ci,2,1,"span",11)(16,wi,2,1,"span",11)(17,ki,2,1,"span",11),m(18,Si,1,1),a()(),s(19,"div",12)(20,"select",13),w("ngModelChange",function(c){return i.onActiveProviderChange(c)}),s(21,"option",14),d(22),a(),I(23,Ei,2,2,"option",15,bi),a()()(),m(25,Ti,2,3,"p-message",16),m(26,Mi,2,3,"p-message",17),s(27,"div",18)(28,"div",7)(29,"div",8),d(30),a(),s(31,"div",9),d(32),a()(),s(33,"ul",19),I(34,Ii,4,5,"li",20,Y),a(),s(36,"div",12)(37,"input",21),w("ngModelChange",function(c){return i.newReferencePath.set(c)})("keydown.enter",function(){return i.onReferencePathAdd()}),a(),s(38,"p-button",22),w("onClick",function(){return i.onReferencePathAdd()}),a()()(),m(39,Oi,2,3,"p-message",23),m(40,ji,2,3,"p-message",24),s(41,"div",25)(42,"div",7)(43,"div",8),d(44),a(),s(45,"div",9),d(46),a()(),s(47,"ul",19),I(48,Di,4,5,"li",20,Y),a(),s(50,"div",12)(51,"input",26),w("ngModelChange",function(c){return i.newIgnorePattern.set(c)})("keydown.enter",function(){return i.onIgnorePatternAdd()}),a(),s(52,"p-button",27),w("onClick",function(){return i.onIgnorePatternAdd()}),a()()(),M(53,"p-confirmdialog"),a()),e&2){let r,c,g,C,B,A,q,z,W;b("aria-labelledby","settings-project-heading"),o(2),f(" ",i.texts.project.heading," "),o(2),u(i.texts.project.intro),o(),h((r=i.activeProviderLoadError())?5:-1,r),o(),h((c=i.activeProviderSaveError())?6:-1,c),o(),h((g=i.activeProviderSwitchAnnouncement())?7:-1,g),o(4),u(i.texts.project.activeProviderLabel),o(2),f(" ",i.texts.project.activeProviderDescription," "),o(2),h((C=i.activeProviderSource())==="config"?15:C==="autodetect"?16:C==="none"?17:-1),o(3),h((B=i.activeProviderDetectedLabel())?18:-1,B),o(2),p("ngModel",i.activeProviderValue()),o(2),u(i.texts.project.activeProviderEmptyOption),o(),O(i.knownProviders),o(2),h((A=i.loadError())?25:-1,A),o(),h((q=i.saveError())?26:-1,q),o(4),u(i.texts.project.referencePathsLabel),o(2),f(" ",i.texts.project.referencePathsDescription," "),o(2),O(i.referencePaths()),o(3),p("ngModel",i.newReferencePath())("placeholder",i.texts.project.referencePathsPlaceholder)("disabled",i.isPending("scan.referencePaths")),o(),p("label",i.texts.project.addPathLabel)("disabled",i.isPending("scan.referencePaths")||i.newReferencePath().trim().length===0),o(),h((z=i.ignoreLoadError())?39:-1,z),o(),h((W=i.ignoreSaveError())?40:-1,W),o(4),u(i.texts.project.ignorePatternsLabel),o(2),f(" ",i.texts.project.ignorePatternsDescription," "),o(2),O(i.ignorePatterns()),o(3),p("ngModel",i.newIgnorePattern())("placeholder",i.texts.project.ignorePatternsPlaceholder)("disabled",i.isPending("ignore.patterns")),o(),p("label",i.texts.project.addIgnorePatternLabel)("disabled",i.isPending("ignore.patterns")||i.newIgnorePattern().trim().length===0)}},dependencies:[se,Et,Tt,Te,St,re,ae,oe,Pe,Ee,Se,Ie,Me,de,le],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-project__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-project__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}[_nghost-%COMP%] p-message[_ngcontent-%COMP%]{display:block;margin-bottom:1rem}.settings-project__row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:.5rem;background:var(--p-content-background);margin-bottom:1rem}.settings-project__row[_ngcontent-%COMP%] > p-toggleswitch[_ngcontent-%COMP%]{flex:0 0 auto;align-self:center}.settings-project__list-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:.5rem;background:var(--p-content-background);margin-bottom:1rem}.settings-project__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.settings-project__row-label[_ngcontent-%COMP%]{font-size:.9rem;font-weight:600;color:var(--p-text-color)}.settings-project__row-description[_ngcontent-%COMP%]{font-size:.8rem;color:var(--sm-text-muted);line-height:1.45}.settings-project__path-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.settings-project__path-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem .6rem;border-radius:.35rem;background:var(--p-content-hover-background)}.settings-project__path-text[_ngcontent-%COMP%]{font-family:var(--p-font-family-mono);font-size:.8rem;word-break:break-all;flex:1 1 auto}.settings-project__add-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.settings-project__add-row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1 1 auto;font-family:var(--p-font-family-mono);font-size:.8rem}.settings-project__row-meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.15rem;font-size:.75rem;color:var(--p-text-muted-color)}.settings-project__meta-line[_ngcontent-%COMP%]{line-height:1.3}.settings-project__provider-select[_ngcontent-%COMP%]{flex:1 1 auto;font-family:var(--p-font-family);font-size:.85rem;padding:.4rem .6rem;border-radius:.25rem;border:1px solid var(--p-form-field-border-color);background:var(--p-form-field-background);color:var(--p-form-field-color)}"],changeDetection:0})};function Z(t){return t instanceof G||t instanceof Error?t.message:String(t)}var Ni=(t,n)=>n.id;function Vi(t,n){if(t&1){let e=j();s(0,"li")(1,"button",6),w("click",function(){let r=P(e).$implicit,c=l();return S(c.selectSection(r.id))}),s(2,"span",7),d(3),a()()()}if(t&2){let e=n.$implicit,i=l();o(),K("is-active",i.activeSection()===e.id),b("aria-current",i.activeSection()===e.id?"page":null)("data-testid","settings-nav-"+e.id),o(2),u(e.label)}}function Li(t,n){if(t&1){let e=j();s(0,"sm-settings-plugins",8),w("applied",function(){P(e);let r=l();return S(r.onPluginsApplied())}),a()}if(t&2){let e=l();p("visible",e.pluginsVisible())}}function Ri(t,n){if(t&1&&M(0,"sm-settings-general",5),t&2){let e=l();p("visible",e.generalVisible())}}function Bi(t,n){if(t&1&&M(0,"sm-settings-project",5),t&2){let e=l();p("visible",e.projectVisible())}}function zi(t,n){if(t&1&&M(0,"sm-settings-about",5),t&2){let e=l();p("visible",e.aboutVisible())}}function Ki(t,n){t&1&&M(0,"sm-settings-changelog")}var $i=[{id:"general",label:k.sections.general},{id:"project",label:k.sections.project},{id:"plugins",label:k.sections.plugins},{id:"changelog",label:k.sections.changelog},{id:"about",label:k.sections.about}],gn=class t{visible=R.required();visibleChange=Ce();confirmation=T(ie);pluginsPanel=ht(me);texts=k;sections=$i;activeSection=_("plugins");dialogStyle={width:"1024px",height:"720px",maxWidth:"92vw",maxHeight:"90vh"};pluginsVisible=y(()=>this.visible()&&this.activeSection()==="plugins");generalVisible=y(()=>this.visible()&&this.activeSection()==="general");projectVisible=y(()=>this.visible()&&this.activeSection()==="project");aboutVisible=y(()=>this.visible()&&this.activeSection()==="about");onVisibleChange(n){if(n){this.visibleChange.emit(!0);return}let e=this.pluginsPanel(),i=e?.dirtyIds().size??0;if(i===0){this.visibleChange.emit(!1);return}this.confirmation.confirm({header:this.texts.confirmCloseTitle,message:this.texts.confirmCloseBody(i),acceptLabel:this.texts.applyAndClose,rejectLabel:this.texts.discardChanges,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{e?.applyChanges()},reject:()=>{e?.discardChanges(),this.visibleChange.emit(!1)}})}selectSection(n){this.activeSection.set(n)}onPluginsApplied(){this.visibleChange.emit(!1)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=N({type:t,selectors:[["sm-settings-modal"]],viewQuery:function(e,i){e&1&>(i.pluginsPanel,me,5),e&2&&pt()},inputs:{visible:[1,"visible"]},outputs:{visibleChange:"visibleChange"},features:[ne([ie])],decls:13,vars:12,consts:[["contentStyleClass","settings-modal__content","data-testid","settings-modal",3,"visibleChange","visible","modal","draggable","resizable","closable","closeOnEscape","dismissableMask","header"],[1,"settings-modal__layout"],["data-testid","settings-modal-sidebar",1,"settings-modal__sidebar"],["role","list",1,"settings-modal__sidebar-list"],["data-testid","settings-modal-main",1,"settings-modal__main"],[3,"visible"],["type","button",1,"settings-modal__sidebar-item",3,"click"],[1,"settings-modal__sidebar-label"],[3,"applied","visible"]],template:function(e,i){if(e&1&&(s(0,"p-dialog",0),w("visibleChange",function(c){return i.onVisibleChange(c)}),s(1,"div",1)(2,"nav",2)(3,"ul",3),I(4,Vi,4,5,"li",null,Ni),a()(),s(6,"div",4),m(7,Li,1,1,"sm-settings-plugins",5)(8,Ri,1,1,"sm-settings-general",5)(9,Bi,1,1,"sm-settings-project",5)(10,zi,1,1,"sm-settings-about",5)(11,Ki,1,0,"sm-settings-changelog"),a()(),M(12,"p-confirmdialog"),a()),e&2){let r;ye(i.dialogStyle),p("visible",i.visible())("modal",!0)("draggable",!1)("resizable",!1)("closable",!0)("closeOnEscape",!0)("dismissableMask",!0)("header",i.texts.modalTitle),o(2),b("aria-label",i.texts.modalTitle),o(2),O(i.sections),o(3),h((r=i.activeSection())==="plugins"?7:r==="general"?8:r==="project"?9:r==="about"?10:r==="changelog"?11:-1)}},dependencies:[oe,Ee,Se,kt,wt,je,De,Fe,me,Re],styles:["[_nghost-%COMP%]{display:contents;--p-message-error-color: #fca5a5;--p-message-error-background: color-mix(in srgb, #ef4444 14%, transparent);--p-message-error-border-color: color-mix(in srgb, #ef4444 45%, transparent)}[_nghost-%COMP%] .settings-modal__content{padding:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.settings-modal__layout[_ngcontent-%COMP%]{flex:1;display:grid;grid-template-columns:200px 1fr;min-height:0}.settings-modal__sidebar[_ngcontent-%COMP%]{border-right:1px solid var(--p-content-border-color);background:var(--p-content-background);padding:.5rem;overflow-y:auto}.settings-modal__sidebar-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.125rem}.settings-modal__sidebar-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.5rem .75rem;border:none;border-radius:var(--p-border-radius);background:transparent;color:var(--p-text-color);font:inherit;text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}.settings-modal__sidebar-item[_ngcontent-%COMP%]:hover{background:var(--p-content-hover-background)}.settings-modal__sidebar-item.is-active[_ngcontent-%COMP%]{background:var(--p-highlight-background);color:var(--p-highlight-color)}.settings-modal__sidebar-label[_ngcontent-%COMP%]{flex:1;font-size:.9rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-modal__main[_ngcontent-%COMP%]{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}.settings-modal__main[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;min-height:0}"],changeDetection:0})};export{gn as SettingsModal};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as wn,c as Tn,d as In,e as kn}from"./chunk-
|
|
1
|
+
import{a as wn,c as Tn,d as In,e as kn}from"./chunk-UMCC32EJ.js";import{e as tn,j as mi,n as gn,o as bn,u as fi,v as yn,x as gi}from"./chunk-FQOZBFJ5.js";import{a as nt,b as bi,c as Lt,d as Sn,e as Rt,f as Mn,h as En,i as Dn,j as On}from"./chunk-YZ7KCL3G.js";import{a as ht,b as hi,d as Ft,e as qe,f as vn,g as Bt,h as wt,i as Tt,m as ct,o as mt,p as xn,q as Cn}from"./chunk-5CFY2K3Y.js";import{$ as I,$a as M,$c as Wt,Aa as V,Ba as p,Bb as ft,Cb as gt,Cc as dn,Db as bt,Dc as Ri,Ec as Et,Fc as ut,Gc as pn,Hb as se,Hc as un,I as Ge,Ib as rt,Ic as he,J as de,Jb as j,Jc as W,K as ke,Ka as C,Kb as Ee,Kc as De,La as Yi,Lb as oi,Lc as Ie,M as pe,Ma as Zi,Mb as Oi,Na as ye,Nb as ai,O as R,Oa as ve,Ob as Kt,Oc as fe,Pb as Xi,Pc as Le,Qb as J,Qc as U,Rc as hn,Sc as Dt,T as _,Ta as r,Tb as ie,Tc as Ut,U as f,Ua as u,Uc as tt,V as T,Va as m,Vc as $,Wa as F,Wc as ze,X as ti,Xa as ne,Xb as Y,Xc as mn,Ya as oe,Yc as _n,Za as K,Zc as ui,_a as S,_c as q,aa as Ae,ab as E,ad as Ot,bc as en,bd as Ct,cc as w,cd as Vt,d as St,da as Oe,db as P,dc as X,dd as Q,ea as ii,eb as xe,ed as fn,fb as k,fd as it,ga as D,hb as s,ib as dt,jb as We,jc as Je,kb as Ve,lb as Fe,lc as je,mb as b,mc as we,nb as y,nc as He,nd as _i,oa as c,oc as Te,pc as ue,qc as Xe,rb as Me,sa as _e,sb as Pe,ub as Ce,vb as g,wa as O,wb as H,xa as Se,xb as ee,ya as ni,yb as le,za as be,zb as Ji,zc as ce}from"./chunk-LTQTJU54.js";import{A as jt,B as ci,E as an,F as xt,G as rn,H as Bi,K as lt,O as ln,P as qt,R as Li,S as di,U as Ne,V as Ke,W as st,X as sn,Y as pt,a as Ye,b as $t,ba as cn,ca as Qt,d as nn,da as pi,k as Gt,l as Vi,m as ri,n as li,o as on,p as Mt,t as et,u as ae,v as Be,w as Fi,x as yt,y as si,z as vt}from"./chunk-3SI3TVER.js";import{a as me,b as Ue}from"./chunk-VB56BUGO.js";var Vn=`
|
|
2
2
|
.p-datatable {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as st,c as lt,d as rt}from"./chunk-
|
|
1
|
+
import{a as st,c as lt,d as rt}from"./chunk-5CFY2K3Y.js";import{$ as y,$a as Y,Aa as z,Ac as K,Ba as c,Bc as it,Fc as nt,Hb as Ce,Hc as ot,Ic as Ie,J as N,Jb as be,Jc as V,K as ne,Ka as L,Kc as U,Lb as qe,Lc as De,M as de,Na as x,O as f,Oa as T,Oc as ze,Pc as ee,Qb as D,Qc as at,Rc as Oe,Sc as Ve,T as g,Ta as s,Tb as q,U as h,Ua as u,V as F,Va as C,Vc as k,Wa as E,Xa as Z,Xb as W,Y as je,Ya as $,Za as Q,_a as X,_c as we,aa as me,ab as S,bd as Me,cc as d,da as _e,db as w,dc as G,eb as fe,fb as I,fd as te,ga as v,hb as l,ib as ge,ja as Re,jb as ae,jc as ye,ka as Pe,kb as he,lb as Ze,mb as m,mc as xe,nb as _,nc as We,oa as p,oc as Te,pc as ve,qc as le,rb as $e,sa as ke,sb as Qe,ub as se,vb as b,wa as O,wb as Xe,xa as oe,xb as Ye,ya as Ne,yc as Ge,za as ue,zc as M}from"./chunk-LTQTJU54.js";import{B as tt,D as Ee,P as J,a as Je,d as Le,h as Se,l as Be,m as Ae,p as Ke,r as Ue,u as re,v as Fe,y as et}from"./chunk-3SI3TVER.js";import{a as P}from"./chunk-VB56BUGO.js";var xt=["data-p-icon","window-maximize"],ct=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+M()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275cmp=O({type:t,selectors:[["","data-p-icon","window-maximize"]],features:[z],attrs:xt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(F(),Z(0,"g"),Q(1,"path",0),$(),Z(2,"defs")(3,"clipPath",1),Q(4,"rect",2),$()()),n&2&&(L("clip-path",i.pathId),p(3),fe("id",i.pathId))},encapsulation:2})}return t})();var Tt=["data-p-icon","window-minimize"],pt=(()=>{class t extends we{pathId;onInit(){this.pathId="url(#"+M()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275cmp=O({type:t,selectors:[["","data-p-icon","window-minimize"]],features:[z],attrs:Tt,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(F(),Z(0,"g"),Q(1,"path",0),$(),Z(2,"defs")(3,"clipPath",1),Q(4,"rect",2),$()()),n&2&&(L("clip-path",i.pathId),p(3),fe("id",i.pathId))},encapsulation:2})}return t})();var dt=(()=>{class t extends ee{pFocusTrapDisabled=!1;platformId=f(Re);document=f(je);firstHiddenFocusableElement;lastHiddenFocusableElement;onInit(){le(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}onChanges(e){e.pFocusTrapDisabled&&le(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let n=i=>Ue("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:"0",role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?et(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Fe(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?tt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Fe(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=v(t)))(i||t)}})();static \u0275dir=Ne({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",d]},features:[z]})}return t})();var mt=`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as J,$a as k,Aa as I,Ba as l,Hb as
|
|
1
|
+
import{$ as J,$a as k,Aa as I,Ba as l,Hb as K,Ic as $,J as M,Jc as C,K as A,Ka as g,Kc as ce,Lc as Y,M as D,O as _,Oc as Z,Pc as U,Qb as re,T as h,Ta as o,U as v,Ua as u,V,Va as f,Vc as d,Wa as P,Xa as W,Ya as X,Za as ee,_a as w,_c as se,cc as S,db as E,eb as ne,fb as B,ga as y,hb as a,ib as j,jb as L,jc as O,kb as R,la as te,mb as x,mc as H,nb as T,oa as c,oc as q,pc as G,rb as ie,ub as oe,vb as p,wa as b,wb as z,xa as N,xb as Q,za as F,zc as ae}from"./chunk-LTQTJU54.js";var pe=`
|
|
2
2
|
.p-tag {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -51,7 +51,7 @@ import{$ as J,$a as k,Aa as I,Ba as l,Hb as O,Ic as Y,J as M,Jc as C,K as D,Ka a
|
|
|
51
51
|
background: dt('tag.contrast.background');
|
|
52
52
|
color: dt('tag.contrast.color');
|
|
53
53
|
}
|
|
54
|
-
`;var ye=["icon"],Ce=["*"];function be(t,s){if(t&1&&P(0,"span",4),t&2){let e=a(2);p(e.cx("icon")),o("ngClass",e.icon)("pBind",e.ptm("icon"))}}function Ie(t,s){if(t&1&&(w(0),l(1,be,1,4,"span",3),k()),t&2){let e=a();c(),o("ngIf",e.icon)}}function xe(t,s){}function Te(t,s){t&1&&l(0,xe,0,0,"ng-template")}function we(t,s){if(t&1&&(u(0,"span",2),l(1,Te,1,0,null,5),f()),t&2){let e=a();p(e.cx("icon")),o("pBind",e.ptm("icon")),c(),o("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)}}var ke={root:({instance:t})=>["p-tag p-component",{"p-tag-info":t.severity==="info","p-tag-success":t.severity==="success","p-tag-warn":t.severity==="warn","p-tag-danger":t.severity==="danger","p-tag-secondary":t.severity==="secondary","p-tag-contrast":t.severity==="contrast","p-tag-rounded":t.rounded}],icon:"p-tag-icon",label:"p-tag-label"},le=(()=>{class t extends
|
|
54
|
+
`;var ye=["icon"],Ce=["*"];function be(t,s){if(t&1&&P(0,"span",4),t&2){let e=a(2);p(e.cx("icon")),o("ngClass",e.icon)("pBind",e.ptm("icon"))}}function Ie(t,s){if(t&1&&(w(0),l(1,be,1,4,"span",3),k()),t&2){let e=a();c(),o("ngIf",e.icon)}}function xe(t,s){}function Te(t,s){t&1&&l(0,xe,0,0,"ng-template")}function we(t,s){if(t&1&&(u(0,"span",2),l(1,Te,1,0,null,5),f()),t&2){let e=a();p(e.cx("icon")),o("pBind",e.ptm("icon")),c(),o("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)}}var ke={root:({instance:t})=>["p-tag p-component",{"p-tag-info":t.severity==="info","p-tag-success":t.severity==="success","p-tag-warn":t.severity==="warn","p-tag-danger":t.severity==="danger","p-tag-secondary":t.severity==="secondary","p-tag-contrast":t.severity==="contrast","p-tag-rounded":t.rounded}],icon:"p-tag-icon",label:"p-tag-label"},le=(()=>{class t extends Y{name="tag";style=pe;classes=ke;static \u0275fac=(()=>{let e;return function(n){return(e||(e=y(t)))(n||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();var de=new D("TAG_INSTANCE"),Ee=(()=>{class t extends U{componentName="Tag";$pcTag=_(de,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=_(d,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;severity;value;icon;rounded;iconTemplate;templates;_iconTemplate;_componentStyle=_(le);onAfterContentInit(){this.templates?.forEach(e=>{e.getType()==="icon"&&(this._iconTemplate=e.template)})}get dataP(){return this.cn({rounded:this.rounded,[this.severity]:this.severity})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=y(t)))(n||t)}})();static \u0275cmp=b({type:t,selectors:[["p-tag"]],contentQueries:function(i,n,r){if(i&1&&R(r,ye,4)(r,$,4),i&2){let m;x(m=T())&&(n.iconTemplate=m.first),x(m=T())&&(n.templates=m)}},hostVars:3,hostBindings:function(i,n){i&2&&(g("data-p",n.dataP),p(n.cn(n.cx("root"),n.styleClass)))},inputs:{styleClass:"styleClass",severity:"severity",value:"value",icon:"icon",rounded:[2,"rounded","rounded",S]},features:[K([le,{provide:de,useExisting:t},{provide:Z,useExisting:t}]),F([d]),I],ngContentSelectors:Ce,decls:5,vars:6,consts:[[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"pBind"],[3,"class","ngClass","pBind",4,"ngIf"],[3,"ngClass","pBind"],[4,"ngTemplateOutlet"]],template:function(i,n){i&1&&(j(),L(0),l(1,Ie,2,1,"ng-container",0)(2,we,2,4,"span",1),u(3,"span",2),z(4),f()),i&2&&(c(),o("ngIf",!n.iconTemplate&&!n._iconTemplate),c(),o("ngIf",n.iconTemplate||n._iconTemplate),c(),p(n.cx("label")),o("pBind",n.ptm("label")),c(),Q(n.value))},dependencies:[G,O,H,q,C,d],encapsulation:2,changeDetection:0})}return t})(),st=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=N({type:t});static \u0275inj=A({imports:[Ee,C,C]})}return t})();var dt={stable:"success",experimental:"info",deprecated:"warn"},mt={invokes:"warn",references:"info",mentions:"secondary",supersedes:"success"};function Be(t){return t>=.75?"high":t>=.45?"medium":"low"}function gt(t){let s=Be(t);return s==="high"?"success":s==="medium"?"info":"warn"}var Se=["data-p-icon","times-circle"],ge=(()=>{class t extends se{pathId;onInit(){this.pathId="url(#"+ae()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=y(t)))(n||t)}})();static \u0275cmp=b({type:t,selectors:[["","data-p-icon","times-circle"]],features:[I],attrs:Se,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(V(),W(0,"g"),ee(1,"path",0),X(),W(2,"defs")(3,"clipPath",1),ee(4,"rect",2),X()()),i&2&&(g("clip-path",n.pathId),c(3),ne("id",n.pathId))},encapsulation:2})}return t})();var ue=`
|
|
55
55
|
.p-chip {
|
|
56
56
|
display: inline-flex;
|
|
57
57
|
align-items: center;
|
|
@@ -104,4 +104,4 @@ import{$ as J,$a as k,Aa as I,Ba as l,Hb as O,Ic as Y,J as M,Jc as C,K as D,Ka a
|
|
|
104
104
|
outline: dt('chip.remove.icon.focus.ring.width') dt('chip.remove.icon.focus.ring.style') dt('chip.remove.icon.focus.ring.color');
|
|
105
105
|
outline-offset: dt('chip.remove.icon.focus.ring.offset');
|
|
106
106
|
}
|
|
107
|
-
`;var
|
|
107
|
+
`;var Me=["removeicon"],Ae=["*"];function De(t,s){if(t&1){let e=E();u(0,"img",4),B("error",function(n){h(e);let r=a();return v(r.imageError(n))}),f()}if(t&2){let e=a();p(e.cx("image")),o("pBind",e.ptm("image"))("src",e.image,te)("alt",e.alt)}}function Ve(t,s){if(t&1&&P(0,"span",6),t&2){let e=a(2);p(e.icon),o("pBind",e.ptm("icon"))("ngClass",e.cx("icon"))}}function Ne(t,s){if(t&1&&l(0,Ve,1,4,"span",5),t&2){let e=a();o("ngIf",e.icon)}}function Fe(t,s){if(t&1&&(u(0,"div",7),z(1),f()),t&2){let e=a();p(e.cx("label")),o("pBind",e.ptm("label")),c(),Q(e.label)}}function Pe(t,s){if(t&1){let e=E();u(0,"span",11),B("click",function(n){h(e);let r=a(3);return v(r.close(n))})("keydown",function(n){h(e);let r=a(3);return v(r.onKeydown(n))}),f()}if(t&2){let e=a(3);p(e.removeIcon),o("pBind",e.ptm("removeIcon"))("ngClass",e.cx("removeIcon")),g("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function je(t,s){if(t&1){let e=E();V(),u(0,"svg",12),B("click",function(n){h(e);let r=a(3);return v(r.close(n))})("keydown",function(n){h(e);let r=a(3);return v(r.onKeydown(n))}),f()}if(t&2){let e=a(3);p(e.cx("removeIcon")),o("pBind",e.ptm("removeIcon")),g("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel)}}function Le(t,s){if(t&1&&(w(0),l(1,Pe,1,6,"span",9)(2,je,1,5,"svg",10),k()),t&2){let e=a(2);c(),o("ngIf",e.removeIcon),c(),o("ngIf",!e.removeIcon)}}function Re(t,s){}function ze(t,s){t&1&&l(0,Re,0,0,"ng-template")}function Qe(t,s){if(t&1){let e=E();u(0,"span",13),B("click",function(n){h(e);let r=a(2);return v(r.close(n))})("keydown",function(n){h(e);let r=a(2);return v(r.onKeydown(n))}),l(1,ze,1,0,null,14),f()}if(t&2){let e=a(2);p(e.cx("removeIcon")),o("pBind",e.ptm("removeIcon")),g("tabindex",e.disabled?-1:0)("aria-label",e.removeAriaLabel),c(),o("ngTemplateOutlet",e.removeIconTemplate||e._removeIconTemplate)}}function Ke(t,s){if(t&1&&(w(0),l(1,Le,3,2,"ng-container",3)(2,Qe,2,6,"span",8),k()),t&2){let e=a();c(),o("ngIf",!e.removeIconTemplate&&!e._removeIconTemplate),c(),o("ngIf",e.removeIconTemplate||e._removeIconTemplate)}}var Oe={root:({instance:t})=>({display:!t.visible&&"none"})},He={root:({instance:t})=>["p-chip p-component",{"p-disabled":t.disabled}],image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},fe=(()=>{class t extends Y{name="chip";style=ue;classes=He;inlineStyles=Oe;static \u0275fac=(()=>{let e;return function(n){return(e||(e=y(t)))(n||t)}})();static \u0275prov=M({token:t,factory:t.\u0275fac})}return t})();var _e=new D("CHIP_INSTANCE"),qe=(()=>{class t extends U{componentName="Chip";$pcChip=_(_e,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=_(d,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}label;icon;image;alt;styleClass;disabled=!1;removable=!1;removeIcon;onRemove=new J;onImageError=new J;visible=!0;get removeAriaLabel(){return this.config.getTranslation(ce.ARIA).removeLabel}get chipProps(){return this._chipProps}set chipProps(e){this._chipProps=e,e&&typeof e=="object"&&Object.entries(e).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}_chipProps;_componentStyle=_(fe);removeIconTemplate;templates;_removeIconTemplate;onAfterContentInit(){this.templates.forEach(e=>{e.getType()==="removeicon"?this._removeIconTemplate=e.template:this._removeIconTemplate=e.template})}onChanges(e){if(e.chipProps&&e.chipProps.currentValue){let{currentValue:i}=e.chipProps;i.label!==void 0&&(this.label=i.label),i.icon!==void 0&&(this.icon=i.icon),i.image!==void 0&&(this.image=i.image),i.alt!==void 0&&(this.alt=i.alt),i.styleClass!==void 0&&(this.styleClass=i.styleClass),i.removable!==void 0&&(this.removable=i.removable),i.removeIcon!==void 0&&(this.removeIcon=i.removeIcon)}}close(e){this.visible=!1,this.onRemove.emit(e)}onKeydown(e){(e.key==="Enter"||e.key==="Backspace")&&this.close(e)}imageError(e){this.onImageError.emit(e)}get dataP(){return this.cn({removable:this.removable})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=y(t)))(n||t)}})();static \u0275cmp=b({type:t,selectors:[["p-chip"]],contentQueries:function(i,n,r){if(i&1&&R(r,Me,4)(r,$,4),i&2){let m;x(m=T())&&(n.removeIconTemplate=m.first),x(m=T())&&(n.templates=m)}},hostVars:6,hostBindings:function(i,n){i&2&&(g("aria-label",n.label)("data-p",n.dataP),oe(n.sx("root")),p(n.cn(n.cx("root"),n.styleClass)))},inputs:{label:"label",icon:"icon",image:"image",alt:"alt",styleClass:"styleClass",disabled:[2,"disabled","disabled",S],removable:[2,"removable","removable",S],removeIcon:"removeIcon",chipProps:"chipProps"},outputs:{onRemove:"onRemove",onImageError:"onImageError"},features:[K([fe,{provide:_e,useExisting:t},{provide:Z,useExisting:t}]),F([d]),I],ngContentSelectors:Ae,decls:6,vars:4,consts:[["iconTemplate",""],[3,"pBind","class","src","alt","error",4,"ngIf","ngIfElse"],[3,"pBind","class",4,"ngIf"],[4,"ngIf"],[3,"error","pBind","src","alt"],[3,"pBind","class","ngClass",4,"ngIf"],[3,"pBind","ngClass"],[3,"pBind"],["role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"pBind","class","ngClass","click","keydown",4,"ngIf"],["data-p-icon","times-circle","role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"click","keydown","pBind","ngClass"],["data-p-icon","times-circle","role","button",3,"click","keydown","pBind"],["role","button",3,"click","keydown","pBind"],[4,"ngTemplateOutlet"]],template:function(i,n){if(i&1&&(j(),L(0),l(1,De,1,5,"img",1)(2,Ne,1,1,"ng-template",null,0,re)(4,Fe,2,4,"div",2)(5,Ke,3,2,"ng-container",3)),i&2){let r=ie(3);c(),o("ngIf",n.image)("ngIfElse",r),c(3),o("ngIf",n.label),c(),o("ngIf",n.removable)}},dependencies:[G,O,H,q,ge,C,d],encapsulation:2,changeDetection:0})}return t})(),Pt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=N({type:t});static \u0275inj=A({imports:[qe,C,C]})}return t})();export{qe as a,Pt as b,Ee as c,st as d,dt as e,mt as f,Be as g,gt as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as we,d as Ee,e as Ne,g as Be,h as ke,i as De,
|
|
1
|
+
import{a as we,d as Ee,e as Ne,g as Be,h as ke,i as De,m as Se,n as ze,o as Fe,p as Oe}from"./chunk-5CFY2K3Y.js";import{$ as R,Aa as T,Ba as I,Hb as E,I as ae,Ic as ee,J as v,Jb as xe,Jc as b,K as x,Ka as u,Kb as ye,La as pe,Lc as N,M as y,Ma as ue,Na as w,O as l,Oa as M,Oc as B,Pc as $,Qb as X,Ra as me,Sa as ge,T as q,Ta as c,Tb as J,U as K,Ua as D,V as le,Va as S,Vc as r,Wa as U,Wc as H,Xb as f,Zc as Ie,ab as P,ad as Me,cc as h,da as re,db as G,dc as _e,ea as se,fb as V,ga as m,hb as d,ib as j,jb as L,jc as Ce,ka as ce,kb as W,mb as z,mc as Te,nb as F,oa as g,oc as Y,pc as O,rb as fe,tb as he,vb as p,wa as k,wb as be,xa as _,xb as ve,ya as de,za as C}from"./chunk-LTQTJU54.js";import{V as Z,W as Q}from"./chunk-3SI3TVER.js";import{a as ie}from"./chunk-VB56BUGO.js";var Ae=`
|
|
2
2
|
.p-message {
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-template-rows: 1fr;
|
package/dist/ui/index.html
CHANGED
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
<style>:root{--ff-white:#ffffff;--ff-black:#000000;--ff-gray-0:#ffffff;--ff-gray-25:#fcfcfc;--ff-gray-50:#f8f8f7;--ff-gray-75:#f2f2f0;--ff-gray-100:#e9e9e6;--ff-gray-150:#dcdcd7;--ff-gray-200:#c9c9c1;--ff-gray-300:#afafa5;--ff-gray-400:#8d8d81;--ff-gray-500:#69695f;--ff-gray-600:#505048;--ff-gray-700:#3c3c36;--ff-gray-800:#272722;--ff-gray-900:#1b1b18;--ff-gray-950:#141412;--ff-gray-1000:#0f0f0d;--ff-alpha-black-04:rgba(15, 15, 13, .04);--ff-alpha-black-06:rgba(15, 15, 13, .06);--ff-alpha-black-08:rgba(15, 15, 13, .08);--ff-alpha-black-10:rgba(15, 15, 13, .1);--ff-alpha-black-12:rgba(15, 15, 13, .12);--ff-alpha-black-15:rgba(15, 15, 13, .15);--ff-alpha-black-20:rgba(15, 15, 13, .2);--ff-alpha-black-30:rgba(15, 15, 13, .3);--ff-alpha-black-40:rgba(15, 15, 13, .4);--ff-alpha-black-60:rgba(15, 15, 13, .6);--ff-alpha-white-04:rgba(255, 255, 255, .04);--ff-alpha-white-06:rgba(255, 255, 255, .06);--ff-alpha-white-08:rgba(255, 255, 255, .08);--ff-alpha-white-10:rgba(255, 255, 255, .1);--ff-alpha-white-12:rgba(255, 255, 255, .12);--ff-alpha-white-15:rgba(255, 255, 255, .15);--ff-alpha-white-20:rgba(255, 255, 255, .2);--ff-alpha-white-30:rgba(255, 255, 255, .3);--ff-alpha-white-40:rgba(255, 255, 255, .4);--ff-alpha-white-60:rgba(255, 255, 255, .6);--ff-blue-100:#e8f2ff;--ff-blue-200:#bad8ff;--ff-blue-300:#7db7ff;--ff-blue-400:#4176ff;--ff-blue-500:#2759db;--ff-blue-600:#1b3f9e;--ff-green-100:#e7f7ef;--ff-green-300:#71c795;--ff-green-400:#2b9b5f;--ff-green-500:#1e7748;--ff-yellow-100:#fff5de;--ff-yellow-300:#e1b354;--ff-yellow-400:#bb8121;--ff-yellow-500:#916112;--ff-red-100:#feeceb;--ff-red-300:#e48d85;--ff-red-400:#c55245;--ff-red-500:#9e3a2f;--ff-radius-4:4px;--ff-radius-6:6px;--ff-radius-pill:999px;--ff-font-family-sans:"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--ff-font-family-mono:ui-monospace, "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;--ff-font-size-xs:12px;--ff-font-size-sm:14px;--ff-font-size-md:16px;--ff-font-size-lg:18px;--ff-shadow-1:0 1px 2px rgba(15, 15, 13, .05), 0 8px 20px rgba(15, 15, 13, .04);--ff-shadow-2:0 10px 28px rgba(15, 15, 13, .08), 0 3px 10px rgba(15, 15, 13, .05);--ff-shadow-3:0 18px 48px rgba(15, 15, 13, .12), 0 6px 16px rgba(15, 15, 13, .08)}:root{--ff-color-surface-page:var(--ff-gray-25);--ff-color-surface-canvas:var(--ff-gray-25);--ff-color-surface-card:var(--ff-white);--ff-color-surface-group:rgba(65, 118, 255, .14);--ff-color-surface-group-active:rgba(65, 118, 255, .2);--ff-color-surface-muted:var(--ff-gray-50);--ff-color-surface-soft:var(--ff-gray-75);--ff-color-surface-accent-soft:rgba(65, 118, 255, .1);--ff-color-border-default:var(--ff-alpha-black-12);--ff-color-border-subtle:var(--ff-alpha-black-08);--ff-color-border-strong:var(--ff-alpha-black-20);--ff-color-border-accent:var(--ff-blue-500);--ff-color-text-primary:var(--ff-gray-800);--ff-color-text-secondary:var(--ff-gray-500);--ff-color-text-tertiary:var(--ff-gray-400);--ff-color-text-inverse:var(--ff-white);--ff-color-accent:var(--ff-blue-500);--ff-color-accent-strong:var(--ff-blue-600);--ff-color-success:var(--ff-green-400);--ff-color-warning:var(--ff-yellow-400);--ff-color-danger:var(--ff-red-400);--ff-color-disabled-surface:var(--ff-gray-100);--ff-color-disabled-border:var(--ff-alpha-black-10);--ff-color-disabled-text:var(--ff-gray-300);--ff-color-selection-fill:rgba(65, 118, 255, .12);--ff-color-selection-stroke:rgba(65, 118, 255, .28);--ff-color-grid:var(--ff-alpha-black-08);--ff-color-grid-strong:var(--ff-alpha-black-15);--ff-color-connector-connected:var(--ff-blue-500);--ff-color-connection:var(--ff-gray-600);--ff-color-connection-muted:var(--ff-gray-300);--ff-color-connection-hover:var(--ff-alpha-black-12);--ff-color-grouping-drop-target-border:var(--ff-gray-800);--ff-color-grouping-drop-target-border-active:var(--ff-gray-800);--ff-color-waypoint-fill:var(--ff-white);--ff-color-waypoint-stroke:var(--ff-blue-500);--ff-color-waypoint-candidate-fill:var(--ff-white);--ff-color-waypoint-candidate-stroke:var(--ff-green-400);--ff-color-minimap-surface:var(--ff-white);--ff-color-minimap-node:var(--ff-gray-700);--ff-color-minimap-view:rgba(65, 118, 255, .14);--ff-color-magnetic-line:var(--ff-blue-500);--ff-color-magnetic-rect-fill:rgba(65, 118, 255, .08);--ff-color-magnetic-rect-border:rgba(65, 118, 255, .24);--ff-radius-node:var(--ff-radius-4);--ff-radius-group:var(--ff-radius-4);--ff-radius-control:var(--ff-radius-4);--ff-radius-socket-square:var(--ff-radius-6);--ff-radius-pill:var(--ff-radius-pill);--ff-font-sans:var(--ff-font-family-sans);--ff-font-mono:var(--ff-font-family-mono);--ff-font-size-body:var(--ff-font-size-sm);--ff-font-size-label:var(--ff-font-size-xs);--ff-shadow-surface:var(--ff-shadow-1);--ff-shadow-floating:var(--ff-shadow-2)}:root{--ff-flow-background-color:var(--ff-color-surface-page);--ff-flow-text-color:var(--ff-color-text-primary);--ff-flow-font-family:var(--ff-font-sans);--ff-flow-font-size:var(--ff-font-size-body);--ff-canvas-background-color:var(--ff-color-surface-canvas);--ff-node-background-color:var(--ff-color-surface-card);--ff-node-background-color-inverse:var(--ff-color-text-primary);--ff-node-border-color:var(--ff-color-border-default);--ff-node-border-color-selected:var(--ff-color-border-accent);--ff-node-color:var(--ff-color-text-primary);--ff-node-border-radius:var(--ff-radius-node);--ff-node-shadow:var(--ff-shadow-surface);--ff-node-shadow-selected:var(--ff-shadow-floating);--ff-node-width:120px;--ff-node-min-height:56px;--ff-node-padding:24px;--ff-group-background-color:var(--ff-color-surface-group);--ff-group-background-color-active:var(--ff-color-surface-group-active);--ff-group-border-color:var(--ff-color-border-subtle);--ff-group-border-color-selected:var(--ff-color-border-accent);--ff-group-border-color-active:var(--ff-color-border-accent);--ff-group-color:var(--ff-color-text-secondary);--ff-group-border-radius:var(--ff-radius-group);--ff-group-min-width:180px;--ff-group-min-height:120px;--ff-group-padding:24px;--ff-grouping-drop-target-border-color:var(--ff-color-grouping-drop-target-border);--ff-grouping-drop-target-border-style:dashed;--ff-grouping-drop-target-border-width:1px;--ff-grouping-drop-target-border-color-active:var(--ff-color-grouping-drop-target-border-active);--ff-grouping-drop-target-border-style-active:dashed;--ff-grouping-drop-target-border-width-active:2px;--ff-handle-background-color:var(--ff-color-surface-card);--ff-handle-border-color:var(--ff-color-border-strong);--ff-handle-color:var(--ff-color-text-secondary);--ff-handle-size:12px;--ff-handle-radius:var(--ff-radius-control);--ff-rotate-handle-size:16px;--ff-connector-background-color:var(--ff-color-surface-card);--ff-connector-border-color:var(--ff-color-border-default);--ff-connector-connected-color:var(--ff-color-connector-connected);--ff-connector-accent-color:var(--ff-color-accent);--ff-connector-disabled-color:var(--ff-color-disabled-surface);--ff-connector-disabled-border-color:var(--ff-color-disabled-border);--ff-connector-size:16px;--ff-connector-node-ring-color:var(--ff-canvas-background-color);--ff-outlet-background-color:var(--ff-color-surface-muted);--ff-outlet-border-color:var(--ff-color-border-default);--ff-outlet-color:var(--ff-color-accent);--ff-outlet-disabled-background-color:var(--ff-color-disabled-surface);--ff-outlet-disabled-border-color:var(--ff-color-disabled-border);--ff-outlet-disabled-color:var(--ff-color-disabled-text);--ff-outlet-border-radius:var(--ff-radius-pill);--ff-outlet-padding-y:6px;--ff-outlet-padding-x:12px;--ff-connection-color:var(--ff-color-connection);--ff-snap-connection-color:var(--ff-color-connection-muted);--ff-connection-hover-color:var(--ff-color-connection-hover);--ff-connection-selected-color:var(--ff-color-accent);--ff-connection-label-color:var(--ff-color-text-secondary);--ff-connection-content-color:var(--ff-node-color);--ff-connection-content-background-color:var(--ff-node-background-color);--ff-connection-content-border-color:var(--ff-node-border-color);--ff-connection-content-border-color-selected:var(--ff-connection-selected-color);--ff-connection-content-border-radius:var(--ff-node-border-radius);--ff-connection-content-font-size:13px;--ff-connection-content-padding-y:2px;--ff-connection-content-padding-x:8px;--ff-connection-width:2px;--ff-connection-hit-width:14px;--ff-connection-drag-handle-fill:var(--ff-color-surface-card);--ff-connection-drag-handle-stroke:var(--ff-color-accent);--ff-marker-color:var(--ff-connection-color);--ff-waypoint-fill:var(--ff-color-waypoint-fill);--ff-waypoint-stroke:var(--ff-color-waypoint-stroke);--ff-waypoint-candidate-fill:var(--ff-color-waypoint-candidate-fill);--ff-waypoint-candidate-stroke:var(--ff-color-waypoint-candidate-stroke);--ff-background-line-color:var(--ff-color-grid);--ff-background-dot-color:var(--ff-color-grid-strong);--ff-selection-area-color:var(--ff-color-selection-fill);--ff-selection-area-border-color:var(--ff-color-selection-stroke);--ff-minimap-background-color:var(--ff-color-minimap-surface);--ff-minimap-border-color:var(--ff-color-border-default);--ff-minimap-node-color:var(--ff-color-minimap-node);--ff-minimap-node-selected-color:var(--ff-color-accent);--ff-minimap-view-color:var(--ff-color-minimap-view);--ff-minimap-view-border-color:var(--ff-color-selection-stroke);--ff-minimap-border-radius:var(--ff-radius-node);--ff-minimap-shadow:var(--ff-shadow-floating);--ff-magnetic-line-color:var(--ff-color-magnetic-line);--ff-magnetic-rect-fill:var(--ff-color-magnetic-rect-fill);--ff-magnetic-rect-border-color:var(--ff-color-magnetic-rect-border);--ff-external-item-background-color:var(--ff-color-surface-card);--ff-external-item-border-color:var(--ff-color-border-default);--ff-external-item-color:var(--ff-color-text-primary);--ff-external-item-disabled-color:var(--ff-color-disabled-text);--ff-external-item-disabled-background-color:var(--ff-color-disabled-surface);--ff-external-item-border-radius:var(--ff-radius-node);--ff-external-item-shadow:var(--ff-shadow-surface);--ff-external-item-preview-shadow:var(--ff-shadow-floating);--ff-external-item-placeholder-background-color:var(--ff-color-surface-soft);--ff-external-item-placeholder-border-color:var(--ff-color-border-subtle)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}:root{--fa-family-brands:"Font Awesome 7 Brands";--fa-font-brands:normal 400 1em/1 var(--fa-family-brands)}:root{--fa-font-regular:normal 400 1em/1 var(--fa-family-classic)}:root{--fa-family-classic:"Font Awesome 7 Free";--fa-font-solid:normal 900 1em/1 var(--fa-family-classic);--fa-style-family-classic:var(--fa-family-classic)}:root{--sm-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--sm-font-display-brand:"Geist", system-ui, sans-serif;--sm-radius-sm:3px;--sm-radius-md:4px;--sm-radius-lg:.5rem;--sm-radius-pill:999px;--sm-bg-page:#f8fafc;--sm-bg-content:#ffffff;--sm-bg-hover:#f1f5f9;--sm-border:#e2e8f0;--sm-nav-active-bg:#eff6ff;--sm-violet-50:#F5F3FF;--sm-violet-100:#EDE9FE;--sm-violet-200:#DDD6FE;--sm-violet-300:#C4B5FD;--sm-violet-400:#A78BFA;--sm-violet-500:#8B5CF6;--sm-violet-600:#7C3AED;--sm-violet-700:#6D28D9;--sm-violet-800:#4C1D95;--sm-violet-900:#2E1065;--sm-edge-invokes:#b8843a;--sm-edge-invokes-active:#f59e0b;--sm-edge-references:#7daa90;--sm-edge-references-active:#10b981;--sm-edge-mentions:#6fa2c0;--sm-edge-mentions-active:#0ea5e9;--sm-edge-supersedes:#9ca3af;--sm-edge-supersedes-active:#4b5563;--sm-link-in-bg:#e0e7ff;--sm-link-in-fg:#3730a3;--sm-link-out-bg:#fef3c7;--sm-link-out-fg:#92400e;--sm-severity-info:#1e3a8a;--sm-severity-success:#065f46;--sm-severity-warn:#ca8a04;--sm-severity-error:#991b1b;--sm-severity-info-bg:rgba(219, 234, 254, .35);--sm-severity-success-bg:rgba(209, 250, 229, .35);--sm-severity-warn-bg:rgba(254, 243, 199, .35);--sm-severity-error-bg:rgba(254, 226, 226, .35);--sm-stat-tokens-bg:rgba(59, 130, 246, .14);--sm-stat-bytes-bg:rgba(245, 158, 11, .16);--sm-shadow-topbar:0 1px 2px rgba(0, 0, 0, .03);--sm-shadow-eventlog:0 -4px 16px rgba(0, 0, 0, .08);--sm-shadow-floating:0 4px 14px rgba(0, 0, 0, .08);--sm-shadow-card:0 1px 2px rgba(0, 0, 0, .05);--sm-shadow-card-hover:0 3px 12px rgba(0, 0, 0, .12)}html,body{margin:0;padding:0;height:100dvh;overflow:hidden;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--sm-bg-page);color:var(--p-text-color)}*,*:before,*:after{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--p-text-color) 30%,transparent) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--p-text-color) 25%,transparent);border-radius:var(--sm-radius-pill);border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--p-text-color) 45%,transparent)}</style><link rel="stylesheet" href="styles-2WO3KNOY.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-2WO3KNOY.css"></noscript></head>
|
|
34
34
|
<body>
|
|
35
35
|
<sm-root></sm-root>
|
|
36
|
-
<link rel="modulepreload" href="chunk-KJQEO6P3.js"><link rel="modulepreload" href="chunk-FQOZBFJ5.js"><link rel="modulepreload" href="chunk-
|
|
36
|
+
<link rel="modulepreload" href="chunk-KJQEO6P3.js"><link rel="modulepreload" href="chunk-FQOZBFJ5.js"><link rel="modulepreload" href="chunk-2QZDJSJN.js"><link rel="modulepreload" href="chunk-LTQTJU54.js"><link rel="modulepreload" href="chunk-3SI3TVER.js"><link rel="modulepreload" href="chunk-VB56BUGO.js"><script src="main-H7FURBYT.js" type="module"></script></body>
|
|
37
37
|
</html>
|