@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
|
@@ -2884,6 +2884,7 @@ type Database = {
|
|
|
2884
2884
|
title: string | null;
|
|
2885
2885
|
updated_at: string;
|
|
2886
2886
|
user_id: string;
|
|
2887
|
+
visibility: string;
|
|
2887
2888
|
};
|
|
2888
2889
|
Insert: {
|
|
2889
2890
|
content: string;
|
|
@@ -2898,6 +2899,7 @@ type Database = {
|
|
|
2898
2899
|
title?: string | null;
|
|
2899
2900
|
updated_at?: string;
|
|
2900
2901
|
user_id: string;
|
|
2902
|
+
visibility?: string;
|
|
2901
2903
|
};
|
|
2902
2904
|
Update: {
|
|
2903
2905
|
content?: string;
|
|
@@ -2912,6 +2914,7 @@ type Database = {
|
|
|
2912
2914
|
title?: string | null;
|
|
2913
2915
|
updated_at?: string;
|
|
2914
2916
|
user_id?: string;
|
|
2917
|
+
visibility?: string;
|
|
2915
2918
|
};
|
|
2916
2919
|
Relationships: [
|
|
2917
2920
|
{
|
|
@@ -3080,6 +3083,12 @@ type Database = {
|
|
|
3080
3083
|
Args: never;
|
|
3081
3084
|
Returns: boolean;
|
|
3082
3085
|
};
|
|
3086
|
+
current_user_shares_org_with: {
|
|
3087
|
+
Args: {
|
|
3088
|
+
other_user_id: string;
|
|
3089
|
+
};
|
|
3090
|
+
Returns: boolean;
|
|
3091
|
+
};
|
|
3083
3092
|
current_user_supabase_id: {
|
|
3084
3093
|
Args: never;
|
|
3085
3094
|
Returns: string;
|
|
@@ -3119,6 +3128,20 @@ type Database = {
|
|
|
3119
3128
|
Args: never;
|
|
3120
3129
|
Returns: string;
|
|
3121
3130
|
};
|
|
3131
|
+
has_org_access: {
|
|
3132
|
+
Args: {
|
|
3133
|
+
action?: string;
|
|
3134
|
+
org_id: string;
|
|
3135
|
+
system_path: string;
|
|
3136
|
+
};
|
|
3137
|
+
Returns: boolean;
|
|
3138
|
+
} | {
|
|
3139
|
+
Args: {
|
|
3140
|
+
action?: string;
|
|
3141
|
+
system_path: string;
|
|
3142
|
+
};
|
|
3143
|
+
Returns: boolean;
|
|
3144
|
+
};
|
|
3122
3145
|
has_org_permission: {
|
|
3123
3146
|
Args: {
|
|
3124
3147
|
org_id: string;
|
|
@@ -3309,6 +3332,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3309
3332
|
enabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3310
3333
|
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3311
3334
|
}, z$1.core.$strip>>>;
|
|
3335
|
+
dataMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3336
|
+
mock: "mock";
|
|
3337
|
+
live: "live";
|
|
3338
|
+
}>>;
|
|
3312
3339
|
}, z$1.core.$strip>;
|
|
3313
3340
|
}, z$1.core.$strip>;
|
|
3314
3341
|
type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
|
|
@@ -3467,9 +3494,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
|
|
|
3467
3494
|
dashboard: "dashboard";
|
|
3468
3495
|
settings: "settings";
|
|
3469
3496
|
graph: "graph";
|
|
3470
|
-
list: "list";
|
|
3471
3497
|
page: "page";
|
|
3472
3498
|
detail: "detail";
|
|
3499
|
+
list: "list";
|
|
3473
3500
|
}>;
|
|
3474
3501
|
interface SidebarSurfaceNode {
|
|
3475
3502
|
type: 'surface';
|
|
@@ -3902,8 +3929,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3902
3929
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
3903
3930
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
3904
3931
|
status: z$1.ZodEnum<{
|
|
3905
|
-
deprecated: "deprecated";
|
|
3906
3932
|
active: "active";
|
|
3933
|
+
deprecated: "deprecated";
|
|
3907
3934
|
archived: "archived";
|
|
3908
3935
|
}>;
|
|
3909
3936
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3921,12 +3948,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3921
3948
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3922
3949
|
path: z$1.ZodString;
|
|
3923
3950
|
role: z$1.ZodEnum<{
|
|
3924
|
-
config: "config";
|
|
3925
3951
|
entrypoint: "entrypoint";
|
|
3926
3952
|
handler: "handler";
|
|
3927
3953
|
schema: "schema";
|
|
3928
3954
|
test: "test";
|
|
3929
3955
|
docs: "docs";
|
|
3956
|
+
config: "config";
|
|
3930
3957
|
}>;
|
|
3931
3958
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
3932
3959
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -3937,10 +3964,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3937
3964
|
label: z$1.ZodString;
|
|
3938
3965
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
3939
3966
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3967
|
+
active: "active";
|
|
3940
3968
|
deprecated: "deprecated";
|
|
3941
3969
|
draft: "draft";
|
|
3942
3970
|
beta: "beta";
|
|
3943
|
-
active: "active";
|
|
3944
3971
|
archived: "archived";
|
|
3945
3972
|
}>>;
|
|
3946
3973
|
}, z$1.core.$strip>>>;
|
|
@@ -3952,8 +3979,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3952
3979
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
3953
3980
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
3954
3981
|
status: z$1.ZodEnum<{
|
|
3955
|
-
deprecated: "deprecated";
|
|
3956
3982
|
active: "active";
|
|
3983
|
+
deprecated: "deprecated";
|
|
3957
3984
|
archived: "archived";
|
|
3958
3985
|
}>;
|
|
3959
3986
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3971,12 +3998,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3971
3998
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
3972
3999
|
path: z$1.ZodString;
|
|
3973
4000
|
role: z$1.ZodEnum<{
|
|
3974
|
-
config: "config";
|
|
3975
4001
|
entrypoint: "entrypoint";
|
|
3976
4002
|
handler: "handler";
|
|
3977
4003
|
schema: "schema";
|
|
3978
4004
|
test: "test";
|
|
3979
4005
|
docs: "docs";
|
|
4006
|
+
config: "config";
|
|
3980
4007
|
}>;
|
|
3981
4008
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
3982
4009
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4018,10 +4045,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4018
4045
|
label: z$1.ZodString;
|
|
4019
4046
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
4020
4047
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4048
|
+
active: "active";
|
|
4021
4049
|
deprecated: "deprecated";
|
|
4022
4050
|
draft: "draft";
|
|
4023
4051
|
beta: "beta";
|
|
4024
|
-
active: "active";
|
|
4025
4052
|
archived: "archived";
|
|
4026
4053
|
}>>;
|
|
4027
4054
|
}, z$1.core.$strip>>>;
|
|
@@ -4033,8 +4060,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4033
4060
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4034
4061
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
4035
4062
|
status: z$1.ZodEnum<{
|
|
4036
|
-
deprecated: "deprecated";
|
|
4037
4063
|
active: "active";
|
|
4064
|
+
deprecated: "deprecated";
|
|
4038
4065
|
archived: "archived";
|
|
4039
4066
|
}>;
|
|
4040
4067
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -4052,12 +4079,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4052
4079
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4053
4080
|
path: z$1.ZodString;
|
|
4054
4081
|
role: z$1.ZodEnum<{
|
|
4055
|
-
config: "config";
|
|
4056
4082
|
entrypoint: "entrypoint";
|
|
4057
4083
|
handler: "handler";
|
|
4058
4084
|
schema: "schema";
|
|
4059
4085
|
test: "test";
|
|
4060
4086
|
docs: "docs";
|
|
4087
|
+
config: "config";
|
|
4061
4088
|
}>;
|
|
4062
4089
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
4063
4090
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4072,8 +4099,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4072
4099
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4073
4100
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
4074
4101
|
status: z$1.ZodEnum<{
|
|
4075
|
-
deprecated: "deprecated";
|
|
4076
4102
|
active: "active";
|
|
4103
|
+
deprecated: "deprecated";
|
|
4077
4104
|
archived: "archived";
|
|
4078
4105
|
}>;
|
|
4079
4106
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -4091,12 +4118,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4091
4118
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
4092
4119
|
path: z$1.ZodString;
|
|
4093
4120
|
role: z$1.ZodEnum<{
|
|
4094
|
-
config: "config";
|
|
4095
4121
|
entrypoint: "entrypoint";
|
|
4096
4122
|
handler: "handler";
|
|
4097
4123
|
schema: "schema";
|
|
4098
4124
|
test: "test";
|
|
4099
4125
|
docs: "docs";
|
|
4126
|
+
config: "config";
|
|
4100
4127
|
}>;
|
|
4101
4128
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
4102
4129
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -4210,10 +4237,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4210
4237
|
}, z$1.core.$strip>], "kind">>>;
|
|
4211
4238
|
knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
4212
4239
|
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
4240
|
+
active: "active";
|
|
4213
4241
|
deprecated: "deprecated";
|
|
4214
4242
|
draft: "draft";
|
|
4215
4243
|
beta: "beta";
|
|
4216
|
-
active: "active";
|
|
4217
4244
|
archived: "archived";
|
|
4218
4245
|
}>>;
|
|
4219
4246
|
}, z$1.core.$strip>>>>;
|
|
@@ -4291,10 +4318,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4291
4318
|
roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
4292
4319
|
}, z$1.core.$strip>>;
|
|
4293
4320
|
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
4321
|
+
active: "active";
|
|
4294
4322
|
deprecated: "deprecated";
|
|
4295
4323
|
draft: "draft";
|
|
4296
4324
|
beta: "beta";
|
|
4297
|
-
active: "active";
|
|
4298
4325
|
archived: "archived";
|
|
4299
4326
|
}>>;
|
|
4300
4327
|
}, z$1.core.$strip>>>>;
|
|
@@ -4377,12 +4404,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4377
4404
|
kind: z$1.ZodEnum<{
|
|
4378
4405
|
knowledge: "knowledge";
|
|
4379
4406
|
system: "system";
|
|
4407
|
+
resource: "resource";
|
|
4380
4408
|
action: "action";
|
|
4381
4409
|
ontology: "ontology";
|
|
4382
4410
|
role: "role";
|
|
4383
|
-
goal: "goal";
|
|
4384
|
-
resource: "resource";
|
|
4385
4411
|
stage: "stage";
|
|
4412
|
+
goal: "goal";
|
|
4386
4413
|
"customer-segment": "customer-segment";
|
|
4387
4414
|
offering: "offering";
|
|
4388
4415
|
}>;
|
|
@@ -4392,7 +4419,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4392
4419
|
nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
4393
4420
|
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
4394
4421
|
target: {
|
|
4395
|
-
kind: "knowledge" | "system" | "
|
|
4422
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
4396
4423
|
id: string;
|
|
4397
4424
|
};
|
|
4398
4425
|
nodeId: string;
|
|
@@ -4400,7 +4427,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
4400
4427
|
nodeId: string;
|
|
4401
4428
|
} | {
|
|
4402
4429
|
target: {
|
|
4403
|
-
kind: "knowledge" | "system" | "
|
|
4430
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
4404
4431
|
id: string;
|
|
4405
4432
|
};
|
|
4406
4433
|
}>>>>;
|
|
@@ -4427,7 +4454,7 @@ type FieldPath<T> = T extends object ? {
|
|
|
4427
4454
|
[K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
|
|
4428
4455
|
}[keyof T & string] : never;
|
|
4429
4456
|
/** Discriminated string union of supported Mantine components. */
|
|
4430
|
-
type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
4457
|
+
type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
4431
4458
|
/** Rendering hint for a single field within a section. */
|
|
4432
4459
|
interface StepConfigFieldHint<T> {
|
|
4433
4460
|
/** Typed dotted path into T — typo = TS error. */
|
|
@@ -1,33 +1,23 @@
|
|
|
1
|
-
export { ElevasisCoreProvider,
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-SIQ3P4OR.js';
|
|
1
|
+
export { ElevasisCoreProvider, NotificationProvider, SystemShell, useNotificationAdapter } from '../chunk-JZ2WID2G.js';
|
|
2
|
+
import '../chunk-I53EX4VU.js';
|
|
4
3
|
import '../chunk-3KMDHCAR.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
|
|
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';
|
|
4
|
+
import '../chunk-S3XR4II4.js';
|
|
5
|
+
export { AppearanceProvider, useAppearance } from '../chunk-A7IG36LB.js';
|
|
13
6
|
import '../chunk-NYBEU5TE.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-57OZ3AEG.js';
|
|
16
|
-
import '../chunk-JBWJ6WHZ.js';
|
|
17
|
-
import '../chunk-GX6XBRRF.js';
|
|
18
|
-
import '../chunk-R3VCBZDC.js';
|
|
7
|
+
import '../chunk-Y3JQBSKQ.js';
|
|
19
8
|
import '../chunk-DT3QYZVU.js';
|
|
20
9
|
import '../chunk-2IFYDILW.js';
|
|
21
10
|
import '../chunk-Q7DJKLEN.js';
|
|
22
|
-
import '../chunk-
|
|
23
|
-
import '../chunk-7FPLLSHN.js';
|
|
24
|
-
import '../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../chunk-GEFWMU26.js';
|
|
11
|
+
import '../chunk-X66MVMZT.js';
|
|
26
12
|
import '../chunk-KRWALB24.js';
|
|
27
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-JPVZRZ3X.js';
|
|
14
|
+
import '../chunk-LCJQ6OWC.js';
|
|
15
|
+
export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-NYNOMAAS.js';
|
|
28
16
|
import '../chunk-533DUEQY.js';
|
|
17
|
+
import '../chunk-NWMPBG4U.js';
|
|
29
18
|
import '../chunk-DD3CCMCZ.js';
|
|
30
19
|
import '../chunk-2Q2JQSQO.js';
|
|
20
|
+
import '../chunk-6ROXVZ3L.js';
|
|
31
21
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
|
|
32
22
|
import '../chunk-BRJ3QZ4E.js';
|
|
33
23
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/sse/index.js
CHANGED
|
@@ -119,17 +119,38 @@ var SSEConnectionManager = class {
|
|
|
119
119
|
clearTimeout(existing.closeTimeout);
|
|
120
120
|
existing.closeTimeout = void 0;
|
|
121
121
|
}
|
|
122
|
-
existing.subscribers.
|
|
122
|
+
existing.subscribers.set(subscriberId, options);
|
|
123
|
+
if (existing.lastOpenResponse) {
|
|
124
|
+
void options.onopen?.(existing.lastOpenResponse);
|
|
125
|
+
}
|
|
123
126
|
} else {
|
|
124
127
|
const controller = new AbortController();
|
|
125
|
-
|
|
128
|
+
const subscribers = /* @__PURE__ */ new Map();
|
|
129
|
+
subscribers.set(subscriberId, options);
|
|
130
|
+
const connection = {
|
|
126
131
|
controller,
|
|
127
|
-
subscribers
|
|
132
|
+
subscribers,
|
|
128
133
|
url: options.url
|
|
129
|
-
}
|
|
134
|
+
};
|
|
135
|
+
this.connections.set(key, connection);
|
|
130
136
|
fetchEventSourceWithTokenRefresh({
|
|
131
137
|
...options,
|
|
132
|
-
signal: controller.signal
|
|
138
|
+
signal: controller.signal,
|
|
139
|
+
async onopen(response) {
|
|
140
|
+
connection.lastOpenResponse = response;
|
|
141
|
+
await Promise.all(
|
|
142
|
+
Array.from(connection.subscribers.values()).map((subscriberOptions) => subscriberOptions.onopen?.(response))
|
|
143
|
+
);
|
|
144
|
+
},
|
|
145
|
+
onmessage(event) {
|
|
146
|
+
connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onmessage?.(event));
|
|
147
|
+
},
|
|
148
|
+
onerror(error) {
|
|
149
|
+
connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onerror?.(error));
|
|
150
|
+
},
|
|
151
|
+
onclose() {
|
|
152
|
+
connection.subscribers.forEach((subscriberOptions) => subscriberOptions.onclose?.());
|
|
153
|
+
}
|
|
133
154
|
});
|
|
134
155
|
}
|
|
135
156
|
return () => this.unsubscribe(key, subscriberId);
|
package/dist/supabase/index.d.ts
CHANGED
|
@@ -2782,6 +2782,7 @@ type Database = {
|
|
|
2782
2782
|
title: string | null;
|
|
2783
2783
|
updated_at: string;
|
|
2784
2784
|
user_id: string;
|
|
2785
|
+
visibility: string;
|
|
2785
2786
|
};
|
|
2786
2787
|
Insert: {
|
|
2787
2788
|
content: string;
|
|
@@ -2796,6 +2797,7 @@ type Database = {
|
|
|
2796
2797
|
title?: string | null;
|
|
2797
2798
|
updated_at?: string;
|
|
2798
2799
|
user_id: string;
|
|
2800
|
+
visibility?: string;
|
|
2799
2801
|
};
|
|
2800
2802
|
Update: {
|
|
2801
2803
|
content?: string;
|
|
@@ -2810,6 +2812,7 @@ type Database = {
|
|
|
2810
2812
|
title?: string | null;
|
|
2811
2813
|
updated_at?: string;
|
|
2812
2814
|
user_id?: string;
|
|
2815
|
+
visibility?: string;
|
|
2813
2816
|
};
|
|
2814
2817
|
Relationships: [
|
|
2815
2818
|
{
|
|
@@ -2978,6 +2981,12 @@ type Database = {
|
|
|
2978
2981
|
Args: never;
|
|
2979
2982
|
Returns: boolean;
|
|
2980
2983
|
};
|
|
2984
|
+
current_user_shares_org_with: {
|
|
2985
|
+
Args: {
|
|
2986
|
+
other_user_id: string;
|
|
2987
|
+
};
|
|
2988
|
+
Returns: boolean;
|
|
2989
|
+
};
|
|
2981
2990
|
current_user_supabase_id: {
|
|
2982
2991
|
Args: never;
|
|
2983
2992
|
Returns: string;
|
|
@@ -3017,6 +3026,20 @@ type Database = {
|
|
|
3017
3026
|
Args: never;
|
|
3018
3027
|
Returns: string;
|
|
3019
3028
|
};
|
|
3029
|
+
has_org_access: {
|
|
3030
|
+
Args: {
|
|
3031
|
+
action?: string;
|
|
3032
|
+
org_id: string;
|
|
3033
|
+
system_path: string;
|
|
3034
|
+
};
|
|
3035
|
+
Returns: boolean;
|
|
3036
|
+
} | {
|
|
3037
|
+
Args: {
|
|
3038
|
+
action?: string;
|
|
3039
|
+
system_path: string;
|
|
3040
|
+
};
|
|
3041
|
+
Returns: boolean;
|
|
3042
|
+
};
|
|
3020
3043
|
has_org_permission: {
|
|
3021
3044
|
Args: {
|
|
3022
3045
|
org_id: string;
|
|
@@ -5727,6 +5750,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5727
5750
|
title: string | null;
|
|
5728
5751
|
updated_at: string;
|
|
5729
5752
|
user_id: string;
|
|
5753
|
+
visibility: string;
|
|
5730
5754
|
};
|
|
5731
5755
|
Insert: {
|
|
5732
5756
|
content: string;
|
|
@@ -5741,6 +5765,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5741
5765
|
title?: string | null;
|
|
5742
5766
|
updated_at?: string;
|
|
5743
5767
|
user_id: string;
|
|
5768
|
+
visibility?: string;
|
|
5744
5769
|
};
|
|
5745
5770
|
Update: {
|
|
5746
5771
|
content?: string;
|
|
@@ -5755,6 +5780,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5755
5780
|
title?: string | null;
|
|
5756
5781
|
updated_at?: string;
|
|
5757
5782
|
user_id?: string;
|
|
5783
|
+
visibility?: string;
|
|
5758
5784
|
};
|
|
5759
5785
|
Relationships: [{
|
|
5760
5786
|
foreignKeyName: "user_notes_organization_id_fkey";
|
|
@@ -5914,6 +5940,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5914
5940
|
Args: never;
|
|
5915
5941
|
Returns: boolean;
|
|
5916
5942
|
};
|
|
5943
|
+
current_user_shares_org_with: {
|
|
5944
|
+
Args: {
|
|
5945
|
+
other_user_id: string;
|
|
5946
|
+
};
|
|
5947
|
+
Returns: boolean;
|
|
5948
|
+
};
|
|
5917
5949
|
current_user_supabase_id: {
|
|
5918
5950
|
Args: never;
|
|
5919
5951
|
Returns: string;
|
|
@@ -5953,6 +5985,20 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5953
5985
|
Args: never;
|
|
5954
5986
|
Returns: string;
|
|
5955
5987
|
};
|
|
5988
|
+
has_org_access: {
|
|
5989
|
+
Args: {
|
|
5990
|
+
action?: string;
|
|
5991
|
+
org_id: string;
|
|
5992
|
+
system_path: string;
|
|
5993
|
+
};
|
|
5994
|
+
Returns: boolean;
|
|
5995
|
+
} | {
|
|
5996
|
+
Args: {
|
|
5997
|
+
action?: string;
|
|
5998
|
+
system_path: string;
|
|
5999
|
+
};
|
|
6000
|
+
Returns: boolean;
|
|
6001
|
+
};
|
|
5956
6002
|
has_org_permission: {
|
|
5957
6003
|
Args: {
|
|
5958
6004
|
org_id: string;
|
|
@@ -117,25 +117,6 @@ declare const server: msw_node.SetupServerApi;
|
|
|
117
117
|
|
|
118
118
|
declare const handlers: msw.HttpHandler[];
|
|
119
119
|
|
|
120
|
-
type RestrictionSource = 'membership' | null;
|
|
121
|
-
interface FeatureAccessResult {
|
|
122
|
-
allowed: boolean;
|
|
123
|
-
restrictedBy: RestrictionSource;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
type MockFeatureAccessOptions = {
|
|
127
|
-
allowed?: boolean;
|
|
128
|
-
restrictedBy?: FeatureAccessResult['restrictedBy'];
|
|
129
|
-
};
|
|
130
|
-
declare function mockFeatureAccess({ allowed, restrictedBy }?: MockFeatureAccessOptions): {
|
|
131
|
-
isReady: boolean;
|
|
132
|
-
hasFeature: () => boolean;
|
|
133
|
-
checkFeature: () => {
|
|
134
|
-
allowed: boolean;
|
|
135
|
-
restrictedBy: "membership" | null;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
|
|
139
120
|
type OrgOsUiRouteContractMode = 'development' | 'production';
|
|
140
121
|
interface OrgOsRouteContractSystem {
|
|
141
122
|
id: string;
|
|
@@ -189,5 +170,5 @@ declare function formatOrgOsUiRouteContractIssue(issue: OrgOsUiRouteContractIssu
|
|
|
189
170
|
declare function formatOrgOsUiRouteContractFailure(issues: readonly OrgOsUiRouteContractIssue[]): string;
|
|
190
171
|
declare function assertOrgOsUiRouteContract(options: OrgOsUiRouteContractOptions): OrgOsUiRouteContractResult;
|
|
191
172
|
|
|
192
|
-
export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createMockUseAuth, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue, handlers, mockAuthLoading, mockAuthenticatedUser,
|
|
193
|
-
export type { CustomRenderHookOptions, CustomRenderOptions,
|
|
173
|
+
export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createMockUseAuth, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue, handlers, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser, normalizeOrgOsRoutePath, ownsOrgOsSystem, renderWithProviders as render, renderHookWithProviders, renderWithProviders, server };
|
|
174
|
+
export type { CustomRenderHookOptions, CustomRenderOptions, OrgOsRouteContractOrganizationModel, OrgOsRouteContractSystem, OrgOsUiRouteContractIssue, OrgOsUiRouteContractIssueKind, OrgOsUiRouteContractMode, OrgOsUiRouteContractOptions, OrgOsUiRouteContractResult, OrgOsUiRouteContractTarget, TestProvidersProps };
|
package/dist/test-utils/index.js
CHANGED
|
@@ -2,11 +2,12 @@ import { server, handlers } from '../chunk-7XKCG5CT.js';
|
|
|
2
2
|
export { handlers, server } from '../chunk-7XKCG5CT.js';
|
|
3
3
|
import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-DRQPEMJI.js';
|
|
4
4
|
export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-DRQPEMJI.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { ApiClientProvider } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-73EWE2EW.js';
|
|
6
|
+
import { ApiClientProvider } from '../chunk-Y3JQBSKQ.js';
|
|
7
|
+
import '../chunk-X66MVMZT.js';
|
|
8
8
|
import '../chunk-KRWALB24.js';
|
|
9
9
|
import '../chunk-DD3CCMCZ.js';
|
|
10
|
+
import '../chunk-6ROXVZ3L.js';
|
|
10
11
|
import { ElevasisServiceProvider } from '../chunk-KJ3QUBNU.js';
|
|
11
12
|
import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
|
|
12
13
|
import { MantineProvider } from '@mantine/core';
|
|
@@ -30,7 +31,6 @@ __export(test_utils_exports, {
|
|
|
30
31
|
handlers: () => handlers,
|
|
31
32
|
mockAuthLoading: () => mockAuthLoading,
|
|
32
33
|
mockAuthenticatedUser: () => mockAuthenticatedUser,
|
|
33
|
-
mockFeatureAccess: () => mockFeatureAccess,
|
|
34
34
|
mockUnauthenticatedUser: () => mockUnauthenticatedUser,
|
|
35
35
|
mockUseAuth: () => mockUseAuth,
|
|
36
36
|
mockWorkOSUser: () => mockWorkOSUser,
|
|
@@ -160,19 +160,6 @@ function createTestWrapper(options) {
|
|
|
160
160
|
// src/test-utils/index.ts
|
|
161
161
|
__reExport(test_utils_exports, render_exports);
|
|
162
162
|
|
|
163
|
-
// src/test-utils/mocks/feature-access.ts
|
|
164
|
-
function mockFeatureAccess({ allowed = true, restrictedBy } = {}) {
|
|
165
|
-
const result = {
|
|
166
|
-
allowed,
|
|
167
|
-
restrictedBy: restrictedBy ?? null
|
|
168
|
-
};
|
|
169
|
-
return {
|
|
170
|
-
isReady: true,
|
|
171
|
-
hasFeature: () => allowed,
|
|
172
|
-
checkFeature: () => result
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
|
|
176
163
|
// src/test-utils/orgOsUiRouteContract.ts
|
|
177
164
|
function normalizeOrgOsRoutePath(path) {
|
|
178
165
|
const trimmed = path.trim();
|
|
@@ -286,4 +273,4 @@ function assertOrgOsUiRouteContract(options) {
|
|
|
286
273
|
return result;
|
|
287
274
|
}
|
|
288
275
|
|
|
289
|
-
export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue,
|
|
276
|
+
export { TestProviders, assertOrgOsUiRouteContract, collectOrgOsUiRouteContractIssues, createTestQueryClient, createTestWrapper, extractOrgOsRouteTreeFullPaths, formatOrgOsUiRouteContractFailure, formatOrgOsUiRouteContractIssue, normalizeOrgOsRoutePath, ownsOrgOsSystem, renderWithProviders as render, renderHookWithProviders, renderWithProviders };
|
package/dist/theme/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useAvailablePresets } from '../chunk-S3KBYQTI.js';
|
|
2
|
+
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from '../chunk-CWYQRM5T.js';
|
|
2
3
|
export { generateShades, getPreset, PRESETS as presets } from '../chunk-WF7CONXF.js';
|
|
3
4
|
import '../chunk-WLOQ4IBG.js';
|
|
4
5
|
import '../chunk-I2KLQ2HA.js';
|