@onlive.ai/flow-client 0.1.75 → 0.1.80

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.
@@ -3058,24 +3058,360 @@ declare const Step: z.ZodObject<{
3058
3058
  configuration: z.ZodOptional<z.ZodObject<{
3059
3059
  generic: z.ZodOptional<z.ZodObject<{
3060
3060
  error: z.ZodObject<{
3061
- icon: z.ZodOptional<z.ZodString>;
3062
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
3061
+ loading: z.ZodOptional<z.ZodObject<{
3062
+ message: z.ZodOptional<z.ZodString>;
3063
+ icon: z.ZodOptional<z.ZodString>;
3064
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
3065
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
3066
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3067
+ id: z.ZodString;
3068
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
3069
+ label: z.ZodString;
3070
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
3071
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
3072
+ url: z.ZodOptional<z.ZodString>;
3073
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
3074
+ prefix: z.ZodOptional<z.ZodObject<{
3075
+ text: z.ZodOptional<z.ZodString>;
3076
+ icon: z.ZodOptional<z.ZodString>;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ text?: string | undefined;
3079
+ icon?: string | undefined;
3080
+ }, {
3081
+ text?: string | undefined;
3082
+ icon?: string | undefined;
3083
+ }>>;
3084
+ suffix: z.ZodOptional<z.ZodObject<{
3085
+ text: z.ZodOptional<z.ZodString>;
3086
+ icon: z.ZodOptional<z.ZodString>;
3087
+ }, "strip", z.ZodTypeAny, {
3088
+ text?: string | undefined;
3089
+ icon?: string | undefined;
3090
+ }, {
3091
+ text?: string | undefined;
3092
+ icon?: string | undefined;
3093
+ }>>;
3094
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3095
+ src: z.ZodString;
3096
+ preload: z.ZodOptional<z.ZodBoolean>;
3097
+ name: z.ZodString;
3098
+ function: z.ZodString;
3099
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3100
+ }, "strip", z.ZodTypeAny, {
3101
+ function: string;
3102
+ name: string;
3103
+ src: string;
3104
+ params?: Record<string, any> | undefined;
3105
+ preload?: boolean | undefined;
3106
+ }, {
3107
+ function: string;
3108
+ name: string;
3109
+ src: string;
3110
+ params?: Record<string, any> | undefined;
3111
+ preload?: boolean | undefined;
3112
+ }>, "many">>;
3113
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
3114
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
3115
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3116
+ }, "strip", z.ZodTypeAny, {
3117
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3118
+ params?: Record<string, any> | undefined;
3119
+ }, {
3120
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3121
+ params?: Record<string, any> | undefined;
3122
+ }>, "many">>;
3123
+ }, "strip", z.ZodTypeAny, {
3124
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3125
+ label: string;
3126
+ id: string;
3127
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3128
+ url?: string | undefined;
3129
+ scripts?: {
3130
+ function: string;
3131
+ name: string;
3132
+ src: string;
3133
+ params?: Record<string, any> | undefined;
3134
+ preload?: boolean | undefined;
3135
+ }[] | undefined;
3136
+ position?: "top" | "bottom" | undefined;
3137
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3138
+ prefix?: {
3139
+ text?: string | undefined;
3140
+ icon?: string | undefined;
3141
+ } | undefined;
3142
+ suffix?: {
3143
+ text?: string | undefined;
3144
+ icon?: string | undefined;
3145
+ } | undefined;
3146
+ events?: {
3147
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3148
+ params?: Record<string, any> | undefined;
3149
+ }[] | undefined;
3150
+ }, {
3151
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3152
+ label: string;
3153
+ id: string;
3154
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3155
+ url?: string | undefined;
3156
+ scripts?: {
3157
+ function: string;
3158
+ name: string;
3159
+ src: string;
3160
+ params?: Record<string, any> | undefined;
3161
+ preload?: boolean | undefined;
3162
+ }[] | undefined;
3163
+ position?: "top" | "bottom" | undefined;
3164
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3165
+ prefix?: {
3166
+ text?: string | undefined;
3167
+ icon?: string | undefined;
3168
+ } | undefined;
3169
+ suffix?: {
3170
+ text?: string | undefined;
3171
+ icon?: string | undefined;
3172
+ } | undefined;
3173
+ events?: {
3174
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3175
+ params?: Record<string, any> | undefined;
3176
+ }[] | undefined;
3177
+ }>, "many">>;
3178
+ }, "strip", z.ZodTypeAny, {
3179
+ message?: string | undefined;
3180
+ actions?: {
3181
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3182
+ label: string;
3183
+ id: string;
3184
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3185
+ url?: string | undefined;
3186
+ scripts?: {
3187
+ function: string;
3188
+ name: string;
3189
+ src: string;
3190
+ params?: Record<string, any> | undefined;
3191
+ preload?: boolean | undefined;
3192
+ }[] | undefined;
3193
+ position?: "top" | "bottom" | undefined;
3194
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3195
+ prefix?: {
3196
+ text?: string | undefined;
3197
+ icon?: string | undefined;
3198
+ } | undefined;
3199
+ suffix?: {
3200
+ text?: string | undefined;
3201
+ icon?: string | undefined;
3202
+ } | undefined;
3203
+ events?: {
3204
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3205
+ params?: Record<string, any> | undefined;
3206
+ }[] | undefined;
3207
+ }[] | undefined;
3208
+ icon?: string | undefined;
3209
+ position?: "top" | "bottom" | undefined;
3210
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3211
+ }, {
3212
+ message?: string | undefined;
3213
+ actions?: {
3214
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3215
+ label: string;
3216
+ id: string;
3217
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3218
+ url?: string | undefined;
3219
+ scripts?: {
3220
+ function: string;
3221
+ name: string;
3222
+ src: string;
3223
+ params?: Record<string, any> | undefined;
3224
+ preload?: boolean | undefined;
3225
+ }[] | undefined;
3226
+ position?: "top" | "bottom" | undefined;
3227
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3228
+ prefix?: {
3229
+ text?: string | undefined;
3230
+ icon?: string | undefined;
3231
+ } | undefined;
3232
+ suffix?: {
3233
+ text?: string | undefined;
3234
+ icon?: string | undefined;
3235
+ } | undefined;
3236
+ events?: {
3237
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3238
+ params?: Record<string, any> | undefined;
3239
+ }[] | undefined;
3240
+ }[] | undefined;
3241
+ icon?: string | undefined;
3242
+ position?: "top" | "bottom" | undefined;
3243
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3244
+ }>>;
3245
+ validation: z.ZodOptional<z.ZodObject<{
3246
+ icon: z.ZodOptional<z.ZodString>;
3247
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
3248
+ }, "strip", z.ZodTypeAny, {
3249
+ icon?: string | undefined;
3250
+ showOn?: "input" | "blur" | undefined;
3251
+ }, {
3252
+ icon?: string | undefined;
3253
+ showOn?: "input" | "blur" | undefined;
3254
+ }>>;
3063
3255
  }, "strip", z.ZodTypeAny, {
3064
- icon?: string | undefined;
3065
- showOn?: "input" | "blur" | undefined;
3256
+ validation?: {
3257
+ icon?: string | undefined;
3258
+ showOn?: "input" | "blur" | undefined;
3259
+ } | undefined;
3260
+ loading?: {
3261
+ message?: string | undefined;
3262
+ actions?: {
3263
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3264
+ label: string;
3265
+ id: string;
3266
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3267
+ url?: string | undefined;
3268
+ scripts?: {
3269
+ function: string;
3270
+ name: string;
3271
+ src: string;
3272
+ params?: Record<string, any> | undefined;
3273
+ preload?: boolean | undefined;
3274
+ }[] | undefined;
3275
+ position?: "top" | "bottom" | undefined;
3276
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3277
+ prefix?: {
3278
+ text?: string | undefined;
3279
+ icon?: string | undefined;
3280
+ } | undefined;
3281
+ suffix?: {
3282
+ text?: string | undefined;
3283
+ icon?: string | undefined;
3284
+ } | undefined;
3285
+ events?: {
3286
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3287
+ params?: Record<string, any> | undefined;
3288
+ }[] | undefined;
3289
+ }[] | undefined;
3290
+ icon?: string | undefined;
3291
+ position?: "top" | "bottom" | undefined;
3292
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3293
+ } | undefined;
3066
3294
  }, {
3067
- icon?: string | undefined;
3068
- showOn?: "input" | "blur" | undefined;
3295
+ validation?: {
3296
+ icon?: string | undefined;
3297
+ showOn?: "input" | "blur" | undefined;
3298
+ } | undefined;
3299
+ loading?: {
3300
+ message?: string | undefined;
3301
+ actions?: {
3302
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3303
+ label: string;
3304
+ id: string;
3305
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3306
+ url?: string | undefined;
3307
+ scripts?: {
3308
+ function: string;
3309
+ name: string;
3310
+ src: string;
3311
+ params?: Record<string, any> | undefined;
3312
+ preload?: boolean | undefined;
3313
+ }[] | undefined;
3314
+ position?: "top" | "bottom" | undefined;
3315
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3316
+ prefix?: {
3317
+ text?: string | undefined;
3318
+ icon?: string | undefined;
3319
+ } | undefined;
3320
+ suffix?: {
3321
+ text?: string | undefined;
3322
+ icon?: string | undefined;
3323
+ } | undefined;
3324
+ events?: {
3325
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3326
+ params?: Record<string, any> | undefined;
3327
+ }[] | undefined;
3328
+ }[] | undefined;
3329
+ icon?: string | undefined;
3330
+ position?: "top" | "bottom" | undefined;
3331
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3332
+ } | undefined;
3069
3333
  }>;
3070
3334
  }, "strip", z.ZodTypeAny, {
3071
3335
  error: {
3072
- icon?: string | undefined;
3073
- showOn?: "input" | "blur" | undefined;
3336
+ validation?: {
3337
+ icon?: string | undefined;
3338
+ showOn?: "input" | "blur" | undefined;
3339
+ } | undefined;
3340
+ loading?: {
3341
+ message?: string | undefined;
3342
+ actions?: {
3343
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3344
+ label: string;
3345
+ id: string;
3346
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3347
+ url?: string | undefined;
3348
+ scripts?: {
3349
+ function: string;
3350
+ name: string;
3351
+ src: string;
3352
+ params?: Record<string, any> | undefined;
3353
+ preload?: boolean | undefined;
3354
+ }[] | undefined;
3355
+ position?: "top" | "bottom" | undefined;
3356
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3357
+ prefix?: {
3358
+ text?: string | undefined;
3359
+ icon?: string | undefined;
3360
+ } | undefined;
3361
+ suffix?: {
3362
+ text?: string | undefined;
3363
+ icon?: string | undefined;
3364
+ } | undefined;
3365
+ events?: {
3366
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3367
+ params?: Record<string, any> | undefined;
3368
+ }[] | undefined;
3369
+ }[] | undefined;
3370
+ icon?: string | undefined;
3371
+ position?: "top" | "bottom" | undefined;
3372
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3373
+ } | undefined;
3074
3374
  };
3075
3375
  }, {
3076
3376
  error: {
3077
- icon?: string | undefined;
3078
- showOn?: "input" | "blur" | undefined;
3377
+ validation?: {
3378
+ icon?: string | undefined;
3379
+ showOn?: "input" | "blur" | undefined;
3380
+ } | undefined;
3381
+ loading?: {
3382
+ message?: string | undefined;
3383
+ actions?: {
3384
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3385
+ label: string;
3386
+ id: string;
3387
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
3388
+ url?: string | undefined;
3389
+ scripts?: {
3390
+ function: string;
3391
+ name: string;
3392
+ src: string;
3393
+ params?: Record<string, any> | undefined;
3394
+ preload?: boolean | undefined;
3395
+ }[] | undefined;
3396
+ position?: "top" | "bottom" | undefined;
3397
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
3398
+ prefix?: {
3399
+ text?: string | undefined;
3400
+ icon?: string | undefined;
3401
+ } | undefined;
3402
+ suffix?: {
3403
+ text?: string | undefined;
3404
+ icon?: string | undefined;
3405
+ } | undefined;
3406
+ events?: {
3407
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3408
+ params?: Record<string, any> | undefined;
3409
+ }[] | undefined;
3410
+ }[] | undefined;
3411
+ icon?: string | undefined;
3412
+ position?: "top" | "bottom" | undefined;
3413
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
3414
+ } | undefined;
3079
3415
  };
3080
3416
  }>>;
3081
3417
  input: z.ZodOptional<z.ZodObject<{
@@ -5019,8 +5355,44 @@ declare const Step: z.ZodObject<{
5019
5355
  } | undefined;
5020
5356
  generic?: {
5021
5357
  error: {
5022
- icon?: string | undefined;
5023
- showOn?: "input" | "blur" | undefined;
5358
+ validation?: {
5359
+ icon?: string | undefined;
5360
+ showOn?: "input" | "blur" | undefined;
5361
+ } | undefined;
5362
+ loading?: {
5363
+ message?: string | undefined;
5364
+ actions?: {
5365
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5366
+ label: string;
5367
+ id: string;
5368
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
5369
+ url?: string | undefined;
5370
+ scripts?: {
5371
+ function: string;
5372
+ name: string;
5373
+ src: string;
5374
+ params?: Record<string, any> | undefined;
5375
+ preload?: boolean | undefined;
5376
+ }[] | undefined;
5377
+ position?: "top" | "bottom" | undefined;
5378
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
5379
+ prefix?: {
5380
+ text?: string | undefined;
5381
+ icon?: string | undefined;
5382
+ } | undefined;
5383
+ suffix?: {
5384
+ text?: string | undefined;
5385
+ icon?: string | undefined;
5386
+ } | undefined;
5387
+ events?: {
5388
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5389
+ params?: Record<string, any> | undefined;
5390
+ }[] | undefined;
5391
+ }[] | undefined;
5392
+ icon?: string | undefined;
5393
+ position?: "top" | "bottom" | undefined;
5394
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
5395
+ } | undefined;
5024
5396
  };
5025
5397
  } | undefined;
5026
5398
  }, {
@@ -5322,8 +5694,44 @@ declare const Step: z.ZodObject<{
5322
5694
  } | undefined;
5323
5695
  generic?: {
5324
5696
  error: {
5325
- icon?: string | undefined;
5326
- showOn?: "input" | "blur" | undefined;
5697
+ validation?: {
5698
+ icon?: string | undefined;
5699
+ showOn?: "input" | "blur" | undefined;
5700
+ } | undefined;
5701
+ loading?: {
5702
+ message?: string | undefined;
5703
+ actions?: {
5704
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5705
+ label: string;
5706
+ id: string;
5707
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
5708
+ url?: string | undefined;
5709
+ scripts?: {
5710
+ function: string;
5711
+ name: string;
5712
+ src: string;
5713
+ params?: Record<string, any> | undefined;
5714
+ preload?: boolean | undefined;
5715
+ }[] | undefined;
5716
+ position?: "top" | "bottom" | undefined;
5717
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
5718
+ prefix?: {
5719
+ text?: string | undefined;
5720
+ icon?: string | undefined;
5721
+ } | undefined;
5722
+ suffix?: {
5723
+ text?: string | undefined;
5724
+ icon?: string | undefined;
5725
+ } | undefined;
5726
+ events?: {
5727
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5728
+ params?: Record<string, any> | undefined;
5729
+ }[] | undefined;
5730
+ }[] | undefined;
5731
+ icon?: string | undefined;
5732
+ position?: "top" | "bottom" | undefined;
5733
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
5734
+ } | undefined;
5327
5735
  };
5328
5736
  } | undefined;
5329
5737
  }>>;
@@ -6132,8 +6540,44 @@ declare const Step: z.ZodObject<{
6132
6540
  } | undefined;
6133
6541
  generic?: {
6134
6542
  error: {
6135
- icon?: string | undefined;
6136
- showOn?: "input" | "blur" | undefined;
6543
+ validation?: {
6544
+ icon?: string | undefined;
6545
+ showOn?: "input" | "blur" | undefined;
6546
+ } | undefined;
6547
+ loading?: {
6548
+ message?: string | undefined;
6549
+ actions?: {
6550
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6551
+ label: string;
6552
+ id: string;
6553
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
6554
+ url?: string | undefined;
6555
+ scripts?: {
6556
+ function: string;
6557
+ name: string;
6558
+ src: string;
6559
+ params?: Record<string, any> | undefined;
6560
+ preload?: boolean | undefined;
6561
+ }[] | undefined;
6562
+ position?: "top" | "bottom" | undefined;
6563
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
6564
+ prefix?: {
6565
+ text?: string | undefined;
6566
+ icon?: string | undefined;
6567
+ } | undefined;
6568
+ suffix?: {
6569
+ text?: string | undefined;
6570
+ icon?: string | undefined;
6571
+ } | undefined;
6572
+ events?: {
6573
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6574
+ params?: Record<string, any> | undefined;
6575
+ }[] | undefined;
6576
+ }[] | undefined;
6577
+ icon?: string | undefined;
6578
+ position?: "top" | "bottom" | undefined;
6579
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
6580
+ } | undefined;
6137
6581
  };
6138
6582
  } | undefined;
6139
6583
  } | undefined;
@@ -6643,8 +7087,44 @@ declare const Step: z.ZodObject<{
6643
7087
  } | undefined;
6644
7088
  generic?: {
6645
7089
  error: {
6646
- icon?: string | undefined;
6647
- showOn?: "input" | "blur" | undefined;
7090
+ validation?: {
7091
+ icon?: string | undefined;
7092
+ showOn?: "input" | "blur" | undefined;
7093
+ } | undefined;
7094
+ loading?: {
7095
+ message?: string | undefined;
7096
+ actions?: {
7097
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7098
+ label: string;
7099
+ id: string;
7100
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
7101
+ url?: string | undefined;
7102
+ scripts?: {
7103
+ function: string;
7104
+ name: string;
7105
+ src: string;
7106
+ params?: Record<string, any> | undefined;
7107
+ preload?: boolean | undefined;
7108
+ }[] | undefined;
7109
+ position?: "top" | "bottom" | undefined;
7110
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
7111
+ prefix?: {
7112
+ text?: string | undefined;
7113
+ icon?: string | undefined;
7114
+ } | undefined;
7115
+ suffix?: {
7116
+ text?: string | undefined;
7117
+ icon?: string | undefined;
7118
+ } | undefined;
7119
+ events?: {
7120
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7121
+ params?: Record<string, any> | undefined;
7122
+ }[] | undefined;
7123
+ }[] | undefined;
7124
+ icon?: string | undefined;
7125
+ position?: "top" | "bottom" | undefined;
7126
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
7127
+ } | undefined;
6648
7128
  };
6649
7129
  } | undefined;
6650
7130
  } | undefined;
@@ -7359,8 +7839,44 @@ declare const Step: z.ZodObject<{
7359
7839
  } | undefined;
7360
7840
  generic?: {
7361
7841
  error: {
7362
- icon?: string | undefined;
7363
- showOn?: "input" | "blur" | undefined;
7842
+ validation?: {
7843
+ icon?: string | undefined;
7844
+ showOn?: "input" | "blur" | undefined;
7845
+ } | undefined;
7846
+ loading?: {
7847
+ message?: string | undefined;
7848
+ actions?: {
7849
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7850
+ label: string;
7851
+ id: string;
7852
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
7853
+ url?: string | undefined;
7854
+ scripts?: {
7855
+ function: string;
7856
+ name: string;
7857
+ src: string;
7858
+ params?: Record<string, any> | undefined;
7859
+ preload?: boolean | undefined;
7860
+ }[] | undefined;
7861
+ position?: "top" | "bottom" | undefined;
7862
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
7863
+ prefix?: {
7864
+ text?: string | undefined;
7865
+ icon?: string | undefined;
7866
+ } | undefined;
7867
+ suffix?: {
7868
+ text?: string | undefined;
7869
+ icon?: string | undefined;
7870
+ } | undefined;
7871
+ events?: {
7872
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7873
+ params?: Record<string, any> | undefined;
7874
+ }[] | undefined;
7875
+ }[] | undefined;
7876
+ icon?: string | undefined;
7877
+ position?: "top" | "bottom" | undefined;
7878
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
7879
+ } | undefined;
7364
7880
  };
7365
7881
  } | undefined;
7366
7882
  } | undefined;
@@ -7929,8 +8445,44 @@ declare const Step: z.ZodObject<{
7929
8445
  } | undefined;
7930
8446
  generic?: {
7931
8447
  error: {
7932
- icon?: string | undefined;
7933
- showOn?: "input" | "blur" | undefined;
8448
+ validation?: {
8449
+ icon?: string | undefined;
8450
+ showOn?: "input" | "blur" | undefined;
8451
+ } | undefined;
8452
+ loading?: {
8453
+ message?: string | undefined;
8454
+ actions?: {
8455
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8456
+ label: string;
8457
+ id: string;
8458
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8459
+ url?: string | undefined;
8460
+ scripts?: {
8461
+ function: string;
8462
+ name: string;
8463
+ src: string;
8464
+ params?: Record<string, any> | undefined;
8465
+ preload?: boolean | undefined;
8466
+ }[] | undefined;
8467
+ position?: "top" | "bottom" | undefined;
8468
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8469
+ prefix?: {
8470
+ text?: string | undefined;
8471
+ icon?: string | undefined;
8472
+ } | undefined;
8473
+ suffix?: {
8474
+ text?: string | undefined;
8475
+ icon?: string | undefined;
8476
+ } | undefined;
8477
+ events?: {
8478
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8479
+ params?: Record<string, any> | undefined;
8480
+ }[] | undefined;
8481
+ }[] | undefined;
8482
+ icon?: string | undefined;
8483
+ position?: "top" | "bottom" | undefined;
8484
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8485
+ } | undefined;
7934
8486
  };
7935
8487
  } | undefined;
7936
8488
  } | undefined;
@@ -8107,6 +8659,200 @@ type PostAction = z.infer<typeof PostAction>;
8107
8659
  */
8108
8660
  declare const ErrorCode: z.ZodEnum<["INVALID_DATA", "INVALID_ACTION", "STEP_NOT_FOUND", "UNKNOWN_ERROR", "APPOINTMENT_INVALID_DATA", "APPOINTMENT_BUSY_SLOT", "APPOINTMENT_OUT_OF_DATE", "APPOINTMENT_UNKNOWN_ERROR", "LEAD_INVALID_DATA", "LEAD_UNKNOWN_ERROR", "CONTENT_INVALID_DATA", "CONTENT_UNKNOWN_ERROR", "CONTACT_INVALID_DATA", "CONTACT_UNKNOWN_ERROR", "LOST_OPPORTUNITY_INVALID_DATA", "LOST_OPPORTUNITY_UNKNOWN_ERROR"]>;
8109
8661
  type ErrorCode = z.infer<typeof ErrorCode>;
8662
+ /**
8663
+ * Schema defining the structure of error data.
8664
+ *
8665
+ * @property {string} [message] - The error message to display.
8666
+ * @property {string} [icon] - The icon to display with the error message.
8667
+ * @property {"top" | "bottom"} [position] - The position of the error message.
8668
+ * @property {"initial-loading" | "step-loading" | "step-validation" | "field-loading"} [kind] - The kind of error.
8669
+ * @property {Array<Action>} [actions] - Optional array of actions to display with the error.
8670
+ */
8671
+ declare const ErrorData: z.ZodObject<{
8672
+ message: z.ZodOptional<z.ZodString>;
8673
+ icon: z.ZodOptional<z.ZodString>;
8674
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
8675
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
8676
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
8677
+ id: z.ZodString;
8678
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
8679
+ label: z.ZodString;
8680
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
8681
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
8682
+ url: z.ZodOptional<z.ZodString>;
8683
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
8684
+ prefix: z.ZodOptional<z.ZodObject<{
8685
+ text: z.ZodOptional<z.ZodString>;
8686
+ icon: z.ZodOptional<z.ZodString>;
8687
+ }, "strip", z.ZodTypeAny, {
8688
+ text?: string | undefined;
8689
+ icon?: string | undefined;
8690
+ }, {
8691
+ text?: string | undefined;
8692
+ icon?: string | undefined;
8693
+ }>>;
8694
+ suffix: z.ZodOptional<z.ZodObject<{
8695
+ text: z.ZodOptional<z.ZodString>;
8696
+ icon: z.ZodOptional<z.ZodString>;
8697
+ }, "strip", z.ZodTypeAny, {
8698
+ text?: string | undefined;
8699
+ icon?: string | undefined;
8700
+ }, {
8701
+ text?: string | undefined;
8702
+ icon?: string | undefined;
8703
+ }>>;
8704
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
8705
+ src: z.ZodString;
8706
+ preload: z.ZodOptional<z.ZodBoolean>;
8707
+ name: z.ZodString;
8708
+ function: z.ZodString;
8709
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8710
+ }, "strip", z.ZodTypeAny, {
8711
+ function: string;
8712
+ name: string;
8713
+ src: string;
8714
+ params?: Record<string, any> | undefined;
8715
+ preload?: boolean | undefined;
8716
+ }, {
8717
+ function: string;
8718
+ name: string;
8719
+ src: string;
8720
+ params?: Record<string, any> | undefined;
8721
+ preload?: boolean | undefined;
8722
+ }>, "many">>;
8723
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8724
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8725
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8726
+ }, "strip", z.ZodTypeAny, {
8727
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8728
+ params?: Record<string, any> | undefined;
8729
+ }, {
8730
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8731
+ params?: Record<string, any> | undefined;
8732
+ }>, "many">>;
8733
+ }, "strip", z.ZodTypeAny, {
8734
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8735
+ label: string;
8736
+ id: string;
8737
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8738
+ url?: string | undefined;
8739
+ scripts?: {
8740
+ function: string;
8741
+ name: string;
8742
+ src: string;
8743
+ params?: Record<string, any> | undefined;
8744
+ preload?: boolean | undefined;
8745
+ }[] | undefined;
8746
+ position?: "top" | "bottom" | undefined;
8747
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8748
+ prefix?: {
8749
+ text?: string | undefined;
8750
+ icon?: string | undefined;
8751
+ } | undefined;
8752
+ suffix?: {
8753
+ text?: string | undefined;
8754
+ icon?: string | undefined;
8755
+ } | undefined;
8756
+ events?: {
8757
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8758
+ params?: Record<string, any> | undefined;
8759
+ }[] | undefined;
8760
+ }, {
8761
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8762
+ label: string;
8763
+ id: string;
8764
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8765
+ url?: string | undefined;
8766
+ scripts?: {
8767
+ function: string;
8768
+ name: string;
8769
+ src: string;
8770
+ params?: Record<string, any> | undefined;
8771
+ preload?: boolean | undefined;
8772
+ }[] | undefined;
8773
+ position?: "top" | "bottom" | undefined;
8774
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8775
+ prefix?: {
8776
+ text?: string | undefined;
8777
+ icon?: string | undefined;
8778
+ } | undefined;
8779
+ suffix?: {
8780
+ text?: string | undefined;
8781
+ icon?: string | undefined;
8782
+ } | undefined;
8783
+ events?: {
8784
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8785
+ params?: Record<string, any> | undefined;
8786
+ }[] | undefined;
8787
+ }>, "many">>;
8788
+ }, "strip", z.ZodTypeAny, {
8789
+ message?: string | undefined;
8790
+ actions?: {
8791
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8792
+ label: string;
8793
+ id: string;
8794
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8795
+ url?: string | undefined;
8796
+ scripts?: {
8797
+ function: string;
8798
+ name: string;
8799
+ src: string;
8800
+ params?: Record<string, any> | undefined;
8801
+ preload?: boolean | undefined;
8802
+ }[] | undefined;
8803
+ position?: "top" | "bottom" | undefined;
8804
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8805
+ prefix?: {
8806
+ text?: string | undefined;
8807
+ icon?: string | undefined;
8808
+ } | undefined;
8809
+ suffix?: {
8810
+ text?: string | undefined;
8811
+ icon?: string | undefined;
8812
+ } | undefined;
8813
+ events?: {
8814
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8815
+ params?: Record<string, any> | undefined;
8816
+ }[] | undefined;
8817
+ }[] | undefined;
8818
+ icon?: string | undefined;
8819
+ position?: "top" | "bottom" | undefined;
8820
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8821
+ }, {
8822
+ message?: string | undefined;
8823
+ actions?: {
8824
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
8825
+ label: string;
8826
+ id: string;
8827
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
8828
+ url?: string | undefined;
8829
+ scripts?: {
8830
+ function: string;
8831
+ name: string;
8832
+ src: string;
8833
+ params?: Record<string, any> | undefined;
8834
+ preload?: boolean | undefined;
8835
+ }[] | undefined;
8836
+ position?: "top" | "bottom" | undefined;
8837
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
8838
+ prefix?: {
8839
+ text?: string | undefined;
8840
+ icon?: string | undefined;
8841
+ } | undefined;
8842
+ suffix?: {
8843
+ text?: string | undefined;
8844
+ icon?: string | undefined;
8845
+ } | undefined;
8846
+ events?: {
8847
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8848
+ params?: Record<string, any> | undefined;
8849
+ }[] | undefined;
8850
+ }[] | undefined;
8851
+ icon?: string | undefined;
8852
+ position?: "top" | "bottom" | undefined;
8853
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
8854
+ }>;
8855
+ type ErrorData = z.infer<typeof ErrorData>;
8110
8856
  /**
8111
8857
  * Schema defining the structure of a step action in the flow client.
8112
8858
  *
@@ -8305,11 +9051,13 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8305
9051
  * @property {Object} [configuration] - Component-specific configuration options.
8306
9052
  * @property {Object} [configuration.generic] - Generic configuration for all components.
8307
9053
  * @property {Object} [configuration.generic.error] - Error state configuration.
8308
- * @property {string} [configuration.generic.error.icon] - Icon to display in error state.
8309
- * @property {"input" | "blur"} [configuration.generic.error.showOn] - When to show the error icon (on input or blur).
9054
+ * @property {ErrorData} [configuration.generic.error.loading] - Error configuration for loading state.
9055
+ * @property {Object} [configuration.generic.error.validation] - Error configuration for validation state.
9056
+ * @property {string} [configuration.generic.error.validation.icon] - Icon to display in validation error state.
9057
+ * @property {"input" | "blur"} [configuration.generic.error.validation.showOn] - When to show the validation error icon (on input or blur).
8310
9058
  * @property {Object} [configuration.input] - Configuration for input component.
8311
- * @property {number} [configuration.input.min] - Minimum numeric value or minimum length for text.
8312
- * @property {number} [configuration.input.max] - Maximum numeric value or maximum length for text.
9059
+ * @property {number} [configuration.input.min] - Minimum numeric value.
9060
+ * @property {number} [configuration.input.max] - Maximum numeric value.
8313
9061
  * @property {number} [configuration.input.step] - Step increment for numeric inputs.
8314
9062
  * @property {string} [configuration.input.pattern] - Regular expression pattern for validation.
8315
9063
  * @property {number} [configuration.input.minLength] - Minimum text length.
@@ -8326,6 +9074,9 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8326
9074
  * @property {boolean} [configuration.input.clearable] - Enable clear button for the input.
8327
9075
  * @property {boolean} [configuration.input.floatingLabel] - Use floating label animation.
8328
9076
  * @property {Object} [configuration.textarea] - Configuration for textarea component.
9077
+ * @property {number} [configuration.textarea.minLength] - Minimum text length.
9078
+ * @property {number} [configuration.textarea.maxLength] - Maximum text length.
9079
+ * @property {number} [configuration.textarea.exactLength] - Exact required text length.
8329
9080
  * @property {number} [configuration.textarea.rows] - Number of visible text rows.
8330
9081
  * @property {Object} [configuration.checkbox] - Configuration for checkbox component.
8331
9082
  * @property {"horizontal" | "vertical"} [configuration.checkbox.layout] - Layout orientation for multiple checkboxes.
@@ -8415,8 +9166,6 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8415
9166
  * @property {AffixSlot} [configuration.map.search.prefix.default] - Default prefix configuration.
8416
9167
  * @property {Object} [configuration.map.search.suffix] - Search input suffix configuration.
8417
9168
  * @property {AffixSlot} [configuration.map.search.suffix.default] - Default suffix configuration.
8418
- * @property {Object} [configuration.map.search.mappedResults] - Predefined search result mappings.
8419
- * @property {Record<string, Array<{key: string, value: string}>>} [configuration.map.search.mappedResults.mapping] - Mapping of search terms to location filters.
8420
9169
  * @property {Object} [configuration.map.distanceRange] - Distance range filter configuration.
8421
9170
  * @property {number} [configuration.map.distanceRange.initial] - Initial distance range value.
8422
9171
  * @property {number} [configuration.map.distanceRange.min] - Minimum distance range value.
@@ -8461,12 +9210,7 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8461
9210
  * @property {Object} [configuration.calendar.api.availability] - Availability API configuration.
8462
9211
  * @property {GetAvailabilityFilters} configuration.calendar.api.availability.filters - Filters for availability requests.
8463
9212
  * @property {GetAvailabilityOptions} [configuration.calendar.api.availability.options] - Options for availability requests.
8464
- * @property {Array<DependencyCondition | DependencyGroup>} [dependsOn] - Array of field dependencies that control this field's visibility/state. Supports both simple conditions and logical groups with AND/OR operations.
8465
- * @property {DependencyCondition} [dependsOn.condition] - Simple dependency condition with fieldName, value, and operator.
8466
- * @property {DependencyGroup} [dependsOn.group] - Logical group with 'and' or 'or' arrays for complex dependency logic.
8467
- * @property {string} dependsOn.condition.fieldName - Name of the field this condition depends on.
8468
- * @property {FieldValue} [dependsOn.condition.value] - Expected value of the dependent field.
8469
- * @property {"exists" | "equals" | "not-equals" | "contains" | "not-contains" | "greater-than" | "less-than"} [dependsOn.condition.operator] - Operator to apply for the dependency check.
9213
+ * @property {Array<DependencyCondition | DependencyGroup>} [dependsOn] - Array of field dependencies that control this field's visibility/state.
8470
9214
  * @property {"hidden" | "disabled"} [dependentBehavior] - Behavior when field dependencies are not met.
8471
9215
  * @property {Object} [customError] - Custom error messages for different validation scenarios.
8472
9216
  * @property {string} [customError.required] - Custom message when required field is empty.
@@ -9306,24 +10050,360 @@ declare const Field: z.ZodObject<{
9306
10050
  configuration: z.ZodOptional<z.ZodObject<{
9307
10051
  generic: z.ZodOptional<z.ZodObject<{
9308
10052
  error: z.ZodObject<{
9309
- icon: z.ZodOptional<z.ZodString>;
9310
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
10053
+ loading: z.ZodOptional<z.ZodObject<{
10054
+ message: z.ZodOptional<z.ZodString>;
10055
+ icon: z.ZodOptional<z.ZodString>;
10056
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
10057
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
10058
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
10059
+ id: z.ZodString;
10060
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
10061
+ label: z.ZodString;
10062
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
10063
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
10064
+ url: z.ZodOptional<z.ZodString>;
10065
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
10066
+ prefix: z.ZodOptional<z.ZodObject<{
10067
+ text: z.ZodOptional<z.ZodString>;
10068
+ icon: z.ZodOptional<z.ZodString>;
10069
+ }, "strip", z.ZodTypeAny, {
10070
+ text?: string | undefined;
10071
+ icon?: string | undefined;
10072
+ }, {
10073
+ text?: string | undefined;
10074
+ icon?: string | undefined;
10075
+ }>>;
10076
+ suffix: z.ZodOptional<z.ZodObject<{
10077
+ text: z.ZodOptional<z.ZodString>;
10078
+ icon: z.ZodOptional<z.ZodString>;
10079
+ }, "strip", z.ZodTypeAny, {
10080
+ text?: string | undefined;
10081
+ icon?: string | undefined;
10082
+ }, {
10083
+ text?: string | undefined;
10084
+ icon?: string | undefined;
10085
+ }>>;
10086
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
10087
+ src: z.ZodString;
10088
+ preload: z.ZodOptional<z.ZodBoolean>;
10089
+ name: z.ZodString;
10090
+ function: z.ZodString;
10091
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10092
+ }, "strip", z.ZodTypeAny, {
10093
+ function: string;
10094
+ name: string;
10095
+ src: string;
10096
+ params?: Record<string, any> | undefined;
10097
+ preload?: boolean | undefined;
10098
+ }, {
10099
+ function: string;
10100
+ name: string;
10101
+ src: string;
10102
+ params?: Record<string, any> | undefined;
10103
+ preload?: boolean | undefined;
10104
+ }>, "many">>;
10105
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
10106
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
10107
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10108
+ }, "strip", z.ZodTypeAny, {
10109
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10110
+ params?: Record<string, any> | undefined;
10111
+ }, {
10112
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10113
+ params?: Record<string, any> | undefined;
10114
+ }>, "many">>;
10115
+ }, "strip", z.ZodTypeAny, {
10116
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10117
+ label: string;
10118
+ id: string;
10119
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10120
+ url?: string | undefined;
10121
+ scripts?: {
10122
+ function: string;
10123
+ name: string;
10124
+ src: string;
10125
+ params?: Record<string, any> | undefined;
10126
+ preload?: boolean | undefined;
10127
+ }[] | undefined;
10128
+ position?: "top" | "bottom" | undefined;
10129
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10130
+ prefix?: {
10131
+ text?: string | undefined;
10132
+ icon?: string | undefined;
10133
+ } | undefined;
10134
+ suffix?: {
10135
+ text?: string | undefined;
10136
+ icon?: string | undefined;
10137
+ } | undefined;
10138
+ events?: {
10139
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10140
+ params?: Record<string, any> | undefined;
10141
+ }[] | undefined;
10142
+ }, {
10143
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10144
+ label: string;
10145
+ id: string;
10146
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10147
+ url?: string | undefined;
10148
+ scripts?: {
10149
+ function: string;
10150
+ name: string;
10151
+ src: string;
10152
+ params?: Record<string, any> | undefined;
10153
+ preload?: boolean | undefined;
10154
+ }[] | undefined;
10155
+ position?: "top" | "bottom" | undefined;
10156
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10157
+ prefix?: {
10158
+ text?: string | undefined;
10159
+ icon?: string | undefined;
10160
+ } | undefined;
10161
+ suffix?: {
10162
+ text?: string | undefined;
10163
+ icon?: string | undefined;
10164
+ } | undefined;
10165
+ events?: {
10166
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10167
+ params?: Record<string, any> | undefined;
10168
+ }[] | undefined;
10169
+ }>, "many">>;
10170
+ }, "strip", z.ZodTypeAny, {
10171
+ message?: string | undefined;
10172
+ actions?: {
10173
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10174
+ label: string;
10175
+ id: string;
10176
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10177
+ url?: string | undefined;
10178
+ scripts?: {
10179
+ function: string;
10180
+ name: string;
10181
+ src: string;
10182
+ params?: Record<string, any> | undefined;
10183
+ preload?: boolean | undefined;
10184
+ }[] | undefined;
10185
+ position?: "top" | "bottom" | undefined;
10186
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10187
+ prefix?: {
10188
+ text?: string | undefined;
10189
+ icon?: string | undefined;
10190
+ } | undefined;
10191
+ suffix?: {
10192
+ text?: string | undefined;
10193
+ icon?: string | undefined;
10194
+ } | undefined;
10195
+ events?: {
10196
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10197
+ params?: Record<string, any> | undefined;
10198
+ }[] | undefined;
10199
+ }[] | undefined;
10200
+ icon?: string | undefined;
10201
+ position?: "top" | "bottom" | undefined;
10202
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10203
+ }, {
10204
+ message?: string | undefined;
10205
+ actions?: {
10206
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10207
+ label: string;
10208
+ id: string;
10209
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10210
+ url?: string | undefined;
10211
+ scripts?: {
10212
+ function: string;
10213
+ name: string;
10214
+ src: string;
10215
+ params?: Record<string, any> | undefined;
10216
+ preload?: boolean | undefined;
10217
+ }[] | undefined;
10218
+ position?: "top" | "bottom" | undefined;
10219
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10220
+ prefix?: {
10221
+ text?: string | undefined;
10222
+ icon?: string | undefined;
10223
+ } | undefined;
10224
+ suffix?: {
10225
+ text?: string | undefined;
10226
+ icon?: string | undefined;
10227
+ } | undefined;
10228
+ events?: {
10229
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10230
+ params?: Record<string, any> | undefined;
10231
+ }[] | undefined;
10232
+ }[] | undefined;
10233
+ icon?: string | undefined;
10234
+ position?: "top" | "bottom" | undefined;
10235
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10236
+ }>>;
10237
+ validation: z.ZodOptional<z.ZodObject<{
10238
+ icon: z.ZodOptional<z.ZodString>;
10239
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
10240
+ }, "strip", z.ZodTypeAny, {
10241
+ icon?: string | undefined;
10242
+ showOn?: "input" | "blur" | undefined;
10243
+ }, {
10244
+ icon?: string | undefined;
10245
+ showOn?: "input" | "blur" | undefined;
10246
+ }>>;
9311
10247
  }, "strip", z.ZodTypeAny, {
9312
- icon?: string | undefined;
9313
- showOn?: "input" | "blur" | undefined;
10248
+ validation?: {
10249
+ icon?: string | undefined;
10250
+ showOn?: "input" | "blur" | undefined;
10251
+ } | undefined;
10252
+ loading?: {
10253
+ message?: string | undefined;
10254
+ actions?: {
10255
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10256
+ label: string;
10257
+ id: string;
10258
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10259
+ url?: string | undefined;
10260
+ scripts?: {
10261
+ function: string;
10262
+ name: string;
10263
+ src: string;
10264
+ params?: Record<string, any> | undefined;
10265
+ preload?: boolean | undefined;
10266
+ }[] | undefined;
10267
+ position?: "top" | "bottom" | undefined;
10268
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10269
+ prefix?: {
10270
+ text?: string | undefined;
10271
+ icon?: string | undefined;
10272
+ } | undefined;
10273
+ suffix?: {
10274
+ text?: string | undefined;
10275
+ icon?: string | undefined;
10276
+ } | undefined;
10277
+ events?: {
10278
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10279
+ params?: Record<string, any> | undefined;
10280
+ }[] | undefined;
10281
+ }[] | undefined;
10282
+ icon?: string | undefined;
10283
+ position?: "top" | "bottom" | undefined;
10284
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10285
+ } | undefined;
9314
10286
  }, {
9315
- icon?: string | undefined;
9316
- showOn?: "input" | "blur" | undefined;
10287
+ validation?: {
10288
+ icon?: string | undefined;
10289
+ showOn?: "input" | "blur" | undefined;
10290
+ } | undefined;
10291
+ loading?: {
10292
+ message?: string | undefined;
10293
+ actions?: {
10294
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10295
+ label: string;
10296
+ id: string;
10297
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10298
+ url?: string | undefined;
10299
+ scripts?: {
10300
+ function: string;
10301
+ name: string;
10302
+ src: string;
10303
+ params?: Record<string, any> | undefined;
10304
+ preload?: boolean | undefined;
10305
+ }[] | undefined;
10306
+ position?: "top" | "bottom" | undefined;
10307
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10308
+ prefix?: {
10309
+ text?: string | undefined;
10310
+ icon?: string | undefined;
10311
+ } | undefined;
10312
+ suffix?: {
10313
+ text?: string | undefined;
10314
+ icon?: string | undefined;
10315
+ } | undefined;
10316
+ events?: {
10317
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10318
+ params?: Record<string, any> | undefined;
10319
+ }[] | undefined;
10320
+ }[] | undefined;
10321
+ icon?: string | undefined;
10322
+ position?: "top" | "bottom" | undefined;
10323
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10324
+ } | undefined;
9317
10325
  }>;
9318
10326
  }, "strip", z.ZodTypeAny, {
9319
10327
  error: {
9320
- icon?: string | undefined;
9321
- showOn?: "input" | "blur" | undefined;
10328
+ validation?: {
10329
+ icon?: string | undefined;
10330
+ showOn?: "input" | "blur" | undefined;
10331
+ } | undefined;
10332
+ loading?: {
10333
+ message?: string | undefined;
10334
+ actions?: {
10335
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10336
+ label: string;
10337
+ id: string;
10338
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10339
+ url?: string | undefined;
10340
+ scripts?: {
10341
+ function: string;
10342
+ name: string;
10343
+ src: string;
10344
+ params?: Record<string, any> | undefined;
10345
+ preload?: boolean | undefined;
10346
+ }[] | undefined;
10347
+ position?: "top" | "bottom" | undefined;
10348
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10349
+ prefix?: {
10350
+ text?: string | undefined;
10351
+ icon?: string | undefined;
10352
+ } | undefined;
10353
+ suffix?: {
10354
+ text?: string | undefined;
10355
+ icon?: string | undefined;
10356
+ } | undefined;
10357
+ events?: {
10358
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10359
+ params?: Record<string, any> | undefined;
10360
+ }[] | undefined;
10361
+ }[] | undefined;
10362
+ icon?: string | undefined;
10363
+ position?: "top" | "bottom" | undefined;
10364
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10365
+ } | undefined;
9322
10366
  };
9323
10367
  }, {
9324
10368
  error: {
9325
- icon?: string | undefined;
9326
- showOn?: "input" | "blur" | undefined;
10369
+ validation?: {
10370
+ icon?: string | undefined;
10371
+ showOn?: "input" | "blur" | undefined;
10372
+ } | undefined;
10373
+ loading?: {
10374
+ message?: string | undefined;
10375
+ actions?: {
10376
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
10377
+ label: string;
10378
+ id: string;
10379
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
10380
+ url?: string | undefined;
10381
+ scripts?: {
10382
+ function: string;
10383
+ name: string;
10384
+ src: string;
10385
+ params?: Record<string, any> | undefined;
10386
+ preload?: boolean | undefined;
10387
+ }[] | undefined;
10388
+ position?: "top" | "bottom" | undefined;
10389
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
10390
+ prefix?: {
10391
+ text?: string | undefined;
10392
+ icon?: string | undefined;
10393
+ } | undefined;
10394
+ suffix?: {
10395
+ text?: string | undefined;
10396
+ icon?: string | undefined;
10397
+ } | undefined;
10398
+ events?: {
10399
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
10400
+ params?: Record<string, any> | undefined;
10401
+ }[] | undefined;
10402
+ }[] | undefined;
10403
+ icon?: string | undefined;
10404
+ position?: "top" | "bottom" | undefined;
10405
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
10406
+ } | undefined;
9327
10407
  };
9328
10408
  }>>;
9329
10409
  input: z.ZodOptional<z.ZodObject<{
@@ -11267,8 +12347,44 @@ declare const Field: z.ZodObject<{
11267
12347
  } | undefined;
11268
12348
  generic?: {
11269
12349
  error: {
11270
- icon?: string | undefined;
11271
- showOn?: "input" | "blur" | undefined;
12350
+ validation?: {
12351
+ icon?: string | undefined;
12352
+ showOn?: "input" | "blur" | undefined;
12353
+ } | undefined;
12354
+ loading?: {
12355
+ message?: string | undefined;
12356
+ actions?: {
12357
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12358
+ label: string;
12359
+ id: string;
12360
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
12361
+ url?: string | undefined;
12362
+ scripts?: {
12363
+ function: string;
12364
+ name: string;
12365
+ src: string;
12366
+ params?: Record<string, any> | undefined;
12367
+ preload?: boolean | undefined;
12368
+ }[] | undefined;
12369
+ position?: "top" | "bottom" | undefined;
12370
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
12371
+ prefix?: {
12372
+ text?: string | undefined;
12373
+ icon?: string | undefined;
12374
+ } | undefined;
12375
+ suffix?: {
12376
+ text?: string | undefined;
12377
+ icon?: string | undefined;
12378
+ } | undefined;
12379
+ events?: {
12380
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12381
+ params?: Record<string, any> | undefined;
12382
+ }[] | undefined;
12383
+ }[] | undefined;
12384
+ icon?: string | undefined;
12385
+ position?: "top" | "bottom" | undefined;
12386
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
12387
+ } | undefined;
11272
12388
  };
11273
12389
  } | undefined;
11274
12390
  }, {
@@ -11570,8 +12686,44 @@ declare const Field: z.ZodObject<{
11570
12686
  } | undefined;
11571
12687
  generic?: {
11572
12688
  error: {
11573
- icon?: string | undefined;
11574
- showOn?: "input" | "blur" | undefined;
12689
+ validation?: {
12690
+ icon?: string | undefined;
12691
+ showOn?: "input" | "blur" | undefined;
12692
+ } | undefined;
12693
+ loading?: {
12694
+ message?: string | undefined;
12695
+ actions?: {
12696
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12697
+ label: string;
12698
+ id: string;
12699
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
12700
+ url?: string | undefined;
12701
+ scripts?: {
12702
+ function: string;
12703
+ name: string;
12704
+ src: string;
12705
+ params?: Record<string, any> | undefined;
12706
+ preload?: boolean | undefined;
12707
+ }[] | undefined;
12708
+ position?: "top" | "bottom" | undefined;
12709
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
12710
+ prefix?: {
12711
+ text?: string | undefined;
12712
+ icon?: string | undefined;
12713
+ } | undefined;
12714
+ suffix?: {
12715
+ text?: string | undefined;
12716
+ icon?: string | undefined;
12717
+ } | undefined;
12718
+ events?: {
12719
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12720
+ params?: Record<string, any> | undefined;
12721
+ }[] | undefined;
12722
+ }[] | undefined;
12723
+ icon?: string | undefined;
12724
+ position?: "top" | "bottom" | undefined;
12725
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
12726
+ } | undefined;
11575
12727
  };
11576
12728
  } | undefined;
11577
12729
  }>>;
@@ -12380,8 +13532,44 @@ declare const Field: z.ZodObject<{
12380
13532
  } | undefined;
12381
13533
  generic?: {
12382
13534
  error: {
12383
- icon?: string | undefined;
12384
- showOn?: "input" | "blur" | undefined;
13535
+ validation?: {
13536
+ icon?: string | undefined;
13537
+ showOn?: "input" | "blur" | undefined;
13538
+ } | undefined;
13539
+ loading?: {
13540
+ message?: string | undefined;
13541
+ actions?: {
13542
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13543
+ label: string;
13544
+ id: string;
13545
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
13546
+ url?: string | undefined;
13547
+ scripts?: {
13548
+ function: string;
13549
+ name: string;
13550
+ src: string;
13551
+ params?: Record<string, any> | undefined;
13552
+ preload?: boolean | undefined;
13553
+ }[] | undefined;
13554
+ position?: "top" | "bottom" | undefined;
13555
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
13556
+ prefix?: {
13557
+ text?: string | undefined;
13558
+ icon?: string | undefined;
13559
+ } | undefined;
13560
+ suffix?: {
13561
+ text?: string | undefined;
13562
+ icon?: string | undefined;
13563
+ } | undefined;
13564
+ events?: {
13565
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13566
+ params?: Record<string, any> | undefined;
13567
+ }[] | undefined;
13568
+ }[] | undefined;
13569
+ icon?: string | undefined;
13570
+ position?: "top" | "bottom" | undefined;
13571
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
13572
+ } | undefined;
12385
13573
  };
12386
13574
  } | undefined;
12387
13575
  } | undefined;
@@ -12891,8 +14079,44 @@ declare const Field: z.ZodObject<{
12891
14079
  } | undefined;
12892
14080
  generic?: {
12893
14081
  error: {
12894
- icon?: string | undefined;
12895
- showOn?: "input" | "blur" | undefined;
14082
+ validation?: {
14083
+ icon?: string | undefined;
14084
+ showOn?: "input" | "blur" | undefined;
14085
+ } | undefined;
14086
+ loading?: {
14087
+ message?: string | undefined;
14088
+ actions?: {
14089
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
14090
+ label: string;
14091
+ id: string;
14092
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
14093
+ url?: string | undefined;
14094
+ scripts?: {
14095
+ function: string;
14096
+ name: string;
14097
+ src: string;
14098
+ params?: Record<string, any> | undefined;
14099
+ preload?: boolean | undefined;
14100
+ }[] | undefined;
14101
+ position?: "top" | "bottom" | undefined;
14102
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
14103
+ prefix?: {
14104
+ text?: string | undefined;
14105
+ icon?: string | undefined;
14106
+ } | undefined;
14107
+ suffix?: {
14108
+ text?: string | undefined;
14109
+ icon?: string | undefined;
14110
+ } | undefined;
14111
+ events?: {
14112
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
14113
+ params?: Record<string, any> | undefined;
14114
+ }[] | undefined;
14115
+ }[] | undefined;
14116
+ icon?: string | undefined;
14117
+ position?: "top" | "bottom" | undefined;
14118
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
14119
+ } | undefined;
12896
14120
  };
12897
14121
  } | undefined;
12898
14122
  } | undefined;
@@ -14065,24 +15289,360 @@ declare const FlowContext: z.ZodObject<{
14065
15289
  configuration: z.ZodOptional<z.ZodObject<{
14066
15290
  generic: z.ZodOptional<z.ZodObject<{
14067
15291
  error: z.ZodObject<{
14068
- icon: z.ZodOptional<z.ZodString>;
14069
- showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
15292
+ loading: z.ZodOptional<z.ZodObject<{
15293
+ message: z.ZodOptional<z.ZodString>;
15294
+ icon: z.ZodOptional<z.ZodString>;
15295
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
15296
+ kind: z.ZodOptional<z.ZodEnum<["initial-loading", "step-loading", "step-validation", "field-loading"]>>;
15297
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
15298
+ id: z.ZodString;
15299
+ type: z.ZodEnum<["submit", "navigate", "link", "back", "dispatcher", "script"]>;
15300
+ label: z.ZodString;
15301
+ variant: z.ZodEnum<["primary", "secondary", "success", "danger", "warning", "info"]>;
15302
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
15303
+ url: z.ZodOptional<z.ZodString>;
15304
+ loadingBehavior: z.ZodOptional<z.ZodEnum<["none", "spinner", "disabled"]>>;
15305
+ prefix: z.ZodOptional<z.ZodObject<{
15306
+ text: z.ZodOptional<z.ZodString>;
15307
+ icon: z.ZodOptional<z.ZodString>;
15308
+ }, "strip", z.ZodTypeAny, {
15309
+ text?: string | undefined;
15310
+ icon?: string | undefined;
15311
+ }, {
15312
+ text?: string | undefined;
15313
+ icon?: string | undefined;
15314
+ }>>;
15315
+ suffix: z.ZodOptional<z.ZodObject<{
15316
+ text: z.ZodOptional<z.ZodString>;
15317
+ icon: z.ZodOptional<z.ZodString>;
15318
+ }, "strip", z.ZodTypeAny, {
15319
+ text?: string | undefined;
15320
+ icon?: string | undefined;
15321
+ }, {
15322
+ text?: string | undefined;
15323
+ icon?: string | undefined;
15324
+ }>>;
15325
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
15326
+ src: z.ZodString;
15327
+ preload: z.ZodOptional<z.ZodBoolean>;
15328
+ name: z.ZodString;
15329
+ function: z.ZodString;
15330
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15331
+ }, "strip", z.ZodTypeAny, {
15332
+ function: string;
15333
+ name: string;
15334
+ src: string;
15335
+ params?: Record<string, any> | undefined;
15336
+ preload?: boolean | undefined;
15337
+ }, {
15338
+ function: string;
15339
+ name: string;
15340
+ src: string;
15341
+ params?: Record<string, any> | undefined;
15342
+ preload?: boolean | undefined;
15343
+ }>, "many">>;
15344
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
15345
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
15346
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15347
+ }, "strip", z.ZodTypeAny, {
15348
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15349
+ params?: Record<string, any> | undefined;
15350
+ }, {
15351
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15352
+ params?: Record<string, any> | undefined;
15353
+ }>, "many">>;
15354
+ }, "strip", z.ZodTypeAny, {
15355
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15356
+ label: string;
15357
+ id: string;
15358
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15359
+ url?: string | undefined;
15360
+ scripts?: {
15361
+ function: string;
15362
+ name: string;
15363
+ src: string;
15364
+ params?: Record<string, any> | undefined;
15365
+ preload?: boolean | undefined;
15366
+ }[] | undefined;
15367
+ position?: "top" | "bottom" | undefined;
15368
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15369
+ prefix?: {
15370
+ text?: string | undefined;
15371
+ icon?: string | undefined;
15372
+ } | undefined;
15373
+ suffix?: {
15374
+ text?: string | undefined;
15375
+ icon?: string | undefined;
15376
+ } | undefined;
15377
+ events?: {
15378
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15379
+ params?: Record<string, any> | undefined;
15380
+ }[] | undefined;
15381
+ }, {
15382
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15383
+ label: string;
15384
+ id: string;
15385
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15386
+ url?: string | undefined;
15387
+ scripts?: {
15388
+ function: string;
15389
+ name: string;
15390
+ src: string;
15391
+ params?: Record<string, any> | undefined;
15392
+ preload?: boolean | undefined;
15393
+ }[] | undefined;
15394
+ position?: "top" | "bottom" | undefined;
15395
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15396
+ prefix?: {
15397
+ text?: string | undefined;
15398
+ icon?: string | undefined;
15399
+ } | undefined;
15400
+ suffix?: {
15401
+ text?: string | undefined;
15402
+ icon?: string | undefined;
15403
+ } | undefined;
15404
+ events?: {
15405
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15406
+ params?: Record<string, any> | undefined;
15407
+ }[] | undefined;
15408
+ }>, "many">>;
15409
+ }, "strip", z.ZodTypeAny, {
15410
+ message?: string | undefined;
15411
+ actions?: {
15412
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15413
+ label: string;
15414
+ id: string;
15415
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15416
+ url?: string | undefined;
15417
+ scripts?: {
15418
+ function: string;
15419
+ name: string;
15420
+ src: string;
15421
+ params?: Record<string, any> | undefined;
15422
+ preload?: boolean | undefined;
15423
+ }[] | undefined;
15424
+ position?: "top" | "bottom" | undefined;
15425
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15426
+ prefix?: {
15427
+ text?: string | undefined;
15428
+ icon?: string | undefined;
15429
+ } | undefined;
15430
+ suffix?: {
15431
+ text?: string | undefined;
15432
+ icon?: string | undefined;
15433
+ } | undefined;
15434
+ events?: {
15435
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15436
+ params?: Record<string, any> | undefined;
15437
+ }[] | undefined;
15438
+ }[] | undefined;
15439
+ icon?: string | undefined;
15440
+ position?: "top" | "bottom" | undefined;
15441
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15442
+ }, {
15443
+ message?: string | undefined;
15444
+ actions?: {
15445
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15446
+ label: string;
15447
+ id: string;
15448
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15449
+ url?: string | undefined;
15450
+ scripts?: {
15451
+ function: string;
15452
+ name: string;
15453
+ src: string;
15454
+ params?: Record<string, any> | undefined;
15455
+ preload?: boolean | undefined;
15456
+ }[] | undefined;
15457
+ position?: "top" | "bottom" | undefined;
15458
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15459
+ prefix?: {
15460
+ text?: string | undefined;
15461
+ icon?: string | undefined;
15462
+ } | undefined;
15463
+ suffix?: {
15464
+ text?: string | undefined;
15465
+ icon?: string | undefined;
15466
+ } | undefined;
15467
+ events?: {
15468
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15469
+ params?: Record<string, any> | undefined;
15470
+ }[] | undefined;
15471
+ }[] | undefined;
15472
+ icon?: string | undefined;
15473
+ position?: "top" | "bottom" | undefined;
15474
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15475
+ }>>;
15476
+ validation: z.ZodOptional<z.ZodObject<{
15477
+ icon: z.ZodOptional<z.ZodString>;
15478
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
15479
+ }, "strip", z.ZodTypeAny, {
15480
+ icon?: string | undefined;
15481
+ showOn?: "input" | "blur" | undefined;
15482
+ }, {
15483
+ icon?: string | undefined;
15484
+ showOn?: "input" | "blur" | undefined;
15485
+ }>>;
14070
15486
  }, "strip", z.ZodTypeAny, {
14071
- icon?: string | undefined;
14072
- showOn?: "input" | "blur" | undefined;
15487
+ validation?: {
15488
+ icon?: string | undefined;
15489
+ showOn?: "input" | "blur" | undefined;
15490
+ } | undefined;
15491
+ loading?: {
15492
+ message?: string | undefined;
15493
+ actions?: {
15494
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15495
+ label: string;
15496
+ id: string;
15497
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15498
+ url?: string | undefined;
15499
+ scripts?: {
15500
+ function: string;
15501
+ name: string;
15502
+ src: string;
15503
+ params?: Record<string, any> | undefined;
15504
+ preload?: boolean | undefined;
15505
+ }[] | undefined;
15506
+ position?: "top" | "bottom" | undefined;
15507
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15508
+ prefix?: {
15509
+ text?: string | undefined;
15510
+ icon?: string | undefined;
15511
+ } | undefined;
15512
+ suffix?: {
15513
+ text?: string | undefined;
15514
+ icon?: string | undefined;
15515
+ } | undefined;
15516
+ events?: {
15517
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15518
+ params?: Record<string, any> | undefined;
15519
+ }[] | undefined;
15520
+ }[] | undefined;
15521
+ icon?: string | undefined;
15522
+ position?: "top" | "bottom" | undefined;
15523
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15524
+ } | undefined;
14073
15525
  }, {
14074
- icon?: string | undefined;
14075
- showOn?: "input" | "blur" | undefined;
15526
+ validation?: {
15527
+ icon?: string | undefined;
15528
+ showOn?: "input" | "blur" | undefined;
15529
+ } | undefined;
15530
+ loading?: {
15531
+ message?: string | undefined;
15532
+ actions?: {
15533
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15534
+ label: string;
15535
+ id: string;
15536
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15537
+ url?: string | undefined;
15538
+ scripts?: {
15539
+ function: string;
15540
+ name: string;
15541
+ src: string;
15542
+ params?: Record<string, any> | undefined;
15543
+ preload?: boolean | undefined;
15544
+ }[] | undefined;
15545
+ position?: "top" | "bottom" | undefined;
15546
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15547
+ prefix?: {
15548
+ text?: string | undefined;
15549
+ icon?: string | undefined;
15550
+ } | undefined;
15551
+ suffix?: {
15552
+ text?: string | undefined;
15553
+ icon?: string | undefined;
15554
+ } | undefined;
15555
+ events?: {
15556
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15557
+ params?: Record<string, any> | undefined;
15558
+ }[] | undefined;
15559
+ }[] | undefined;
15560
+ icon?: string | undefined;
15561
+ position?: "top" | "bottom" | undefined;
15562
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15563
+ } | undefined;
14076
15564
  }>;
14077
15565
  }, "strip", z.ZodTypeAny, {
14078
15566
  error: {
14079
- icon?: string | undefined;
14080
- showOn?: "input" | "blur" | undefined;
15567
+ validation?: {
15568
+ icon?: string | undefined;
15569
+ showOn?: "input" | "blur" | undefined;
15570
+ } | undefined;
15571
+ loading?: {
15572
+ message?: string | undefined;
15573
+ actions?: {
15574
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15575
+ label: string;
15576
+ id: string;
15577
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15578
+ url?: string | undefined;
15579
+ scripts?: {
15580
+ function: string;
15581
+ name: string;
15582
+ src: string;
15583
+ params?: Record<string, any> | undefined;
15584
+ preload?: boolean | undefined;
15585
+ }[] | undefined;
15586
+ position?: "top" | "bottom" | undefined;
15587
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15588
+ prefix?: {
15589
+ text?: string | undefined;
15590
+ icon?: string | undefined;
15591
+ } | undefined;
15592
+ suffix?: {
15593
+ text?: string | undefined;
15594
+ icon?: string | undefined;
15595
+ } | undefined;
15596
+ events?: {
15597
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15598
+ params?: Record<string, any> | undefined;
15599
+ }[] | undefined;
15600
+ }[] | undefined;
15601
+ icon?: string | undefined;
15602
+ position?: "top" | "bottom" | undefined;
15603
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15604
+ } | undefined;
14081
15605
  };
14082
15606
  }, {
14083
15607
  error: {
14084
- icon?: string | undefined;
14085
- showOn?: "input" | "blur" | undefined;
15608
+ validation?: {
15609
+ icon?: string | undefined;
15610
+ showOn?: "input" | "blur" | undefined;
15611
+ } | undefined;
15612
+ loading?: {
15613
+ message?: string | undefined;
15614
+ actions?: {
15615
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
15616
+ label: string;
15617
+ id: string;
15618
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
15619
+ url?: string | undefined;
15620
+ scripts?: {
15621
+ function: string;
15622
+ name: string;
15623
+ src: string;
15624
+ params?: Record<string, any> | undefined;
15625
+ preload?: boolean | undefined;
15626
+ }[] | undefined;
15627
+ position?: "top" | "bottom" | undefined;
15628
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
15629
+ prefix?: {
15630
+ text?: string | undefined;
15631
+ icon?: string | undefined;
15632
+ } | undefined;
15633
+ suffix?: {
15634
+ text?: string | undefined;
15635
+ icon?: string | undefined;
15636
+ } | undefined;
15637
+ events?: {
15638
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
15639
+ params?: Record<string, any> | undefined;
15640
+ }[] | undefined;
15641
+ }[] | undefined;
15642
+ icon?: string | undefined;
15643
+ position?: "top" | "bottom" | undefined;
15644
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
15645
+ } | undefined;
14086
15646
  };
14087
15647
  }>>;
14088
15648
  input: z.ZodOptional<z.ZodObject<{
@@ -16026,8 +17586,44 @@ declare const FlowContext: z.ZodObject<{
16026
17586
  } | undefined;
16027
17587
  generic?: {
16028
17588
  error: {
16029
- icon?: string | undefined;
16030
- showOn?: "input" | "blur" | undefined;
17589
+ validation?: {
17590
+ icon?: string | undefined;
17591
+ showOn?: "input" | "blur" | undefined;
17592
+ } | undefined;
17593
+ loading?: {
17594
+ message?: string | undefined;
17595
+ actions?: {
17596
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17597
+ label: string;
17598
+ id: string;
17599
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
17600
+ url?: string | undefined;
17601
+ scripts?: {
17602
+ function: string;
17603
+ name: string;
17604
+ src: string;
17605
+ params?: Record<string, any> | undefined;
17606
+ preload?: boolean | undefined;
17607
+ }[] | undefined;
17608
+ position?: "top" | "bottom" | undefined;
17609
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
17610
+ prefix?: {
17611
+ text?: string | undefined;
17612
+ icon?: string | undefined;
17613
+ } | undefined;
17614
+ suffix?: {
17615
+ text?: string | undefined;
17616
+ icon?: string | undefined;
17617
+ } | undefined;
17618
+ events?: {
17619
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17620
+ params?: Record<string, any> | undefined;
17621
+ }[] | undefined;
17622
+ }[] | undefined;
17623
+ icon?: string | undefined;
17624
+ position?: "top" | "bottom" | undefined;
17625
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
17626
+ } | undefined;
16031
17627
  };
16032
17628
  } | undefined;
16033
17629
  }, {
@@ -16329,8 +17925,44 @@ declare const FlowContext: z.ZodObject<{
16329
17925
  } | undefined;
16330
17926
  generic?: {
16331
17927
  error: {
16332
- icon?: string | undefined;
16333
- showOn?: "input" | "blur" | undefined;
17928
+ validation?: {
17929
+ icon?: string | undefined;
17930
+ showOn?: "input" | "blur" | undefined;
17931
+ } | undefined;
17932
+ loading?: {
17933
+ message?: string | undefined;
17934
+ actions?: {
17935
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17936
+ label: string;
17937
+ id: string;
17938
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
17939
+ url?: string | undefined;
17940
+ scripts?: {
17941
+ function: string;
17942
+ name: string;
17943
+ src: string;
17944
+ params?: Record<string, any> | undefined;
17945
+ preload?: boolean | undefined;
17946
+ }[] | undefined;
17947
+ position?: "top" | "bottom" | undefined;
17948
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
17949
+ prefix?: {
17950
+ text?: string | undefined;
17951
+ icon?: string | undefined;
17952
+ } | undefined;
17953
+ suffix?: {
17954
+ text?: string | undefined;
17955
+ icon?: string | undefined;
17956
+ } | undefined;
17957
+ events?: {
17958
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17959
+ params?: Record<string, any> | undefined;
17960
+ }[] | undefined;
17961
+ }[] | undefined;
17962
+ icon?: string | undefined;
17963
+ position?: "top" | "bottom" | undefined;
17964
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
17965
+ } | undefined;
16334
17966
  };
16335
17967
  } | undefined;
16336
17968
  }>>;
@@ -17139,8 +18771,44 @@ declare const FlowContext: z.ZodObject<{
17139
18771
  } | undefined;
17140
18772
  generic?: {
17141
18773
  error: {
17142
- icon?: string | undefined;
17143
- showOn?: "input" | "blur" | undefined;
18774
+ validation?: {
18775
+ icon?: string | undefined;
18776
+ showOn?: "input" | "blur" | undefined;
18777
+ } | undefined;
18778
+ loading?: {
18779
+ message?: string | undefined;
18780
+ actions?: {
18781
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18782
+ label: string;
18783
+ id: string;
18784
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
18785
+ url?: string | undefined;
18786
+ scripts?: {
18787
+ function: string;
18788
+ name: string;
18789
+ src: string;
18790
+ params?: Record<string, any> | undefined;
18791
+ preload?: boolean | undefined;
18792
+ }[] | undefined;
18793
+ position?: "top" | "bottom" | undefined;
18794
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
18795
+ prefix?: {
18796
+ text?: string | undefined;
18797
+ icon?: string | undefined;
18798
+ } | undefined;
18799
+ suffix?: {
18800
+ text?: string | undefined;
18801
+ icon?: string | undefined;
18802
+ } | undefined;
18803
+ events?: {
18804
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18805
+ params?: Record<string, any> | undefined;
18806
+ }[] | undefined;
18807
+ }[] | undefined;
18808
+ icon?: string | undefined;
18809
+ position?: "top" | "bottom" | undefined;
18810
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
18811
+ } | undefined;
17144
18812
  };
17145
18813
  } | undefined;
17146
18814
  } | undefined;
@@ -17650,8 +19318,44 @@ declare const FlowContext: z.ZodObject<{
17650
19318
  } | undefined;
17651
19319
  generic?: {
17652
19320
  error: {
17653
- icon?: string | undefined;
17654
- showOn?: "input" | "blur" | undefined;
19321
+ validation?: {
19322
+ icon?: string | undefined;
19323
+ showOn?: "input" | "blur" | undefined;
19324
+ } | undefined;
19325
+ loading?: {
19326
+ message?: string | undefined;
19327
+ actions?: {
19328
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19329
+ label: string;
19330
+ id: string;
19331
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
19332
+ url?: string | undefined;
19333
+ scripts?: {
19334
+ function: string;
19335
+ name: string;
19336
+ src: string;
19337
+ params?: Record<string, any> | undefined;
19338
+ preload?: boolean | undefined;
19339
+ }[] | undefined;
19340
+ position?: "top" | "bottom" | undefined;
19341
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
19342
+ prefix?: {
19343
+ text?: string | undefined;
19344
+ icon?: string | undefined;
19345
+ } | undefined;
19346
+ suffix?: {
19347
+ text?: string | undefined;
19348
+ icon?: string | undefined;
19349
+ } | undefined;
19350
+ events?: {
19351
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19352
+ params?: Record<string, any> | undefined;
19353
+ }[] | undefined;
19354
+ }[] | undefined;
19355
+ icon?: string | undefined;
19356
+ position?: "top" | "bottom" | undefined;
19357
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
19358
+ } | undefined;
17655
19359
  };
17656
19360
  } | undefined;
17657
19361
  } | undefined;
@@ -18366,8 +20070,44 @@ declare const FlowContext: z.ZodObject<{
18366
20070
  } | undefined;
18367
20071
  generic?: {
18368
20072
  error: {
18369
- icon?: string | undefined;
18370
- showOn?: "input" | "blur" | undefined;
20073
+ validation?: {
20074
+ icon?: string | undefined;
20075
+ showOn?: "input" | "blur" | undefined;
20076
+ } | undefined;
20077
+ loading?: {
20078
+ message?: string | undefined;
20079
+ actions?: {
20080
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
20081
+ label: string;
20082
+ id: string;
20083
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
20084
+ url?: string | undefined;
20085
+ scripts?: {
20086
+ function: string;
20087
+ name: string;
20088
+ src: string;
20089
+ params?: Record<string, any> | undefined;
20090
+ preload?: boolean | undefined;
20091
+ }[] | undefined;
20092
+ position?: "top" | "bottom" | undefined;
20093
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
20094
+ prefix?: {
20095
+ text?: string | undefined;
20096
+ icon?: string | undefined;
20097
+ } | undefined;
20098
+ suffix?: {
20099
+ text?: string | undefined;
20100
+ icon?: string | undefined;
20101
+ } | undefined;
20102
+ events?: {
20103
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20104
+ params?: Record<string, any> | undefined;
20105
+ }[] | undefined;
20106
+ }[] | undefined;
20107
+ icon?: string | undefined;
20108
+ position?: "top" | "bottom" | undefined;
20109
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
20110
+ } | undefined;
18371
20111
  };
18372
20112
  } | undefined;
18373
20113
  } | undefined;
@@ -18936,8 +20676,44 @@ declare const FlowContext: z.ZodObject<{
18936
20676
  } | undefined;
18937
20677
  generic?: {
18938
20678
  error: {
18939
- icon?: string | undefined;
18940
- showOn?: "input" | "blur" | undefined;
20679
+ validation?: {
20680
+ icon?: string | undefined;
20681
+ showOn?: "input" | "blur" | undefined;
20682
+ } | undefined;
20683
+ loading?: {
20684
+ message?: string | undefined;
20685
+ actions?: {
20686
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
20687
+ label: string;
20688
+ id: string;
20689
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
20690
+ url?: string | undefined;
20691
+ scripts?: {
20692
+ function: string;
20693
+ name: string;
20694
+ src: string;
20695
+ params?: Record<string, any> | undefined;
20696
+ preload?: boolean | undefined;
20697
+ }[] | undefined;
20698
+ position?: "top" | "bottom" | undefined;
20699
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
20700
+ prefix?: {
20701
+ text?: string | undefined;
20702
+ icon?: string | undefined;
20703
+ } | undefined;
20704
+ suffix?: {
20705
+ text?: string | undefined;
20706
+ icon?: string | undefined;
20707
+ } | undefined;
20708
+ events?: {
20709
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20710
+ params?: Record<string, any> | undefined;
20711
+ }[] | undefined;
20712
+ }[] | undefined;
20713
+ icon?: string | undefined;
20714
+ position?: "top" | "bottom" | undefined;
20715
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
20716
+ } | undefined;
18941
20717
  };
18942
20718
  } | undefined;
18943
20719
  } | undefined;
@@ -19540,8 +21316,44 @@ declare const FlowContext: z.ZodObject<{
19540
21316
  } | undefined;
19541
21317
  generic?: {
19542
21318
  error: {
19543
- icon?: string | undefined;
19544
- showOn?: "input" | "blur" | undefined;
21319
+ validation?: {
21320
+ icon?: string | undefined;
21321
+ showOn?: "input" | "blur" | undefined;
21322
+ } | undefined;
21323
+ loading?: {
21324
+ message?: string | undefined;
21325
+ actions?: {
21326
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
21327
+ label: string;
21328
+ id: string;
21329
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
21330
+ url?: string | undefined;
21331
+ scripts?: {
21332
+ function: string;
21333
+ name: string;
21334
+ src: string;
21335
+ params?: Record<string, any> | undefined;
21336
+ preload?: boolean | undefined;
21337
+ }[] | undefined;
21338
+ position?: "top" | "bottom" | undefined;
21339
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
21340
+ prefix?: {
21341
+ text?: string | undefined;
21342
+ icon?: string | undefined;
21343
+ } | undefined;
21344
+ suffix?: {
21345
+ text?: string | undefined;
21346
+ icon?: string | undefined;
21347
+ } | undefined;
21348
+ events?: {
21349
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
21350
+ params?: Record<string, any> | undefined;
21351
+ }[] | undefined;
21352
+ }[] | undefined;
21353
+ icon?: string | undefined;
21354
+ position?: "top" | "bottom" | undefined;
21355
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
21356
+ } | undefined;
19545
21357
  };
19546
21358
  } | undefined;
19547
21359
  } | undefined;
@@ -20122,8 +21934,44 @@ declare const FlowContext: z.ZodObject<{
20122
21934
  } | undefined;
20123
21935
  generic?: {
20124
21936
  error: {
20125
- icon?: string | undefined;
20126
- showOn?: "input" | "blur" | undefined;
21937
+ validation?: {
21938
+ icon?: string | undefined;
21939
+ showOn?: "input" | "blur" | undefined;
21940
+ } | undefined;
21941
+ loading?: {
21942
+ message?: string | undefined;
21943
+ actions?: {
21944
+ type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
21945
+ label: string;
21946
+ id: string;
21947
+ variant: "primary" | "secondary" | "success" | "warning" | "info" | "danger";
21948
+ url?: string | undefined;
21949
+ scripts?: {
21950
+ function: string;
21951
+ name: string;
21952
+ src: string;
21953
+ params?: Record<string, any> | undefined;
21954
+ preload?: boolean | undefined;
21955
+ }[] | undefined;
21956
+ position?: "top" | "bottom" | undefined;
21957
+ loadingBehavior?: "disabled" | "none" | "spinner" | undefined;
21958
+ prefix?: {
21959
+ text?: string | undefined;
21960
+ icon?: string | undefined;
21961
+ } | undefined;
21962
+ suffix?: {
21963
+ text?: string | undefined;
21964
+ icon?: string | undefined;
21965
+ } | undefined;
21966
+ events?: {
21967
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
21968
+ params?: Record<string, any> | undefined;
21969
+ }[] | undefined;
21970
+ }[] | undefined;
21971
+ icon?: string | undefined;
21972
+ position?: "top" | "bottom" | undefined;
21973
+ kind?: "initial-loading" | "step-loading" | "step-validation" | "field-loading" | undefined;
21974
+ } | undefined;
20127
21975
  };
20128
21976
  } | undefined;
20129
21977
  } | undefined;
@@ -20979,4 +22827,4 @@ type DependsOn = z.infer<typeof DependsOn>;
20979
22827
  */
20980
22828
  type EventListener = (type: EventName, data: EventData) => void;
20981
22829
 
20982
- export { Action, ActionEvent, ActionScript, AffixSlot, Availability, ClientOptions, DEFAULT_CLIENT_OPTIONS, DependencyCondition, DependencyGroup, DependsOn, ErrorCode, type EventListener, EventType, Field, FieldValue, Flow, FlowContext, GetStepOptions, GetStepTrigger, Location, LocationProperty, MapPin, PostAction, Step, StepId };
22830
+ export { Action, ActionEvent, ActionScript, AffixSlot, Availability, ClientOptions, DEFAULT_CLIENT_OPTIONS, DependencyCondition, DependencyGroup, DependsOn, ErrorCode, ErrorData, type EventListener, EventType, Field, FieldValue, Flow, FlowContext, GetStepOptions, GetStepTrigger, Location, LocationProperty, MapPin, PostAction, Step, StepId };