@elevasis/ui 2.68.0 → 2.70.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.
Files changed (85) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +577 -367
  3. package/dist/app/index.js +10 -19
  4. package/dist/auth/index.d.ts +5 -0
  5. package/dist/auth/index.js +5 -5
  6. package/dist/charts/index.js +5 -5
  7. package/dist/{chunk-JC5W55J3.js → chunk-26BTE3Z4.js} +1 -1
  8. package/dist/{chunk-ZNKZMK2E.js → chunk-5C62IRKS.js} +5 -5
  9. package/dist/{chunk-ZGCWTWBD.js → chunk-6TT3FQEZ.js} +16218 -15769
  10. package/dist/{chunk-QYI5BZKM.js → chunk-AGX2CY2O.js} +1 -1
  11. package/dist/{chunk-UFTM5SZZ.js → chunk-AKANHRQ5.js} +9 -3
  12. package/dist/{chunk-NDHMZT2G.js → chunk-C75XWBYZ.js} +1 -1
  13. package/dist/{chunk-2MTP3H3A.js → chunk-CCZJ4OWY.js} +1 -1
  14. package/dist/{chunk-75NOC536.js → chunk-DUEGHF7A.js} +4 -4
  15. package/dist/{chunk-SIVUCZXQ.js → chunk-GJQF3S2Q.js} +1 -1
  16. package/dist/{chunk-ZWS3TCQR.js → chunk-GZADST64.js} +21 -108
  17. package/dist/{chunk-TYKAKJGW.js → chunk-JA2XDMAE.js} +1 -1
  18. package/dist/{chunk-76IVMVI3.js → chunk-LWYLZUUV.js} +3 -3
  19. package/dist/{chunk-WPIASV3H.js → chunk-LY3IKYTZ.js} +2 -2
  20. package/dist/{chunk-HJVPVS57.js → chunk-MFCV4JMQ.js} +5 -5
  21. package/dist/{chunk-L3HFJFYF.js → chunk-NM4A63KJ.js} +30 -48
  22. package/dist/{chunk-OOACTYRA.js → chunk-QDMIFD6F.js} +1 -1
  23. package/dist/{chunk-GBXTRSAU.js → chunk-SMH6SQQE.js} +1 -1
  24. package/dist/{chunk-TGPJNKDU.js → chunk-TJMZUL6E.js} +4 -4
  25. package/dist/{chunk-5NRJ2BLQ.js → chunk-VDX6DL7Z.js} +1 -1
  26. package/dist/{chunk-FK3K2VK2.js → chunk-XKUEO4HG.js} +10 -7
  27. package/dist/components/index.d.ts +1614 -256
  28. package/dist/components/index.js +25 -25
  29. package/dist/components/navigation/index.js +6 -6
  30. package/dist/features/auth/index.d.ts +457 -163
  31. package/dist/features/auth/index.js +7 -7
  32. package/dist/features/clients/index.d.ts +39 -1
  33. package/dist/features/clients/index.js +6 -5
  34. package/dist/features/content/index.css +659 -0
  35. package/dist/features/content/index.d.ts +1978 -0
  36. package/dist/features/content/index.js +2312 -0
  37. package/dist/features/crm/index.d.ts +584 -369
  38. package/dist/features/crm/index.js +7 -7
  39. package/dist/features/dashboard/index.d.ts +0 -6
  40. package/dist/features/dashboard/index.js +7 -7
  41. package/dist/features/delivery/index.css +149 -149
  42. package/dist/features/delivery/index.d.ts +457 -163
  43. package/dist/features/delivery/index.js +6 -6
  44. package/dist/features/knowledge/index.js +5 -5
  45. package/dist/features/lead-gen/index.d.ts +20 -91
  46. package/dist/features/lead-gen/index.js +7 -7
  47. package/dist/features/monitoring/index.css +149 -149
  48. package/dist/features/monitoring/index.js +8 -8
  49. package/dist/features/monitoring/requests/index.js +7 -12
  50. package/dist/features/operations/index.d.ts +0 -84
  51. package/dist/features/operations/index.js +10 -10
  52. package/dist/features/settings/index.d.ts +457 -163
  53. package/dist/features/settings/index.js +7 -7
  54. package/dist/hooks/access/index.d.ts +5 -0
  55. package/dist/hooks/access/index.js +5 -5
  56. package/dist/hooks/delivery/index.d.ts +457 -163
  57. package/dist/hooks/delivery/index.js +2 -2
  58. package/dist/hooks/index.css +149 -149
  59. package/dist/hooks/index.d.ts +2128 -233
  60. package/dist/hooks/index.js +5 -5
  61. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +0 -6
  62. package/dist/hooks/published.css +149 -149
  63. package/dist/hooks/published.d.ts +2128 -233
  64. package/dist/hooks/published.js +5 -5
  65. package/dist/initialization/index.d.ts +464 -164
  66. package/dist/knowledge/index.d.ts +4 -88
  67. package/dist/knowledge/index.js +3211 -3201
  68. package/dist/{knowledge-search-index-6EZNBNSR.js → knowledge-search-index-LP2WVSQX.js} +689 -695
  69. package/dist/layout/index.js +8 -8
  70. package/dist/organization/index.d.ts +7 -1
  71. package/dist/profile/index.d.ts +457 -163
  72. package/dist/provider/index.d.ts +577 -368
  73. package/dist/provider/index.js +5 -5
  74. package/dist/provider/published.d.ts +577 -368
  75. package/dist/provider/published.js +5 -5
  76. package/dist/supabase/index.d.ts +906 -339
  77. package/dist/test-utils/index.d.ts +10 -2
  78. package/dist/test-utils/index.js +39 -10
  79. package/dist/types/index.d.ts +464 -170
  80. package/dist/utils/index.d.ts +0 -6
  81. package/dist/utils/index.js +1 -1
  82. package/dist/vite/index.js +2 -2
  83. package/dist/vite-plugin-knowledge/index.js +1 -1
  84. package/package.json +9 -5
  85. package/src/features/README.md +28 -28
@@ -129,7 +129,6 @@ interface SystemEntry {
129
129
  path: string;
130
130
  surfaces: string[];
131
131
  icon?: string;
132
- order?: number;
133
132
  };
134
133
  lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
135
134
  responsibleRoleId?: string;
@@ -139,17 +138,12 @@ interface SystemEntry {
139
138
  intent: 'exposes' | 'consumes';
140
139
  invocation?: unknown;
141
140
  }[];
142
- policies?: string[];
143
141
  drivesGoals?: string[];
144
142
  apiInterface?: z.infer<typeof SystemApiInterfaceSchema>;
145
- /** @deprecated Use lifecycle. Accepted for one publish cycle. */
146
- status?: 'active' | 'deprecated' | 'archived';
147
143
  path?: string;
148
144
  icon?: string;
149
145
  uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
150
146
  enabled?: boolean;
151
- devOnly?: boolean;
152
- requiresAdmin?: boolean;
153
147
  order: number;
154
148
  config?: Record<string, JsonValue>;
155
149
  ontology?: OntologyScope;
@@ -430,10 +424,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
430
424
  version: z.ZodDefault<z.ZodLiteral<1>>;
431
425
  lastModified: z.ZodString;
432
426
  }, z.core.$strip>>;
433
- policies: z.ZodOptional<z.ZodObject<{
434
- version: z.ZodDefault<z.ZodLiteral<1>>;
435
- lastModified: z.ZodString;
436
- }, z.core.$strip>>;
437
427
  knowledge: z.ZodOptional<z.ZodObject<{
438
428
  version: z.ZodDefault<z.ZodLiteral<1>>;
439
429
  lastModified: z.ZodString;
@@ -491,10 +481,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
491
481
  version: 1;
492
482
  lastModified: string;
493
483
  };
494
- policies: {
495
- version: 1;
496
- lastModified: string;
497
- };
498
484
  knowledge: {
499
485
  version: 1;
500
486
  lastModified: string;
@@ -552,10 +538,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
552
538
  version: 1;
553
539
  lastModified: string;
554
540
  } | undefined;
555
- policies?: {
556
- version: 1;
557
- lastModified: string;
558
- } | undefined;
559
541
  knowledge?: {
560
542
  version: 1;
561
543
  lastModified: string;
@@ -1149,9 +1131,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
1149
1131
  }, z.core.$strip>, z.ZodObject<{
1150
1132
  kind: z.ZodLiteral<"ontology">;
1151
1133
  id: z.ZodString;
1152
- }, z.core.$strip>, z.ZodObject<{
1153
- kind: z.ZodLiteral<"policy">;
1154
- id: z.ZodString;
1155
1134
  }, z.core.$strip>, z.ZodObject<{
1156
1135
  kind: z.ZodLiteral<"role">;
1157
1136
  id: z.ZodString;
@@ -1179,9 +1158,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
1179
1158
  }, z.core.$strip>, z.ZodObject<{
1180
1159
  kind: z.ZodLiteral<"ontology">;
1181
1160
  id: z.ZodString;
1182
- }, z.core.$strip>, z.ZodObject<{
1183
- kind: z.ZodLiteral<"policy">;
1184
- id: z.ZodString;
1185
1161
  }, z.core.$strip>, z.ZodObject<{
1186
1162
  kind: z.ZodLiteral<"role">;
1187
1163
  id: z.ZodString;
@@ -1263,66 +1239,6 @@ declare const OrganizationModelSchema: z.ZodObject<{
1263
1239
  label: z.ZodOptional<z.ZodString>;
1264
1240
  }, z.core.$strip>>>;
1265
1241
  }, z.core.$strip>>>>;
1266
- policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1267
- id: z.ZodString;
1268
- order: z.ZodNumber;
1269
- label: z.ZodString;
1270
- description: z.ZodOptional<z.ZodString>;
1271
- trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
1272
- kind: z.ZodLiteral<"event">;
1273
- eventId: z.ZodString;
1274
- }, z.core.$strip>, z.ZodObject<{
1275
- kind: z.ZodLiteral<"action-invocation">;
1276
- actionId: z.ZodString;
1277
- }, z.core.$strip>, z.ZodObject<{
1278
- kind: z.ZodLiteral<"schedule">;
1279
- cron: z.ZodString;
1280
- }, z.core.$strip>, z.ZodObject<{
1281
- kind: z.ZodLiteral<"manual">;
1282
- }, z.core.$strip>], "kind">;
1283
- predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1284
- kind: z.ZodLiteral<"always">;
1285
- }, z.core.$strip>, z.ZodObject<{
1286
- kind: z.ZodLiteral<"expression">;
1287
- expression: z.ZodString;
1288
- }, z.core.$strip>, z.ZodObject<{
1289
- kind: z.ZodLiteral<"threshold">;
1290
- metric: z.ZodString;
1291
- operator: z.ZodEnum<{
1292
- lt: "lt";
1293
- lte: "lte";
1294
- eq: "eq";
1295
- gte: "gte";
1296
- gt: "gt";
1297
- }>;
1298
- value: z.ZodNumber;
1299
- }, z.core.$strip>], "kind">>;
1300
- actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1301
- kind: z.ZodLiteral<"require-approval">;
1302
- roleId: z.ZodOptional<z.ZodString>;
1303
- }, z.core.$strip>, z.ZodObject<{
1304
- kind: z.ZodLiteral<"invoke-action">;
1305
- actionId: z.ZodString;
1306
- }, z.core.$strip>, z.ZodObject<{
1307
- kind: z.ZodLiteral<"notify-role">;
1308
- roleId: z.ZodString;
1309
- }, z.core.$strip>, z.ZodObject<{
1310
- kind: z.ZodLiteral<"block">;
1311
- }, z.core.$strip>], "kind">>;
1312
- appliesTo: z.ZodDefault<z.ZodObject<{
1313
- systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1314
- actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1315
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1316
- roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1317
- }, z.core.$strip>>;
1318
- lifecycle: z.ZodDefault<z.ZodEnum<{
1319
- active: "active";
1320
- deprecated: "deprecated";
1321
- draft: "draft";
1322
- beta: "beta";
1323
- archived: "archived";
1324
- }>>;
1325
- }, z.core.$strip>>>>;
1326
1242
  knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1327
1243
  id: z.ZodString;
1328
1244
  kind: z.ZodEnum<{
@@ -1459,7 +1375,7 @@ type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
1459
1375
  */
1460
1376
  type RelationshipType = 'triggers' | 'uses' | 'approval';
1461
1377
 
1462
- type OrganizationGraphNodeKind = 'organization' | 'system' | 'client' | 'role' | 'action' | 'entity' | 'event' | 'policy' | 'stage' | 'resource' | 'knowledge' | 'customer-segment' | 'offering' | 'goal' | 'surface' | 'navigation-group' | 'ontology';
1378
+ type OrganizationGraphNodeKind = 'organization' | 'system' | 'client' | 'role' | 'action' | 'entity' | 'event' | 'stage' | 'resource' | 'knowledge' | 'customer-segment' | 'offering' | 'goal' | 'surface' | 'navigation-group' | 'ontology';
1463
1379
  type OrganizationGraphEdgeKind = 'contains' | 'references' | 'maps_to' | 'uses' | 'governs' | 'links' | 'affects' | 'emits' | 'originates_from' | 'triggers' | 'approval' | 'applies_to' | 'effects' | 'actions' | 'reads' | 'writes' | 'uses_catalog';
1464
1380
 
1465
1381
  interface OrganizationGraphNode {
@@ -1935,7 +1851,7 @@ interface DescribeNodeViewProps {
1935
1851
  */
1936
1852
  declare function DescribeNodeView({ node, graph, organizationModel, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
1937
1853
 
1938
- type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'clients' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'policies' | 'ontology-objects' | 'ontology-links' | 'ontology-actions' | 'ontology-catalogs' | 'ontology-events' | 'ontology-interfaces' | 'ontology-value-types' | 'ontology-properties' | 'ontology-groups' | 'ontology-endpoints' | 'ontology-resources';
1854
+ type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'clients' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'ontology-objects' | 'ontology-links' | 'ontology-actions' | 'ontology-catalogs' | 'ontology-events' | 'ontology-interfaces' | 'ontology-value-types' | 'ontology-properties' | 'ontology-groups' | 'ontology-endpoints' | 'ontology-resources';
1939
1855
  interface DomainPanelDispatcherProps {
1940
1856
  domainKey: string;
1941
1857
  model: OrganizationModel;
@@ -1956,7 +1872,7 @@ interface SystemDescribeViewProps {
1956
1872
  * Describe view for system graph nodes.
1957
1873
  * Shows: header, kind chip, key fields (id, path, enabled, ui.path),
1958
1874
  * ui.icon, lifecycle, parent breadcrumb, responsible role, drives goals,
1959
- * policies, governedByKnowledge, ui.surfaces, ui placement flags,
1875
+ * governedByKnowledge, ui.surfaces, ui placement flags,
1960
1876
  * actions (exposes/consumes), owned entities, relationships,
1961
1877
  * and technical metadata.
1962
1878
  */
@@ -2057,7 +1973,7 @@ interface NodeMetadataFooterProps {
2057
1973
  children?: ReactNode;
2058
1974
  /**
2059
1975
  * Source file path relative to the repo root (e.g.
2060
- * `packages/elevasis-core/src/knowledge/nodes/platform/foo.mdx`).
1976
+ * `packages/elevasis/core/config/knowledge/nodes/platform/foo.mdx`).
2061
1977
  * When provided, rendered as an extra metadata row.
2062
1978
  */
2063
1979
  sourceFilePath?: string;