@elevasis/ui 2.22.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chunk-LKVBEE63.js → chunk-7PGEGSUM.js} +1 -1
  2. package/dist/{chunk-GJ7EIABJ.js → chunk-D3KQAABP.js} +1 -1
  3. package/dist/{chunk-IOTLB6ND.js → chunk-EPV7NU2E.js} +22 -8
  4. package/dist/{chunk-WWJ6S2HQ.js → chunk-FXWETLEB.js} +1 -1
  5. package/dist/{chunk-B4FHWKEF.js → chunk-GUJUK6EH.js} +22 -9
  6. package/dist/{chunk-LVJGPE6H.js → chunk-N6WLOWOD.js} +1 -1
  7. package/dist/{chunk-BSZRKBAW.js → chunk-PTUOINQ2.js} +1 -1
  8. package/dist/{chunk-COG4ABRI.js → chunk-PXGSJNBH.js} +1 -1
  9. package/dist/{chunk-IBUYJXA3.js → chunk-YU6MBDVO.js} +962 -343
  10. package/dist/components/index.d.ts +12 -14
  11. package/dist/components/index.js +29 -22
  12. package/dist/features/auth/index.d.ts +9 -12
  13. package/dist/features/crm/index.d.ts +9 -12
  14. package/dist/features/crm/index.js +2 -2
  15. package/dist/features/dashboard/index.js +2 -2
  16. package/dist/features/delivery/index.d.ts +9 -12
  17. package/dist/features/delivery/index.js +2 -2
  18. package/dist/features/lead-gen/index.js +2 -2
  19. package/dist/features/monitoring/index.js +3 -3
  20. package/dist/features/monitoring/requests/index.js +1 -1
  21. package/dist/features/operations/index.js +4 -4
  22. package/dist/features/settings/index.d.ts +9 -12
  23. package/dist/features/settings/index.js +2 -2
  24. package/dist/hooks/delivery/index.d.ts +9 -12
  25. package/dist/hooks/index.d.ts +33 -28
  26. package/dist/hooks/index.js +1 -1
  27. package/dist/hooks/published.d.ts +33 -28
  28. package/dist/hooks/published.js +1 -1
  29. package/dist/index.d.ts +33 -28
  30. package/dist/index.js +1 -1
  31. package/dist/initialization/index.d.ts +9 -12
  32. package/dist/profile/index.d.ts +9 -12
  33. package/dist/supabase/index.d.ts +18 -24
  34. package/dist/types/index.d.ts +9 -12
  35. package/package.json +4 -4
@@ -410,7 +410,6 @@ type Database = {
410
410
  acq_deals: {
411
411
  Row: {
412
412
  activity_log: Json;
413
- cached_stage: string | null;
414
413
  closed_lost_at: string | null;
415
414
  closed_lost_reason: string | null;
416
415
  contact_email: string;
@@ -425,6 +424,7 @@ type Database = {
425
424
  organization_id: string;
426
425
  payment_link_sent_at: string | null;
427
426
  payment_received_at: string | null;
427
+ pipeline_key: string;
428
428
  proposal_data: Json | null;
429
429
  proposal_generated_at: string | null;
430
430
  proposal_pdf_url: string | null;
@@ -432,10 +432,11 @@ type Database = {
432
432
  proposal_reviewed_by: string | null;
433
433
  proposal_sent_at: string | null;
434
434
  proposal_signed_at: string | null;
435
- proposal_status: string | null;
436
435
  signature_envelope_id: string | null;
437
436
  source_list_id: string | null;
438
437
  source_type: string | null;
438
+ stage_key: string | null;
439
+ state_key: string | null;
439
440
  stripe_payment_id: string | null;
440
441
  stripe_payment_link: string | null;
441
442
  stripe_payment_link_id: string | null;
@@ -444,7 +445,6 @@ type Database = {
444
445
  };
445
446
  Insert: {
446
447
  activity_log?: Json;
447
- cached_stage?: string | null;
448
448
  closed_lost_at?: string | null;
449
449
  closed_lost_reason?: string | null;
450
450
  contact_email: string;
@@ -459,6 +459,7 @@ type Database = {
459
459
  organization_id: string;
460
460
  payment_link_sent_at?: string | null;
461
461
  payment_received_at?: string | null;
462
+ pipeline_key?: string;
462
463
  proposal_data?: Json | null;
463
464
  proposal_generated_at?: string | null;
464
465
  proposal_pdf_url?: string | null;
@@ -466,10 +467,11 @@ type Database = {
466
467
  proposal_reviewed_by?: string | null;
467
468
  proposal_sent_at?: string | null;
468
469
  proposal_signed_at?: string | null;
469
- proposal_status?: string | null;
470
470
  signature_envelope_id?: string | null;
471
471
  source_list_id?: string | null;
472
472
  source_type?: string | null;
473
+ stage_key?: string | null;
474
+ state_key?: string | null;
473
475
  stripe_payment_id?: string | null;
474
476
  stripe_payment_link?: string | null;
475
477
  stripe_payment_link_id?: string | null;
@@ -478,7 +480,6 @@ type Database = {
478
480
  };
479
481
  Update: {
480
482
  activity_log?: Json;
481
- cached_stage?: string | null;
482
483
  closed_lost_at?: string | null;
483
484
  closed_lost_reason?: string | null;
484
485
  contact_email?: string;
@@ -493,6 +494,7 @@ type Database = {
493
494
  organization_id?: string;
494
495
  payment_link_sent_at?: string | null;
495
496
  payment_received_at?: string | null;
497
+ pipeline_key?: string;
496
498
  proposal_data?: Json | null;
497
499
  proposal_generated_at?: string | null;
498
500
  proposal_pdf_url?: string | null;
@@ -500,10 +502,11 @@ type Database = {
500
502
  proposal_reviewed_by?: string | null;
501
503
  proposal_sent_at?: string | null;
502
504
  proposal_signed_at?: string | null;
503
- proposal_status?: string | null;
504
505
  signature_envelope_id?: string | null;
505
506
  source_list_id?: string | null;
506
507
  source_type?: string | null;
508
+ stage_key?: string | null;
509
+ state_key?: string | null;
507
510
  stripe_payment_id?: string | null;
508
511
  stripe_payment_link?: string | null;
509
512
  stripe_payment_link_id?: string | null;
@@ -2752,12 +2755,6 @@ type Database = {
2752
2755
  };
2753
2756
  Returns: boolean;
2754
2757
  };
2755
- is_org_admin: {
2756
- Args: {
2757
- org_id: string;
2758
- };
2759
- Returns: boolean;
2760
- };
2761
2758
  is_org_member: {
2762
2759
  Args: {
2763
2760
  org_id: string;
@@ -409,7 +409,6 @@ type Database = {
409
409
  acq_deals: {
410
410
  Row: {
411
411
  activity_log: Json;
412
- cached_stage: string | null;
413
412
  closed_lost_at: string | null;
414
413
  closed_lost_reason: string | null;
415
414
  contact_email: string;
@@ -424,6 +423,7 @@ type Database = {
424
423
  organization_id: string;
425
424
  payment_link_sent_at: string | null;
426
425
  payment_received_at: string | null;
426
+ pipeline_key: string;
427
427
  proposal_data: Json | null;
428
428
  proposal_generated_at: string | null;
429
429
  proposal_pdf_url: string | null;
@@ -431,10 +431,11 @@ type Database = {
431
431
  proposal_reviewed_by: string | null;
432
432
  proposal_sent_at: string | null;
433
433
  proposal_signed_at: string | null;
434
- proposal_status: string | null;
435
434
  signature_envelope_id: string | null;
436
435
  source_list_id: string | null;
437
436
  source_type: string | null;
437
+ stage_key: string | null;
438
+ state_key: string | null;
438
439
  stripe_payment_id: string | null;
439
440
  stripe_payment_link: string | null;
440
441
  stripe_payment_link_id: string | null;
@@ -443,7 +444,6 @@ type Database = {
443
444
  };
444
445
  Insert: {
445
446
  activity_log?: Json;
446
- cached_stage?: string | null;
447
447
  closed_lost_at?: string | null;
448
448
  closed_lost_reason?: string | null;
449
449
  contact_email: string;
@@ -458,6 +458,7 @@ type Database = {
458
458
  organization_id: string;
459
459
  payment_link_sent_at?: string | null;
460
460
  payment_received_at?: string | null;
461
+ pipeline_key?: string;
461
462
  proposal_data?: Json | null;
462
463
  proposal_generated_at?: string | null;
463
464
  proposal_pdf_url?: string | null;
@@ -465,10 +466,11 @@ type Database = {
465
466
  proposal_reviewed_by?: string | null;
466
467
  proposal_sent_at?: string | null;
467
468
  proposal_signed_at?: string | null;
468
- proposal_status?: string | null;
469
469
  signature_envelope_id?: string | null;
470
470
  source_list_id?: string | null;
471
471
  source_type?: string | null;
472
+ stage_key?: string | null;
473
+ state_key?: string | null;
472
474
  stripe_payment_id?: string | null;
473
475
  stripe_payment_link?: string | null;
474
476
  stripe_payment_link_id?: string | null;
@@ -477,7 +479,6 @@ type Database = {
477
479
  };
478
480
  Update: {
479
481
  activity_log?: Json;
480
- cached_stage?: string | null;
481
482
  closed_lost_at?: string | null;
482
483
  closed_lost_reason?: string | null;
483
484
  contact_email?: string;
@@ -492,6 +493,7 @@ type Database = {
492
493
  organization_id?: string;
493
494
  payment_link_sent_at?: string | null;
494
495
  payment_received_at?: string | null;
496
+ pipeline_key?: string;
495
497
  proposal_data?: Json | null;
496
498
  proposal_generated_at?: string | null;
497
499
  proposal_pdf_url?: string | null;
@@ -499,10 +501,11 @@ type Database = {
499
501
  proposal_reviewed_by?: string | null;
500
502
  proposal_sent_at?: string | null;
501
503
  proposal_signed_at?: string | null;
502
- proposal_status?: string | null;
503
504
  signature_envelope_id?: string | null;
504
505
  source_list_id?: string | null;
505
506
  source_type?: string | null;
507
+ stage_key?: string | null;
508
+ state_key?: string | null;
506
509
  stripe_payment_id?: string | null;
507
510
  stripe_payment_link?: string | null;
508
511
  stripe_payment_link_id?: string | null;
@@ -2751,12 +2754,6 @@ type Database = {
2751
2754
  };
2752
2755
  Returns: boolean;
2753
2756
  };
2754
- is_org_admin: {
2755
- Args: {
2756
- org_id: string;
2757
- };
2758
- Returns: boolean;
2759
- };
2760
2757
  is_org_member: {
2761
2758
  Args: {
2762
2759
  org_id: string;
@@ -3205,7 +3202,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3205
3202
  acq_deals: {
3206
3203
  Row: {
3207
3204
  activity_log: Json;
3208
- cached_stage: string | null;
3209
3205
  closed_lost_at: string | null;
3210
3206
  closed_lost_reason: string | null;
3211
3207
  contact_email: string;
@@ -3220,6 +3216,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3220
3216
  organization_id: string;
3221
3217
  payment_link_sent_at: string | null;
3222
3218
  payment_received_at: string | null;
3219
+ pipeline_key: string;
3223
3220
  proposal_data: Json | null;
3224
3221
  proposal_generated_at: string | null;
3225
3222
  proposal_pdf_url: string | null;
@@ -3227,10 +3224,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3227
3224
  proposal_reviewed_by: string | null;
3228
3225
  proposal_sent_at: string | null;
3229
3226
  proposal_signed_at: string | null;
3230
- proposal_status: string | null;
3231
3227
  signature_envelope_id: string | null;
3232
3228
  source_list_id: string | null;
3233
3229
  source_type: string | null;
3230
+ stage_key: string | null;
3231
+ state_key: string | null;
3234
3232
  stripe_payment_id: string | null;
3235
3233
  stripe_payment_link: string | null;
3236
3234
  stripe_payment_link_id: string | null;
@@ -3239,7 +3237,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3239
3237
  };
3240
3238
  Insert: {
3241
3239
  activity_log?: Json;
3242
- cached_stage?: string | null;
3243
3240
  closed_lost_at?: string | null;
3244
3241
  closed_lost_reason?: string | null;
3245
3242
  contact_email: string;
@@ -3254,6 +3251,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3254
3251
  organization_id: string;
3255
3252
  payment_link_sent_at?: string | null;
3256
3253
  payment_received_at?: string | null;
3254
+ pipeline_key?: string;
3257
3255
  proposal_data?: Json | null;
3258
3256
  proposal_generated_at?: string | null;
3259
3257
  proposal_pdf_url?: string | null;
@@ -3261,10 +3259,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3261
3259
  proposal_reviewed_by?: string | null;
3262
3260
  proposal_sent_at?: string | null;
3263
3261
  proposal_signed_at?: string | null;
3264
- proposal_status?: string | null;
3265
3262
  signature_envelope_id?: string | null;
3266
3263
  source_list_id?: string | null;
3267
3264
  source_type?: string | null;
3265
+ stage_key?: string | null;
3266
+ state_key?: string | null;
3268
3267
  stripe_payment_id?: string | null;
3269
3268
  stripe_payment_link?: string | null;
3270
3269
  stripe_payment_link_id?: string | null;
@@ -3273,7 +3272,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3273
3272
  };
3274
3273
  Update: {
3275
3274
  activity_log?: Json;
3276
- cached_stage?: string | null;
3277
3275
  closed_lost_at?: string | null;
3278
3276
  closed_lost_reason?: string | null;
3279
3277
  contact_email?: string;
@@ -3288,6 +3286,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3288
3286
  organization_id?: string;
3289
3287
  payment_link_sent_at?: string | null;
3290
3288
  payment_received_at?: string | null;
3289
+ pipeline_key?: string;
3291
3290
  proposal_data?: Json | null;
3292
3291
  proposal_generated_at?: string | null;
3293
3292
  proposal_pdf_url?: string | null;
@@ -3295,10 +3294,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3295
3294
  proposal_reviewed_by?: string | null;
3296
3295
  proposal_sent_at?: string | null;
3297
3296
  proposal_signed_at?: string | null;
3298
- proposal_status?: string | null;
3299
3297
  signature_envelope_id?: string | null;
3300
3298
  source_list_id?: string | null;
3301
3299
  source_type?: string | null;
3300
+ stage_key?: string | null;
3301
+ state_key?: string | null;
3302
3302
  stripe_payment_id?: string | null;
3303
3303
  stripe_payment_link?: string | null;
3304
3304
  stripe_payment_link_id?: string | null;
@@ -5435,12 +5435,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5435
5435
  };
5436
5436
  Returns: boolean;
5437
5437
  };
5438
- is_org_admin: {
5439
- Args: {
5440
- org_id: string;
5441
- };
5442
- Returns: boolean;
5443
- };
5444
5438
  is_org_member: {
5445
5439
  Args: {
5446
5440
  org_id: string;
@@ -999,7 +999,6 @@ type Database = {
999
999
  acq_deals: {
1000
1000
  Row: {
1001
1001
  activity_log: Json;
1002
- cached_stage: string | null;
1003
1002
  closed_lost_at: string | null;
1004
1003
  closed_lost_reason: string | null;
1005
1004
  contact_email: string;
@@ -1014,6 +1013,7 @@ type Database = {
1014
1013
  organization_id: string;
1015
1014
  payment_link_sent_at: string | null;
1016
1015
  payment_received_at: string | null;
1016
+ pipeline_key: string;
1017
1017
  proposal_data: Json | null;
1018
1018
  proposal_generated_at: string | null;
1019
1019
  proposal_pdf_url: string | null;
@@ -1021,10 +1021,11 @@ type Database = {
1021
1021
  proposal_reviewed_by: string | null;
1022
1022
  proposal_sent_at: string | null;
1023
1023
  proposal_signed_at: string | null;
1024
- proposal_status: string | null;
1025
1024
  signature_envelope_id: string | null;
1026
1025
  source_list_id: string | null;
1027
1026
  source_type: string | null;
1027
+ stage_key: string | null;
1028
+ state_key: string | null;
1028
1029
  stripe_payment_id: string | null;
1029
1030
  stripe_payment_link: string | null;
1030
1031
  stripe_payment_link_id: string | null;
@@ -1033,7 +1034,6 @@ type Database = {
1033
1034
  };
1034
1035
  Insert: {
1035
1036
  activity_log?: Json;
1036
- cached_stage?: string | null;
1037
1037
  closed_lost_at?: string | null;
1038
1038
  closed_lost_reason?: string | null;
1039
1039
  contact_email: string;
@@ -1048,6 +1048,7 @@ type Database = {
1048
1048
  organization_id: string;
1049
1049
  payment_link_sent_at?: string | null;
1050
1050
  payment_received_at?: string | null;
1051
+ pipeline_key?: string;
1051
1052
  proposal_data?: Json | null;
1052
1053
  proposal_generated_at?: string | null;
1053
1054
  proposal_pdf_url?: string | null;
@@ -1055,10 +1056,11 @@ type Database = {
1055
1056
  proposal_reviewed_by?: string | null;
1056
1057
  proposal_sent_at?: string | null;
1057
1058
  proposal_signed_at?: string | null;
1058
- proposal_status?: string | null;
1059
1059
  signature_envelope_id?: string | null;
1060
1060
  source_list_id?: string | null;
1061
1061
  source_type?: string | null;
1062
+ stage_key?: string | null;
1063
+ state_key?: string | null;
1062
1064
  stripe_payment_id?: string | null;
1063
1065
  stripe_payment_link?: string | null;
1064
1066
  stripe_payment_link_id?: string | null;
@@ -1067,7 +1069,6 @@ type Database = {
1067
1069
  };
1068
1070
  Update: {
1069
1071
  activity_log?: Json;
1070
- cached_stage?: string | null;
1071
1072
  closed_lost_at?: string | null;
1072
1073
  closed_lost_reason?: string | null;
1073
1074
  contact_email?: string;
@@ -1082,6 +1083,7 @@ type Database = {
1082
1083
  organization_id?: string;
1083
1084
  payment_link_sent_at?: string | null;
1084
1085
  payment_received_at?: string | null;
1086
+ pipeline_key?: string;
1085
1087
  proposal_data?: Json | null;
1086
1088
  proposal_generated_at?: string | null;
1087
1089
  proposal_pdf_url?: string | null;
@@ -1089,10 +1091,11 @@ type Database = {
1089
1091
  proposal_reviewed_by?: string | null;
1090
1092
  proposal_sent_at?: string | null;
1091
1093
  proposal_signed_at?: string | null;
1092
- proposal_status?: string | null;
1093
1094
  signature_envelope_id?: string | null;
1094
1095
  source_list_id?: string | null;
1095
1096
  source_type?: string | null;
1097
+ stage_key?: string | null;
1098
+ state_key?: string | null;
1096
1099
  stripe_payment_id?: string | null;
1097
1100
  stripe_payment_link?: string | null;
1098
1101
  stripe_payment_link_id?: string | null;
@@ -3341,12 +3344,6 @@ type Database = {
3341
3344
  };
3342
3345
  Returns: boolean;
3343
3346
  };
3344
- is_org_admin: {
3345
- Args: {
3346
- org_id: string;
3347
- };
3348
- Returns: boolean;
3349
- };
3350
3347
  is_org_member: {
3351
3348
  Args: {
3352
3349
  org_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -225,9 +225,9 @@
225
225
  "@testing-library/jest-dom": "^6.9.1",
226
226
  "msw": "^2.11.0",
227
227
  "vitest": "^3.2.4",
228
- "@repo/core": "0.12.0",
229
- "@repo/eslint-config": "0.0.0",
230
- "@repo/typescript-config": "0.0.0"
228
+ "@repo/core": "0.13.0",
229
+ "@repo/typescript-config": "0.0.0",
230
+ "@repo/eslint-config": "0.0.0"
231
231
  },
232
232
  "dependencies": {
233
233
  "@dagrejs/dagre": "^1.1.4",