@almadar/ui 5.31.0 → 5.31.1

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.
@@ -2366,6 +2366,7 @@ function NativeSelect({
2366
2366
  placeholder,
2367
2367
  error,
2368
2368
  onChange,
2369
+ onValueChange,
2369
2370
  value,
2370
2371
  ...props
2371
2372
  }) {
@@ -2374,8 +2375,9 @@ function NativeSelect({
2374
2375
  if (typeof onChange === "string") {
2375
2376
  eventBus.emit(`UI:${onChange}`, { value: e.target.value });
2376
2377
  } else {
2377
- onChange?.(e.target.value);
2378
+ onChange?.(e);
2378
2379
  }
2380
+ onValueChange?.(e.target.value);
2379
2381
  };
2380
2382
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
2381
2383
  /* @__PURE__ */ jsxs(
@@ -2410,6 +2412,7 @@ function RichSelect({
2410
2412
  placeholder,
2411
2413
  error,
2412
2414
  onChange,
2415
+ onValueChange,
2413
2416
  value,
2414
2417
  multiple,
2415
2418
  searchable,
@@ -2433,18 +2436,16 @@ function RichSelect({
2433
2436
  }
2434
2437
  if (typeof onChange === "string") {
2435
2438
  eventBus.emit(`UI:${onChange}`, { value: next });
2436
- } else {
2437
- onChange?.(next);
2438
2439
  }
2440
+ onValueChange?.(next);
2439
2441
  };
2440
2442
  const clear = (e) => {
2441
2443
  e.stopPropagation();
2442
2444
  const next = multiple ? [] : "";
2443
2445
  if (typeof onChange === "string") {
2444
2446
  eventBus.emit(`UI:${onChange}`, { value: next });
2445
- } else {
2446
- onChange?.(next);
2447
2447
  }
2448
+ onValueChange?.(next);
2448
2449
  };
2449
2450
  useEffect(() => {
2450
2451
  const handler = (e) => {
@@ -15251,7 +15252,7 @@ var init_BranchingLogicBuilder = __esm({
15251
15252
  options: sourceOptions,
15252
15253
  value: rule.sourceQuestionId,
15253
15254
  placeholder: t("branchingLogic.selectQuestion"),
15254
- onChange: handleSource,
15255
+ onValueChange: handleSource,
15255
15256
  disabled: readOnly,
15256
15257
  error: broken ? t("branchingLogic.brokenReference") : void 0
15257
15258
  }
@@ -15261,7 +15262,7 @@ var init_BranchingLogicBuilder = __esm({
15261
15262
  {
15262
15263
  options: operatorOptions,
15263
15264
  value: rule.operator,
15264
- onChange: handleOperator,
15265
+ onValueChange: handleOperator,
15265
15266
  disabled: readOnly
15266
15267
  }
15267
15268
  ) }),
@@ -15283,7 +15284,7 @@ var init_BranchingLogicBuilder = __esm({
15283
15284
  options: valueOptions.filter((o) => !chips.includes(o.value)),
15284
15285
  value: "",
15285
15286
  placeholder: t("branchingLogic.addValue"),
15286
- onChange: handleAddChip,
15287
+ onValueChange: handleAddChip,
15287
15288
  disabled: readOnly
15288
15289
  }
15289
15290
  ) }) : /* @__PURE__ */ jsx(
@@ -15309,7 +15310,7 @@ var init_BranchingLogicBuilder = __esm({
15309
15310
  options: valueOptions,
15310
15311
  value: scalarValue,
15311
15312
  placeholder: t("branchingLogic.selectValue"),
15312
- onChange: (v) => onChange({ ...rule, value: v }),
15313
+ onValueChange: (v) => onChange({ ...rule, value: v }),
15313
15314
  disabled: readOnly
15314
15315
  }
15315
15316
  ) : /* @__PURE__ */ jsx(
@@ -15332,7 +15333,7 @@ var init_BranchingLogicBuilder = __esm({
15332
15333
  options: targetOptions,
15333
15334
  value: rule.targetQuestionId,
15334
15335
  placeholder: t("branchingLogic.selectTarget"),
15335
- onChange: handleTarget,
15336
+ onValueChange: handleTarget,
15336
15337
  disabled: readOnly,
15337
15338
  error: broken && rule.targetQuestionId !== END_OF_SURVEY ? t("branchingLogic.brokenReference") : void 0
15338
15339
  }
@@ -17741,7 +17742,7 @@ var init_Pagination = __esm({
17741
17742
  Select,
17742
17743
  {
17743
17744
  value: String(pageSize),
17744
- onChange: (v) => handlePageSizeChange(Number(v)),
17745
+ onValueChange: (v) => handlePageSizeChange(Number(v)),
17745
17746
  options: pageSizeOptions.map((size) => ({
17746
17747
  value: String(size),
17747
17748
  label: String(size)
@@ -23231,7 +23232,7 @@ function FieldControl({
23231
23232
  {
23232
23233
  options: decl.values.map((v) => ({ value: v, label: v })),
23233
23234
  value: typeof value === "string" ? value : "",
23234
- onChange: (v) => onChange(name, v)
23235
+ onValueChange: (v) => onChange(name, v)
23235
23236
  }
23236
23237
  );
23237
23238
  } else if (decl.type === "number") {
@@ -23383,7 +23384,7 @@ var init_NodeSlotEditor = __esm({
23383
23384
  {
23384
23385
  options,
23385
23386
  value: type,
23386
- onChange: (v) => emit(v, props)
23387
+ onValueChange: (v) => emit(v, props)
23387
23388
  }
23388
23389
  ),
23389
23390
  type !== "" && /* @__PURE__ */ jsxs(VStack, { gap: "none", className: "pl-1", children: [
@@ -23837,7 +23838,7 @@ var init_FilterGroup = __esm({
23837
23838
  Select,
23838
23839
  {
23839
23840
  value: selectedValues[filter.field] || "all",
23840
- onChange: (v) => handleFilterSelect(filter.field, v),
23841
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
23841
23842
  options: [
23842
23843
  { value: "all", label: t("filterGroup.all") },
23843
23844
  ...filter.options?.map((opt) => ({
@@ -23920,7 +23921,7 @@ var init_FilterGroup = __esm({
23920
23921
  Select,
23921
23922
  {
23922
23923
  value: selectedValues[filter.field] || "all",
23923
- onChange: (v) => handleFilterSelect(filter.field, v),
23924
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
23924
23925
  options: [
23925
23926
  { value: "all", label: t("filterGroup.allOf", { label: filter.label }) },
23926
23927
  ...filter.options?.map((opt) => ({
@@ -24038,7 +24039,7 @@ var init_FilterGroup = __esm({
24038
24039
  Select,
24039
24040
  {
24040
24041
  value: selectedValues[filter.field] || "all",
24041
- onChange: (v) => handleFilterSelect(filter.field, v),
24042
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24042
24043
  options: [
24043
24044
  { value: "all", label: t("filterGroup.all") },
24044
24045
  ...filter.options?.map((opt) => ({
@@ -34292,7 +34293,7 @@ var init_VersionDiff = __esm({
34292
34293
  {
34293
34294
  options,
34294
34295
  value: activeBeforeId,
34295
- onChange: handleBeforeChange,
34296
+ onValueChange: handleBeforeChange,
34296
34297
  "aria-label": t("versionDiff.beforeRevision")
34297
34298
  }
34298
34299
  ) }),
@@ -34302,7 +34303,7 @@ var init_VersionDiff = __esm({
34302
34303
  {
34303
34304
  options,
34304
34305
  value: activeAfterId,
34305
- onChange: handleAfterChange,
34306
+ onValueChange: handleAfterChange,
34306
34307
  "aria-label": t("versionDiff.afterRevision")
34307
34308
  }
34308
34309
  ) }),
@@ -39105,7 +39106,7 @@ function RuleEditor({
39105
39106
  Select,
39106
39107
  {
39107
39108
  value: rule.whenEvent,
39108
- onChange: handleWhenChange,
39109
+ onValueChange: handleWhenChange,
39109
39110
  options: availableEvents,
39110
39111
  disabled,
39111
39112
  className: "flex-1 min-w-0"
@@ -39116,7 +39117,7 @@ function RuleEditor({
39116
39117
  Select,
39117
39118
  {
39118
39119
  value: rule.thenAction,
39119
- onChange: handleThenChange,
39120
+ onValueChange: handleThenChange,
39120
39121
  options: availableActions,
39121
39122
  disabled,
39122
39123
  className: "flex-1 min-w-0"
@@ -40173,7 +40174,7 @@ var init_Form = __esm({
40173
40174
  ...commonProps,
40174
40175
  options,
40175
40176
  value: String(currentValue2),
40176
- onChange: (v) => handleChange(fieldName, v),
40177
+ onValueChange: (v) => handleChange(fieldName, v),
40177
40178
  placeholder: field.placeholder || `Select ${label}...`
40178
40179
  }
40179
40180
  );
@@ -3704,6 +3704,7 @@ function NativeSelect({
3704
3704
  placeholder,
3705
3705
  error,
3706
3706
  onChange,
3707
+ onValueChange,
3707
3708
  value,
3708
3709
  ...props
3709
3710
  }) {
@@ -3712,8 +3713,9 @@ function NativeSelect({
3712
3713
  if (typeof onChange === "string") {
3713
3714
  eventBus.emit(`UI:${onChange}`, { value: e.target.value });
3714
3715
  } else {
3715
- onChange?.(e.target.value);
3716
+ onChange?.(e);
3716
3717
  }
3718
+ onValueChange?.(e.target.value);
3717
3719
  };
3718
3720
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
3719
3721
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3748,6 +3750,7 @@ function RichSelect({
3748
3750
  placeholder,
3749
3751
  error,
3750
3752
  onChange,
3753
+ onValueChange,
3751
3754
  value,
3752
3755
  multiple,
3753
3756
  searchable,
@@ -3771,18 +3774,16 @@ function RichSelect({
3771
3774
  }
3772
3775
  if (typeof onChange === "string") {
3773
3776
  eventBus.emit(`UI:${onChange}`, { value: next });
3774
- } else {
3775
- onChange?.(next);
3776
3777
  }
3778
+ onValueChange?.(next);
3777
3779
  };
3778
3780
  const clear = (e) => {
3779
3781
  e.stopPropagation();
3780
3782
  const next = multiple ? [] : "";
3781
3783
  if (typeof onChange === "string") {
3782
3784
  eventBus.emit(`UI:${onChange}`, { value: next });
3783
- } else {
3784
- onChange?.(next);
3785
3785
  }
3786
+ onValueChange?.(next);
3786
3787
  };
3787
3788
  React80.useEffect(() => {
3788
3789
  const handler = (e) => {
@@ -16743,7 +16744,7 @@ var init_BranchingLogicBuilder = __esm({
16743
16744
  options: sourceOptions,
16744
16745
  value: rule.sourceQuestionId,
16745
16746
  placeholder: t("branchingLogic.selectQuestion"),
16746
- onChange: handleSource,
16747
+ onValueChange: handleSource,
16747
16748
  disabled: readOnly,
16748
16749
  error: broken ? t("branchingLogic.brokenReference") : void 0
16749
16750
  }
@@ -16753,7 +16754,7 @@ var init_BranchingLogicBuilder = __esm({
16753
16754
  {
16754
16755
  options: operatorOptions,
16755
16756
  value: rule.operator,
16756
- onChange: handleOperator,
16757
+ onValueChange: handleOperator,
16757
16758
  disabled: readOnly
16758
16759
  }
16759
16760
  ) }),
@@ -16775,7 +16776,7 @@ var init_BranchingLogicBuilder = __esm({
16775
16776
  options: valueOptions.filter((o) => !chips.includes(o.value)),
16776
16777
  value: "",
16777
16778
  placeholder: t("branchingLogic.addValue"),
16778
- onChange: handleAddChip,
16779
+ onValueChange: handleAddChip,
16779
16780
  disabled: readOnly
16780
16781
  }
16781
16782
  ) }) : /* @__PURE__ */ jsxRuntime.jsx(
@@ -16801,7 +16802,7 @@ var init_BranchingLogicBuilder = __esm({
16801
16802
  options: valueOptions,
16802
16803
  value: scalarValue,
16803
16804
  placeholder: t("branchingLogic.selectValue"),
16804
- onChange: (v) => onChange({ ...rule, value: v }),
16805
+ onValueChange: (v) => onChange({ ...rule, value: v }),
16805
16806
  disabled: readOnly
16806
16807
  }
16807
16808
  ) : /* @__PURE__ */ jsxRuntime.jsx(
@@ -16824,7 +16825,7 @@ var init_BranchingLogicBuilder = __esm({
16824
16825
  options: targetOptions,
16825
16826
  value: rule.targetQuestionId,
16826
16827
  placeholder: t("branchingLogic.selectTarget"),
16827
- onChange: handleTarget,
16828
+ onValueChange: handleTarget,
16828
16829
  disabled: readOnly,
16829
16830
  error: broken && rule.targetQuestionId !== END_OF_SURVEY ? t("branchingLogic.brokenReference") : void 0
16830
16831
  }
@@ -19233,7 +19234,7 @@ var init_Pagination = __esm({
19233
19234
  Select,
19234
19235
  {
19235
19236
  value: String(pageSize),
19236
- onChange: (v) => handlePageSizeChange(Number(v)),
19237
+ onValueChange: (v) => handlePageSizeChange(Number(v)),
19237
19238
  options: pageSizeOptions.map((size) => ({
19238
19239
  value: String(size),
19239
19240
  label: String(size)
@@ -24163,7 +24164,7 @@ var init_FilterGroup = __esm({
24163
24164
  Select,
24164
24165
  {
24165
24166
  value: selectedValues[filter.field] || "all",
24166
- onChange: (v) => handleFilterSelect(filter.field, v),
24167
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24167
24168
  options: [
24168
24169
  { value: "all", label: t("filterGroup.all") },
24169
24170
  ...filter.options?.map((opt) => ({
@@ -24246,7 +24247,7 @@ var init_FilterGroup = __esm({
24246
24247
  Select,
24247
24248
  {
24248
24249
  value: selectedValues[filter.field] || "all",
24249
- onChange: (v) => handleFilterSelect(filter.field, v),
24250
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24250
24251
  options: [
24251
24252
  { value: "all", label: t("filterGroup.allOf", { label: filter.label }) },
24252
24253
  ...filter.options?.map((opt) => ({
@@ -24364,7 +24365,7 @@ var init_FilterGroup = __esm({
24364
24365
  Select,
24365
24366
  {
24366
24367
  value: selectedValues[filter.field] || "all",
24367
- onChange: (v) => handleFilterSelect(filter.field, v),
24368
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24368
24369
  options: [
24369
24370
  { value: "all", label: t("filterGroup.all") },
24370
24371
  ...filter.options?.map((opt) => ({
@@ -34082,7 +34083,7 @@ var init_VersionDiff = __esm({
34082
34083
  {
34083
34084
  options,
34084
34085
  value: activeBeforeId,
34085
- onChange: handleBeforeChange,
34086
+ onValueChange: handleBeforeChange,
34086
34087
  "aria-label": t("versionDiff.beforeRevision")
34087
34088
  }
34088
34089
  ) }),
@@ -34092,7 +34093,7 @@ var init_VersionDiff = __esm({
34092
34093
  {
34093
34094
  options,
34094
34095
  value: activeAfterId,
34095
- onChange: handleAfterChange,
34096
+ onValueChange: handleAfterChange,
34096
34097
  "aria-label": t("versionDiff.afterRevision")
34097
34098
  }
34098
34099
  ) }),
@@ -38675,7 +38676,7 @@ function RuleEditor({
38675
38676
  Select,
38676
38677
  {
38677
38678
  value: rule.whenEvent,
38678
- onChange: handleWhenChange,
38679
+ onValueChange: handleWhenChange,
38679
38680
  options: availableEvents,
38680
38681
  disabled,
38681
38682
  className: "flex-1 min-w-0"
@@ -38686,7 +38687,7 @@ function RuleEditor({
38686
38687
  Select,
38687
38688
  {
38688
38689
  value: rule.thenAction,
38689
- onChange: handleThenChange,
38690
+ onValueChange: handleThenChange,
38690
38691
  options: availableActions,
38691
38692
  disabled,
38692
38693
  className: "flex-1 min-w-0"
@@ -39743,7 +39744,7 @@ var init_Form = __esm({
39743
39744
  ...commonProps,
39744
39745
  options,
39745
39746
  value: String(currentValue),
39746
- onChange: (v) => handleChange(fieldName, v),
39747
+ onValueChange: (v) => handleChange(fieldName, v),
39747
39748
  placeholder: field.placeholder || `Select ${label}...`
39748
39749
  }
39749
39750
  );
@@ -3655,6 +3655,7 @@ function NativeSelect({
3655
3655
  placeholder,
3656
3656
  error,
3657
3657
  onChange,
3658
+ onValueChange,
3658
3659
  value,
3659
3660
  ...props
3660
3661
  }) {
@@ -3663,8 +3664,9 @@ function NativeSelect({
3663
3664
  if (typeof onChange === "string") {
3664
3665
  eventBus.emit(`UI:${onChange}`, { value: e.target.value });
3665
3666
  } else {
3666
- onChange?.(e.target.value);
3667
+ onChange?.(e);
3667
3668
  }
3669
+ onValueChange?.(e.target.value);
3668
3670
  };
3669
3671
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
3670
3672
  /* @__PURE__ */ jsxs(
@@ -3699,6 +3701,7 @@ function RichSelect({
3699
3701
  placeholder,
3700
3702
  error,
3701
3703
  onChange,
3704
+ onValueChange,
3702
3705
  value,
3703
3706
  multiple,
3704
3707
  searchable,
@@ -3722,18 +3725,16 @@ function RichSelect({
3722
3725
  }
3723
3726
  if (typeof onChange === "string") {
3724
3727
  eventBus.emit(`UI:${onChange}`, { value: next });
3725
- } else {
3726
- onChange?.(next);
3727
3728
  }
3729
+ onValueChange?.(next);
3728
3730
  };
3729
3731
  const clear = (e) => {
3730
3732
  e.stopPropagation();
3731
3733
  const next = multiple ? [] : "";
3732
3734
  if (typeof onChange === "string") {
3733
3735
  eventBus.emit(`UI:${onChange}`, { value: next });
3734
- } else {
3735
- onChange?.(next);
3736
3736
  }
3737
+ onValueChange?.(next);
3737
3738
  };
3738
3739
  useEffect(() => {
3739
3740
  const handler = (e) => {
@@ -16694,7 +16695,7 @@ var init_BranchingLogicBuilder = __esm({
16694
16695
  options: sourceOptions,
16695
16696
  value: rule.sourceQuestionId,
16696
16697
  placeholder: t("branchingLogic.selectQuestion"),
16697
- onChange: handleSource,
16698
+ onValueChange: handleSource,
16698
16699
  disabled: readOnly,
16699
16700
  error: broken ? t("branchingLogic.brokenReference") : void 0
16700
16701
  }
@@ -16704,7 +16705,7 @@ var init_BranchingLogicBuilder = __esm({
16704
16705
  {
16705
16706
  options: operatorOptions,
16706
16707
  value: rule.operator,
16707
- onChange: handleOperator,
16708
+ onValueChange: handleOperator,
16708
16709
  disabled: readOnly
16709
16710
  }
16710
16711
  ) }),
@@ -16726,7 +16727,7 @@ var init_BranchingLogicBuilder = __esm({
16726
16727
  options: valueOptions.filter((o) => !chips.includes(o.value)),
16727
16728
  value: "",
16728
16729
  placeholder: t("branchingLogic.addValue"),
16729
- onChange: handleAddChip,
16730
+ onValueChange: handleAddChip,
16730
16731
  disabled: readOnly
16731
16732
  }
16732
16733
  ) }) : /* @__PURE__ */ jsx(
@@ -16752,7 +16753,7 @@ var init_BranchingLogicBuilder = __esm({
16752
16753
  options: valueOptions,
16753
16754
  value: scalarValue,
16754
16755
  placeholder: t("branchingLogic.selectValue"),
16755
- onChange: (v) => onChange({ ...rule, value: v }),
16756
+ onValueChange: (v) => onChange({ ...rule, value: v }),
16756
16757
  disabled: readOnly
16757
16758
  }
16758
16759
  ) : /* @__PURE__ */ jsx(
@@ -16775,7 +16776,7 @@ var init_BranchingLogicBuilder = __esm({
16775
16776
  options: targetOptions,
16776
16777
  value: rule.targetQuestionId,
16777
16778
  placeholder: t("branchingLogic.selectTarget"),
16778
- onChange: handleTarget,
16779
+ onValueChange: handleTarget,
16779
16780
  disabled: readOnly,
16780
16781
  error: broken && rule.targetQuestionId !== END_OF_SURVEY ? t("branchingLogic.brokenReference") : void 0
16781
16782
  }
@@ -19184,7 +19185,7 @@ var init_Pagination = __esm({
19184
19185
  Select,
19185
19186
  {
19186
19187
  value: String(pageSize),
19187
- onChange: (v) => handlePageSizeChange(Number(v)),
19188
+ onValueChange: (v) => handlePageSizeChange(Number(v)),
19188
19189
  options: pageSizeOptions.map((size) => ({
19189
19190
  value: String(size),
19190
19191
  label: String(size)
@@ -24114,7 +24115,7 @@ var init_FilterGroup = __esm({
24114
24115
  Select,
24115
24116
  {
24116
24117
  value: selectedValues[filter.field] || "all",
24117
- onChange: (v) => handleFilterSelect(filter.field, v),
24118
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24118
24119
  options: [
24119
24120
  { value: "all", label: t("filterGroup.all") },
24120
24121
  ...filter.options?.map((opt) => ({
@@ -24197,7 +24198,7 @@ var init_FilterGroup = __esm({
24197
24198
  Select,
24198
24199
  {
24199
24200
  value: selectedValues[filter.field] || "all",
24200
- onChange: (v) => handleFilterSelect(filter.field, v),
24201
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24201
24202
  options: [
24202
24203
  { value: "all", label: t("filterGroup.allOf", { label: filter.label }) },
24203
24204
  ...filter.options?.map((opt) => ({
@@ -24315,7 +24316,7 @@ var init_FilterGroup = __esm({
24315
24316
  Select,
24316
24317
  {
24317
24318
  value: selectedValues[filter.field] || "all",
24318
- onChange: (v) => handleFilterSelect(filter.field, v),
24319
+ onValueChange: (v) => handleFilterSelect(filter.field, v),
24319
24320
  options: [
24320
24321
  { value: "all", label: t("filterGroup.all") },
24321
24322
  ...filter.options?.map((opt) => ({
@@ -34033,7 +34034,7 @@ var init_VersionDiff = __esm({
34033
34034
  {
34034
34035
  options,
34035
34036
  value: activeBeforeId,
34036
- onChange: handleBeforeChange,
34037
+ onValueChange: handleBeforeChange,
34037
34038
  "aria-label": t("versionDiff.beforeRevision")
34038
34039
  }
34039
34040
  ) }),
@@ -34043,7 +34044,7 @@ var init_VersionDiff = __esm({
34043
34044
  {
34044
34045
  options,
34045
34046
  value: activeAfterId,
34046
- onChange: handleAfterChange,
34047
+ onValueChange: handleAfterChange,
34047
34048
  "aria-label": t("versionDiff.afterRevision")
34048
34049
  }
34049
34050
  ) }),
@@ -38626,7 +38627,7 @@ function RuleEditor({
38626
38627
  Select,
38627
38628
  {
38628
38629
  value: rule.whenEvent,
38629
- onChange: handleWhenChange,
38630
+ onValueChange: handleWhenChange,
38630
38631
  options: availableEvents,
38631
38632
  disabled,
38632
38633
  className: "flex-1 min-w-0"
@@ -38637,7 +38638,7 @@ function RuleEditor({
38637
38638
  Select,
38638
38639
  {
38639
38640
  value: rule.thenAction,
38640
- onChange: handleThenChange,
38641
+ onValueChange: handleThenChange,
38641
38642
  options: availableActions,
38642
38643
  disabled,
38643
38644
  className: "flex-1 min-w-0"
@@ -39694,7 +39695,7 @@ var init_Form = __esm({
39694
39695
  ...commonProps,
39695
39696
  options,
39696
39697
  value: String(currentValue),
39697
- onChange: (v) => handleChange(fieldName, v),
39698
+ onValueChange: (v) => handleChange(fieldName, v),
39698
39699
  placeholder: field.placeholder || `Select ${label}...`
39699
39700
  }
39700
39701
  );