@elevasis/ui 2.33.2 → 2.35.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.d.ts +9 -2
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +452 -0
- package/dist/app/index.d.ts +1255 -8
- package/dist/app/index.js +151 -13
- package/dist/charts/index.js +3 -6
- package/dist/chunk-26HFM4MH.js +41449 -0
- package/dist/{chunk-52K5RFDH.js → chunk-4U3XAWCN.js} +1328 -2492
- package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
- package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
- package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
- package/dist/chunk-AUDNF2Q7.js +2050 -0
- package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
- package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
- package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
- package/dist/chunk-SIQ3P4OR.js +1764 -0
- package/dist/{chunk-Z2K2EAPL.js → chunk-VDOOGGBA.js} +5 -6
- package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
- package/dist/chunk-YYX7OPZQ.js +25 -0
- package/dist/components/index.d.ts +69 -92
- package/dist/components/index.js +20 -3216
- package/dist/components/navigation/index.js +25 -7
- package/dist/execution/index.d.ts +9 -9
- package/dist/execution/index.js +1 -2
- package/dist/features/auth/index.js +23 -2
- package/dist/features/clients/index.js +20 -31
- package/dist/features/crm/index.js +20 -35
- package/dist/features/dashboard/index.d.ts +68 -91
- package/dist/features/dashboard/index.js +20 -33
- package/dist/features/delivery/index.js +20 -35
- package/dist/features/knowledge/index.js +25 -11
- package/dist/features/lead-gen/index.d.ts +9 -9
- package/dist/features/lead-gen/index.js +20 -36
- package/dist/features/monitoring/index.js +20 -35
- package/dist/features/monitoring/requests/index.js +20 -30
- package/dist/features/operations/index.d.ts +197 -188
- package/dist/features/operations/index.js +18 -42
- package/dist/features/seo/index.js +3 -4
- package/dist/features/settings/index.js +20 -32
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.js +30 -2
- package/dist/hooks/index.d.ts +105 -112
- package/dist/hooks/index.js +20 -26
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +55 -62
- package/dist/hooks/published.d.ts +105 -112
- package/dist/hooks/published.js +20 -25
- package/dist/index.css +532 -532
- package/dist/index.d.ts +10261 -6793
- package/dist/index.js +22 -31
- package/dist/knowledge/index.d.ts +51 -59
- package/dist/knowledge/index.js +40 -211
- package/dist/{knowledge-search-index-VMAW7FLR.js → knowledge-search-index-ORIJCEZX.js} +3 -3
- package/dist/layout/index.js +4 -10
- package/dist/organization/index.js +27 -2
- package/dist/provider/index.d.ts +71 -52
- package/dist/provider/index.js +20 -20
- package/dist/provider/published.d.ts +39 -47
- package/dist/provider/published.js +20 -15
- package/dist/test-utils/index.d.ts +2 -0
- package/dist/test-utils/index.js +16 -4
- package/dist/test-utils/setup.js +38 -0
- package/dist/theme/index.js +2 -3
- package/dist/theme/presets/index.d.ts +28 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -2049
- package/dist/types/index.d.ts +88 -95
- package/dist/utils/index.d.ts +46 -69
- package/dist/utils/index.js +1 -1
- package/dist/zustand/index.d.ts +21 -8
- package/dist/zustand/index.js +32 -1
- package/package.json +5 -5
- package/dist/chunk-2ZZ72TAB.js +0 -2281
- package/dist/chunk-32I2RCGC.js +0 -85
- package/dist/chunk-3MEXPLWT.js +0 -265
- package/dist/chunk-3ZMAGTWF.js +0 -18
- package/dist/chunk-44I4LOH6.js +0 -1593
- package/dist/chunk-4DYOXEH6.js +0 -951
- package/dist/chunk-7M2VOCYN.js +0 -1
- package/dist/chunk-A4VDJJCV.js +0 -1864
- package/dist/chunk-BZZCNLT6.js +0 -12
- package/dist/chunk-CLDCYJQT.js +0 -1
- package/dist/chunk-E565XMTQ.js +0 -17
- package/dist/chunk-EPTHX4VZ.js +0 -749
- package/dist/chunk-GWGQI6V4.js +0 -447
- package/dist/chunk-HUJCU55S.js +0 -159
- package/dist/chunk-IBWMR4TI.js +0 -469
- package/dist/chunk-IIMU5YAJ.js +0 -53
- package/dist/chunk-IOXOPMYS.js +0 -145
- package/dist/chunk-J2UD7BOH.js +0 -347
- package/dist/chunk-JA5ECJJB.js +0 -387
- package/dist/chunk-JFL3GRD4.js +0 -39
- package/dist/chunk-KW7ZNQD7.js +0 -126
- package/dist/chunk-LGKLC5MG.js +0 -44
- package/dist/chunk-N55DVMAG.js +0 -14
- package/dist/chunk-O56ESZCQ.js +0 -1874
- package/dist/chunk-OIBHQH5Q.js +0 -96
- package/dist/chunk-PDHTXPSF.js +0 -12
- package/dist/chunk-QDFJSUG3.js +0 -13
- package/dist/chunk-R2XR4FCV.js +0 -48
- package/dist/chunk-R66W5UDG.js +0 -26
- package/dist/chunk-RYTEQBAO.js +0 -37
- package/dist/chunk-SZHARWKU.js +0 -15
- package/dist/chunk-T3J6U77J.js +0 -12056
- package/dist/chunk-TBVLQRXT.js +0 -68
- package/dist/chunk-TGVAIWIL.js +0 -1778
- package/dist/chunk-TKAYX2SP.js +0 -204
- package/dist/chunk-TUMSNGTX.js +0 -35
- package/dist/chunk-VGU4ZFYZ.js +0 -4752
- package/dist/chunk-VNAZTCHA.js +0 -65
- package/dist/chunk-VNFR57DF.js +0 -87
- package/dist/chunk-WKW6B5ID.js +0 -29
- package/dist/chunk-XCYKC6OZ.js +0 -1
- package/dist/chunk-XZGSCABI.js +0 -383
- package/dist/chunk-ZMK5Z6KE.js +0 -5198
- /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
- /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
package/dist/provider/index.d.ts
CHANGED
|
@@ -3202,9 +3202,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3202
3202
|
status: z$1.ZodEnum<{
|
|
3203
3203
|
draft: "draft";
|
|
3204
3204
|
archived: "archived";
|
|
3205
|
-
closing: "closing";
|
|
3206
3205
|
enriching: "enriching";
|
|
3207
3206
|
launched: "launched";
|
|
3207
|
+
closing: "closing";
|
|
3208
3208
|
}>;
|
|
3209
3209
|
metadata: z$1.ZodObject<{
|
|
3210
3210
|
buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3243,10 +3243,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3243
3243
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3244
3244
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3245
3245
|
text: "text";
|
|
3246
|
-
count: "count";
|
|
3247
|
-
json: "json";
|
|
3248
3246
|
badge: "badge";
|
|
3249
3247
|
datetime: "datetime";
|
|
3248
|
+
count: "count";
|
|
3249
|
+
json: "json";
|
|
3250
3250
|
}>>;
|
|
3251
3251
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3252
3252
|
}, z$1.core.$strip>>>;
|
|
@@ -3257,10 +3257,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3257
3257
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3258
3258
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3259
3259
|
text: "text";
|
|
3260
|
-
count: "count";
|
|
3261
|
-
json: "json";
|
|
3262
3260
|
badge: "badge";
|
|
3263
3261
|
datetime: "datetime";
|
|
3262
|
+
count: "count";
|
|
3263
|
+
json: "json";
|
|
3264
3264
|
}>>;
|
|
3265
3265
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3266
3266
|
}, z$1.core.$strip>>>;
|
|
@@ -3419,29 +3419,6 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
|
|
|
3419
3419
|
}, z$1.core.$strip>>;
|
|
3420
3420
|
type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
|
|
3421
3421
|
|
|
3422
|
-
/**
|
|
3423
|
-
* Time range selector for dashboard metrics
|
|
3424
|
-
*/
|
|
3425
|
-
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
3426
|
-
|
|
3427
|
-
/**
|
|
3428
|
-
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
3429
|
-
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
3430
|
-
*
|
|
3431
|
-
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
3432
|
-
* Per L14: every node carries BOTH `kind` and `type`.
|
|
3433
|
-
*/
|
|
3434
|
-
declare const ContentNodeSchema: z$1.ZodObject<{
|
|
3435
|
-
label: z$1.ZodString;
|
|
3436
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
3437
|
-
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3438
|
-
parentContentId: z$1.ZodOptional<z$1.ZodString>;
|
|
3439
|
-
kind: z$1.ZodString;
|
|
3440
|
-
type: z$1.ZodString;
|
|
3441
|
-
data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
3442
|
-
}, z$1.core.$strip>;
|
|
3443
|
-
type ContentNode = z$1.infer<typeof ContentNodeSchema>;
|
|
3444
|
-
|
|
3445
3422
|
type JsonPrimitive = string | number | boolean | null;
|
|
3446
3423
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
3447
3424
|
[key: string]: JsonValue;
|
|
@@ -3483,11 +3460,6 @@ interface SystemEntry {
|
|
|
3483
3460
|
config?: Record<string, JsonValue>;
|
|
3484
3461
|
ontology?: OntologyScope;
|
|
3485
3462
|
systems?: Record<string, SystemEntry>;
|
|
3486
|
-
/**
|
|
3487
|
-
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
3488
|
-
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
3489
|
-
*/
|
|
3490
|
-
content?: Record<string, ContentNode>;
|
|
3491
3463
|
subsystems?: Record<string, SystemEntry>;
|
|
3492
3464
|
}
|
|
3493
3465
|
declare const SystemEntrySchema: ZodType<SystemEntry>;
|
|
@@ -3701,7 +3673,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3701
3673
|
lastModified: string;
|
|
3702
3674
|
} | undefined;
|
|
3703
3675
|
}>>;
|
|
3704
|
-
branding: z$1.ZodObject<{
|
|
3676
|
+
branding: z$1.ZodDefault<z$1.ZodObject<{
|
|
3705
3677
|
organizationName: z$1.ZodString;
|
|
3706
3678
|
productName: z$1.ZodString;
|
|
3707
3679
|
shortName: z$1.ZodString;
|
|
@@ -3710,7 +3682,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3710
3682
|
light: z$1.ZodOptional<z$1.ZodString>;
|
|
3711
3683
|
dark: z$1.ZodOptional<z$1.ZodString>;
|
|
3712
3684
|
}, z$1.core.$strip>>;
|
|
3713
|
-
}, z$1.core.$strip
|
|
3685
|
+
}, z$1.core.$strip>>;
|
|
3714
3686
|
navigation: z$1.ZodDefault<z$1.ZodObject<{
|
|
3715
3687
|
sidebar: z$1.ZodDefault<z$1.ZodObject<{
|
|
3716
3688
|
primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
@@ -3942,14 +3914,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3942
3914
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3943
3915
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3944
3916
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3917
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
3918
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
3919
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
3920
|
+
}, z$1.core.$strip>>;
|
|
3945
3921
|
}, z$1.core.$strip>>;
|
|
3946
3922
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3947
3923
|
path: z$1.ZodString;
|
|
3948
3924
|
role: z$1.ZodEnum<{
|
|
3949
|
-
schema: "schema";
|
|
3950
3925
|
config: "config";
|
|
3951
3926
|
entrypoint: "entrypoint";
|
|
3952
3927
|
handler: "handler";
|
|
3928
|
+
schema: "schema";
|
|
3953
3929
|
test: "test";
|
|
3954
3930
|
docs: "docs";
|
|
3955
3931
|
}>;
|
|
@@ -3988,14 +3964,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3988
3964
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3989
3965
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3990
3966
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3967
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
3968
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
3969
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
3970
|
+
}, z$1.core.$strip>>;
|
|
3991
3971
|
}, z$1.core.$strip>>;
|
|
3992
3972
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3993
3973
|
path: z$1.ZodString;
|
|
3994
3974
|
role: z$1.ZodEnum<{
|
|
3995
|
-
schema: "schema";
|
|
3996
3975
|
config: "config";
|
|
3997
3976
|
entrypoint: "entrypoint";
|
|
3998
3977
|
handler: "handler";
|
|
3978
|
+
schema: "schema";
|
|
3999
3979
|
test: "test";
|
|
4000
3980
|
docs: "docs";
|
|
4001
3981
|
}>;
|
|
@@ -4065,14 +4045,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4065
4045
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4066
4046
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4067
4047
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4048
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
4049
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
4050
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
4051
|
+
}, z$1.core.$strip>>;
|
|
4068
4052
|
}, z$1.core.$strip>>;
|
|
4069
4053
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4070
4054
|
path: z$1.ZodString;
|
|
4071
4055
|
role: z$1.ZodEnum<{
|
|
4072
|
-
schema: "schema";
|
|
4073
4056
|
config: "config";
|
|
4074
4057
|
entrypoint: "entrypoint";
|
|
4075
4058
|
handler: "handler";
|
|
4059
|
+
schema: "schema";
|
|
4076
4060
|
test: "test";
|
|
4077
4061
|
docs: "docs";
|
|
4078
4062
|
}>;
|
|
@@ -4100,14 +4084,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4100
4084
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4101
4085
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4102
4086
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4087
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
4088
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
4089
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
4090
|
+
}, z$1.core.$strip>>;
|
|
4103
4091
|
}, z$1.core.$strip>>;
|
|
4104
4092
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4105
4093
|
path: z$1.ZodString;
|
|
4106
4094
|
role: z$1.ZodEnum<{
|
|
4107
|
-
schema: "schema";
|
|
4108
4095
|
config: "config";
|
|
4109
4096
|
entrypoint: "entrypoint";
|
|
4110
4097
|
handler: "handler";
|
|
4098
|
+
schema: "schema";
|
|
4111
4099
|
test: "test";
|
|
4112
4100
|
docs: "docs";
|
|
4113
4101
|
}>;
|
|
@@ -4332,6 +4320,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4332
4320
|
crm: "crm";
|
|
4333
4321
|
"lead-gen": "lead-gen";
|
|
4334
4322
|
projects: "projects";
|
|
4323
|
+
clients: "clients";
|
|
4335
4324
|
operations: "operations";
|
|
4336
4325
|
monitoring: "monitoring";
|
|
4337
4326
|
knowledge: "knowledge";
|
|
@@ -4393,11 +4382,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4393
4382
|
ontology: "ontology";
|
|
4394
4383
|
role: "role";
|
|
4395
4384
|
goal: "goal";
|
|
4396
|
-
stage: "stage";
|
|
4397
4385
|
resource: "resource";
|
|
4386
|
+
stage: "stage";
|
|
4398
4387
|
"customer-segment": "customer-segment";
|
|
4399
4388
|
offering: "offering";
|
|
4400
|
-
"content-node": "content-node";
|
|
4401
4389
|
}>;
|
|
4402
4390
|
id: z$1.ZodString;
|
|
4403
4391
|
}, z$1.core.$strip>;
|
|
@@ -4405,7 +4393,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4405
4393
|
nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
4406
4394
|
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
4407
4395
|
target: {
|
|
4408
|
-
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "
|
|
4396
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
|
|
4409
4397
|
id: string;
|
|
4410
4398
|
};
|
|
4411
4399
|
nodeId: string;
|
|
@@ -4413,7 +4401,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4413
4401
|
nodeId: string;
|
|
4414
4402
|
} | {
|
|
4415
4403
|
target: {
|
|
4416
|
-
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "
|
|
4404
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
|
|
4417
4405
|
id: string;
|
|
4418
4406
|
};
|
|
4419
4407
|
}>>>>;
|
|
@@ -4425,6 +4413,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4425
4413
|
type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
|
|
4426
4414
|
type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
|
|
4427
4415
|
|
|
4416
|
+
/**
|
|
4417
|
+
* Time range selector for dashboard metrics
|
|
4418
|
+
*/
|
|
4419
|
+
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
4420
|
+
|
|
4428
4421
|
/**
|
|
4429
4422
|
* All valid dotted paths into T.
|
|
4430
4423
|
* Arrays of primitives are treated as leaf (return K only).
|
|
@@ -4633,14 +4626,13 @@ interface ElevasisCoreProviderProps {
|
|
|
4633
4626
|
injectStyles?: boolean;
|
|
4634
4627
|
/**
|
|
4635
4628
|
* CRM action definitions used by DealDetailPage.
|
|
4636
|
-
* Defaults to
|
|
4637
|
-
*
|
|
4629
|
+
* Defaults to an empty list. Pass a custom array to provide the CRM action set
|
|
4630
|
+
* for your organization's sales flow.
|
|
4638
4631
|
*
|
|
4639
4632
|
* @example
|
|
4640
4633
|
* ```tsx
|
|
4641
|
-
* import {
|
|
4634
|
+
* import type { ActionDef } from '@elevasis/sdk'
|
|
4642
4635
|
* const myActions: ActionDef[] = [
|
|
4643
|
-
* ...DEFAULT_CRM_ACTIONS,
|
|
4644
4636
|
* { key: 'send_quote', label: 'Send Quote',
|
|
4645
4637
|
* isAvailableFor: d => d.stage_key === 'proposal',
|
|
4646
4638
|
* workflowId: 'send-quote-workflow' },
|
|
@@ -4706,18 +4698,45 @@ interface ElevasisServiceProviderProps {
|
|
|
4706
4698
|
*/
|
|
4707
4699
|
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, crmActions, listActions, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
4708
4700
|
|
|
4701
|
+
/**
|
|
4702
|
+
* useResolvedOrganizationModel
|
|
4703
|
+
*
|
|
4704
|
+
* Returns the live organization model from ElevasisSystemsProvider, falling
|
|
4705
|
+
* back to a canonical empty model when the provider has not yet supplied one.
|
|
4706
|
+
*
|
|
4707
|
+
* Fallback uses `mergeDefaults: false` intentionally: the generic
|
|
4708
|
+
* DEFAULT_ORGANIZATION_MODEL has an empty `systems: {}` record (all
|
|
4709
|
+
* Elevasis-specific systems live in `@repo/elevasis-core`). With
|
|
4710
|
+
* `mergeDefaults: true` Zod would inject the generic fixture defaults,
|
|
4711
|
+
* producing a model that looks valid but contains none of the tenant's
|
|
4712
|
+
* semantic data. `mergeDefaults: false` yields a minimal schema-valid shell
|
|
4713
|
+
* that makes the missing-provider state explicit rather than silently hiding it.
|
|
4714
|
+
*/
|
|
4715
|
+
|
|
4716
|
+
/**
|
|
4717
|
+
* Returns the live `OrganizationModel` from the nearest
|
|
4718
|
+
* `ElevasisSystemsProvider`. When the provider has not yet supplied a model
|
|
4719
|
+
* (e.g. during initial load), returns `EMPTY_CANONICAL_MODEL` -- a minimal
|
|
4720
|
+
* schema-valid shell resolved with `{ mergeDefaults: false }` so it never
|
|
4721
|
+
* silently injects the generic fixture Systems/knowledge.
|
|
4722
|
+
*
|
|
4723
|
+
* Use this hook instead of `organizationModel ?? resolveOrganizationModel()`
|
|
4724
|
+
* at call sites; it centralises the fallback decision and enforces the
|
|
4725
|
+
* `mergeDefaults: false` contract in one place.
|
|
4726
|
+
*/
|
|
4727
|
+
declare function useResolvedOrganizationModel(): OrganizationModel;
|
|
4728
|
+
|
|
4709
4729
|
/**
|
|
4710
4730
|
* Provides the active CRM action definitions to deal action surfaces.
|
|
4711
4731
|
*
|
|
4712
|
-
* Defaults to
|
|
4732
|
+
* Defaults to an empty list. Consumers can provide CRM actions via the
|
|
4713
4733
|
* `crmActions` prop on ElevasisCoreProvider / ElevasisUIProvider.
|
|
4714
4734
|
*
|
|
4715
4735
|
* @example External override
|
|
4716
4736
|
* ```tsx
|
|
4717
|
-
* import {
|
|
4737
|
+
* import type { ActionDef } from '@elevasis/sdk'
|
|
4718
4738
|
*
|
|
4719
4739
|
* const myActions: ActionDef[] = [
|
|
4720
|
-
* ...DEFAULT_CRM_ACTIONS,
|
|
4721
4740
|
* { key: 'send_quote', label: 'Send Quote',
|
|
4722
4741
|
* isAvailableFor: d => d.stage_key === 'proposal',
|
|
4723
4742
|
* workflowId: 'send-quote-workflow' },
|
|
@@ -4732,7 +4751,7 @@ declare function CrmActionsProvider({ actions, children }: {
|
|
|
4732
4751
|
}): react_jsx_runtime.JSX.Element;
|
|
4733
4752
|
/**
|
|
4734
4753
|
* Returns the active CRM ActionDef array for the current provider tree.
|
|
4735
|
-
* Defaults to
|
|
4754
|
+
* Defaults to an empty list if no CrmActionsProvider is mounted above.
|
|
4736
4755
|
*/
|
|
4737
4756
|
declare function useCrmActions(): ActionDef[];
|
|
4738
4757
|
|
|
@@ -4960,5 +4979,5 @@ declare function createTestSystemsProvider({ organizationModel, systems }?: Crea
|
|
|
4960
4979
|
children: ReactNode;
|
|
4961
4980
|
}) => react_jsx_runtime.JSX.Element;
|
|
4962
4981
|
|
|
4963
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems };
|
|
4982
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel };
|
|
4964
4983
|
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestSystemsProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, PresetName, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, WithSchemes };
|
package/dist/provider/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export { createTestSystemsProvider } from '../chunk-
|
|
2
|
-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-3FV6HBXS.js';
|
|
5
|
-
import '../chunk-WLOQ4IBG.js';
|
|
6
|
-
export { SystemShell } from '../chunk-WKW6B5ID.js';
|
|
7
|
-
import '../chunk-EPTHX4VZ.js';
|
|
1
|
+
export { CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-26HFM4MH.js';
|
|
2
|
+
import '../chunk-CXY7FMUM.js';
|
|
3
|
+
import '../chunk-SIQ3P4OR.js';
|
|
8
4
|
import '../chunk-3KMDHCAR.js';
|
|
9
|
-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
|
|
12
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-AKW7KISS.js';
|
|
6
|
+
import '../chunk-WF7CONXF.js';
|
|
7
|
+
import '../chunk-ZTWA5H77.js';
|
|
8
|
+
import '../chunk-AUDNF2Q7.js';
|
|
9
|
+
import '../chunk-6M6OLGQY.js';
|
|
10
|
+
import '../chunk-BRXELOHC.js';
|
|
11
|
+
import '../chunk-4U3XAWCN.js';
|
|
12
|
+
export { AppearanceProvider, useAppearance } from '../chunk-LUYVRATI.js';
|
|
13
13
|
import '../chunk-NYBEU5TE.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-ND5TDV2J.js';
|
|
17
|
-
import '../chunk-2IFYDILW.js';
|
|
18
|
-
import '../chunk-Q7DJKLEN.js';
|
|
19
|
-
import '../chunk-JA5ECJJB.js';
|
|
20
|
-
import '../chunk-HUJCU55S.js';
|
|
21
|
-
export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
|
|
14
|
+
import '../chunk-WLOQ4IBG.js';
|
|
15
|
+
import '../chunk-57OZ3AEG.js';
|
|
22
16
|
import '../chunk-JBWJ6WHZ.js';
|
|
17
|
+
import '../chunk-GX6XBRRF.js';
|
|
18
|
+
import '../chunk-R3VCBZDC.js';
|
|
23
19
|
import '../chunk-DT3QYZVU.js';
|
|
20
|
+
import '../chunk-2IFYDILW.js';
|
|
21
|
+
import '../chunk-Q7DJKLEN.js';
|
|
22
|
+
import '../chunk-HENXLGVD.js';
|
|
23
|
+
import '../chunk-7FPLLSHN.js';
|
|
24
24
|
import '../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-GEFWMU26.js';
|
|
26
26
|
import '../chunk-KRWALB24.js';
|
|
27
27
|
import '../chunk-VKIZUUPM.js';
|
|
28
28
|
import '../chunk-533DUEQY.js';
|
|
@@ -3201,9 +3201,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3201
3201
|
status: z$1.ZodEnum<{
|
|
3202
3202
|
draft: "draft";
|
|
3203
3203
|
archived: "archived";
|
|
3204
|
-
closing: "closing";
|
|
3205
3204
|
enriching: "enriching";
|
|
3206
3205
|
launched: "launched";
|
|
3206
|
+
closing: "closing";
|
|
3207
3207
|
}>;
|
|
3208
3208
|
metadata: z$1.ZodObject<{
|
|
3209
3209
|
buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3242,10 +3242,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3242
3242
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3243
3243
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3244
3244
|
text: "text";
|
|
3245
|
-
count: "count";
|
|
3246
|
-
json: "json";
|
|
3247
3245
|
badge: "badge";
|
|
3248
3246
|
datetime: "datetime";
|
|
3247
|
+
count: "count";
|
|
3248
|
+
json: "json";
|
|
3249
3249
|
}>>;
|
|
3250
3250
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3251
3251
|
}, z$1.core.$strip>>>;
|
|
@@ -3256,10 +3256,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3256
3256
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3257
3257
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3258
3258
|
text: "text";
|
|
3259
|
-
count: "count";
|
|
3260
|
-
json: "json";
|
|
3261
3259
|
badge: "badge";
|
|
3262
3260
|
datetime: "datetime";
|
|
3261
|
+
count: "count";
|
|
3262
|
+
json: "json";
|
|
3263
3263
|
}>>;
|
|
3264
3264
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3265
3265
|
}, z$1.core.$strip>>>;
|
|
@@ -3418,29 +3418,6 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
|
|
|
3418
3418
|
}, z$1.core.$strip>>;
|
|
3419
3419
|
type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
|
|
3420
3420
|
|
|
3421
|
-
/**
|
|
3422
|
-
* Time range selector for dashboard metrics
|
|
3423
|
-
*/
|
|
3424
|
-
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
3425
|
-
|
|
3426
|
-
/**
|
|
3427
|
-
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
3428
|
-
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
3429
|
-
*
|
|
3430
|
-
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
3431
|
-
* Per L14: every node carries BOTH `kind` and `type`.
|
|
3432
|
-
*/
|
|
3433
|
-
declare const ContentNodeSchema: z$1.ZodObject<{
|
|
3434
|
-
label: z$1.ZodString;
|
|
3435
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
3436
|
-
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3437
|
-
parentContentId: z$1.ZodOptional<z$1.ZodString>;
|
|
3438
|
-
kind: z$1.ZodString;
|
|
3439
|
-
type: z$1.ZodString;
|
|
3440
|
-
data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
3441
|
-
}, z$1.core.$strip>;
|
|
3442
|
-
type ContentNode = z$1.infer<typeof ContentNodeSchema>;
|
|
3443
|
-
|
|
3444
3421
|
type JsonPrimitive = string | number | boolean | null;
|
|
3445
3422
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
3446
3423
|
[key: string]: JsonValue;
|
|
@@ -3482,11 +3459,6 @@ interface SystemEntry {
|
|
|
3482
3459
|
config?: Record<string, JsonValue>;
|
|
3483
3460
|
ontology?: OntologyScope;
|
|
3484
3461
|
systems?: Record<string, SystemEntry>;
|
|
3485
|
-
/**
|
|
3486
|
-
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
3487
|
-
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
3488
|
-
*/
|
|
3489
|
-
content?: Record<string, ContentNode>;
|
|
3490
3462
|
subsystems?: Record<string, SystemEntry>;
|
|
3491
3463
|
}
|
|
3492
3464
|
declare const SystemEntrySchema: ZodType<SystemEntry>;
|
|
@@ -3700,7 +3672,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3700
3672
|
lastModified: string;
|
|
3701
3673
|
} | undefined;
|
|
3702
3674
|
}>>;
|
|
3703
|
-
branding: z$1.ZodObject<{
|
|
3675
|
+
branding: z$1.ZodDefault<z$1.ZodObject<{
|
|
3704
3676
|
organizationName: z$1.ZodString;
|
|
3705
3677
|
productName: z$1.ZodString;
|
|
3706
3678
|
shortName: z$1.ZodString;
|
|
@@ -3709,7 +3681,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3709
3681
|
light: z$1.ZodOptional<z$1.ZodString>;
|
|
3710
3682
|
dark: z$1.ZodOptional<z$1.ZodString>;
|
|
3711
3683
|
}, z$1.core.$strip>>;
|
|
3712
|
-
}, z$1.core.$strip
|
|
3684
|
+
}, z$1.core.$strip>>;
|
|
3713
3685
|
navigation: z$1.ZodDefault<z$1.ZodObject<{
|
|
3714
3686
|
sidebar: z$1.ZodDefault<z$1.ZodObject<{
|
|
3715
3687
|
primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
@@ -3941,14 +3913,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3941
3913
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3942
3914
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3943
3915
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3916
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
3917
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
3918
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
3919
|
+
}, z$1.core.$strip>>;
|
|
3944
3920
|
}, z$1.core.$strip>>;
|
|
3945
3921
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3946
3922
|
path: z$1.ZodString;
|
|
3947
3923
|
role: z$1.ZodEnum<{
|
|
3948
|
-
schema: "schema";
|
|
3949
3924
|
config: "config";
|
|
3950
3925
|
entrypoint: "entrypoint";
|
|
3951
3926
|
handler: "handler";
|
|
3927
|
+
schema: "schema";
|
|
3952
3928
|
test: "test";
|
|
3953
3929
|
docs: "docs";
|
|
3954
3930
|
}>;
|
|
@@ -3987,14 +3963,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3987
3963
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3988
3964
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3989
3965
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3966
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
3967
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
3968
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
3969
|
+
}, z$1.core.$strip>>;
|
|
3990
3970
|
}, z$1.core.$strip>>;
|
|
3991
3971
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3992
3972
|
path: z$1.ZodString;
|
|
3993
3973
|
role: z$1.ZodEnum<{
|
|
3994
|
-
schema: "schema";
|
|
3995
3974
|
config: "config";
|
|
3996
3975
|
entrypoint: "entrypoint";
|
|
3997
3976
|
handler: "handler";
|
|
3977
|
+
schema: "schema";
|
|
3998
3978
|
test: "test";
|
|
3999
3979
|
docs: "docs";
|
|
4000
3980
|
}>;
|
|
@@ -4064,14 +4044,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4064
4044
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4065
4045
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4066
4046
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4047
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
4048
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
4049
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
4050
|
+
}, z$1.core.$strip>>;
|
|
4067
4051
|
}, z$1.core.$strip>>;
|
|
4068
4052
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4069
4053
|
path: z$1.ZodString;
|
|
4070
4054
|
role: z$1.ZodEnum<{
|
|
4071
|
-
schema: "schema";
|
|
4072
4055
|
config: "config";
|
|
4073
4056
|
entrypoint: "entrypoint";
|
|
4074
4057
|
handler: "handler";
|
|
4058
|
+
schema: "schema";
|
|
4075
4059
|
test: "test";
|
|
4076
4060
|
docs: "docs";
|
|
4077
4061
|
}>;
|
|
@@ -4099,14 +4083,18 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4099
4083
|
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4100
4084
|
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4101
4085
|
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4086
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
4087
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
4088
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
4089
|
+
}, z$1.core.$strip>>;
|
|
4102
4090
|
}, z$1.core.$strip>>;
|
|
4103
4091
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4104
4092
|
path: z$1.ZodString;
|
|
4105
4093
|
role: z$1.ZodEnum<{
|
|
4106
|
-
schema: "schema";
|
|
4107
4094
|
config: "config";
|
|
4108
4095
|
entrypoint: "entrypoint";
|
|
4109
4096
|
handler: "handler";
|
|
4097
|
+
schema: "schema";
|
|
4110
4098
|
test: "test";
|
|
4111
4099
|
docs: "docs";
|
|
4112
4100
|
}>;
|
|
@@ -4331,6 +4319,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4331
4319
|
crm: "crm";
|
|
4332
4320
|
"lead-gen": "lead-gen";
|
|
4333
4321
|
projects: "projects";
|
|
4322
|
+
clients: "clients";
|
|
4334
4323
|
operations: "operations";
|
|
4335
4324
|
monitoring: "monitoring";
|
|
4336
4325
|
knowledge: "knowledge";
|
|
@@ -4392,11 +4381,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4392
4381
|
ontology: "ontology";
|
|
4393
4382
|
role: "role";
|
|
4394
4383
|
goal: "goal";
|
|
4395
|
-
stage: "stage";
|
|
4396
4384
|
resource: "resource";
|
|
4385
|
+
stage: "stage";
|
|
4397
4386
|
"customer-segment": "customer-segment";
|
|
4398
4387
|
offering: "offering";
|
|
4399
|
-
"content-node": "content-node";
|
|
4400
4388
|
}>;
|
|
4401
4389
|
id: z$1.ZodString;
|
|
4402
4390
|
}, z$1.core.$strip>;
|
|
@@ -4404,7 +4392,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4404
4392
|
nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
4405
4393
|
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
4406
4394
|
target: {
|
|
4407
|
-
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "
|
|
4395
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
|
|
4408
4396
|
id: string;
|
|
4409
4397
|
};
|
|
4410
4398
|
nodeId: string;
|
|
@@ -4412,7 +4400,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4412
4400
|
nodeId: string;
|
|
4413
4401
|
} | {
|
|
4414
4402
|
target: {
|
|
4415
|
-
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "
|
|
4403
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
|
|
4416
4404
|
id: string;
|
|
4417
4405
|
};
|
|
4418
4406
|
}>>>>;
|
|
@@ -4424,6 +4412,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4424
4412
|
type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
|
|
4425
4413
|
type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
|
|
4426
4414
|
|
|
4415
|
+
/**
|
|
4416
|
+
* Time range selector for dashboard metrics
|
|
4417
|
+
*/
|
|
4418
|
+
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
4419
|
+
|
|
4427
4420
|
/**
|
|
4428
4421
|
* All valid dotted paths into T.
|
|
4429
4422
|
* Arrays of primitives are treated as leaf (return K only).
|
|
@@ -4626,14 +4619,13 @@ interface ElevasisCoreProviderProps {
|
|
|
4626
4619
|
injectStyles?: boolean;
|
|
4627
4620
|
/**
|
|
4628
4621
|
* CRM action definitions used by DealDetailPage.
|
|
4629
|
-
* Defaults to
|
|
4630
|
-
*
|
|
4622
|
+
* Defaults to an empty list. Pass a custom array to provide the CRM action set
|
|
4623
|
+
* for your organization's sales flow.
|
|
4631
4624
|
*
|
|
4632
4625
|
* @example
|
|
4633
4626
|
* ```tsx
|
|
4634
|
-
* import {
|
|
4627
|
+
* import type { ActionDef } from '@elevasis/sdk'
|
|
4635
4628
|
* const myActions: ActionDef[] = [
|
|
4636
|
-
* ...DEFAULT_CRM_ACTIONS,
|
|
4637
4629
|
* { key: 'send_quote', label: 'Send Quote',
|
|
4638
4630
|
* isAvailableFor: d => d.stage_key === 'proposal',
|
|
4639
4631
|
* workflowId: 'send-quote-workflow' },
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
export { SystemShell } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-26HFM4MH.js';
|
|
2
|
+
import '../chunk-CXY7FMUM.js';
|
|
3
|
+
import '../chunk-SIQ3P4OR.js';
|
|
3
4
|
import '../chunk-3KMDHCAR.js';
|
|
4
|
-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-AKW7KISS.js';
|
|
6
|
+
import '../chunk-WF7CONXF.js';
|
|
7
|
+
import '../chunk-ZTWA5H77.js';
|
|
8
|
+
import '../chunk-AUDNF2Q7.js';
|
|
9
|
+
import '../chunk-6M6OLGQY.js';
|
|
10
|
+
import '../chunk-BRXELOHC.js';
|
|
11
|
+
import '../chunk-4U3XAWCN.js';
|
|
12
|
+
export { AppearanceProvider, useAppearance } from '../chunk-LUYVRATI.js';
|
|
8
13
|
import '../chunk-NYBEU5TE.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-ND5TDV2J.js';
|
|
12
|
-
import '../chunk-2IFYDILW.js';
|
|
13
|
-
import '../chunk-Q7DJKLEN.js';
|
|
14
|
-
import '../chunk-JA5ECJJB.js';
|
|
15
|
-
import '../chunk-HUJCU55S.js';
|
|
16
|
-
export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
|
|
14
|
+
import '../chunk-WLOQ4IBG.js';
|
|
15
|
+
import '../chunk-57OZ3AEG.js';
|
|
17
16
|
import '../chunk-JBWJ6WHZ.js';
|
|
17
|
+
import '../chunk-GX6XBRRF.js';
|
|
18
|
+
import '../chunk-R3VCBZDC.js';
|
|
18
19
|
import '../chunk-DT3QYZVU.js';
|
|
20
|
+
import '../chunk-2IFYDILW.js';
|
|
21
|
+
import '../chunk-Q7DJKLEN.js';
|
|
22
|
+
import '../chunk-HENXLGVD.js';
|
|
23
|
+
import '../chunk-7FPLLSHN.js';
|
|
19
24
|
import '../chunk-RNP5R5I3.js';
|
|
20
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-GEFWMU26.js';
|
|
21
26
|
import '../chunk-KRWALB24.js';
|
|
22
27
|
import '../chunk-VKIZUUPM.js';
|
|
23
28
|
import '../chunk-533DUEQY.js';
|
|
@@ -141,6 +141,8 @@ interface OrgOsRouteContractSystem {
|
|
|
141
141
|
id: string;
|
|
142
142
|
lifecycle?: string | null;
|
|
143
143
|
path?: string | null;
|
|
144
|
+
systems?: Record<string, OrgOsRouteContractSystem> | null;
|
|
145
|
+
subsystems?: Record<string, OrgOsRouteContractSystem> | null;
|
|
144
146
|
ui?: {
|
|
145
147
|
path?: string | null;
|
|
146
148
|
} | null;
|