@elevasis/ui 2.31.0 → 2.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/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +69 -9
- package/dist/app/index.js +7 -6
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +5 -6
- package/dist/{chunk-JKSUN5GN.js → chunk-2GMF5IRF.js} +81 -746
- package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-HQGF4ATG.js → chunk-52NLZN6Z.js} +118 -141
- package/dist/chunk-AHCKOU2M.js +13 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/chunk-E4T2N7P7.js +124 -0
- package/dist/{chunk-HYNYEBHM.js → chunk-E7C4XEWH.js} +3 -3
- package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-QDEETKYT.js → chunk-FFPHJBJC.js} +9 -9
- package/dist/chunk-GNRMB6DC.js +5126 -0
- package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
- package/dist/{chunk-Q6OYNEGR.js → chunk-IUKFNASA.js} +5 -6
- package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-T3IPHEYJ.js → chunk-JHT5JIJ3.js} +4410 -566
- package/dist/{chunk-L2NVFLXU.js → chunk-MHLZ4F4N.js} +4 -4
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-5LJAEZMA.js → chunk-NOIRGGW2.js} +5 -6
- package/dist/{chunk-7KC4P3AU.js → chunk-QNOVUCSV.js} +2 -12
- package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
- package/dist/{chunk-ND42LPY4.js → chunk-TKF5S4XP.js} +6 -6
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-Y4FWCG7Y.js → chunk-UVFOURXR.js} +8 -7
- package/dist/chunk-UW7IV2Y3.js +447 -0
- package/dist/{chunk-P55BJZZW.js → chunk-V6SZ4ECN.js} +20 -5
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/chunk-XG57WXOL.js +85 -0
- package/dist/{chunk-SHQXMW4F.js → chunk-XOFSMJLF.js} +46 -28
- package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YAQ25UNM.js +2126 -0
- package/dist/chunk-ZGTDKH3P.js +467 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +262 -51
- package/dist/components/index.js +37 -39
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +5 -3
- package/dist/execution/index.d.ts +11 -2
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +91 -14
- package/dist/features/auth/index.js +42 -10
- package/dist/features/clients/index.css +38 -0
- package/dist/features/clients/index.d.ts +1 -1
- package/dist/features/clients/index.js +17 -15
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +80 -18
- package/dist/features/crm/index.js +17 -15
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +174 -25
- package/dist/features/dashboard/index.js +17 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +80 -18
- package/dist/features/delivery/index.js +16 -15
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +114 -609
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +45 -43
- package/dist/features/lead-gen/index.js +17 -16
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +18 -17
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +23 -21
- package/dist/features/monitoring/requests/index.js +16 -14
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +1299 -66
- package/dist/features/operations/index.js +22 -24
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +80 -18
- package/dist/features/settings/index.js +17 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +60 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +492 -89
- package/dist/hooks/index.js +15 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +332 -33
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +492 -89
- package/dist/hooks/published.js +15 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1353 -1349
- package/dist/index.js +16 -14
- package/dist/initialization/index.d.ts +60 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +1217 -1292
- package/dist/knowledge/index.js +6538 -2198
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +3 -4
- package/dist/organization/index.css +38 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +60 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +1068 -1246
- package/dist/provider/index.js +12 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +1065 -1243
- package/dist/provider/published.js +9 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +117 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +40 -33
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +394 -35
- package/dist/utils/index.d.ts +174 -25
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/dist/zustand/index.js +1 -1
- package/package.json +10 -9
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-542WPQU2.js +0 -413
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-CQZ3DNQY.js +0 -740
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-GRDLB6LM.js +0 -160
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-MVFCLZSK.js +0 -4337
- package/dist/chunk-O2QOPJI5.js +0 -2235
- package/dist/chunk-OAVTMITG.js +0 -13
- package/dist/chunk-TVRQ6AQI.js +0 -476
- package/dist/chunk-WF227UBV.js +0 -48
package/dist/utils/index.d.ts
CHANGED
|
@@ -80,12 +80,106 @@ declare function debounce<T extends (...args: Parameters<T>) => void>(fn: T, wai
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
83
|
-
active: "active";
|
|
84
83
|
deprecated: "deprecated";
|
|
84
|
+
active: "active";
|
|
85
85
|
archived: "archived";
|
|
86
86
|
}>;
|
|
87
87
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
88
88
|
|
|
89
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
90
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
label: z.ZodOptional<z.ZodString>;
|
|
93
|
+
description: z.ZodOptional<z.ZodString>;
|
|
94
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
|
+
}, z.core.$loose>>>>;
|
|
99
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
label: z.ZodOptional<z.ZodString>;
|
|
102
|
+
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
from: z.ZodString;
|
|
106
|
+
to: z.ZodString;
|
|
107
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
108
|
+
via: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$loose>>>>;
|
|
110
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
111
|
+
id: z.ZodString;
|
|
112
|
+
label: z.ZodOptional<z.ZodString>;
|
|
113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
114
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
117
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
118
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
119
|
+
}, z.core.$loose>>>>;
|
|
120
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
label: z.ZodOptional<z.ZodString>;
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
125
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
127
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
128
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
|
+
}, z.core.$loose>>>>;
|
|
130
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
label: z.ZodOptional<z.ZodString>;
|
|
133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
134
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
137
|
+
}, z.core.$loose>>>>;
|
|
138
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
label: z.ZodOptional<z.ZodString>;
|
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
|
142
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
145
|
+
}, z.core.$loose>>>>;
|
|
146
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
label: z.ZodOptional<z.ZodString>;
|
|
149
|
+
description: z.ZodOptional<z.ZodString>;
|
|
150
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
151
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.core.$loose>>>>;
|
|
154
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
155
|
+
id: z.ZodString;
|
|
156
|
+
label: z.ZodOptional<z.ZodString>;
|
|
157
|
+
description: z.ZodOptional<z.ZodString>;
|
|
158
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
159
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
161
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
}, z.core.$loose>>>>;
|
|
164
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
label: z.ZodOptional<z.ZodString>;
|
|
167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
168
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
171
|
+
}, z.core.$loose>>>>;
|
|
172
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
173
|
+
id: z.ZodString;
|
|
174
|
+
label: z.ZodOptional<z.ZodString>;
|
|
175
|
+
description: z.ZodOptional<z.ZodString>;
|
|
176
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
177
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
+
route: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$loose>>>>;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
182
|
+
|
|
89
183
|
/**
|
|
90
184
|
* Time range selector for dashboard metrics
|
|
91
185
|
*/
|
|
@@ -108,26 +202,72 @@ declare const ResourceStatusColors: {
|
|
|
108
202
|
readonly prod: "var(--color-success)";
|
|
109
203
|
};
|
|
110
204
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
deprecated: "deprecated";
|
|
127
|
-
archived: "archived";
|
|
128
|
-
}>;
|
|
205
|
+
/**
|
|
206
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
207
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
208
|
+
*
|
|
209
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
210
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
211
|
+
*/
|
|
212
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
213
|
+
label: z.ZodString;
|
|
214
|
+
description: z.ZodOptional<z.ZodString>;
|
|
215
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
kind: z.ZodString;
|
|
218
|
+
type: z.ZodString;
|
|
219
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
220
|
}, z.core.$strip>;
|
|
130
|
-
type
|
|
221
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
222
|
+
|
|
223
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
224
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
225
|
+
[key: string]: JsonValue;
|
|
226
|
+
};
|
|
227
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
228
|
+
interface SystemEntry {
|
|
229
|
+
id: string;
|
|
230
|
+
label?: string;
|
|
231
|
+
title?: string;
|
|
232
|
+
description?: string;
|
|
233
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
234
|
+
parentSystemId?: string;
|
|
235
|
+
ui?: {
|
|
236
|
+
path: string;
|
|
237
|
+
surfaces: string[];
|
|
238
|
+
icon?: string;
|
|
239
|
+
order?: number;
|
|
240
|
+
};
|
|
241
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
242
|
+
responsibleRoleId?: string;
|
|
243
|
+
governedByKnowledge?: string[];
|
|
244
|
+
actions?: {
|
|
245
|
+
actionId: string;
|
|
246
|
+
intent: 'exposes' | 'consumes';
|
|
247
|
+
invocation?: unknown;
|
|
248
|
+
}[];
|
|
249
|
+
policies?: string[];
|
|
250
|
+
drivesGoals?: string[];
|
|
251
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
252
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
253
|
+
path?: string;
|
|
254
|
+
icon?: string;
|
|
255
|
+
color?: string;
|
|
256
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
257
|
+
enabled?: boolean;
|
|
258
|
+
devOnly?: boolean;
|
|
259
|
+
requiresAdmin?: boolean;
|
|
260
|
+
order: number;
|
|
261
|
+
config?: Record<string, JsonValue>;
|
|
262
|
+
ontology?: OntologyScope;
|
|
263
|
+
systems?: Record<string, SystemEntry>;
|
|
264
|
+
/**
|
|
265
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
266
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
267
|
+
*/
|
|
268
|
+
content?: Record<string, ContentNode>;
|
|
269
|
+
subsystems?: Record<string, SystemEntry>;
|
|
270
|
+
}
|
|
131
271
|
|
|
132
272
|
/**
|
|
133
273
|
* Resource Registry type definitions
|
|
@@ -142,7 +282,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
142
282
|
* Used as the discriminator field in ResourceDefinition
|
|
143
283
|
*/
|
|
144
284
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
145
|
-
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | '
|
|
285
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
146
286
|
/**
|
|
147
287
|
* Base interface for ALL platform resources
|
|
148
288
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -168,8 +308,8 @@ interface ResourceDefinition {
|
|
|
168
308
|
sessionCapable?: boolean;
|
|
169
309
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
170
310
|
origin?: 'local' | 'remote';
|
|
171
|
-
/** OM System membership, when backed by a Resource descriptor */
|
|
172
|
-
|
|
311
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
312
|
+
systemPath?: string;
|
|
173
313
|
/** Display metadata for the owning OM System */
|
|
174
314
|
system?: ResourceSystemSummary;
|
|
175
315
|
/** Governance lifecycle status from the OM Resource descriptor */
|
|
@@ -181,13 +321,22 @@ interface ResourceDefinition {
|
|
|
181
321
|
declare const LinkSchema: z.ZodObject<{
|
|
182
322
|
nodeId: z.ZodString;
|
|
183
323
|
kind: z.ZodEnum<{
|
|
324
|
+
links: "links";
|
|
325
|
+
affects: "affects";
|
|
326
|
+
effects: "effects";
|
|
327
|
+
implements: "implements";
|
|
328
|
+
reads: "reads";
|
|
329
|
+
writes: "writes";
|
|
330
|
+
emits: "emits";
|
|
184
331
|
contains: "contains";
|
|
185
332
|
references: "references";
|
|
186
|
-
exposes: "exposes";
|
|
187
333
|
maps_to: "maps_to";
|
|
188
|
-
"operates-on": "operates-on";
|
|
189
334
|
uses: "uses";
|
|
190
335
|
governs: "governs";
|
|
336
|
+
originates_from: "originates_from";
|
|
337
|
+
triggers: "triggers";
|
|
338
|
+
applies_to: "applies_to";
|
|
339
|
+
uses_catalog: "uses_catalog";
|
|
191
340
|
}>;
|
|
192
341
|
}, z.core.$strip>;
|
|
193
342
|
type Link = z.infer<typeof LinkSchema>;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-
|
|
1
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-2RJMVWFJ.js';
|
|
2
2
|
export { ResourceStatusColors } from '../chunk-KRWALB24.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-I2KLQ2HA.js';
|
package/dist/vite/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { knowledgePlugin } from '../chunk-UFTM5SZZ.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-I2KLQ2HA.js';
|
package/dist/zustand/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -232,16 +232,19 @@
|
|
|
232
232
|
"@mantine/charts": "8.2.7",
|
|
233
233
|
"@mantine/notifications": "8.2.7",
|
|
234
234
|
"@mantine/tiptap": "8.2.7",
|
|
235
|
+
"@mdx-js/mdx": "^3.1.1",
|
|
236
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
237
|
+
"@testing-library/react": "^16.3.0",
|
|
235
238
|
"@tiptap/extension-link": "^2.11.7",
|
|
236
239
|
"@tiptap/extension-placeholder": "^2.11.7",
|
|
237
240
|
"@tiptap/react": "^2.11.7",
|
|
238
241
|
"@tiptap/starter-kit": "^2.11.7",
|
|
239
|
-
"@mdx-js/mdx": "^3.1.1",
|
|
240
242
|
"@types/react": "^19.2.2",
|
|
241
243
|
"@types/react-dom": "^19.1.9",
|
|
242
244
|
"cytoscape": "^3.33.1",
|
|
243
245
|
"cytoscape-fcose": "^2.2.0",
|
|
244
246
|
"globals": "^16.3.0",
|
|
247
|
+
"msw": "^2.11.0",
|
|
245
248
|
"recharts": "^3.2.1",
|
|
246
249
|
"remark-gfm": "^4.0.1",
|
|
247
250
|
"rollup": "^4.59.0",
|
|
@@ -249,20 +252,18 @@
|
|
|
249
252
|
"tsup": "^8.0.0",
|
|
250
253
|
"typescript": "5.9.2",
|
|
251
254
|
"vite": "^7.0.0",
|
|
252
|
-
"@testing-library/react": "^16.3.0",
|
|
253
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
254
|
-
"msw": "^2.11.0",
|
|
255
255
|
"vitest": "^3.2.4",
|
|
256
|
-
"@
|
|
257
|
-
"@repo/eslint-config": "0.0.0",
|
|
256
|
+
"@repo/core": "0.24.0",
|
|
258
257
|
"@repo/typescript-config": "0.0.0",
|
|
259
|
-
"@
|
|
260
|
-
"@repo/elevasis-core": "1.0.0"
|
|
258
|
+
"@elevasis/sdk": "1.21.0",
|
|
259
|
+
"@repo/elevasis-core": "1.0.0",
|
|
260
|
+
"@repo/eslint-config": "0.0.0"
|
|
261
261
|
},
|
|
262
262
|
"dependencies": {
|
|
263
263
|
"@dagrejs/dagre": "^1.1.4",
|
|
264
264
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
265
265
|
"mantine-form-zod-resolver": "^1.3.0",
|
|
266
|
+
"prism-react-renderer": "^2.4.1",
|
|
266
267
|
"react-json-pretty": "^2.2.0"
|
|
267
268
|
},
|
|
268
269
|
"peerDependenciesMeta": {
|
package/src/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# @elevasis/ui
|
|
2
|
-
|
|
3
|
-
Shared UI package for Elevasis. In the monorepo, import from `@repo/ui`. Published consumers import from `@elevasis/ui`.
|
|
4
|
-
|
|
5
|
-
## Published Surfaces
|
|
6
|
-
|
|
7
|
-
- `./provider` and `./provider/ui`
|
|
8
|
-
- `./auth` and `./auth/context`
|
|
9
|
-
- `./hooks`
|
|
10
|
-
- `./sse`
|
|
11
|
-
- `./initialization`
|
|
12
|
-
- `./profile`
|
|
13
|
-
- `./organization`
|
|
14
|
-
- `./api`
|
|
15
|
-
- `./features/*`
|
|
16
|
-
- `./components` and the grouped component subpaths
|
|
17
|
-
- `./theme`
|
|
18
|
-
- `./graph`
|
|
19
|
-
- `./execution`
|
|
20
|
-
- `./router`
|
|
21
|
-
- `./types`
|
|
22
|
-
- `./utils`
|
|
23
|
-
- `./zustand`
|
|
24
|
-
|
|
25
|
-
## Notes
|
|
26
|
-
|
|
27
|
-
- `./supabase` is monorepo-only and intentionally excluded from the published npm surface.
|
|
28
|
-
- The package is built before publish, so source-adjacent docs should stay aligned with the current export barrels.
|
|
29
|
-
|
|
1
|
+
# @elevasis/ui
|
|
2
|
+
|
|
3
|
+
Shared UI package for Elevasis. In the monorepo, import from `@repo/ui`. Published consumers import from `@elevasis/ui`.
|
|
4
|
+
|
|
5
|
+
## Published Surfaces
|
|
6
|
+
|
|
7
|
+
- `./provider` and `./provider/ui`
|
|
8
|
+
- `./auth` and `./auth/context`
|
|
9
|
+
- `./hooks`
|
|
10
|
+
- `./sse`
|
|
11
|
+
- `./initialization`
|
|
12
|
+
- `./profile`
|
|
13
|
+
- `./organization`
|
|
14
|
+
- `./api`
|
|
15
|
+
- `./features/*`
|
|
16
|
+
- `./components` and the grouped component subpaths
|
|
17
|
+
- `./theme`
|
|
18
|
+
- `./graph`
|
|
19
|
+
- `./execution`
|
|
20
|
+
- `./router`
|
|
21
|
+
- `./types`
|
|
22
|
+
- `./utils`
|
|
23
|
+
- `./zustand`
|
|
24
|
+
|
|
25
|
+
## Notes
|
|
26
|
+
|
|
27
|
+
- `./supabase` is monorepo-only and intentionally excluded from the published npm surface.
|
|
28
|
+
- The package is built before publish, so source-adjacent docs should stay aligned with the current export barrels.
|
|
29
|
+
|
package/src/api/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# API
|
|
2
|
-
|
|
3
|
-
The API surface provides the HTTP client provider, the context hook, and the API config types.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `ApiClientProvider`
|
|
8
|
-
- `useApiClientContext`
|
|
9
|
-
- `useApiClient`
|
|
10
|
-
- `ApiClientContextValue`
|
|
11
|
-
- `ApiClientProviderProps`
|
|
12
|
-
- `ApiErrorDetails`
|
|
13
|
-
|
|
14
|
-
## Use When
|
|
15
|
-
|
|
16
|
-
- You need a shared API request client at the app root.
|
|
17
|
-
- You want org-aware request access through `useApiClient`.
|
|
18
|
-
|
|
1
|
+
# API
|
|
2
|
+
|
|
3
|
+
The API surface provides the HTTP client provider, the context hook, and the API config types.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `ApiClientProvider`
|
|
8
|
+
- `useApiClientContext`
|
|
9
|
+
- `useApiClient`
|
|
10
|
+
- `ApiClientContextValue`
|
|
11
|
+
- `ApiClientProviderProps`
|
|
12
|
+
- `ApiErrorDetails`
|
|
13
|
+
|
|
14
|
+
## Use When
|
|
15
|
+
|
|
16
|
+
- You need a shared API request client at the app root.
|
|
17
|
+
- You want org-aware request access through `useApiClient`.
|
|
18
|
+
|
package/src/app/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# App
|
|
2
|
-
|
|
3
|
-
Published app factory for downstream applications.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `createElevasisApp(config)` -- factory that composes providers, router, auth, and theme into a mountable React app
|
|
8
|
-
- `ElevasisAppConfig` -- configuration interface (router, query client, theme, store hooks, error handling)
|
|
9
|
-
- `ElevasisAppStoreConfig` -- store integration hooks for theme state
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { createElevasisApp } from '@elevasis/ui/app'
|
|
15
|
-
|
|
16
|
-
const { App } = createElevasisApp({
|
|
17
|
-
router,
|
|
18
|
-
queryClient,
|
|
19
|
-
store: { useThemePreset, useThemeColorScheme, useSetTheme },
|
|
20
|
-
themeConfig: { presets, defaultPreset },
|
|
21
|
-
})
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Consumers must import CSS separately in their entry point.
|
|
1
|
+
# App
|
|
2
|
+
|
|
3
|
+
Published app factory for downstream applications.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `createElevasisApp(config)` -- factory that composes providers, router, auth, and theme into a mountable React app
|
|
8
|
+
- `ElevasisAppConfig` -- configuration interface (router, query client, theme, store hooks, error handling)
|
|
9
|
+
- `ElevasisAppStoreConfig` -- store integration hooks for theme state
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { createElevasisApp } from '@elevasis/ui/app'
|
|
15
|
+
|
|
16
|
+
const { App } = createElevasisApp({
|
|
17
|
+
router,
|
|
18
|
+
queryClient,
|
|
19
|
+
store: { useThemePreset, useThemeColorScheme, useSetTheme },
|
|
20
|
+
themeConfig: { presets, defaultPreset },
|
|
21
|
+
})
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Consumers must import CSS separately in their entry point.
|
package/src/auth/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Auth
|
|
2
|
-
|
|
3
|
-
The auth surface is the published authentication entry point for UI shells.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- `AuthProvider`
|
|
8
|
-
- `useAuthContext`
|
|
9
|
-
- `useStableAccessToken`
|
|
10
|
-
- `useSessionCheck`
|
|
11
|
-
- `ProtectedRoute`
|
|
12
|
-
- `AdminGuard`
|
|
13
|
-
|
|
14
|
-
## Use When
|
|
15
|
-
|
|
16
|
-
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
-
- You need route-level guards for protected or admin-only UI.
|
|
18
|
-
|
|
1
|
+
# Auth
|
|
2
|
+
|
|
3
|
+
The auth surface is the published authentication entry point for UI shells.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- `AuthProvider`
|
|
8
|
+
- `useAuthContext`
|
|
9
|
+
- `useStableAccessToken`
|
|
10
|
+
- `useSessionCheck`
|
|
11
|
+
- `ProtectedRoute`
|
|
12
|
+
- `AdminGuard`
|
|
13
|
+
|
|
14
|
+
## Use When
|
|
15
|
+
|
|
16
|
+
- You need auth state, access tokens, or session lifecycle checks.
|
|
17
|
+
- You need route-level guards for protected or admin-only UI.
|
|
18
|
+
|
package/src/components/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Components
|
|
2
|
-
|
|
3
|
-
This barrel groups the shared visual and domain UI surfaces that remain part of the published component layer.
|
|
4
|
-
|
|
5
|
-
## What It Covers
|
|
6
|
-
|
|
7
|
-
- Acquisition and CRM UI primitives
|
|
8
|
-
- Navigation, breadcrumbs, tables, forms, modals, and display components
|
|
9
|
-
- Charts, monitoring widgets, notifications, and error states
|
|
10
|
-
- Layout shells, backgrounds, and sidebar primitives
|
|
11
|
-
- Typeform, rich text, content, and resource-definition helpers
|
|
12
|
-
- Operations UI surfaces that are still shared at the component layer
|
|
13
|
-
|
|
14
|
-
## Related Subpaths
|
|
15
|
-
|
|
16
|
-
- `./components/navigation`
|
|
17
|
-
- `./components/chat`
|
|
18
|
-
- `./layout`
|
|
19
|
-
- `./charts`
|
|
20
|
-
|
|
21
|
-
## Notes
|
|
22
|
-
|
|
23
|
-
- The component layer is broad by design, but feature-oriented application shells should still prefer `./features/*` when a dedicated feature surface exists.
|
|
24
|
-
|
|
1
|
+
# Components
|
|
2
|
+
|
|
3
|
+
This barrel groups the shared visual and domain UI surfaces that remain part of the published component layer.
|
|
4
|
+
|
|
5
|
+
## What It Covers
|
|
6
|
+
|
|
7
|
+
- Acquisition and CRM UI primitives
|
|
8
|
+
- Navigation, breadcrumbs, tables, forms, modals, and display components
|
|
9
|
+
- Charts, monitoring widgets, notifications, and error states
|
|
10
|
+
- Layout shells, backgrounds, and sidebar primitives
|
|
11
|
+
- Typeform, rich text, content, and resource-definition helpers
|
|
12
|
+
- Operations UI surfaces that are still shared at the component layer
|
|
13
|
+
|
|
14
|
+
## Related Subpaths
|
|
15
|
+
|
|
16
|
+
- `./components/navigation`
|
|
17
|
+
- `./components/chat`
|
|
18
|
+
- `./layout`
|
|
19
|
+
- `./charts`
|
|
20
|
+
|
|
21
|
+
## Notes
|
|
22
|
+
|
|
23
|
+
- The component layer is broad by design, but feature-oriented application shells should still prefer `./features/*` when a dedicated feature surface exists.
|
|
24
|
+
|
package/src/execution/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Execution
|
|
2
|
-
|
|
3
|
-
The execution surface contains headless helpers for execution timelines, workflow layouts, and execution-specific data shaping.
|
|
4
|
-
|
|
5
|
-
## Exports
|
|
6
|
-
|
|
7
|
-
- Hooks under `./hooks`
|
|
8
|
-
- Utilities under `./utils`
|
|
9
|
-
- Execution types under `./types`
|
|
10
|
-
- Shared execution constants
|
|
11
|
-
|
|
12
|
-
## Use When
|
|
13
|
-
|
|
14
|
-
- You need execution timeline or workflow graph helpers without pulling in visual shells.
|
|
15
|
-
- You need shared execution math or formatting utilities.
|
|
16
|
-
|
|
1
|
+
# Execution
|
|
2
|
+
|
|
3
|
+
The execution surface contains headless helpers for execution timelines, workflow layouts, and execution-specific data shaping.
|
|
4
|
+
|
|
5
|
+
## Exports
|
|
6
|
+
|
|
7
|
+
- Hooks under `./hooks`
|
|
8
|
+
- Utilities under `./utils`
|
|
9
|
+
- Execution types under `./types`
|
|
10
|
+
- Shared execution constants
|
|
11
|
+
|
|
12
|
+
## Use When
|
|
13
|
+
|
|
14
|
+
- You need execution timeline or workflow graph helpers without pulling in visual shells.
|
|
15
|
+
- You need shared execution math or formatting utilities.
|
|
16
|
+
|
package/src/features/README.md
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
# Features
|
|
2
|
-
|
|
3
|
-
Feature subpaths package complete shell-level UI flows for downstream apps.
|
|
4
|
-
|
|
5
|
-
## Published Feature Surfaces
|
|
6
|
-
|
|
7
|
-
- `./features/auth`
|
|
8
|
-
- `./features/crm`
|
|
9
|
-
- `./features/dashboard`
|
|
10
|
-
- `./features/delivery`
|
|
11
|
-
- `./features/lead-gen`
|
|
12
|
-
- `./features/operations`
|
|
13
|
-
- `./features/monitoring`
|
|
14
|
-
- `./features/seo`
|
|
15
|
-
- `./features/settings`
|
|
16
|
-
|
|
17
|
-
## What They Contain
|
|
18
|
-
|
|
19
|
-
- Route shells and page-level components
|
|
20
|
-
- Sidebars and feature-specific navigation
|
|
21
|
-
- Feature manifests for registry consumers
|
|
22
|
-
- Feature-specific hooks and shared constants
|
|
23
|
-
|
|
24
|
-
## Notes
|
|
25
|
-
|
|
26
|
-
- These surfaces are meant for app composition, not for low-level design-system primitives.
|
|
27
|
-
- Some feature exports are also re-exported through `./components` for convenience in legacy or mixed consumers.
|
|
28
|
-
|
|
1
|
+
# Features
|
|
2
|
+
|
|
3
|
+
Feature subpaths package complete shell-level UI flows for downstream apps.
|
|
4
|
+
|
|
5
|
+
## Published Feature Surfaces
|
|
6
|
+
|
|
7
|
+
- `./features/auth`
|
|
8
|
+
- `./features/crm`
|
|
9
|
+
- `./features/dashboard`
|
|
10
|
+
- `./features/delivery`
|
|
11
|
+
- `./features/lead-gen`
|
|
12
|
+
- `./features/operations`
|
|
13
|
+
- `./features/monitoring`
|
|
14
|
+
- `./features/seo`
|
|
15
|
+
- `./features/settings`
|
|
16
|
+
|
|
17
|
+
## What They Contain
|
|
18
|
+
|
|
19
|
+
- Route shells and page-level components
|
|
20
|
+
- Sidebars and feature-specific navigation
|
|
21
|
+
- Feature manifests for registry consumers
|
|
22
|
+
- Feature-specific hooks and shared constants
|
|
23
|
+
|
|
24
|
+
## Notes
|
|
25
|
+
|
|
26
|
+
- These surfaces are meant for app composition, not for low-level design-system primitives.
|
|
27
|
+
- Some feature exports are also re-exported through `./components` for convenience in legacy or mixed consumers.
|
|
28
|
+
|