@tekkare/romulus 0.1.96 → 0.1.98

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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
- "version": "0.1.95",
7
+ "version": "0.1.97",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -1 +1 @@
1
- :root{--sidebar-w:220px;--sidebar-collapsed-w:56px;--rsidebar-w:280px;--rsidebar-collapsed-w:76px;--topbar-h:56px;--topbar-merged-h:0px;--tabs-h:46px;--analysis-header-h:124px;--sourcebar-h:38px;--filterbar-h:56px;--color-primary:#2100ad;--color-primary-hover:#1a0088;--color-secondary:#6b3fff;--color-accent-soft:#b485ff;--color-violet-pale:#d6ccff;--color-healthcare:#4164ee;--color-discovery:#07816f;--color-pharma:#f7520e;--color-databank:#e04380;--color-healthcare-active:#3451d4;--color-discovery-active:#066b5c;--color-pharma-active:#d9470c;--color-databank-active:#c73a6f;--color-pharma-soft:#ff7942;--healthcare-rgb:65,100,238;--discovery-rgb:7,129,111;--pharma-rgb:247,82,14;--databank-rgb:224,67,128;--surface-rgb:255,255,255;--shadow-rgb:30,41,59;--color-accent-teal:#00d4a8;--color-notification:#e59;--color-text-inverse:#fff;--color-success:#16a34a;--color-success-bg:#dcfce7;--color-warning:#d97706;--color-warning-bg:#fef3c7;--color-danger:#dc2626;--color-danger-bg:#fee2e2;--color-info:#4164ee;--color-info-bg:#dbeafe;--bg-app:#eef1f5;--bg-surface:#fff;--bg-surface-2:#fbfbfd;--bg-surface-3:#f5f5f9;--bg-hover:#eef1fe;--border-default:#dbdef0;--border-soft:#f0f1f7;--text-primary:#1e293b;--text-secondary:#525670;--text-muted:#878ca6;--brand-rgb:33,0,173;--chart-cat-1:#2100ad;--chart-cat-2:#00a38e;--chart-cat-3:#e67e22;--chart-cat-4:#d63384;--chart-cat-5:#4164ee;--chart-cat-6:#16a34a;--space-2:2px;--space-4:4px;--space-6:6px;--space-8:8px;--space-10:10px;--space-12:12px;--space-16:16px;--space-20:20px;--space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-2xl:12px;--radius-pill:999px;--font-10:10px;--font-11:11px;--font-12:12px;--font-13:13px;--font-14:14px;--font-16:16px;--font-18:18px;--font-22:22px;--font-24:24px;--font-32:32px;--weight-normal:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--font-serif:"Caudex",Georgia,serif;--font-sans:"Figtree",system-ui,sans-serif;--font-mono:"SF Mono",Menlo,monospace;--shadow-xs:0 1px 2px rgba(30,41,59,.04);--shadow-sm:0 2px 6px rgba(30,41,59,.06),0 1px 2px rgba(30,41,59,.03);--shadow-md:0 4px 12px rgba(30,41,59,.06),0 1px 3px rgba(30,41,59,.04);--shadow-lg:0 8px 24px rgba(30,41,59,.12);--shadow-focus:0 0 0 3px rgba(107,63,255,.14);--duration-instant:100ms;--duration-fast:150ms;--duration-base:240ms;--duration-slow:400ms;--duration-slowest:600ms;--ease-out:cubic-bezier(.2,0,0,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--ease-spring:cubic-bezier(.5,1.6,.4,1);--z-base:1;--z-sticky:20;--z-header:30;--z-drawer:40;--z-modal:50;--z-toast:60;--z-help:70}body.night{--color-primary:#9b7cff;--color-secondary:#b485ff;--color-accent-soft:#d6ccff;--color-healthcare:#7aa0ff;--color-discovery:#2ecc71;--color-pharma:#ff8c00;--color-databank:#f472b6;--color-healthcare-active:#4164ee;--color-discovery-active:#07816f;--color-pharma-active:#f7520e;--color-databank-active:#e04380;--healthcare-rgb:122,160,255;--discovery-rgb:46,204,113;--pharma-rgb:255,140,0;--databank-rgb:244,114,182;--surface-rgb:26,26,36;--shadow-rgb:0,0,0;--bg-app:#0e0e14;--bg-surface:#1a1a24;--bg-surface-2:#232330;--bg-surface-3:#2a2a38;--bg-hover:#2d2a42;--border-default:#45455c;--border-soft:#32323f;--text-primary:#f5f6fa;--text-secondary:#cfd3e5;--text-muted:#8a90a8;--brand-rgb:155,124,255;--color-success:#6fe8c5;--color-success-bg:rgba(0,212,168,.18);--color-warning:#fbbf24;--color-warning-bg:rgba(245,158,11,.18);--color-danger:#fca5a5;--color-danger-bg:rgba(239,68,68,.18);--color-info:#7aa0ff;--color-info-bg:rgba(65,100,238,.18);--chart-cat-1:#9b7cff;--chart-cat-2:#6fe8c5;--chart-cat-3:#fbbf24;--chart-cat-4:#f472b6;--chart-cat-5:#7b9ef5;--chart-cat-6:#bef264;background:var(--bg-app);color:var(--text-primary);color-scheme:dark}body.text-large{--font-10:11px;--font-11:12px;--font-12:13px;--font-13:15px;--font-14:16px;--font-16:18px;--font-18:20px;--font-22:25px;--font-24:27px;--font-32:36px}body.text-xl{--font-10:12px;--font-11:13px;--font-12:15px;--font-13:16px;--font-14:18px;--font-16:20px;--font-18:22px;--font-22:28px;--font-24:30px;--font-32:40px}body.density-compact{--space-4:3px;--space-6:4px;--space-8:6px;--space-10:8px;--space-12:9px;--space-16:12px;--space-20:15px;--space-24:18px;--space-32:24px;--space-40:30px;--space-48:36px}body.high-contrast:not(.night){--text-primary:#000;--text-secondary:#1a1a24;--text-muted:#2f2f40;--border-default:#000;--border-soft:#525670;--bg-app:#fff;--bg-surface:#fff;--bg-surface-2:#fff;--bg-surface-3:#f0f1f7;--bg-hover:#ffe56b;--color-primary:#1100a0;--color-primary-hover:#0a0070;--color-secondary:#5028d8;--color-success:#006b2c;--color-warning:#8c4500;--color-danger:#a60000;--color-info:#0040c8}body.night.high-contrast{--text-primary:#fff;--text-secondary:#f5f6fa;--text-muted:#cfd3e5;--border-default:#fff;--border-soft:#b8bcd0;--bg-app:#000;--bg-surface:#000;--bg-surface-2:#000;--bg-surface-3:#000;--bg-hover:#ffe56b;--color-primary:#d6ccff;--color-primary-hover:#fff;--color-secondary:#e5daff;--color-accent-soft:#fff;--color-success:#6fe8c5;--color-warning:#fbbf24;--color-danger:#fca5a5;--color-info:#7aa0ff;--brand-rgb:214,204,255}body.reduce-motion *,body.reduce-motion :after,body.reduce-motion :before{animation:none!important;scroll-behavior:auto!important;transition:none!important}body.cvd-deutera .pane,body.cvd-deutera .rm-cvd-target,body.cvd-deutera .rm-shell,body.cvd-deutera .rsidebar,body.cvd-deutera .sidebar,body.cvd-deutera>.rm-action-bar__overlay,body.cvd-deutera>.rm-drawer,body.cvd-deutera>.rm-drawer-overlay,body.cvd-deutera>.rm-modal-overlay{filter:url(#a11y-deutera)}body.cvd-protan .pane,body.cvd-protan .rm-cvd-target,body.cvd-protan .rm-shell,body.cvd-protan .rsidebar,body.cvd-protan .sidebar,body.cvd-protan>.rm-action-bar__overlay,body.cvd-protan>.rm-drawer,body.cvd-protan>.rm-drawer-overlay,body.cvd-protan>.rm-modal-overlay{filter:url(#a11y-protan)}body.cvd-tritan .pane,body.cvd-tritan .rm-cvd-target,body.cvd-tritan .rm-shell,body.cvd-tritan .rsidebar,body.cvd-tritan .sidebar,body.cvd-tritan>.rm-action-bar__overlay,body.cvd-tritan>.rm-drawer,body.cvd-tritan>.rm-drawer-overlay,body.cvd-tritan>.rm-modal-overlay{filter:url(#a11y-tritan)}body.cvd-mono .pane,body.cvd-mono .rm-cvd-target,body.cvd-mono .rm-shell,body.cvd-mono .rsidebar,body.cvd-mono .sidebar,body.cvd-mono>.rm-action-bar__overlay,body.cvd-mono>.rm-drawer,body.cvd-mono>.rm-drawer-overlay,body.cvd-mono>.rm-modal-overlay{filter:url(#a11y-mono)}:root{--r-color-primary-50:#f0f4ff;--r-color-primary-100:#dce5fd;--r-color-primary-200:#b9cbfb;--r-color-primary-300:#96b0f9;--r-color-primary-400:#7395f5;--r-color-primary-500:#5a7ef2;--r-color-primary-600:var(--color-healthcare);--r-color-primary-700:#3451d4;--r-color-primary-800:#283fb0;--r-color-primary-900:#1c2d8a;--r-color-gray-50:#f9fafb;--r-color-gray-100:#f3f4f6;--r-color-gray-200:#e5e7eb;--r-color-gray-300:#d1d5db;--r-color-gray-400:#9ca3af;--r-color-gray-500:#6b7280;--r-color-gray-600:#4b5563;--r-color-gray-700:#374151;--r-color-gray-800:#1f2937;--r-color-gray-900:#111827;--r-color-gray-950:#030712;--r-color-success-500:var(--color-success);--r-color-success-600:#16a34a;--r-color-warning-500:#f59e0b;--r-color-warning-600:var(--color-warning);--r-color-danger-500:#ef4444;--r-color-danger-600:var(--color-danger);--r-color-white:#fff;--r-color-black:#000;--r-font-family:var(--font-sans);--r-font-mono:var(--font-mono);--r-text-xs:0.75rem;--r-text-sm:0.875rem;--r-text-base:1rem;--r-text-lg:1.125rem;--r-text-xl:1.25rem;--r-text-2xl:1.5rem;--r-text-3xl:1.875rem;--r-text-4xl:2.25rem;--r-font-weight-normal:var(--weight-normal);--r-font-weight-medium:var(--weight-medium);--r-font-weight-semibold:var(--weight-semibold);--r-font-weight-bold:var(--weight-bold);--r-leading-tight:1.25;--r-leading-normal:1.5;--r-leading-relaxed:1.75;--r-space-0:0;--r-space-1:var(--space-4);--r-space-2:var(--space-8);--r-space-3:var(--space-12);--r-space-4:var(--space-16);--r-space-5:var(--space-20);--r-space-6:var(--space-24);--r-space-8:var(--space-32);--r-space-10:var(--space-40);--r-space-12:var(--space-48);--r-radius-none:0;--r-radius-sm:var(--radius-sm);--r-radius-md:var(--radius-md);--r-radius-lg:var(--radius-lg);--r-radius-xl:0.75rem;--r-radius-2xl:1rem;--r-radius-full:var(--radius-pill);--r-shadow-xs:0 1px 2px 0 rgba(0,0,0,.05);--r-shadow-sm:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--r-shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--r-shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--r-shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--r-transition-fast:var(--duration-fast) var(--ease-in-out);--r-transition-base:200ms var(--ease-in-out);--r-transition-slow:var(--duration-slow) var(--ease-in-out)}
1
+ :root{--sidebar-w:220px;--sidebar-collapsed-w:56px;--rsidebar-w:280px;--rsidebar-collapsed-w:76px;--topbar-h:56px;--topbar-merged-h:0px;--tabs-h:46px;--analysis-header-h:124px;--sourcebar-h:38px;--filterbar-h:56px;--color-primary:#2100ad;--color-primary-hover:#1a0088;--color-secondary:#6b3fff;--color-accent-soft:#b485ff;--color-violet-pale:#d6ccff;--color-healthcare:#4164ee;--color-discovery:#07816f;--color-pharma:#f7520e;--color-databank:#e04380;--color-healthcare-active:#3451d4;--color-discovery-active:#066b5c;--color-pharma-active:#d9470c;--color-databank-active:#c73a6f;--color-pharma-soft:#ff7942;--healthcare-rgb:65,100,238;--discovery-rgb:7,129,111;--pharma-rgb:247,82,14;--databank-rgb:224,67,128;--surface-rgb:255,255,255;--shadow-rgb:30,41,59;--color-accent-teal:#00d4a8;--color-notification:#e59;--color-text-inverse:#fff;--color-success:#16a34a;--color-success-bg:#dcfce7;--color-warning:#d97706;--color-warning-bg:#fef3c7;--color-danger:#dc2626;--color-danger-bg:#fee2e2;--color-info:#4164ee;--color-info-bg:#dbeafe;--bg-app:#eef1f5;--bg-surface:#fff;--bg-surface-2:#fbfbfd;--bg-surface-3:#f5f5f9;--bg-hover:#eef1fe;--border-default:#dbdef0;--border-soft:#f0f1f7;--text-primary:#1e293b;--text-secondary:#525670;--text-muted:#878ca6;--brand-rgb:33,0,173;--chart-cat-1:#2100ad;--chart-cat-2:#00a38e;--chart-cat-3:#e67e22;--chart-cat-4:#d63384;--chart-cat-5:#4164ee;--chart-cat-6:#16a34a;--space-2:2px;--space-4:4px;--space-6:6px;--space-8:8px;--space-10:10px;--space-12:12px;--space-16:16px;--space-20:20px;--space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:10px;--radius-2xl:12px;--radius-pill:999px;--font-10:10px;--font-11:11px;--font-12:12px;--font-13:13px;--font-14:14px;--font-16:16px;--font-18:18px;--font-22:22px;--font-24:24px;--font-32:32px;--weight-normal:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--font-serif:"Caudex",Georgia,serif;--font-sans:"Figtree",system-ui,sans-serif;--font-mono:"SF Mono",Menlo,monospace;--shadow-xs:0 1px 2px rgba(30,41,59,.04);--shadow-sm:0 2px 6px rgba(30,41,59,.06),0 1px 2px rgba(30,41,59,.03);--shadow-md:0 4px 12px rgba(30,41,59,.06),0 1px 3px rgba(30,41,59,.04);--shadow-lg:0 8px 24px rgba(30,41,59,.12);--shadow-focus:0 0 0 3px rgba(107,63,255,.14);--duration-instant:100ms;--duration-fast:150ms;--duration-base:240ms;--duration-slow:400ms;--duration-slowest:600ms;--ease-out:cubic-bezier(.2,0,0,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--ease-spring:cubic-bezier(.5,1.6,.4,1);--z-base:1;--z-sticky:20;--z-header:30;--z-drawer:40;--z-modal:50;--z-toast:60;--z-help:70}body.night{--color-primary:#9b7cff;--color-secondary:#b485ff;--color-accent-soft:#d6ccff;--color-healthcare:#7aa0ff;--color-discovery:#2ecc71;--color-pharma:#ff8c00;--color-databank:#f472b6;--color-healthcare-active:#4164ee;--color-discovery-active:#07816f;--color-pharma-active:#f7520e;--color-databank-active:#e04380;--healthcare-rgb:122,160,255;--discovery-rgb:46,204,113;--pharma-rgb:255,140,0;--databank-rgb:244,114,182;--surface-rgb:26,26,36;--shadow-rgb:0,0,0;--bg-app:#0e0e14;--bg-surface:#1a1a24;--bg-surface-2:#232330;--bg-surface-3:#2a2a38;--bg-hover:#2d2a42;--border-default:#45455c;--border-soft:#32323f;--text-primary:#f5f6fa;--text-secondary:#cfd3e5;--text-muted:#8a90a8;--brand-rgb:155,124,255;--color-success:#6fe8c5;--color-success-bg:rgba(0,212,168,.18);--color-warning:#fbbf24;--color-warning-bg:rgba(245,158,11,.18);--color-danger:#fca5a5;--color-danger-bg:rgba(239,68,68,.18);--color-info:#7aa0ff;--color-info-bg:rgba(65,100,238,.18);--chart-cat-1:#9b7cff;--chart-cat-2:#6fe8c5;--chart-cat-3:#fbbf24;--chart-cat-4:#f472b6;--chart-cat-5:#7b9ef5;--chart-cat-6:#bef264;background:var(--bg-app);color:var(--text-primary);color-scheme:dark}body.text-small{--font-10:9px;--font-11:10px;--font-12:11px;--font-13:12px;--font-14:13px;--font-16:15px;--font-18:17px;--font-22:20px;--font-24:22px;--font-32:29px}body.text-large{--font-10:11px;--font-11:12px;--font-12:13px;--font-13:15px;--font-14:16px;--font-16:18px;--font-18:20px;--font-22:25px;--font-24:27px;--font-32:36px}body.text-xl{--font-10:12px;--font-11:13px;--font-12:15px;--font-13:16px;--font-14:18px;--font-16:20px;--font-18:22px;--font-22:28px;--font-24:30px;--font-32:40px}body.density-compact{--space-4:3px;--space-6:4px;--space-8:6px;--space-10:8px;--space-12:9px;--space-16:12px;--space-20:15px;--space-24:18px;--space-32:24px;--space-40:30px;--space-48:36px}body.high-contrast:not(.night){--text-primary:#000;--text-secondary:#1a1a24;--text-muted:#2f2f40;--border-default:#000;--border-soft:#525670;--bg-app:#fff;--bg-surface:#fff;--bg-surface-2:#fff;--bg-surface-3:#f0f1f7;--bg-hover:#ffe56b;--color-primary:#1100a0;--color-primary-hover:#0a0070;--color-secondary:#5028d8;--color-success:#006b2c;--color-warning:#8c4500;--color-danger:#a60000;--color-info:#0040c8}body.night.high-contrast{--text-primary:#fff;--text-secondary:#f5f6fa;--text-muted:#cfd3e5;--border-default:#fff;--border-soft:#b8bcd0;--bg-app:#000;--bg-surface:#000;--bg-surface-2:#000;--bg-surface-3:#000;--bg-hover:#ffe56b;--color-primary:#d6ccff;--color-primary-hover:#fff;--color-secondary:#e5daff;--color-accent-soft:#fff;--color-success:#6fe8c5;--color-warning:#fbbf24;--color-danger:#fca5a5;--color-info:#7aa0ff;--brand-rgb:214,204,255}body.reduce-motion *,body.reduce-motion :after,body.reduce-motion :before{animation:none!important;scroll-behavior:auto!important;transition:none!important}body.cvd-deutera .pane,body.cvd-deutera .rm-cvd-target,body.cvd-deutera .rm-shell,body.cvd-deutera .rsidebar,body.cvd-deutera .sidebar,body.cvd-deutera>.rm-action-bar__overlay,body.cvd-deutera>.rm-drawer,body.cvd-deutera>.rm-drawer-overlay,body.cvd-deutera>.rm-modal-overlay{filter:url(#a11y-deutera)}body.cvd-protan .pane,body.cvd-protan .rm-cvd-target,body.cvd-protan .rm-shell,body.cvd-protan .rsidebar,body.cvd-protan .sidebar,body.cvd-protan>.rm-action-bar__overlay,body.cvd-protan>.rm-drawer,body.cvd-protan>.rm-drawer-overlay,body.cvd-protan>.rm-modal-overlay{filter:url(#a11y-protan)}body.cvd-tritan .pane,body.cvd-tritan .rm-cvd-target,body.cvd-tritan .rm-shell,body.cvd-tritan .rsidebar,body.cvd-tritan .sidebar,body.cvd-tritan>.rm-action-bar__overlay,body.cvd-tritan>.rm-drawer,body.cvd-tritan>.rm-drawer-overlay,body.cvd-tritan>.rm-modal-overlay{filter:url(#a11y-tritan)}body.cvd-mono .pane,body.cvd-mono .rm-cvd-target,body.cvd-mono .rm-shell,body.cvd-mono .rsidebar,body.cvd-mono .sidebar,body.cvd-mono>.rm-action-bar__overlay,body.cvd-mono>.rm-drawer,body.cvd-mono>.rm-drawer-overlay,body.cvd-mono>.rm-modal-overlay{filter:url(#a11y-mono)}:root{--r-color-primary-50:#f0f4ff;--r-color-primary-100:#dce5fd;--r-color-primary-200:#b9cbfb;--r-color-primary-300:#96b0f9;--r-color-primary-400:#7395f5;--r-color-primary-500:#5a7ef2;--r-color-primary-600:var(--color-healthcare);--r-color-primary-700:#3451d4;--r-color-primary-800:#283fb0;--r-color-primary-900:#1c2d8a;--r-color-gray-50:#f9fafb;--r-color-gray-100:#f3f4f6;--r-color-gray-200:#e5e7eb;--r-color-gray-300:#d1d5db;--r-color-gray-400:#9ca3af;--r-color-gray-500:#6b7280;--r-color-gray-600:#4b5563;--r-color-gray-700:#374151;--r-color-gray-800:#1f2937;--r-color-gray-900:#111827;--r-color-gray-950:#030712;--r-color-success-500:var(--color-success);--r-color-success-600:#16a34a;--r-color-warning-500:#f59e0b;--r-color-warning-600:var(--color-warning);--r-color-danger-500:#ef4444;--r-color-danger-600:var(--color-danger);--r-color-white:#fff;--r-color-black:#000;--r-font-family:var(--font-sans);--r-font-mono:var(--font-mono);--r-text-xs:0.75rem;--r-text-sm:0.875rem;--r-text-base:1rem;--r-text-lg:1.125rem;--r-text-xl:1.25rem;--r-text-2xl:1.5rem;--r-text-3xl:1.875rem;--r-text-4xl:2.25rem;--r-font-weight-normal:var(--weight-normal);--r-font-weight-medium:var(--weight-medium);--r-font-weight-semibold:var(--weight-semibold);--r-font-weight-bold:var(--weight-bold);--r-leading-tight:1.25;--r-leading-normal:1.5;--r-leading-relaxed:1.75;--r-space-0:0;--r-space-1:var(--space-4);--r-space-2:var(--space-8);--r-space-3:var(--space-12);--r-space-4:var(--space-16);--r-space-5:var(--space-20);--r-space-6:var(--space-24);--r-space-8:var(--space-32);--r-space-10:var(--space-40);--r-space-12:var(--space-48);--r-radius-none:0;--r-radius-sm:var(--radius-sm);--r-radius-md:var(--radius-md);--r-radius-lg:var(--radius-lg);--r-radius-xl:0.75rem;--r-radius-2xl:1rem;--r-radius-full:var(--radius-pill);--r-shadow-xs:0 1px 2px 0 rgba(0,0,0,.05);--r-shadow-sm:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--r-shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--r-shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--r-shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--r-transition-fast:var(--duration-fast) var(--ease-in-out);--r-transition-base:200ms var(--ease-in-out);--r-transition-slow:var(--duration-slow) var(--ease-in-out)}
@@ -60,7 +60,8 @@ const WORDS = {
60
60
  fr: {
61
61
  intro: "Adaptez l'affichage à votre besoin. Les changements s'appliquent en temps réel à tout le dashboard et sont mémorisés pour vos prochaines sessions.",
62
62
  text: 'Taille du texte',
63
- textDesc: 'Agrandit les titres, les valeurs KPI, les libellés et les tables.',
63
+ textDesc: 'Règle la taille des titres, des valeurs KPI, des libellés et des tables.',
64
+ textSmall: 'Petit',
64
65
  textNormal: 'Standard',
65
66
  textLarge: 'Large',
66
67
  textXl: 'Très large',
@@ -86,7 +87,8 @@ const WORDS = {
86
87
  en: {
87
88
  intro: 'Adjust the display to suit you. Changes apply across the dashboard right away and are remembered for your next sessions.',
88
89
  text: 'Text size',
89
- textDesc: 'Enlarges titles, KPI values, labels and tables.',
90
+ textDesc: 'Sets the size of titles, KPI values, labels and tables.',
91
+ textSmall: 'Small',
90
92
  textNormal: 'Standard',
91
93
  textLarge: 'Large',
92
94
  textXl: 'Extra large',
@@ -116,6 +118,7 @@ const T = computed(() => WORDS[props.lang] ?? WORDS.fr)
116
118
  /* Les quatre simulations gardent leur nom court, le meme en francais et en
117
119
  anglais : ce sont les noms des deficiences, pas des libelles a traduire. */
118
120
  const textOptions = computed(() => [
121
+ { value: 'small', label: T.value.textSmall },
119
122
  { value: 'normal', label: T.value.textNormal },
120
123
  { value: 'large', label: T.value.textLarge },
121
124
  { value: 'xl', label: T.value.textXl },
@@ -2,6 +2,13 @@
2
2
  RmCallout - banniere d'alerte posee dans le flux, au-dessus de ce qu'elle
3
3
  concerne.
4
4
 
5
+ ORIGINE AURIGA
6
+ --------------
7
+ Remplace `<arg-tips-box>`. Le contenu passait par un slot `#Text`, il passe
8
+ ici par le slot par defaut ou la prop `text`. Le repli (`have-more`) n'est
9
+ pas repris : un encart qui se replie cache justement ce qu'il est venu dire.
10
+ Les appels en `:have-more="false"` se traduisent tels quels.
11
+
5
12
  Icone, texte, actions. Quatre tons semantiques, plus un neutre. C'est le
6
13
  pendant en ligne de l'etat d'erreur (`RmErrorState`) : celui-la remplace un
7
14
  contenu qui a echoue, celui-ci commente un contenu qui est bien la, « cette
@@ -2,8 +2,16 @@
2
2
  Etat vide d'une liste ou d'une vue : une icone dans un disque, un titre, une
3
3
  phrase, et l'action a faire.
4
4
 
5
- Remplace `arg-errors` d'Auriga. Les textes viennent de la page : le
6
- hors-perimetre se dit, il ne s'estime pas.
5
+ ORIGINE AURIGA
6
+ --------------
7
+ Remplace `<arg-errors>`. Les textes viennent de la page : le hors-perimetre
8
+ se dit, il ne s'estime pas.
9
+
10
+ | Auriga | Romulus |
11
+ |---------------|---------|
12
+ | `error-title` | `title` |
13
+ | `error-icon` | `icon` |
14
+ | `error-text` | `text` |
7
15
 
8
16
  Le systeme de design demande trois choses de plus qu'un simple message.
9
17
  D'abord une action, sauf s'il n'y a vraiment rien a faire : un ecran vide
@@ -2,11 +2,21 @@
2
2
  Ligne de fichier : une icone qui dit le format, le nom du document, et a
3
3
  droite ce que le clic va en faire.
4
4
 
5
- Remplace `arg-file-btn` d'Auriga, et la ligne que le panneau « Documents »
6
- du rail redessinait chez lui. Les deux faisaient le meme objet : la carte
7
- bordee d'Auriga portait un nom, une taille et deux liens (« Preview »,
8
- « Download ») qui appelaient en pratique la meme chose. Il ne reste que ce
9
- qui sert : le format, le nom, une action.
5
+ ORIGINE AURIGA
6
+ --------------
7
+ Remplace `<arg-file-btn>`, et la ligne que le panneau « Documents » du rail
8
+ redessinait chez lui. Les deux faisaient le meme objet : la carte bordee
9
+ d'Auriga portait un nom, une taille et deux liens (« Preview », « Download »)
10
+ qui appelaient en pratique la meme chose. Il ne reste que ce qui sert : le
11
+ format, le nom, une action.
12
+
13
+ | Auriga | Romulus | Note |
14
+ |---------------|----------|-----------------------------------------------|
15
+ | `name` | `name` | |
16
+ | `format` | `format` | accepte un type MIME ou un mot (`pdf`, `xlsx`)|
17
+ | `size` | `size` | |
18
+ | `have-preview` + `have-download` | `action` | un seul geste par ligne, `preview` / `open` / `download` / `none` |
19
+ | `@preview` / `@download` | `@select` | la page decide de ce que le clic fait |
10
20
 
11
21
  La couleur de l'icone double la forme, elle ne la remplace pas : `ph-file-pdf`
12
22
  et `ph-file-csv` ne se confondent pas en noir et blanc. Elle vient des tokens
@@ -1,10 +1,21 @@
1
1
  <!--
2
2
  Bandeau de page : le titre, un eventuel retour, et les actions de la page.
3
3
 
4
- Remplace `arg-header` d'Auriga dans le cadre OIP 7. Il reste dans le flux et
5
- se colle en haut de la colonne de contenu quand elle defile ; la barre de
4
+ ORIGINE AURIGA
5
+ --------------
6
+ Remplace `<arg-header>` dans le cadre OIP 7. Il reste dans le flux et se
7
+ colle en haut de la colonne de contenu quand elle defile ; la barre de
6
8
  filtres (RmFilterBar) se cale sous lui en suivant son id `rm_page_header`.
7
9
 
10
+ Les onglets changent de modele : Auriga numerotait, Romulus nomme.
11
+
12
+ | Auriga | Romulus | Note |
13
+ |----------------------------|------------------------------|---------------|
14
+ | `tabs: string[]` | `tabs: RmHeaderTab[]` | `{ key, label, active }` |
15
+ | `index_menu` (a partir de 1) | `active` porte par l'onglet | cote fr_drugs_app, `app/utils/headerTabs.ts` fait le pont |
16
+ | `@updateMenu` / `@update:Menu` | `@tab` | rend la cle, pas l'indice |
17
+ | `sur-titre dans #Title` | `eyebrow` | ATTENTION : le slot `#title` impose sa police et sa taille, un petit libelle pose dedans ressort en serif 32 px |
18
+
8
19
  Il porte aussi les onglets de la page, sous le titre : c'etait la derniere
9
20
  raison de garder `arg-header` dans les apps. Le dessin est celui des onglets
10
21
  du bandeau de cadre (RmAppHeader) : libelle souligne quand il est actif.
@@ -1,3 +1,30 @@
1
+ <!--
2
+ RmSearchBar - le champ de recherche d'une page, avec ses suggestions.
3
+
4
+ ORIGINE AURIGA
5
+ --------------
6
+ Reprend `<arg-search-input>` (`argSearchInput.vue`). Correspondance pour les
7
+ applications a migrer :
8
+
9
+ | Auriga | Romulus | Note |
10
+ |----------------------|--------------------|---------------------------------|
11
+ | `place-holder-value` | `placeholder` | |
12
+ | `v-model:Value` | `v-model` | modele par defaut |
13
+ | `default-value` | valeur du `v-model`| plus de prop separee |
14
+ | `suggestions` | `suggestions` | `{text}` devient `{label}` |
15
+ | `loading-suggs` | `loading` | |
16
+ | `highlight-input` | `highlight-match` | |
17
+ | `fuzzy-threshold` | - | le tri des suggestions revient a l'appelant |
18
+ | `lang` | `advanced-label` et les textes passes en props | pas de table de langue interne |
19
+ | `search-bar-id` | - | servait au suivi Posthog, sorti du composant |
20
+ | `@update:Value` | `@update:modelValue` | |
21
+ | `@submitSearch` | `@search` | |
22
+ | `@selectSuggestion` | `@select` | |
23
+
24
+ Ajoute par rapport a Auriga : `have-advanced` (le lien « Advanced search »
25
+ se retire sur une page qui n'en a pas), `advanced-active` et
26
+ `advanced-count` (l'etat du panneau se lit sur le champ).
27
+ -->
1
28
  <script setup lang="ts">
2
29
  import { onMounted, onUnmounted, ref } from 'vue'
3
30
  import { PhMagnifyingGlass, PhX } from '@phosphor-icons/vue'
@@ -1,6 +1,23 @@
1
1
  <!--
2
2
  RmTable - la table du design system.
3
3
 
4
+ ORIGINE AURIGA
5
+ --------------
6
+ Remplace `<arg-table>`. Le modele change : Auriga posait des libelles de
7
+ tete et des lignes positionnelles, RmTable des colonnes nommees et des
8
+ lignes indexees par ces noms. Cote fr_drugs_app, `app/utils/valueTable.ts`
9
+ fait la conversion, a reprendre telle quelle dans les autres portails.
10
+
11
+ | Auriga | Romulus | Note |
12
+ |-------------------------|------------------------|-------------------------|
13
+ | `heads: string[]` | `columns: RmTableColumn[]` | `{ key, label, align, width, sortable }` |
14
+ | `contents: [{values}]` | `rows: Record<string, any>[]` | indexees par cle de colonne |
15
+ | slot nomme par `column-type` | slot nomme par cle de colonne | plusieurs colonnes partageaient un type, d'ou `typeKeys` cote app |
16
+ | colonne de type `More` | `expandable` + `#expanded="{ row }"` | la colonne sort de la tete, la charge reste dans la ligne |
17
+ | `columnStyle.size: number[]` | `width` par colonne | les parts d'Auriga se rendent en pourcentage |
18
+ | `columnStyle.align` | `align` par colonne | |
19
+ | `tableMaxHeight="600"` | `max-height="600px"` | ATTENTION : Auriga ajoutait `px`, ici la valeur est du CSS et un nombre nu desactive la hauteur en silence |
20
+
4
21
  Des qu'il faut comparer plusieurs entites sur plusieurs dimensions. Pour une
5
22
  seule metrique, c'est un KPI ; pour une liste sans structure de colonnes,
6
23
  c'est une `<ul>`.
@@ -2,8 +2,18 @@
2
2
  Carte qui porte un tableau de resultats : un en-tete (titre, provenance,
3
3
  compte) et le tableau dessous.
4
4
 
5
- Remplace `arg-chart-table-card :have-chart="false"` d'Auriga. Le tableau
6
- lui-meme est un RmTable projete dans le slot par defaut.
5
+ ORIGINE AURIGA
6
+ --------------
7
+ Remplace `<arg-chart-table-card :have-chart="false">`. Le tableau lui-meme
8
+ est un RmTable projete dans le slot par defaut.
9
+
10
+ | Auriga | Romulus |
11
+ |-----------|----------------|
12
+ | `#Title` | `#header` |
13
+ | `#Table` | slot par defaut|
14
+ | `have-chart` | - |
15
+
16
+ Avec un graphe (`have-chart` a vrai), c'est RmChartCard qu'il faut.
7
17
 
8
18
  Slots : #header (titre, source, compte), default (le tableau et sa
9
19
  pagination).
@@ -1,8 +1,16 @@
1
1
  <!--
2
2
  Etiquette courte : statut, categorie, valeur de filtre.
3
3
 
4
- Remplace `arg-tags` d'Auriga, palette identique (memes teintes a 10 % et
5
- memes couleurs de texte) pour que les pages migrees gardent leur rendu.
4
+ ORIGINE AURIGA
5
+ --------------
6
+ Remplace `<arg-tags>`, palette identique (memes teintes a 10 % et memes
7
+ couleurs de texte) pour que les pages migrees gardent leur rendu.
8
+
9
+ | Auriga | Romulus |
10
+ |--------------|------------|
11
+ | `set-style` | `variant` |
12
+ | `have-close` | `closable` |
13
+ | `@on-close` | `@close` |
6
14
  Sans `mask-image: paint(squircle)` : ce masque n'etait pas peint par Chrome
7
15
  a l'interieur d'un lien, les etiquettes disparaissaient.
8
16
  -->
@@ -1,6 +1,6 @@
1
1
  export type RmCvdMode = 'none' | 'deutera' | 'protan' | 'tritan' | 'mono';
2
2
  export type RmChartPalette = 'default' | 'cvdSafe';
3
- export type RmTextScale = 'normal' | 'large' | 'xl';
3
+ export type RmTextScale = 'small' | 'normal' | 'large' | 'xl';
4
4
  /**
5
5
  * Pose sur `body` les classes enregistrees au dernier passage.
6
6
  *
@@ -7,6 +7,7 @@ const CVD_CLASSES = {
7
7
  mono: "cvd-mono"
8
8
  };
9
9
  const TEXT_CLASSES = {
10
+ small: "text-small",
10
11
  large: "text-large",
11
12
  xl: "text-xl"
12
13
  };
@@ -128,7 +129,7 @@ export function useRomulusTheme() {
128
129
  compact.value = list.contains("density-compact");
129
130
  const found = Object.entries(CVD_CLASSES).find(([, c]) => list.contains(c));
130
131
  cvd.value = found ? found[0] : "none";
131
- textScale.value = list.contains("text-xl") ? "xl" : list.contains("text-large") ? "large" : "normal";
132
+ textScale.value = list.contains("text-xl") ? "xl" : list.contains("text-large") ? "large" : list.contains("text-small") ? "small" : "normal";
132
133
  chartPalette.value = list.contains(PALETTE_CLASS) ? "cvdSafe" : "default";
133
134
  chartDecal.value = list.contains(DECAL_CLASS);
134
135
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/romulus",
3
- "version": "0.1.96",
3
+ "version": "0.1.98",
4
4
  "description": "Romulus Design System - Nuxt module by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",