@elevasis/ui 2.35.0 → 2.37.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/api/index.js +4 -3
- package/dist/app/index.css +0 -384
- package/dist/app/index.d.ts +45 -18
- package/dist/app/index.js +21 -21
- package/dist/auth/index.d.ts +91 -28
- package/dist/auth/index.js +5 -1
- package/dist/charts/index.js +9 -3
- package/dist/chunk-5CTJ7TW2.js +111 -0
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/{chunk-VDOOGGBA.js → chunk-6NREL3KL.js} +2 -2
- package/dist/chunk-6ROXVZ3L.js +9 -0
- package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
- package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
- package/dist/chunk-A7IG36LB.js +215 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-JZ2WID2G.js +337 -0
- package/dist/chunk-LCJQ6OWC.js +348 -0
- package/dist/chunk-LNC6PZAE.js +85 -0
- package/dist/{chunk-4U3XAWCN.js → chunk-NWMPBG4U.js} +134 -495
- package/dist/chunk-NYNOMAAS.js +422 -0
- package/dist/chunk-S3KBYQTI.js +39 -0
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-26HFM4MH.js → chunk-T3NI7DOA.js} +2005 -4106
- package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
- package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
- package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
- package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
- package/dist/components/index.d.ts +36 -46
- package/dist/components/index.js +33 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +55 -99
- package/dist/features/auth/index.js +36 -99
- package/dist/features/clients/index.js +33 -19
- package/dist/features/crm/index.d.ts +23 -0
- package/dist/features/crm/index.js +33 -19
- package/dist/features/dashboard/index.d.ts +3 -3
- package/dist/features/dashboard/index.js +33 -19
- package/dist/features/delivery/index.d.ts +23 -0
- package/dist/features/delivery/index.js +33 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1373 -48
- package/dist/features/lead-gen/index.js +33 -19
- package/dist/features/monitoring/index.js +33 -19
- package/dist/features/monitoring/requests/index.js +33 -19
- package/dist/features/notes/index.d.ts +72 -0
- package/dist/features/notes/index.js +621 -0
- package/dist/features/operations/index.d.ts +30 -30
- package/dist/features/operations/index.js +33 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +640 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +26 -35
- package/dist/features/settings/index.js +33 -19
- package/dist/hooks/access/index.d.ts +90 -0
- package/dist/hooks/access/index.js +10 -0
- package/dist/hooks/delivery/index.d.ts +23 -0
- package/dist/hooks/delivery/index.js +33 -19
- package/dist/hooks/index.d.ts +1816 -1855
- package/dist/hooks/index.js +33 -19
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
- package/dist/hooks/published.d.ts +1816 -1855
- package/dist/hooks/published.js +33 -19
- package/dist/hooks/user-notes/index.d.ts +57 -0
- package/dist/hooks/user-notes/index.js +3 -0
- package/dist/index.d.ts +290 -309
- package/dist/index.js +34 -20
- package/dist/initialization/index.d.ts +23 -19
- package/dist/knowledge/index.d.ts +21 -21
- package/dist/knowledge/index.js +12 -9
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +33 -19
- package/dist/profile/index.d.ts +23 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +45 -18
- package/dist/provider/index.js +15 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +45 -18
- package/dist/provider/published.js +11 -21
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +46 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +2 -1
- package/dist/types/index.d.ts +86 -72
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -1
- package/package.json +21 -5
- package/src/auth/README.md +6 -6
- package/dist/components/navigation/index.css +0 -649
- package/dist/features/knowledge/index.css +0 -649
|
@@ -114,8 +114,8 @@ declare const ResourceKindSchema: z.ZodEnum<{
|
|
|
114
114
|
script: "script";
|
|
115
115
|
}>;
|
|
116
116
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
117
|
-
deprecated: "deprecated";
|
|
118
117
|
active: "active";
|
|
118
|
+
deprecated: "deprecated";
|
|
119
119
|
archived: "archived";
|
|
120
120
|
}>;
|
|
121
121
|
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -126,8 +126,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
126
126
|
description: z.ZodOptional<z.ZodString>;
|
|
127
127
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
128
128
|
status: z.ZodEnum<{
|
|
129
|
-
deprecated: "deprecated";
|
|
130
129
|
active: "active";
|
|
130
|
+
deprecated: "deprecated";
|
|
131
131
|
archived: "archived";
|
|
132
132
|
}>;
|
|
133
133
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -145,12 +145,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
145
145
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
146
146
|
path: z.ZodString;
|
|
147
147
|
role: z.ZodEnum<{
|
|
148
|
-
config: "config";
|
|
149
148
|
entrypoint: "entrypoint";
|
|
150
149
|
handler: "handler";
|
|
151
150
|
schema: "schema";
|
|
152
151
|
test: "test";
|
|
153
152
|
docs: "docs";
|
|
153
|
+
config: "config";
|
|
154
154
|
}>;
|
|
155
155
|
symbol: z.ZodOptional<z.ZodString>;
|
|
156
156
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -161,10 +161,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
161
161
|
label: z.ZodString;
|
|
162
162
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
163
163
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
active: "active";
|
|
164
165
|
deprecated: "deprecated";
|
|
165
166
|
draft: "draft";
|
|
166
167
|
beta: "beta";
|
|
167
|
-
active: "active";
|
|
168
168
|
archived: "archived";
|
|
169
169
|
}>>;
|
|
170
170
|
}, z.core.$strip>>>;
|
|
@@ -176,8 +176,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
176
176
|
description: z.ZodOptional<z.ZodString>;
|
|
177
177
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
178
178
|
status: z.ZodEnum<{
|
|
179
|
-
deprecated: "deprecated";
|
|
180
179
|
active: "active";
|
|
180
|
+
deprecated: "deprecated";
|
|
181
181
|
archived: "archived";
|
|
182
182
|
}>;
|
|
183
183
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -195,12 +195,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
195
195
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
196
196
|
path: z.ZodString;
|
|
197
197
|
role: z.ZodEnum<{
|
|
198
|
-
config: "config";
|
|
199
198
|
entrypoint: "entrypoint";
|
|
200
199
|
handler: "handler";
|
|
201
200
|
schema: "schema";
|
|
202
201
|
test: "test";
|
|
203
202
|
docs: "docs";
|
|
203
|
+
config: "config";
|
|
204
204
|
}>;
|
|
205
205
|
symbol: z.ZodOptional<z.ZodString>;
|
|
206
206
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -242,10 +242,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
242
242
|
label: z.ZodString;
|
|
243
243
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
244
244
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
245
|
+
active: "active";
|
|
245
246
|
deprecated: "deprecated";
|
|
246
247
|
draft: "draft";
|
|
247
248
|
beta: "beta";
|
|
248
|
-
active: "active";
|
|
249
249
|
archived: "archived";
|
|
250
250
|
}>>;
|
|
251
251
|
}, z.core.$strip>>>;
|
|
@@ -257,8 +257,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
257
257
|
description: z.ZodOptional<z.ZodString>;
|
|
258
258
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
259
259
|
status: z.ZodEnum<{
|
|
260
|
-
deprecated: "deprecated";
|
|
261
260
|
active: "active";
|
|
261
|
+
deprecated: "deprecated";
|
|
262
262
|
archived: "archived";
|
|
263
263
|
}>;
|
|
264
264
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -276,12 +276,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
276
276
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
277
277
|
path: z.ZodString;
|
|
278
278
|
role: z.ZodEnum<{
|
|
279
|
-
config: "config";
|
|
280
279
|
entrypoint: "entrypoint";
|
|
281
280
|
handler: "handler";
|
|
282
281
|
schema: "schema";
|
|
283
282
|
test: "test";
|
|
284
283
|
docs: "docs";
|
|
284
|
+
config: "config";
|
|
285
285
|
}>;
|
|
286
286
|
symbol: z.ZodOptional<z.ZodString>;
|
|
287
287
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -296,8 +296,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
296
296
|
description: z.ZodOptional<z.ZodString>;
|
|
297
297
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
298
298
|
status: z.ZodEnum<{
|
|
299
|
-
deprecated: "deprecated";
|
|
300
299
|
active: "active";
|
|
300
|
+
deprecated: "deprecated";
|
|
301
301
|
archived: "archived";
|
|
302
302
|
}>;
|
|
303
303
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -315,12 +315,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
315
315
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
316
316
|
path: z.ZodString;
|
|
317
317
|
role: z.ZodEnum<{
|
|
318
|
-
config: "config";
|
|
319
318
|
entrypoint: "entrypoint";
|
|
320
319
|
handler: "handler";
|
|
321
320
|
schema: "schema";
|
|
322
321
|
test: "test";
|
|
323
322
|
docs: "docs";
|
|
323
|
+
config: "config";
|
|
324
324
|
}>;
|
|
325
325
|
symbol: z.ZodOptional<z.ZodString>;
|
|
326
326
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -523,9 +523,9 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
|
523
523
|
dashboard: "dashboard";
|
|
524
524
|
settings: "settings";
|
|
525
525
|
graph: "graph";
|
|
526
|
-
list: "list";
|
|
527
526
|
page: "page";
|
|
528
527
|
detail: "detail";
|
|
528
|
+
list: "list";
|
|
529
529
|
}>;
|
|
530
530
|
interface SidebarSurfaceNode {
|
|
531
531
|
type: 'surface';
|
|
@@ -557,10 +557,10 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
|
557
557
|
declare const LinkSchema: z.ZodObject<{
|
|
558
558
|
nodeId: z.ZodString;
|
|
559
559
|
kind: z.ZodEnum<{
|
|
560
|
-
links: "links";
|
|
561
560
|
affects: "affects";
|
|
562
|
-
effects: "effects";
|
|
563
561
|
actions: "actions";
|
|
562
|
+
effects: "effects";
|
|
563
|
+
links: "links";
|
|
564
564
|
reads: "reads";
|
|
565
565
|
writes: "writes";
|
|
566
566
|
emits: "emits";
|
|
@@ -982,8 +982,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
982
982
|
description: z.ZodOptional<z.ZodString>;
|
|
983
983
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
984
984
|
status: z.ZodEnum<{
|
|
985
|
-
deprecated: "deprecated";
|
|
986
985
|
active: "active";
|
|
986
|
+
deprecated: "deprecated";
|
|
987
987
|
archived: "archived";
|
|
988
988
|
}>;
|
|
989
989
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -1001,12 +1001,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1001
1001
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1002
1002
|
path: z.ZodString;
|
|
1003
1003
|
role: z.ZodEnum<{
|
|
1004
|
-
config: "config";
|
|
1005
1004
|
entrypoint: "entrypoint";
|
|
1006
1005
|
handler: "handler";
|
|
1007
1006
|
schema: "schema";
|
|
1008
1007
|
test: "test";
|
|
1009
1008
|
docs: "docs";
|
|
1009
|
+
config: "config";
|
|
1010
1010
|
}>;
|
|
1011
1011
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1012
1012
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1017,10 +1017,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1017
1017
|
label: z.ZodString;
|
|
1018
1018
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
1019
1019
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1020
|
+
active: "active";
|
|
1020
1021
|
deprecated: "deprecated";
|
|
1021
1022
|
draft: "draft";
|
|
1022
1023
|
beta: "beta";
|
|
1023
|
-
active: "active";
|
|
1024
1024
|
archived: "archived";
|
|
1025
1025
|
}>>;
|
|
1026
1026
|
}, z.core.$strip>>>;
|
|
@@ -1032,8 +1032,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1032
1032
|
description: z.ZodOptional<z.ZodString>;
|
|
1033
1033
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1034
1034
|
status: z.ZodEnum<{
|
|
1035
|
-
deprecated: "deprecated";
|
|
1036
1035
|
active: "active";
|
|
1036
|
+
deprecated: "deprecated";
|
|
1037
1037
|
archived: "archived";
|
|
1038
1038
|
}>;
|
|
1039
1039
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -1051,12 +1051,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1051
1051
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1052
1052
|
path: z.ZodString;
|
|
1053
1053
|
role: z.ZodEnum<{
|
|
1054
|
-
config: "config";
|
|
1055
1054
|
entrypoint: "entrypoint";
|
|
1056
1055
|
handler: "handler";
|
|
1057
1056
|
schema: "schema";
|
|
1058
1057
|
test: "test";
|
|
1059
1058
|
docs: "docs";
|
|
1059
|
+
config: "config";
|
|
1060
1060
|
}>;
|
|
1061
1061
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1062
1062
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1098,10 +1098,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1098
1098
|
label: z.ZodString;
|
|
1099
1099
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
1100
1100
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1101
|
+
active: "active";
|
|
1101
1102
|
deprecated: "deprecated";
|
|
1102
1103
|
draft: "draft";
|
|
1103
1104
|
beta: "beta";
|
|
1104
|
-
active: "active";
|
|
1105
1105
|
archived: "archived";
|
|
1106
1106
|
}>>;
|
|
1107
1107
|
}, z.core.$strip>>>;
|
|
@@ -1113,8 +1113,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1113
1113
|
description: z.ZodOptional<z.ZodString>;
|
|
1114
1114
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1115
1115
|
status: z.ZodEnum<{
|
|
1116
|
-
deprecated: "deprecated";
|
|
1117
1116
|
active: "active";
|
|
1117
|
+
deprecated: "deprecated";
|
|
1118
1118
|
archived: "archived";
|
|
1119
1119
|
}>;
|
|
1120
1120
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -1132,12 +1132,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1132
1132
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1133
1133
|
path: z.ZodString;
|
|
1134
1134
|
role: z.ZodEnum<{
|
|
1135
|
-
config: "config";
|
|
1136
1135
|
entrypoint: "entrypoint";
|
|
1137
1136
|
handler: "handler";
|
|
1138
1137
|
schema: "schema";
|
|
1139
1138
|
test: "test";
|
|
1140
1139
|
docs: "docs";
|
|
1140
|
+
config: "config";
|
|
1141
1141
|
}>;
|
|
1142
1142
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1143
1143
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1152,8 +1152,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1152
1152
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1153
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1154
1154
|
status: z.ZodEnum<{
|
|
1155
|
-
deprecated: "deprecated";
|
|
1156
1155
|
active: "active";
|
|
1156
|
+
deprecated: "deprecated";
|
|
1157
1157
|
archived: "archived";
|
|
1158
1158
|
}>;
|
|
1159
1159
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -1171,12 +1171,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1171
1171
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1172
1172
|
path: z.ZodString;
|
|
1173
1173
|
role: z.ZodEnum<{
|
|
1174
|
-
config: "config";
|
|
1175
1174
|
entrypoint: "entrypoint";
|
|
1176
1175
|
handler: "handler";
|
|
1177
1176
|
schema: "schema";
|
|
1178
1177
|
test: "test";
|
|
1179
1178
|
docs: "docs";
|
|
1179
|
+
config: "config";
|
|
1180
1180
|
}>;
|
|
1181
1181
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1182
1182
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1290,10 +1290,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1290
1290
|
}, z.core.$strip>], "kind">>>;
|
|
1291
1291
|
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1292
1292
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1293
|
+
active: "active";
|
|
1293
1294
|
deprecated: "deprecated";
|
|
1294
1295
|
draft: "draft";
|
|
1295
1296
|
beta: "beta";
|
|
1296
|
-
active: "active";
|
|
1297
1297
|
archived: "archived";
|
|
1298
1298
|
}>>;
|
|
1299
1299
|
}, z.core.$strip>>>>;
|
|
@@ -1371,10 +1371,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1371
1371
|
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1372
1372
|
}, z.core.$strip>>;
|
|
1373
1373
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
1374
|
+
active: "active";
|
|
1374
1375
|
deprecated: "deprecated";
|
|
1375
1376
|
draft: "draft";
|
|
1376
1377
|
beta: "beta";
|
|
1377
|
-
active: "active";
|
|
1378
1378
|
archived: "archived";
|
|
1379
1379
|
}>>;
|
|
1380
1380
|
}, z.core.$strip>>>>;
|
|
@@ -1457,12 +1457,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1457
1457
|
kind: z.ZodEnum<{
|
|
1458
1458
|
knowledge: "knowledge";
|
|
1459
1459
|
system: "system";
|
|
1460
|
+
resource: "resource";
|
|
1460
1461
|
action: "action";
|
|
1461
1462
|
ontology: "ontology";
|
|
1462
1463
|
role: "role";
|
|
1463
|
-
goal: "goal";
|
|
1464
|
-
resource: "resource";
|
|
1465
1464
|
stage: "stage";
|
|
1465
|
+
goal: "goal";
|
|
1466
1466
|
"customer-segment": "customer-segment";
|
|
1467
1467
|
offering: "offering";
|
|
1468
1468
|
}>;
|
|
@@ -1472,7 +1472,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1472
1472
|
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1473
1473
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
1474
1474
|
target: {
|
|
1475
|
-
kind: "knowledge" | "system" | "
|
|
1475
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
1476
1476
|
id: string;
|
|
1477
1477
|
};
|
|
1478
1478
|
nodeId: string;
|
|
@@ -1480,7 +1480,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1480
1480
|
nodeId: string;
|
|
1481
1481
|
} | {
|
|
1482
1482
|
target: {
|
|
1483
|
-
kind: "knowledge" | "system" | "
|
|
1483
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
1484
1484
|
id: string;
|
|
1485
1485
|
};
|
|
1486
1486
|
}>>>>;
|
|
@@ -1,33 +1,47 @@
|
|
|
1
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-3KMDHCAR.js';
|
|
5
|
-
import '../../chunk-AKW7KISS.js';
|
|
6
|
-
import '../../chunk-WF7CONXF.js';
|
|
7
|
-
import '../../chunk-ZTWA5H77.js';
|
|
1
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-T3NI7DOA.js';
|
|
2
|
+
import '../../chunk-S3KBYQTI.js';
|
|
3
|
+
import '../../chunk-SHZT7ULK.js';
|
|
8
4
|
import '../../chunk-AUDNF2Q7.js';
|
|
9
5
|
import '../../chunk-6M6OLGQY.js';
|
|
10
6
|
import '../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-WLOQ4IBG.js';
|
|
15
|
-
import '../../chunk-57OZ3AEG.js';
|
|
7
|
+
import '../../chunk-LNC6PZAE.js';
|
|
8
|
+
import '../../chunk-CXY7FMUM.js';
|
|
9
|
+
import '../../chunk-7GQFIWP4.js';
|
|
16
10
|
import '../../chunk-JBWJ6WHZ.js';
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZTWA5H77.js';
|
|
12
|
+
import '../../chunk-5EYJ2GIN.js';
|
|
13
|
+
import '../../chunk-DA6I5VEY.js';
|
|
14
|
+
import '../../chunk-CLDCYJQT.js';
|
|
15
|
+
import '../../chunk-TYRUKGGD.js';
|
|
16
|
+
import '../../chunk-X4WBGKJQ.js';
|
|
17
|
+
import '../../chunk-IIMU5YAJ.js';
|
|
22
18
|
import '../../chunk-HENXLGVD.js';
|
|
23
19
|
import '../../chunk-7FPLLSHN.js';
|
|
24
20
|
import '../../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-5CTJ7TW2.js';
|
|
22
|
+
import '../../chunk-CWYQRM5T.js';
|
|
23
|
+
import '../../chunk-WF7CONXF.js';
|
|
24
|
+
import '../../chunk-WLOQ4IBG.js';
|
|
25
|
+
import '../../chunk-JZ2WID2G.js';
|
|
26
|
+
import '../../chunk-I53EX4VU.js';
|
|
27
|
+
import '../../chunk-3KMDHCAR.js';
|
|
28
|
+
import '../../chunk-S3XR4II4.js';
|
|
29
|
+
import '../../chunk-A7IG36LB.js';
|
|
30
|
+
import '../../chunk-NYBEU5TE.js';
|
|
31
|
+
import '../../chunk-Y3JQBSKQ.js';
|
|
32
|
+
import '../../chunk-DT3QYZVU.js';
|
|
33
|
+
import '../../chunk-2IFYDILW.js';
|
|
34
|
+
import '../../chunk-Q7DJKLEN.js';
|
|
35
|
+
import '../../chunk-X66MVMZT.js';
|
|
26
36
|
import '../../chunk-KRWALB24.js';
|
|
27
|
-
import '../../chunk-
|
|
37
|
+
import '../../chunk-JPVZRZ3X.js';
|
|
38
|
+
import '../../chunk-LCJQ6OWC.js';
|
|
39
|
+
import '../../chunk-NYNOMAAS.js';
|
|
28
40
|
import '../../chunk-533DUEQY.js';
|
|
41
|
+
import '../../chunk-NWMPBG4U.js';
|
|
29
42
|
import '../../chunk-DD3CCMCZ.js';
|
|
30
43
|
import '../../chunk-2Q2JQSQO.js';
|
|
44
|
+
import '../../chunk-6ROXVZ3L.js';
|
|
31
45
|
import '../../chunk-KJ3QUBNU.js';
|
|
32
46
|
import '../../chunk-BRJ3QZ4E.js';
|
|
33
47
|
import '../../chunk-I2KLQ2HA.js';
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { TablerIcon } from '@tabler/icons-react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Contract for a single right-panel view registration.
|
|
7
|
+
*
|
|
8
|
+
* Views are registered by each app locally; the host framework is agnostic
|
|
9
|
+
* to which views exist. The `isAvailable` predicate enables access-system-
|
|
10
|
+
* agnostic permission gating: each app supplies its own predicate (or none).
|
|
11
|
+
*/
|
|
12
|
+
interface RightPanelView {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
icon: TablerIcon;
|
|
16
|
+
component: ComponentType;
|
|
17
|
+
/** When true, the component stays mounted even when not the active view. */
|
|
18
|
+
alwaysMount?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Optional predicate to hide the view when the caller's access system
|
|
21
|
+
* determines the user should not see it. The predicate receives a context
|
|
22
|
+
* value that is passed down from `<RightPanelProvider contextValue={...}>`.
|
|
23
|
+
*
|
|
24
|
+
* Deliberately access-system-agnostic so the host ships independently of
|
|
25
|
+
* the unified AccessModel migration.
|
|
26
|
+
*/
|
|
27
|
+
isAvailable?: (ctx: RightPanelContext) => boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Context object passed to each `isAvailable` predicate.
|
|
31
|
+
* Intentionally open-ended; callers cast to their own extended type.
|
|
32
|
+
*/
|
|
33
|
+
type RightPanelContext = Record<string, unknown>;
|
|
34
|
+
/** Shape of the right-panel store state (read side). */
|
|
35
|
+
interface RightPanelState {
|
|
36
|
+
isOpen: boolean;
|
|
37
|
+
isMinimized: boolean;
|
|
38
|
+
/** True once the panel has been opened at least once (guards alwaysMount components). */
|
|
39
|
+
hasBeenOpened: boolean;
|
|
40
|
+
width: number;
|
|
41
|
+
activeViewId: string;
|
|
42
|
+
}
|
|
43
|
+
/** All actions exposed by useRightPanel(). */
|
|
44
|
+
interface RightPanelActions {
|
|
45
|
+
open: (viewId?: string) => void;
|
|
46
|
+
close: () => void;
|
|
47
|
+
minimize: () => void;
|
|
48
|
+
restore: () => void;
|
|
49
|
+
setActiveView: (viewId: string) => void;
|
|
50
|
+
setWidth: (width: number) => void;
|
|
51
|
+
toggle: () => void;
|
|
52
|
+
}
|
|
53
|
+
/** Full hook surface returned by useRightPanel(). */
|
|
54
|
+
type UseRightPanelReturn = RightPanelState & RightPanelActions;
|
|
55
|
+
/** Props for the RightPanelProvider. */
|
|
56
|
+
interface RightPanelProviderProps {
|
|
57
|
+
children: React.ReactNode;
|
|
58
|
+
/** Override initial store state at mount time. */
|
|
59
|
+
initialState?: Partial<RightPanelState>;
|
|
60
|
+
/**
|
|
61
|
+
* Optional context value forwarded to every view's `isAvailable` predicate.
|
|
62
|
+
* Typically the result of an access hook or similar.
|
|
63
|
+
*/
|
|
64
|
+
contextValue?: RightPanelContext;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Read the context value passed to <RightPanelProvider contextValue={...}>. */
|
|
68
|
+
declare function useRightPanelContext(): RightPanelContext;
|
|
69
|
+
/**
|
|
70
|
+
* Provides the right-panel Zustand store to all descendant components.
|
|
71
|
+
*
|
|
72
|
+
* Each `<RightPanelProvider>` creates its own isolated store instance,
|
|
73
|
+
* so multiple independent panels on the same page are supported.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```tsx
|
|
77
|
+
* function App() {
|
|
78
|
+
* return (
|
|
79
|
+
* <RightPanelProvider>
|
|
80
|
+
* <AppShell>
|
|
81
|
+
* <RightPanelLayer views={MY_VIEWS} />
|
|
82
|
+
* </AppShell>
|
|
83
|
+
* </RightPanelProvider>
|
|
84
|
+
* )
|
|
85
|
+
* }
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
declare function RightPanelProvider({ children, initialState, contextValue }: RightPanelProviderProps): ReactNode;
|
|
89
|
+
|
|
90
|
+
interface RightPanelLayerProps {
|
|
91
|
+
/**
|
|
92
|
+
* The ordered list of views to render in the panel.
|
|
93
|
+
* Filter and order these before passing (e.g. via useAvailableRightPanelViews
|
|
94
|
+
* in your app or from the registry directly).
|
|
95
|
+
*/
|
|
96
|
+
views: RightPanelView[];
|
|
97
|
+
/**
|
|
98
|
+
* When true, the panel is in a "processing" state — the trigger light bar
|
|
99
|
+
* pulses to indicate ongoing work. Pass from app-specific state as needed.
|
|
100
|
+
*/
|
|
101
|
+
isProcessing?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Optional app-owned sidebar rendered to the left of the shared panel body.
|
|
104
|
+
* Use for app-local switchers, history rails, or diagnostics that should
|
|
105
|
+
* travel with the panel without becoming part of the shared host contract.
|
|
106
|
+
*/
|
|
107
|
+
sidebar?: (props: {
|
|
108
|
+
views: RightPanelView[];
|
|
109
|
+
activeViewId: string;
|
|
110
|
+
onSelectView: (viewId: string) => void;
|
|
111
|
+
}) => ReactNode;
|
|
112
|
+
/** Current rendered width of `sidebar`, required when the sidebar is present. */
|
|
113
|
+
sidebarWidth?: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Root host component combining the right-panel trigger tab and panel shell.
|
|
117
|
+
*
|
|
118
|
+
* Desktop: trigger tab is fixed independently on the right edge; the panel
|
|
119
|
+
* slides in/out separately with a mechanical mounting arm connecting it to
|
|
120
|
+
* the viewport edge.
|
|
121
|
+
*
|
|
122
|
+
* Mobile (≤768px): renders trigger and active view independently
|
|
123
|
+
* (bottom-sheet behavior).
|
|
124
|
+
*
|
|
125
|
+
* Place this component inside a `<RightPanelProvider>` and at the root of
|
|
126
|
+
* your app shell. Pass your app-local view registry as the `views` prop.
|
|
127
|
+
*/
|
|
128
|
+
declare function RightPanelLayer({ views, isProcessing, sidebar, sidebarWidth }: RightPanelLayerProps): react_jsx_runtime.JSX.Element;
|
|
129
|
+
|
|
130
|
+
interface RightPanelTriggerProps {
|
|
131
|
+
/** Called during drag with the horizontal delta (negative = dragged left = wider). */
|
|
132
|
+
onResizeDrag?: (deltaX: number, startWidth: number) => void;
|
|
133
|
+
/** Called when a drag resize ends (pointer up after dragging). */
|
|
134
|
+
onResizeEnd?: () => void;
|
|
135
|
+
/**
|
|
136
|
+
* Whether the panel is currently in a "processing" state (e.g. an async
|
|
137
|
+
* operation is running). Controls the light-bar glow intensity.
|
|
138
|
+
*/
|
|
139
|
+
isProcessing?: boolean;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* SVG trigger tab that opens/closes/minimizes the right panel.
|
|
143
|
+
* Supports hold-and-drag to resize the panel width.
|
|
144
|
+
*
|
|
145
|
+
* This is the framework default trigger. Apps may use `useRightPanel().toggle()`
|
|
146
|
+
* as an escape hatch to build a custom trigger in any slot they prefer.
|
|
147
|
+
*/
|
|
148
|
+
declare function RightPanelTrigger({ onResizeDrag, onResizeEnd, isProcessing }: RightPanelTriggerProps): react_jsx_runtime.JSX.Element;
|
|
149
|
+
|
|
150
|
+
type RightPanelStoreState = RightPanelState & RightPanelActions;
|
|
151
|
+
/** Hook to access right-panel state and actions. */
|
|
152
|
+
declare function useRightPanel(): RightPanelStoreState;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Registers Cmd/Ctrl+Space to toggle the right-panel host open/closed.
|
|
156
|
+
*
|
|
157
|
+
* Resolution order:
|
|
158
|
+
* closed → open
|
|
159
|
+
* open+minimized → restore
|
|
160
|
+
* open → close
|
|
161
|
+
*
|
|
162
|
+
* Skips activation when the user is typing in an input, textarea, or
|
|
163
|
+
* contenteditable element. Respects the `enabled` flag — pass `false` to
|
|
164
|
+
* disable the shortcut (e.g. when the panel feature is not available for
|
|
165
|
+
* the current user/org).
|
|
166
|
+
*
|
|
167
|
+
* This hook is the canonical owner of the Cmd/Ctrl+Space binding.
|
|
168
|
+
* Register it once in your app shell (e.g. inside <RightPanelProvider>'s
|
|
169
|
+
* subtree). Do not register additional keydown listeners for the same key.
|
|
170
|
+
*/
|
|
171
|
+
declare function useRightPanelKeyboardShortcut(enabled?: boolean): void;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Returns whether the right panel should render in mobile mode (bottom sheet).
|
|
175
|
+
* Uses Mantine's useMediaQuery with the configured mobile breakpoint.
|
|
176
|
+
*/
|
|
177
|
+
declare function useMobileRightPanel(): {
|
|
178
|
+
isMobile: boolean;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
declare const RIGHT_PANEL_Z_INDEX: {
|
|
182
|
+
readonly PANEL: 300;
|
|
183
|
+
readonly TRIGGER: 400;
|
|
184
|
+
};
|
|
185
|
+
declare const RIGHT_PANEL_DEFAULTS: {
|
|
186
|
+
readonly WIDTH: 600;
|
|
187
|
+
readonly MIN_WIDTH: 600;
|
|
188
|
+
readonly MAX_WIDTH: 1200;
|
|
189
|
+
readonly WIDTH_STEP: 5;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* localStorage key preserved verbatim for user-state compatibility.
|
|
193
|
+
* Historical note: the "assistant" in the name is an artifact of the original
|
|
194
|
+
* implementation where this was the assistant panel width; the key was kept
|
|
195
|
+
* as-is when the panel was generalized to the multi-view right-panel host to
|
|
196
|
+
* avoid migration cost for a LOW-criticality wart that no user sees.
|
|
197
|
+
*/
|
|
198
|
+
declare const ASSISTANT_PANEL_WIDTH_KEY = "elevasis-assistant-panel-width";
|
|
199
|
+
declare const RIGHT_PANEL_TRIGGER: {
|
|
200
|
+
readonly WIDTH: 20;
|
|
201
|
+
readonly HEIGHT: 80;
|
|
202
|
+
readonly LIGHT_BAR_WIDTH: 2;
|
|
203
|
+
readonly LIGHT_BAR_HEIGHT: 52;
|
|
204
|
+
readonly ARM_WIDTH: 50;
|
|
205
|
+
};
|
|
206
|
+
declare const RIGHT_PANEL_HISTORY_WIDTH = 260;
|
|
207
|
+
declare const RIGHT_PANEL_HISTORY_COLLAPSED_WIDTH = 48;
|
|
208
|
+
/** Breakpoint (px) below which the panel renders as a mobile bottom sheet. */
|
|
209
|
+
declare const RIGHT_PANEL_MOBILE_BREAKPOINT = 768;
|
|
210
|
+
/** Default view shown when the right panel opens without a specific target. */
|
|
211
|
+
declare const RIGHT_PANEL_DEFAULT_VIEW_ID = "overview";
|
|
212
|
+
|
|
213
|
+
export { ASSISTANT_PANEL_WIDTH_KEY, RIGHT_PANEL_DEFAULTS, RIGHT_PANEL_DEFAULT_VIEW_ID, RIGHT_PANEL_HISTORY_COLLAPSED_WIDTH, RIGHT_PANEL_HISTORY_WIDTH, RIGHT_PANEL_MOBILE_BREAKPOINT, RIGHT_PANEL_TRIGGER, RIGHT_PANEL_Z_INDEX, RightPanelLayer, RightPanelProvider, RightPanelTrigger, useMobileRightPanel, useRightPanel, useRightPanelContext, useRightPanelKeyboardShortcut };
|
|
214
|
+
export type { RightPanelActions, RightPanelContext, RightPanelLayerProps, RightPanelProviderProps, RightPanelState, RightPanelTriggerProps, RightPanelView, UseRightPanelReturn };
|