@elevasis/ui 2.36.0 → 2.38.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 (95) hide show
  1. package/dist/api/index.js +4 -3
  2. package/dist/app/index.css +0 -384
  3. package/dist/app/index.d.ts +75 -2
  4. package/dist/app/index.js +22 -21
  5. package/dist/auth/index.d.ts +91 -28
  6. package/dist/auth/index.js +5 -1
  7. package/dist/charts/index.js +9 -3
  8. package/dist/chunk-4O3VAALW.js +349 -0
  9. package/dist/{chunk-O2Q4VMRN.js → chunk-566XWGPP.js} +76 -109
  10. package/dist/chunk-5EYJ2GIN.js +122 -0
  11. package/dist/chunk-6D4LCJ52.js +10 -0
  12. package/dist/chunk-6ROXVZ3L.js +9 -0
  13. package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
  14. package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
  15. package/dist/{chunk-VKIZUUPM.js → chunk-7YXZFS56.js} +31 -14
  16. package/dist/{chunk-AKW7KISS.js → chunk-7ZWXTH5J.js} +2 -44
  17. package/dist/chunk-A7IG36LB.js +215 -0
  18. package/dist/chunk-B2DZLPDL.js +39 -0
  19. package/dist/chunk-C6BDBZRO.js +422 -0
  20. package/dist/chunk-CLDCYJQT.js +1 -0
  21. package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
  22. package/dist/chunk-H2MEFUQD.js +337 -0
  23. package/dist/chunk-I53EX4VU.js +734 -0
  24. package/dist/chunk-IIMU5YAJ.js +53 -0
  25. package/dist/chunk-JXVNHVK7.js +79 -0
  26. package/dist/chunk-M7Q4UBRY.js +85 -0
  27. package/dist/{chunk-K4UZU3TU.js → chunk-P34FFSOX.js} +1 -1
  28. package/dist/chunk-PGWANFNE.js +112 -0
  29. package/dist/{chunk-F6EFC2MJ.js → chunk-Q64E2TZY.js} +440 -2075
  30. package/dist/chunk-S3XR4II4.js +30 -0
  31. package/dist/chunk-SHZT7ULK.js +425 -0
  32. package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
  33. package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
  34. package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
  35. package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
  36. package/dist/components/index.d.ts +74 -42
  37. package/dist/components/index.js +34 -19
  38. package/dist/components/navigation/index.js +3 -31
  39. package/dist/features/auth/index.d.ts +97 -99
  40. package/dist/features/auth/index.js +37 -99
  41. package/dist/features/clients/index.js +34 -19
  42. package/dist/features/crm/index.d.ts +65 -0
  43. package/dist/features/crm/index.js +34 -19
  44. package/dist/features/dashboard/index.js +34 -19
  45. package/dist/features/delivery/index.d.ts +65 -0
  46. package/dist/features/delivery/index.js +34 -19
  47. package/dist/features/knowledge/index.js +6 -30
  48. package/dist/features/lead-gen/index.d.ts +1096 -1
  49. package/dist/features/lead-gen/index.js +34 -19
  50. package/dist/features/monitoring/index.js +34 -19
  51. package/dist/features/monitoring/requests/index.js +34 -19
  52. package/dist/features/notes/index.d.ts +72 -0
  53. package/dist/features/notes/index.js +621 -0
  54. package/dist/features/operations/index.d.ts +10 -2
  55. package/dist/features/operations/index.js +34 -19
  56. package/dist/features/right-panel-host/index.d.ts +214 -0
  57. package/dist/features/right-panel-host/index.js +639 -0
  58. package/dist/features/seo/index.js +3 -2
  59. package/dist/features/settings/index.d.ts +68 -35
  60. package/dist/features/settings/index.js +34 -19
  61. package/dist/hooks/access/index.d.ts +90 -0
  62. package/dist/hooks/access/index.js +10 -0
  63. package/dist/hooks/delivery/index.d.ts +65 -0
  64. package/dist/hooks/delivery/index.js +34 -19
  65. package/dist/hooks/index.d.ts +1644 -1651
  66. package/dist/hooks/index.js +34 -19
  67. package/dist/hooks/published.d.ts +1644 -1651
  68. package/dist/hooks/published.js +34 -19
  69. package/dist/hooks/user-notes/index.d.ts +57 -0
  70. package/dist/hooks/user-notes/index.js +3 -0
  71. package/dist/index.d.ts +294 -277
  72. package/dist/index.js +35 -20
  73. package/dist/initialization/index.d.ts +65 -19
  74. package/dist/knowledge/index.d.ts +10 -2
  75. package/dist/knowledge/index.js +173 -28
  76. package/dist/layout/index.js +5 -3
  77. package/dist/organization/index.d.ts +0 -19
  78. package/dist/organization/index.js +34 -19
  79. package/dist/profile/index.d.ts +65 -0
  80. package/dist/provider/index.css +0 -384
  81. package/dist/provider/index.d.ts +75 -2
  82. package/dist/provider/index.js +16 -21
  83. package/dist/provider/published.css +0 -523
  84. package/dist/provider/published.d.ts +75 -2
  85. package/dist/provider/published.js +11 -21
  86. package/dist/supabase/index.d.ts +127 -0
  87. package/dist/test-utils/index.d.ts +2 -21
  88. package/dist/test-utils/index.js +5 -18
  89. package/dist/theme/index.js +3 -1
  90. package/dist/types/index.d.ts +115 -59
  91. package/dist/utils/index.js +2 -1
  92. package/package.json +21 -5
  93. package/src/auth/README.md +6 -6
  94. package/dist/components/navigation/index.css +0 -649
  95. package/dist/features/knowledge/index.css +0 -649
@@ -0,0 +1,122 @@
1
+ // src/features/operations/organization-graph/types.ts
2
+ var ORGANIZATION_GRAPH_NODE_KIND_ORDER = [
3
+ "organization",
4
+ "system",
5
+ "role",
6
+ "action",
7
+ "entity",
8
+ "event",
9
+ "policy",
10
+ "stage",
11
+ "resource",
12
+ "knowledge",
13
+ "customer-segment",
14
+ "offering",
15
+ "goal",
16
+ "surface",
17
+ "navigation-group",
18
+ "ontology"
19
+ ];
20
+ var ORGANIZATION_GRAPH_NODE_KIND_LABELS = {
21
+ organization: "Organization",
22
+ system: "System",
23
+ role: "Role",
24
+ action: "Action",
25
+ entity: "Entity",
26
+ event: "Event",
27
+ policy: "Policy",
28
+ stage: "Stage",
29
+ resource: "Resource",
30
+ knowledge: "Knowledge",
31
+ "customer-segment": "Customer segment",
32
+ offering: "Offering",
33
+ goal: "Goal",
34
+ surface: "Surface",
35
+ "navigation-group": "Navigation group",
36
+ ontology: "Ontology"
37
+ };
38
+ var ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS = {
39
+ organization: "Organization root",
40
+ system: "System",
41
+ role: "Role",
42
+ action: "Action",
43
+ entity: "Entity",
44
+ event: "Event",
45
+ policy: "Policy",
46
+ stage: "Stage",
47
+ resource: "Resource",
48
+ knowledge: "Knowledge",
49
+ "customer-segment": "Customer segment",
50
+ offering: "Offering",
51
+ goal: "Goal",
52
+ surface: "Surface",
53
+ "navigation-group": "Navigation group",
54
+ ontology: "Ontology record"
55
+ };
56
+ var ORGANIZATION_GRAPH_NODE_KIND_MEANINGS = {
57
+ organization: "The root of the shared organization model and the parent for every derived node.",
58
+ system: "A canonical Organization Model system for ownership, routing, and governance.",
59
+ role: "An Organization Model role that owns responsibilities and may govern systems.",
60
+ action: "A reusable action that can be attached to a system.",
61
+ entity: "A modeled business object or stateful data domain owned by the organization model.",
62
+ event: "A derived domain or runtime event emitted by entities, resources, or actions.",
63
+ policy: "A governance rule that applies to targets and may trigger effects across the graph.",
64
+ stage: "A lifecycle stage that records progress for an entity through a build pipeline.",
65
+ resource: "A concrete command-view or mapped resource that bridges execution topology into the model.",
66
+ knowledge: "An operational knowledge node that documents a process, strategy, or runbook in the org model.",
67
+ "customer-segment": "A defined segment of customers or prospects that the organization targets or serves.",
68
+ offering: "A product, service, or value proposition the organization delivers to customer segments.",
69
+ goal: "A strategic or operational objective that guides priorities and measures progress.",
70
+ surface: "A navigation surface (page or view) that is exposed through the platform shell.",
71
+ "navigation-group": "A logical grouping of navigation surfaces within the platform shell.",
72
+ ontology: "A compiled ontology record such as an object, action, catalog, value type, surface, or resource binding."
73
+ };
74
+ var ORGANIZATION_GRAPH_EDGE_KIND_LABELS = {
75
+ contains: "Containment",
76
+ references: "Reference",
77
+ maps_to: "Mapping",
78
+ uses: "Uses",
79
+ governs: "Governs",
80
+ links: "Links",
81
+ affects: "Affects",
82
+ emits: "Emits",
83
+ originates_from: "Originates from",
84
+ triggers: "Triggers",
85
+ approval: "Approval",
86
+ applies_to: "Applies to",
87
+ effects: "Effects",
88
+ actions: "Actions",
89
+ reads: "Reads",
90
+ writes: "Writes",
91
+ uses_catalog: "Uses catalog"
92
+ };
93
+ var ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS = {
94
+ contains: "A hierarchy or ownership link inside the shared graph.",
95
+ references: "A semantic association or dependency between two graph nodes.",
96
+ maps_to: "An action is aligned to a concrete resource.",
97
+ uses: "A graph node depends on another node, resource, entity, or integration.",
98
+ governs: "A knowledge node, role, or policy provides authoritative guidance for another node.",
99
+ links: "Two modeled nodes are associated without stronger ownership or execution semantics.",
100
+ affects: "The source can influence the behavior, state, or outcome of the target.",
101
+ emits: "The source produces an event that can be inspected or traversed.",
102
+ originates_from: "The source is derived from or owned by the target origin.",
103
+ triggers: "The source can start or activate the target.",
104
+ approval: "The source requests or participates in an approval path.",
105
+ applies_to: "A policy or rule targets the node it applies to.",
106
+ effects: "A policy or event produces the target effect.",
107
+ actions: "The source is bound to the target ontology action contract.",
108
+ reads: "The source reads data described by the target ontology record.",
109
+ writes: "The source writes data described by the target ontology record.",
110
+ uses_catalog: "The source uses the target ontology catalog."
111
+ };
112
+ var DEFAULT_ORGANIZATION_GRAPH_FILTERS = {
113
+ search: "",
114
+ nodeKinds: [],
115
+ topologyPresence: "all",
116
+ environmentStatus: "all",
117
+ resourceTypes: [],
118
+ showIntegrations: true,
119
+ domainFilters: {}
120
+ };
121
+
122
+ export { DEFAULT_ORGANIZATION_GRAPH_FILTERS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER };
@@ -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 };
@@ -0,0 +1,9 @@
1
+ // src/utils/constants/cache.ts
2
+ var STALE_TIME_MONITORING = 3e4;
3
+ var STALE_TIME_ADMIN = 6e4;
4
+ var STALE_TIME_DEFAULT = 3e5;
5
+ var GC_TIME_SHORT = 3e5;
6
+ var GC_TIME_MEDIUM = 6e5;
7
+ var GC_TIME_LONG = 18e5;
8
+
9
+ export { GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING };
@@ -1,4 +1,4 @@
1
- import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-GEFWMU26.js';
1
+ import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-6ROXVZ3L.js';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
3
 
4
4
  function createElevasisQueryClient(options = {}) {