@elevasis/ui 2.37.0 → 2.38.1

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.
Files changed (61) hide show
  1. package/dist/app/index.d.ts +55 -2
  2. package/dist/app/index.js +8 -7
  3. package/dist/auth/index.d.ts +4 -0
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +4 -4
  6. package/dist/{chunk-JPVZRZ3X.js → chunk-4UCAUBOL.js} +1 -1
  7. package/dist/{chunk-NWMPBG4U.js → chunk-566XWGPP.js} +76 -109
  8. package/dist/chunk-6D4LCJ52.js +10 -0
  9. package/dist/{chunk-CWYQRM5T.js → chunk-7ZWXTH5J.js} +2 -8
  10. package/dist/{chunk-S3KBYQTI.js → chunk-B2DZLPDL.js} +1 -1
  11. package/dist/{chunk-NYNOMAAS.js → chunk-C6BDBZRO.js} +1 -1
  12. package/dist/{chunk-JZ2WID2G.js → chunk-H2MEFUQD.js} +1 -1
  13. package/dist/{chunk-T3NI7DOA.js → chunk-LWDVD3XR.js} +218 -54
  14. package/dist/{chunk-LNC6PZAE.js → chunk-M7Q4UBRY.js} +1 -1
  15. package/dist/{chunk-6NREL3KL.js → chunk-P34FFSOX.js} +1 -1
  16. package/dist/{chunk-5CTJ7TW2.js → chunk-PGWANFNE.js} +5 -4
  17. package/dist/{chunk-LCJQ6OWC.js → chunk-YGUNUIME.js} +10 -2
  18. package/dist/components/index.d.ts +46 -0
  19. package/dist/components/index.js +11 -10
  20. package/dist/components/navigation/index.js +3 -3
  21. package/dist/features/auth/index.d.ts +45 -0
  22. package/dist/features/auth/index.js +12 -11
  23. package/dist/features/clients/index.js +11 -10
  24. package/dist/features/crm/index.d.ts +45 -0
  25. package/dist/features/crm/index.js +11 -10
  26. package/dist/features/dashboard/index.js +11 -10
  27. package/dist/features/delivery/index.d.ts +45 -0
  28. package/dist/features/delivery/index.js +11 -10
  29. package/dist/features/knowledge/index.js +3 -3
  30. package/dist/features/lead-gen/index.d.ts +10 -2
  31. package/dist/features/lead-gen/index.js +11 -10
  32. package/dist/features/monitoring/index.js +11 -10
  33. package/dist/features/monitoring/requests/index.js +11 -10
  34. package/dist/features/operations/index.d.ts +10 -2
  35. package/dist/features/operations/index.js +11 -10
  36. package/dist/features/right-panel-host/index.js +0 -1
  37. package/dist/features/settings/index.d.ts +45 -0
  38. package/dist/features/settings/index.js +11 -10
  39. package/dist/hooks/access/index.d.ts +4 -0
  40. package/dist/hooks/access/index.js +3 -3
  41. package/dist/hooks/delivery/index.d.ts +45 -0
  42. package/dist/hooks/delivery/index.js +11 -10
  43. package/dist/hooks/index.d.ts +50 -0
  44. package/dist/hooks/index.js +11 -10
  45. package/dist/hooks/published.d.ts +50 -0
  46. package/dist/hooks/published.js +11 -10
  47. package/dist/index.d.ts +60 -2
  48. package/dist/index.js +11 -10
  49. package/dist/initialization/index.d.ts +45 -0
  50. package/dist/knowledge/index.d.ts +10 -2
  51. package/dist/knowledge/index.js +167 -25
  52. package/dist/organization/index.js +11 -10
  53. package/dist/profile/index.d.ts +45 -0
  54. package/dist/provider/index.d.ts +55 -2
  55. package/dist/provider/index.js +8 -7
  56. package/dist/provider/published.d.ts +55 -2
  57. package/dist/provider/published.js +5 -5
  58. package/dist/supabase/index.d.ts +87 -0
  59. package/dist/theme/index.js +3 -2
  60. package/dist/types/index.d.ts +45 -0
  61. package/package.json +5 -5
@@ -1468,6 +1468,51 @@ type Database = {
1468
1468
  }
1469
1469
  ];
1470
1470
  };
1471
+ deployment_organization_models: {
1472
+ Row: {
1473
+ created_at: string;
1474
+ deployment_id: string;
1475
+ model_hash: string | null;
1476
+ organization_id: string;
1477
+ organization_model: Json;
1478
+ schema_version: string;
1479
+ updated_at: string;
1480
+ };
1481
+ Insert: {
1482
+ created_at?: string;
1483
+ deployment_id: string;
1484
+ model_hash?: string | null;
1485
+ organization_id: string;
1486
+ organization_model: Json;
1487
+ schema_version?: string;
1488
+ updated_at?: string;
1489
+ };
1490
+ Update: {
1491
+ created_at?: string;
1492
+ deployment_id?: string;
1493
+ model_hash?: string | null;
1494
+ organization_id?: string;
1495
+ organization_model?: Json;
1496
+ schema_version?: string;
1497
+ updated_at?: string;
1498
+ };
1499
+ Relationships: [
1500
+ {
1501
+ foreignKeyName: "deployment_organization_models_deployment_id_fkey";
1502
+ columns: ["deployment_id"];
1503
+ isOneToOne: true;
1504
+ referencedRelation: "deployments";
1505
+ referencedColumns: ["id"];
1506
+ },
1507
+ {
1508
+ foreignKeyName: "deployment_organization_models_organization_id_fkey";
1509
+ columns: ["organization_id"];
1510
+ isOneToOne: false;
1511
+ referencedRelation: "organizations";
1512
+ referencedColumns: ["id"];
1513
+ }
1514
+ ];
1515
+ };
1471
1516
  deployments: {
1472
1517
  Row: {
1473
1518
  created_at: string;
@@ -3628,7 +3673,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3628
3673
  light: z$1.ZodOptional<z$1.ZodString>;
3629
3674
  dark: z$1.ZodOptional<z$1.ZodString>;
3630
3675
  }, z$1.core.$strip>>;
3631
- }, z$1.core.$strip>>;
3676
+ voice: z$1.ZodOptional<z$1.ZodString>;
3677
+ tagline: z$1.ZodOptional<z$1.ZodString>;
3678
+ values: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3679
+ themePresetId: z$1.ZodOptional<z$1.ZodString>;
3680
+ }, z$1.core.$loose>>;
3632
3681
  navigation: z$1.ZodDefault<z$1.ZodObject<{
3633
3682
  sidebar: z$1.ZodDefault<z$1.ZodObject<{
3634
3683
  primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
@@ -3675,7 +3724,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3675
3724
  }, z$1.core.$strip>>;
3676
3725
  }, z$1.core.$strip>>;
3677
3726
  clientBrief: z$1.ZodDefault<z$1.ZodString>;
3678
- }, z$1.core.$strip>>;
3727
+ organizationName: z$1.ZodOptional<z$1.ZodString>;
3728
+ productName: z$1.ZodOptional<z$1.ZodString>;
3729
+ shortName: z$1.ZodOptional<z$1.ZodString>;
3730
+ description: z$1.ZodOptional<z$1.ZodString>;
3731
+ }, z$1.core.$loose>>;
3679
3732
  customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3680
3733
  id: z$1.ZodString;
3681
3734
  order: z$1.ZodNumber;
package/dist/app/index.js CHANGED
@@ -4,11 +4,12 @@ import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer
4
4
  import '../chunk-X4WBGKJQ.js';
5
5
  import '../chunk-IIMU5YAJ.js';
6
6
  import '../chunk-RNP5R5I3.js';
7
- import { ElevasisUIProvider } from '../chunk-5CTJ7TW2.js';
8
- import '../chunk-CWYQRM5T.js';
7
+ import { ElevasisUIProvider } from '../chunk-PGWANFNE.js';
8
+ import '../chunk-7ZWXTH5J.js';
9
+ import '../chunk-6D4LCJ52.js';
9
10
  import '../chunk-WF7CONXF.js';
10
11
  import '../chunk-WLOQ4IBG.js';
11
- import { SystemShell } from '../chunk-JZ2WID2G.js';
12
+ import { SystemShell } from '../chunk-H2MEFUQD.js';
12
13
  import '../chunk-I53EX4VU.js';
13
14
  import '../chunk-3KMDHCAR.js';
14
15
  import '../chunk-S3XR4II4.js';
@@ -20,11 +21,11 @@ import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
20
21
  import '../chunk-Q7DJKLEN.js';
21
22
  import '../chunk-X66MVMZT.js';
22
23
  import '../chunk-KRWALB24.js';
23
- import { useSessionCheck } from '../chunk-JPVZRZ3X.js';
24
- import '../chunk-LCJQ6OWC.js';
25
- import { ElevasisSystemsProvider, useElevasisSystems } from '../chunk-NYNOMAAS.js';
24
+ import { useSessionCheck } from '../chunk-4UCAUBOL.js';
25
+ import '../chunk-YGUNUIME.js';
26
+ import { ElevasisSystemsProvider, useElevasisSystems } from '../chunk-C6BDBZRO.js';
26
27
  import { useInitialization } from '../chunk-533DUEQY.js';
27
- import { listAllSystems } from '../chunk-NWMPBG4U.js';
28
+ import { listAllSystems } from '../chunk-566XWGPP.js';
28
29
  import '../chunk-DD3CCMCZ.js';
29
30
  import '../chunk-2Q2JQSQO.js';
30
31
  import '../chunk-6ROXVZ3L.js';
@@ -115,6 +115,10 @@ declare const AccessKeys: {
115
115
  readonly systemPath: "permission.operations";
116
116
  readonly action: "manage";
117
117
  };
118
+ readonly leadGenManage: {
119
+ readonly systemPath: "sales.lead-gen";
120
+ readonly action: "manage";
121
+ };
118
122
  readonly acquisitionManage: {
119
123
  readonly systemPath: "permission.acquisition";
120
124
  readonly action: "manage";
@@ -1,8 +1,8 @@
1
- export { AccessGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-JPVZRZ3X.js';
2
- export { AccessKeys } from '../chunk-LCJQ6OWC.js';
3
- import '../chunk-NYNOMAAS.js';
1
+ export { AccessGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-4UCAUBOL.js';
2
+ export { AccessKeys } from '../chunk-YGUNUIME.js';
3
+ import '../chunk-C6BDBZRO.js';
4
4
  import '../chunk-533DUEQY.js';
5
- import '../chunk-NWMPBG4U.js';
5
+ import '../chunk-566XWGPP.js';
6
6
  import '../chunk-DD3CCMCZ.js';
7
7
  import '../chunk-2Q2JQSQO.js';
8
8
  import '../chunk-6ROXVZ3L.js';
@@ -8,11 +8,11 @@ import '../chunk-2IFYDILW.js';
8
8
  import '../chunk-Q7DJKLEN.js';
9
9
  import '../chunk-X66MVMZT.js';
10
10
  import '../chunk-KRWALB24.js';
11
- import '../chunk-JPVZRZ3X.js';
12
- import '../chunk-LCJQ6OWC.js';
13
- import '../chunk-NYNOMAAS.js';
11
+ import '../chunk-4UCAUBOL.js';
12
+ import '../chunk-YGUNUIME.js';
13
+ import '../chunk-C6BDBZRO.js';
14
14
  import '../chunk-533DUEQY.js';
15
- import '../chunk-NWMPBG4U.js';
15
+ import '../chunk-566XWGPP.js';
16
16
  import '../chunk-DD3CCMCZ.js';
17
17
  import '../chunk-2Q2JQSQO.js';
18
18
  import '../chunk-6ROXVZ3L.js';
@@ -1,4 +1,4 @@
1
- import { useAccess } from './chunk-LCJQ6OWC.js';
1
+ import { useAccess } from './chunk-YGUNUIME.js';
2
2
  import { useInitialization } from './chunk-533DUEQY.js';
3
3
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
4
4
  import { useRef, useCallback, useEffect } from 'react';
@@ -761,107 +761,9 @@ var EntitySchema = z.object({
761
761
  var EntitiesDomainSchema = z.record(z.string(), EntitySchema).refine((record) => Object.entries(record).every(([key, entry]) => entry.id === key), {
762
762
  message: "Each entity entry id must match its map key"
763
763
  }).default({});
764
- var ENTITY_ENTRY_INPUTS = [
765
- {
766
- id: "crm.deal",
767
- order: 10,
768
- label: "Deal",
769
- description: "A CRM opportunity or sales pipeline record.",
770
- ownedBySystemId: "sales.crm",
771
- table: "crm_deals",
772
- stateCatalogId: "crm.pipeline",
773
- links: [{ toEntity: "crm.contact", kind: "has-many", via: "deal_contacts", label: "contacts" }]
774
- },
775
- {
776
- id: "crm.contact",
777
- order: 20,
778
- label: "CRM Contact",
779
- description: "A person associated with a CRM relationship or deal.",
780
- ownedBySystemId: "sales.crm",
781
- table: "crm_contacts"
782
- },
783
- {
784
- id: "leadgen.list",
785
- order: 30,
786
- label: "Lead List",
787
- description: "A prospecting list that groups companies and contacts for acquisition workflows.",
788
- ownedBySystemId: "sales.lead-gen",
789
- table: "acq_lists",
790
- links: [
791
- { toEntity: "leadgen.company", kind: "has-many", via: "acq_list_companies", label: "companies" },
792
- { toEntity: "leadgen.contact", kind: "has-many", via: "acq_list_members", label: "contacts" }
793
- ]
794
- },
795
- {
796
- id: "leadgen.company",
797
- order: 40,
798
- label: "Lead Company",
799
- description: "A company record sourced, enriched, and qualified during prospecting.",
800
- ownedBySystemId: "sales.lead-gen",
801
- table: "acq_list_companies",
802
- stateCatalogId: "lead-gen.company",
803
- links: [
804
- { toEntity: "leadgen.list", kind: "belongs-to", via: "list_id", label: "list" },
805
- { toEntity: "leadgen.contact", kind: "has-many", via: "company_id", label: "contacts" }
806
- ]
807
- },
808
- {
809
- id: "leadgen.contact",
810
- order: 50,
811
- label: "Lead Contact",
812
- description: "A prospect contact discovered or enriched during lead generation.",
813
- ownedBySystemId: "sales.lead-gen",
814
- table: "acq_list_members",
815
- stateCatalogId: "lead-gen.contact",
816
- links: [
817
- { toEntity: "leadgen.list", kind: "belongs-to", via: "list_id", label: "list" },
818
- { toEntity: "leadgen.company", kind: "belongs-to", via: "company_id", label: "company" }
819
- ]
820
- },
821
- {
822
- id: "delivery.project",
823
- order: 60,
824
- label: "Project",
825
- description: "A client delivery project.",
826
- ownedBySystemId: "projects",
827
- table: "projects",
828
- links: [
829
- { toEntity: "delivery.milestone", kind: "has-many", via: "project_id", label: "milestones" },
830
- { toEntity: "delivery.task", kind: "has-many", via: "project_id", label: "tasks" }
831
- ]
832
- },
833
- {
834
- id: "delivery.milestone",
835
- order: 70,
836
- label: "Milestone",
837
- description: "A delivery checkpoint within a project.",
838
- ownedBySystemId: "projects",
839
- table: "project_milestones",
840
- links: [
841
- { toEntity: "delivery.project", kind: "belongs-to", via: "project_id", label: "project" },
842
- { toEntity: "delivery.task", kind: "has-many", via: "milestone_id", label: "tasks" }
843
- ]
844
- },
845
- {
846
- id: "delivery.task",
847
- order: 80,
848
- label: "Task",
849
- description: "A delivery task that can move through the task status catalog.",
850
- ownedBySystemId: "projects",
851
- table: "project_tasks",
852
- stateCatalogId: "delivery.task",
853
- links: [
854
- { toEntity: "delivery.project", kind: "belongs-to", via: "project_id", label: "project" },
855
- { toEntity: "delivery.milestone", kind: "belongs-to", via: "milestone_id", label: "milestone" }
856
- ]
857
- }
858
- ];
859
- var DEFAULT_ORGANIZATION_MODEL_ENTITIES = Object.fromEntries(
860
- ENTITY_ENTRY_INPUTS.map((entity) => {
861
- const parsed = EntitySchema.parse(entity);
862
- return [parsed.id, parsed];
863
- })
864
- );
764
+ function defineEntities(entries) {
765
+ return defineDomainRecord(EntitySchema, entries);
766
+ }
865
767
 
866
768
  // ../core/src/organization-model/domains/actions.ts
867
769
  var ActionResourceIdSchema = z.string().trim().min(1).max(255).regex(/^[A-Za-z0-9]+(?:[-._][A-Za-z0-9]+)*$/, "Resource IDs must use letters, numbers, -, _, or . separators");
@@ -1086,8 +988,33 @@ var IdentityDomainSchema = z.object({
1086
988
  * background. Populated by /setup; surfaced to agents as organizational context.
1087
989
  * Optional — many projects have no external client.
1088
990
  */
1089
- clientBrief: z.string().trim().default("")
1090
- });
991
+ clientBrief: z.string().trim().default(""),
992
+ /**
993
+ * Display name of the organization as shown to end users.
994
+ * Recommended placement for display naming — prefer this over the deprecated
995
+ * `branding.organizationName`. Falls back to `branding.organizationName` for
996
+ * legacy tenants that have not yet migrated.
997
+ */
998
+ organizationName: LabelSchema.optional(),
999
+ /**
1000
+ * Display name of the primary product or platform.
1001
+ * Recommended placement for display naming — prefer this over the deprecated
1002
+ * `branding.productName`. Falls back to `branding.productName` for legacy tenants.
1003
+ */
1004
+ productName: LabelSchema.optional(),
1005
+ /**
1006
+ * Short abbreviated name used in space-constrained UI surfaces (max 40 chars).
1007
+ * Recommended placement for display naming — prefer this over the deprecated
1008
+ * `branding.shortName`. Falls back to `branding.shortName` for legacy tenants.
1009
+ */
1010
+ shortName: z.string().trim().min(1).max(40).optional(),
1011
+ /**
1012
+ * Plain-language description of the organization for display and discovery.
1013
+ * Recommended placement for display naming — prefer this over the deprecated
1014
+ * `branding.description`. Falls back to `branding.description` for legacy tenants.
1015
+ */
1016
+ description: DescriptionSchema.optional()
1017
+ }).passthrough();
1091
1018
  var DEFAULT_ORGANIZATION_MODEL_IDENTITY = {
1092
1019
  mission: "",
1093
1020
  vision: "",
@@ -1374,15 +1301,55 @@ function getAllProjectStatuses(model, appliesTo) {
1374
1301
  // ../core/src/organization-model/contracts.ts
1375
1302
  var PROJECTS_VIEW_ACTION_ID = "delivery.projects.view";
1376
1303
  var OrganizationModelBrandingSchema = z.object({
1304
+ /**
1305
+ * @deprecated Prefer `identity.organizationName`; branding retains it for back-compat.
1306
+ * Legacy tenants that have not set `identity.organizationName` fall back to this field.
1307
+ */
1377
1308
  organizationName: LabelSchema,
1309
+ /**
1310
+ * @deprecated Prefer `identity.productName`; branding retains it for back-compat.
1311
+ * Legacy tenants that have not set `identity.productName` fall back to this field.
1312
+ */
1378
1313
  productName: LabelSchema,
1314
+ /**
1315
+ * @deprecated Prefer `identity.shortName`; branding retains it for back-compat.
1316
+ * Legacy tenants that have not set `identity.shortName` fall back to this field.
1317
+ */
1379
1318
  shortName: z.string().trim().min(1).max(40),
1319
+ /**
1320
+ * @deprecated Prefer `identity.description`; branding retains it for back-compat.
1321
+ * Legacy tenants that have not set `identity.description` fall back to this field.
1322
+ */
1380
1323
  description: DescriptionSchema.optional(),
1381
1324
  logos: z.object({
1382
1325
  light: z.string().trim().min(1).max(2048).optional(),
1383
1326
  dark: z.string().trim().min(1).max(2048).optional()
1384
- }).default({})
1385
- });
1327
+ }).default({}),
1328
+ /**
1329
+ * Brand voice — how the organization communicates. Plain-language description
1330
+ * of tone, register, and personality (e.g. "Direct and human — no jargon").
1331
+ * Max 280 characters.
1332
+ */
1333
+ voice: z.string().trim().max(280).optional(),
1334
+ /**
1335
+ * Brand tagline or positioning statement — the memorable one-liner that
1336
+ * captures the brand's promise or differentiator. Max 200 characters.
1337
+ */
1338
+ tagline: z.string().trim().max(200).optional(),
1339
+ /**
1340
+ * Core brand values — an ordered list of principles the organization stands
1341
+ * for (e.g. ["Transparency", "Craftsmanship", "Velocity"]). Each entry must
1342
+ * be a non-empty trimmed string.
1343
+ */
1344
+ values: z.array(z.string().trim().min(1)).optional(),
1345
+ /**
1346
+ * ID of the active UI theme preset from the UI theme-presets registry.
1347
+ * The UI layer resolves this to colors and typography via `usePresetsContext()`.
1348
+ * Free-form string — validation and fallback state are handled at the UI layer.
1349
+ * Min 1, max 64 characters.
1350
+ */
1351
+ themePresetId: z.string().trim().min(1).max(64).optional()
1352
+ }).passthrough();
1386
1353
  var DEFAULT_ORGANIZATION_MODEL_BRANDING = {
1387
1354
  organizationName: "Default Organization",
1388
1355
  productName: "Organization OS",
@@ -2638,7 +2605,7 @@ var OrganizationModelSchemaBase = z.object({
2638
2605
  resources: ResourcesDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_RESOURCES),
2639
2606
  topology: OmTopologyDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_TOPOLOGY),
2640
2607
  actions: ActionsDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_ACTIONS),
2641
- entities: EntitiesDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_ENTITIES),
2608
+ entities: EntitiesDomainSchema.default({}),
2642
2609
  policies: PoliciesDomainSchema.default(DEFAULT_ORGANIZATION_MODEL_POLICIES),
2643
2610
  // D3: flat Record<id, OrgKnowledgeNode> — no wrapper object
2644
2611
  knowledge: KnowledgeDomainSchema.default({})
@@ -2647,7 +2614,7 @@ var OrganizationModelSchema = OrganizationModelSchemaBase.superRefine(refineOrga
2647
2614
 
2648
2615
  // ../core/src/organization-model/defaults.ts
2649
2616
  var DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE = {};
2650
- var DEFAULT_ORGANIZATION_MODEL_ENTITIES2 = {};
2617
+ var DEFAULT_ORGANIZATION_MODEL_ENTITIES = {};
2651
2618
  var DEFAULT_ORGANIZATION_MODEL_NAVIGATION = {
2652
2619
  sidebar: {
2653
2620
  primary: {},
@@ -2675,7 +2642,7 @@ var DEFAULT_ORGANIZATION_MODEL = {
2675
2642
  // Generic empty actions map. Elevasis-specific action entries have been relocated to
2676
2643
  // `@repo/elevasis-core/src/organization-model/actions.ts`.
2677
2644
  actions: {},
2678
- entities: DEFAULT_ORGANIZATION_MODEL_ENTITIES2,
2645
+ entities: DEFAULT_ORGANIZATION_MODEL_ENTITIES,
2679
2646
  policies: DEFAULT_ORGANIZATION_MODEL_POLICIES,
2680
2647
  knowledge: DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE
2681
2648
  };
@@ -3745,4 +3712,4 @@ function projectOrganizationSurfaces(model) {
3745
3712
  });
3746
3713
  }
3747
3714
 
3748
- export { ActionSchema, AgentResourceEntrySchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_SEMANTIC_ICON_REGISTRY, EntitySchema, IdentityDomainSchema, IntegrationResourceEntrySchema, OntologyIdSchema, OrgKnowledgeNodeSchema, PROJECTS_VIEW_ACTION_ID, PolicySchema, RoleSchema, ScriptResourceEntrySchema, SemanticIcon, SurfaceDefinitionSchema, SystemEntrySchema, WorkflowResourceEntrySchema, ancestorsOf, buildOrganizationGraph, childrenOf, compileOrganizationOntology, defaultPathFor, defineActions, defineResources, defineTopology, devOnlyFor, extendSemanticIconRegistry, findById, findByPath, getAllBuildTemplates, getLeadGenStageCatalog, getResourcesForSystem, getSemanticIconComponent, getSortedSidebarEntries, getSystem, getSystemAncestors, listAllSystems, ontologyGraphNodeId, parentOf, parseOntologyId, projectOrganizationSurfaces, requiresAdminFor, resolveOrganizationModel, resolveSemanticIconComponent, resolveSystemConfig, topLevel, topologyRef, topologyRelationship };
3715
+ export { ActionSchema, AgentResourceEntrySchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_SEMANTIC_ICON_REGISTRY, EntitySchema, IdentityDomainSchema, IntegrationResourceEntrySchema, OntologyIdSchema, OrgKnowledgeNodeSchema, PROJECTS_VIEW_ACTION_ID, PolicySchema, RoleSchema, ScriptResourceEntrySchema, SemanticIcon, SurfaceDefinitionSchema, SystemEntrySchema, WorkflowResourceEntrySchema, ancestorsOf, buildOrganizationGraph, childrenOf, compileOrganizationOntology, defaultPathFor, defineActions, defineEntities, defineResources, defineTopology, devOnlyFor, extendSemanticIconRegistry, findById, findByPath, getAllBuildTemplates, getLeadGenStageCatalog, getResourcesForSystem, getSemanticIconComponent, getSortedSidebarEntries, getSystem, getSystemAncestors, listAllSystems, ontologyGraphNodeId, parentOf, parseOntologyId, projectOrganizationSurfaces, requiresAdminFor, resolveOrganizationModel, resolveSemanticIconComponent, resolveSystemConfig, topLevel, topologyRef, topologyRelationship };
@@ -0,0 +1,10 @@
1
+ import { PRESETS } from './chunk-WF7CONXF.js';
2
+ import { createContext, useContext } from 'react';
3
+
4
+ var PresetsContext = createContext(PRESETS);
5
+ var PresetsProvider = PresetsContext.Provider;
6
+ function usePresetsContext() {
7
+ return useContext(PresetsContext);
8
+ }
9
+
10
+ export { PresetsProvider, usePresetsContext };
@@ -1,6 +1,5 @@
1
- import { PRESETS, getPreset, generateShades } from './chunk-WF7CONXF.js';
1
+ import { getPreset, generateShades } from './chunk-WF7CONXF.js';
2
2
  import { Tooltip, Tree, Text, TagsInput, Tabs, Table, Stack, SimpleGrid, Select, Combobox, SegmentedControl, ScrollArea, Paper, Popover, Notification, MultiSelect, Modal, Menu, Input, HoverCard, Group, Grid, Flex, Drawer, Code, Divider, Card, Button, Accordion, createTheme } from '@mantine/core';
3
- import { createContext, useContext } from 'react';
4
3
 
5
4
  // src/theme/cssVariables.ts
6
5
  var TOKEN_VAR_MAP = {
@@ -445,10 +444,5 @@ var mantineThemeOverride = createTheme({
445
444
  },
446
445
  components: componentThemes
447
446
  });
448
- var PresetsContext = createContext(PRESETS);
449
- var PresetsProvider = PresetsContext.Provider;
450
- function usePresetsContext() {
451
- return useContext(PresetsContext);
452
- }
453
447
 
454
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, glassBase, mantineThemeOverride, usePresetsContext };
448
+ export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, glassBase, mantineThemeOverride };
@@ -1,4 +1,4 @@
1
- import { usePresetsContext } from './chunk-CWYQRM5T.js';
1
+ import { usePresetsContext } from './chunk-6D4LCJ52.js';
2
2
  import { useMemo } from 'react';
3
3
 
4
4
  var BUILT_IN_NAMES = /* @__PURE__ */ new Set([
@@ -1,4 +1,4 @@
1
- import { devOnlyFor, requiresAdminFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, listAllSystems, defaultPathFor, getSortedSidebarEntries, getSemanticIconComponent } from './chunk-NWMPBG4U.js';
1
+ import { devOnlyFor, requiresAdminFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, listAllSystems, defaultPathFor, getSortedSidebarEntries, getSemanticIconComponent } from './chunk-566XWGPP.js';
2
2
  import { createContext, useContext, useMemo, useCallback } from 'react';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -3,7 +3,7 @@ import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from '
3
3
  import { ApiClientProvider, useApiClient } from './chunk-Y3JQBSKQ.js';
4
4
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
5
5
  import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-X66MVMZT.js';
6
- import { useElevasisSystems } from './chunk-NYNOMAAS.js';
6
+ import { useElevasisSystems } from './chunk-C6BDBZRO.js';
7
7
  import { InitializationProvider } from './chunk-533DUEQY.js';
8
8
  import { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
9
9
  import { useProfile, ProfileProvider } from './chunk-2Q2JQSQO.js';