bkui-vue 0.0.1-beta.155 → 0.0.1-beta.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.cjs.js +32 -32
  2. package/dist/index.esm.js +77 -59
  3. package/dist/index.umd.js +34 -34
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/checkbox/checkbox-group.d.ts +16 -0
  7. package/lib/checkbox/index.d.ts +11 -0
  8. package/lib/checkbox/index.js +1 -1
  9. package/lib/color-picker/color-picker.d.ts +16 -0
  10. package/lib/color-picker/index.d.ts +24 -1
  11. package/lib/color-picker/index.js +1 -1
  12. package/lib/date-picker/date-picker.d.ts +9 -0
  13. package/lib/date-picker/index.d.ts +20 -1
  14. package/lib/date-picker/index.js +1 -1
  15. package/lib/date-picker/props.d.ts +4 -0
  16. package/lib/form/form-item.d.ts +1 -1
  17. package/lib/form/form.css +6 -0
  18. package/lib/form/form.less +9 -0
  19. package/lib/form/form.variable.css +6 -0
  20. package/lib/form/index.d.ts +1 -1
  21. package/lib/form/index.js +1 -1
  22. package/lib/input/index.d.ts +27 -4
  23. package/lib/input/index.js +1 -1
  24. package/lib/input/input.d.ts +17 -1
  25. package/lib/process/index.js +1 -1
  26. package/lib/radio/index.d.ts +11 -0
  27. package/lib/radio/index.js +1 -1
  28. package/lib/radio/radio-group.d.ts +16 -0
  29. package/lib/rate/index.d.ts +24 -1
  30. package/lib/rate/index.js +1 -1
  31. package/lib/rate/rate.d.ts +11 -0
  32. package/lib/resize-layout/index.d.ts +4 -4
  33. package/lib/resize-layout/resize-layout.d.ts +1 -1
  34. package/lib/select/index.d.ts +24 -1
  35. package/lib/select/index.js +1 -1
  36. package/lib/select/select.d.ts +11 -0
  37. package/lib/switcher/index.d.ts +24 -1
  38. package/lib/switcher/index.js +1 -1
  39. package/lib/switcher/switcher.d.ts +11 -0
  40. package/lib/table/table.css +11 -4
  41. package/lib/table/table.less +12 -5
  42. package/lib/table/table.variable.css +11 -4
  43. package/lib/tag-input/index.d.ts +20 -1
  44. package/lib/tag-input/index.js +1 -1
  45. package/lib/tag-input/tag-input.d.ts +10 -1
  46. package/lib/tag-input/tag-props.d.ts +4 -0
  47. package/lib/tree/tree.css +2 -1
  48. package/lib/tree/tree.less +2 -1
  49. package/lib/tree/tree.variable.css +2 -1
  50. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -9205,7 +9205,8 @@ const inputType = {
9205
9205
  modelValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
9206
9206
  size: PropTypes.size(),
9207
9207
  rows: PropTypes.number,
9208
- selectReadonly: PropTypes.bool.def(false)
9208
+ selectReadonly: PropTypes.bool.def(false),
9209
+ withValidate: PropTypes.bool.def(true)
9209
9210
  };
9210
9211
  let EVENTS$2;
9211
9212
  (function(EVENTS2) {
@@ -9305,6 +9306,12 @@ var Component$x = defineComponent({
9305
9306
  const decControlCls = computed(() => classes({
9306
9307
  "is-disabled": props2.disabled || props2.modelValue <= props2.min
9307
9308
  }));
9309
+ watch(() => props2.modelValue, () => {
9310
+ var _a2;
9311
+ if (props2.withValidate) {
9312
+ (_a2 = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a2.call(formItem, "change");
9313
+ }
9314
+ });
9308
9315
  ctx.expose({
9309
9316
  focus() {
9310
9317
  inputRef.value.focus();
@@ -9312,14 +9319,12 @@ var Component$x = defineComponent({
9312
9319
  clear
9313
9320
  });
9314
9321
  function clear() {
9315
- var _a2;
9316
9322
  if (props2.disabled)
9317
9323
  return;
9318
9324
  const resetVal = isNumberInput.value ? props2.min : "";
9319
9325
  ctx.emit(EVENTS$2.UPDATE, resetVal);
9320
9326
  ctx.emit(EVENTS$2.CHANGE, resetVal);
9321
9327
  ctx.emit(EVENTS$2.CLEAR);
9322
- (_a2 = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a2.call(formItem, "change");
9323
9328
  }
9324
9329
  function handleFocus(e) {
9325
9330
  isFocused.value = true;
@@ -9338,7 +9343,6 @@ var Component$x = defineComponent({
9338
9343
  }
9339
9344
  function eventHandler(eventName) {
9340
9345
  return (e) => {
9341
- var _a2;
9342
9346
  e.stopPropagation();
9343
9347
  if (eventName === EVENTS$2.KEYDOWN && (e.code === "Enter" || e.key === "Enter" || e.keyCode === 13)) {
9344
9348
  ctx.emit(EVENTS$2.ENTER, e.target.value, e);
@@ -9349,9 +9353,6 @@ var Component$x = defineComponent({
9349
9353
  ctx.emit(EVENTS$2.UPDATE, isNumberInput.value ? +e.target.value : e.target.value);
9350
9354
  }
9351
9355
  ctx.emit(eventName, e.target.value, e);
9352
- if (eventName === EVENTS$2.INPUT) {
9353
- (_a2 = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a2.call(formItem, "change");
9354
- }
9355
9356
  };
9356
9357
  }
9357
9358
  const [handleKeyup, handleKeydown, handleKeyPress, handlePaste, handleChange, handleInput] = [EVENTS$2.KEYUP, EVENTS$2.KEYDOWN, EVENTS$2.KEYPRESS, EVENTS$2.PASTE, EVENTS$2.CHANGE, EVENTS$2.INPUT].map(eventHandler);
@@ -9580,7 +9581,6 @@ const useCheckbox = () => {
9580
9581
  props: props2,
9581
9582
  emit
9582
9583
  } = currentInstance;
9583
- const formItem = useFormItem();
9584
9584
  const checkboxGroup = inject(checkboxGroupKey, EMPTY_OBJ);
9585
9585
  const isGroup = !isEmptyObj(checkboxGroup);
9586
9586
  const isChecked = ref(props2.checked);
@@ -9610,7 +9610,6 @@ const useCheckbox = () => {
9610
9610
  isChecked.value = value;
9611
9611
  };
9612
9612
  const handleChange = (event) => {
9613
- var _a;
9614
9613
  if (isDisabled.value) {
9615
9614
  return;
9616
9615
  }
@@ -9622,7 +9621,6 @@ const useCheckbox = () => {
9622
9621
  if (isGroup) {
9623
9622
  checkboxGroup.handleChange();
9624
9623
  }
9625
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
9626
9624
  nextTick(() => {
9627
9625
  if ($targetInput.checked !== isChecked.value) {
9628
9626
  $targetInput.checked = isChecked.value;
@@ -9710,13 +9708,15 @@ var Component$v = defineComponent({
9710
9708
  const checkboxGroupProps = {
9711
9709
  name: PropTypes.string.def(""),
9712
9710
  modelValue: PropTypes.array,
9713
- disabled: PropTypes.bool
9711
+ disabled: PropTypes.bool,
9712
+ withValidate: PropTypes.bool.def(true)
9714
9713
  };
9715
9714
  var BkCheckboxGroup = defineComponent({
9716
9715
  name: "CheckboxGroup",
9717
9716
  props: checkboxGroupProps,
9718
9717
  emits: ["change", "update:modelValue"],
9719
9718
  setup(props2, context) {
9719
+ const formItem = useFormItem();
9720
9720
  const checkboxInstanceList = [];
9721
9721
  const register = (checkboxContext) => {
9722
9722
  checkboxInstanceList.push(checkboxContext);
@@ -9744,6 +9744,12 @@ var BkCheckboxGroup = defineComponent({
9744
9744
  unregister,
9745
9745
  handleChange
9746
9746
  });
9747
+ watch(() => props2.modelValue, () => {
9748
+ var _a;
9749
+ if (props2.withValidate) {
9750
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
9751
+ }
9752
+ });
9747
9753
  onMounted(() => {
9748
9754
  const modelValue = props2.modelValue || [];
9749
9755
  checkboxInstanceList.forEach((checkboxInstance) => {
@@ -13303,7 +13309,6 @@ const useRadio = () => {
13303
13309
  props: props2,
13304
13310
  emit
13305
13311
  } = currentInstance;
13306
- const formItem = useFormItem();
13307
13312
  const radioGroup = inject(radioGroupKey, EMPTY_OBJ);
13308
13313
  const isGroup = !isEmptyObj(radioGroup);
13309
13314
  const isChecked = ref(false);
@@ -13333,7 +13338,6 @@ const useRadio = () => {
13333
13338
  isChecked.value = value;
13334
13339
  };
13335
13340
  const handleChange = (event) => {
13336
- var _a;
13337
13341
  if (isDisabled.value) {
13338
13342
  return;
13339
13343
  }
@@ -13345,7 +13349,6 @@ const useRadio = () => {
13345
13349
  if (isGroup) {
13346
13350
  radioGroup.handleChange(currentInstance.proxy);
13347
13351
  }
13348
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
13349
13352
  nextTick(() => {
13350
13353
  if ($targetInput.checked !== isChecked.value) {
13351
13354
  $targetInput.checked = isChecked.value;
@@ -13487,13 +13490,15 @@ var RadioButton = defineComponent({
13487
13490
  const radioGroupProps = {
13488
13491
  name: PropTypes.string.def(""),
13489
13492
  modelValue: PropTypes.oneOfType([String, Number, Boolean]),
13490
- disabled: PropTypes.bool
13493
+ disabled: PropTypes.bool,
13494
+ withValidate: PropTypes.bool.def(true)
13491
13495
  };
13492
13496
  var RadioGroup = defineComponent({
13493
13497
  name: "RadioGroup",
13494
13498
  props: radioGroupProps,
13495
13499
  emits: ["change", "update:modelValue"],
13496
13500
  setup(props2, context) {
13501
+ const formItem = useFormItem();
13497
13502
  const radioInstanceList = [];
13498
13503
  const register = (radioContext) => {
13499
13504
  radioInstanceList.push(radioContext);
@@ -13520,6 +13525,12 @@ var RadioGroup = defineComponent({
13520
13525
  unregister,
13521
13526
  handleChange
13522
13527
  });
13528
+ watch(() => props2.modelValue, () => {
13529
+ var _a;
13530
+ if (props2.withValidate) {
13531
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
13532
+ }
13533
+ });
13523
13534
  onMounted(() => {
13524
13535
  if (props2.modelValue === "") {
13525
13536
  return;
@@ -13607,7 +13618,8 @@ var Component$m = defineComponent({
13607
13618
  props: {
13608
13619
  modelValue: PropTypes.number.def(0),
13609
13620
  size: PropTypes.size(),
13610
- editable: PropTypes.bool.def(true)
13621
+ editable: PropTypes.bool.def(true),
13622
+ withValidate: PropTypes.bool.def(true)
13611
13623
  },
13612
13624
  emits: ["change", "update:modelValue"],
13613
13625
  setup(props2, {
@@ -13616,12 +13628,10 @@ var Component$m = defineComponent({
13616
13628
  const formItem = useFormItem();
13617
13629
  const hoverRate = ref(0);
13618
13630
  const chooseRate = (val) => {
13619
- var _a;
13620
13631
  if (!props2.editable)
13621
13632
  return;
13622
13633
  emit("update:modelValue", val);
13623
13634
  emit("change", val);
13624
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
13625
13635
  };
13626
13636
  const changeHover = (val) => {
13627
13637
  hoverRate.value = val;
@@ -13655,6 +13665,12 @@ var Component$m = defineComponent({
13655
13665
  width: rateSize.width,
13656
13666
  height: rateSize.height
13657
13667
  };
13668
+ watch(() => props2.modelValue, () => {
13669
+ var _a;
13670
+ if (props2.withValidate) {
13671
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
13672
+ }
13673
+ });
13658
13674
  return () => createVNode("p", {
13659
13675
  "class": rateClass
13660
13676
  }, [props2.editable ? createVNode(star, mergeProps({
@@ -14290,6 +14306,7 @@ var Component$j = defineComponent({
14290
14306
  list: PropTypes.array.def([]),
14291
14307
  idKey: PropTypes.string.def("value"),
14292
14308
  displayKey: PropTypes.string.def("label"),
14309
+ withValidate: PropTypes.bool.def(true),
14293
14310
  showSelectedIcon: PropTypes.bool.def(true)
14294
14311
  },
14295
14312
  emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur"],
@@ -14323,7 +14340,11 @@ var Component$j = defineComponent({
14323
14340
  const selected = ref([]);
14324
14341
  const activeOptionValue = ref();
14325
14342
  watch(modelValue, () => {
14343
+ var _a;
14326
14344
  handleSetSelectedData();
14345
+ if (props2.withValidate) {
14346
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
14347
+ }
14327
14348
  }, {
14328
14349
  deep: true
14329
14350
  });
@@ -14418,12 +14439,10 @@ var Component$j = defineComponent({
14418
14439
  searchLoading
14419
14440
  } = useRemoteSearch(isRemoteSearch.value ? remoteMethod.value : defaultSearchMethod, initActiveOptionValue);
14420
14441
  const emitChange = (val) => {
14421
- var _a;
14422
14442
  if (val === modelValue.value)
14423
14443
  return;
14424
14444
  emit("change", val, modelValue.value);
14425
14445
  emit("update:modelValue", val, modelValue.value);
14426
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
14427
14446
  };
14428
14447
  const handleTogglePopover = () => {
14429
14448
  if (isDisabled.value)
@@ -15082,7 +15101,8 @@ var Component$g = defineComponent({
15082
15101
  trueValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).def(true),
15083
15102
  falseValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).def(false),
15084
15103
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).def(false),
15085
- modelValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).def(false)
15104
+ modelValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]).def(false),
15105
+ withValidate: PropTypes.bool.def(true)
15086
15106
  },
15087
15107
  emits: ["update:modelValue", "change"],
15088
15108
  setup(props2, {
@@ -15113,7 +15133,11 @@ var Component$g = defineComponent({
15113
15133
  return cls;
15114
15134
  });
15115
15135
  watch(() => props2.modelValue, () => {
15136
+ var _a;
15116
15137
  isModelValue.value = true;
15138
+ if (props2.withValidate) {
15139
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
15140
+ }
15117
15141
  });
15118
15142
  watch(() => props2.value, () => {
15119
15143
  isModelValue.value = false;
@@ -15127,10 +15151,8 @@ var Component$g = defineComponent({
15127
15151
  const lastValue = isChecked.value ? props2.falseValue : props2.trueValue;
15128
15152
  const lastChecked = !isChecked.value;
15129
15153
  const trigger = () => {
15130
- var _a;
15131
15154
  emit("update:modelValue", lastValue);
15132
15155
  emit("change", lastChecked);
15133
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
15134
15156
  };
15135
15157
  let goodJob = true;
15136
15158
  if (typeof props2.beforeChange === "function") {
@@ -17917,6 +17939,10 @@ const tagProps = () => ({
17917
17939
  pasteFn: {
17918
17940
  type: Function,
17919
17941
  default: null
17942
+ },
17943
+ withValidate: {
17944
+ type: Boolean,
17945
+ default: true
17920
17946
  }
17921
17947
  });
17922
17948
  var TagRender = defineComponent({
@@ -17992,7 +18018,11 @@ var Component$c = defineComponent({
17992
18018
  disabled: props2.disabled
17993
18019
  }));
17994
18020
  watch([() => [...props2.modelValue], () => [...props2.list]], () => {
18021
+ var _a;
17995
18022
  initData();
18023
+ if (props2.withValidate) {
18024
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
18025
+ }
17996
18026
  });
17997
18027
  watch(curInputValue, lodash.exports.debounce(() => {
17998
18028
  const hasShowCount = pageState.curPageList.length !== 0;
@@ -18286,11 +18316,9 @@ var Component$c = defineComponent({
18286
18316
  tagInputRef.value.style.width = `${INPUT_MIN_WIDTH}px`;
18287
18317
  };
18288
18318
  const handleChange = (type, data2) => {
18289
- var _a;
18290
18319
  emit("change", tagList.value);
18291
18320
  emit(type, data2);
18292
18321
  emit("update:modelValue", tagList.value);
18293
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
18294
18322
  };
18295
18323
  const handleClear = (e) => {
18296
18324
  e.stopPropagation();
@@ -23453,7 +23481,11 @@ const datePickerProps = {
23453
23481
  return ["simplicity", "normal"].indexOf(v2) > -1;
23454
23482
  }
23455
23483
  },
23456
- disableDate: Function
23484
+ disableDate: Function,
23485
+ withValidate: {
23486
+ type: Boolean,
23487
+ default: true
23488
+ }
23457
23489
  };
23458
23490
  var Component$9 = defineComponent({
23459
23491
  name: "DatePicker",
@@ -23585,7 +23617,11 @@ var Component$9 = defineComponent({
23585
23617
  });
23586
23618
  const pickerDropdownRef = ref(null);
23587
23619
  watch(() => props2.modelValue, (modelValue) => {
23620
+ var _a;
23588
23621
  state.internalValue = parseDate(modelValue, props2.type, props2.multiple, props2.format);
23622
+ if (props2.withValidate) {
23623
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
23624
+ }
23589
23625
  });
23590
23626
  watch(() => props2.open, (open) => {
23591
23627
  state.visible = open === true;
@@ -23659,17 +23695,15 @@ var Component$9 = defineComponent({
23659
23695
  }
23660
23696
  };
23661
23697
  const handleInputMouseleave = (_e) => {
23662
- console.log("handleInputMouseleave");
23663
23698
  state.showClose = false;
23664
23699
  };
23665
23700
  const emitChange = (type) => {
23666
23701
  nextTick(() => {
23667
- var _a, _b;
23702
+ var _a;
23668
23703
  emit("change", publicStringValue.value, type);
23669
23704
  emit("update:modelValue", publicVModelValue.value);
23670
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
23671
23705
  if (props2.type.indexOf("time") < 0) {
23672
- (_b = inputRef == null ? void 0 : inputRef.value) == null ? void 0 : _b.blur();
23706
+ (_a = inputRef == null ? void 0 : inputRef.value) == null ? void 0 : _a.blur();
23673
23707
  }
23674
23708
  });
23675
23709
  };
@@ -25580,30 +25614,12 @@ var Form = defineComponent({
25580
25614
  }
25581
25615
  });
25582
25616
  var defaultValidator = {
25583
- required: (value) => {
25584
- console.log("required", value, value !== "" && value !== void 0 && value !== null);
25585
- return value !== "" && value !== void 0 && value !== null;
25586
- },
25587
- min: (value, min2) => {
25588
- console.log("min");
25589
- return value >= min2;
25590
- },
25591
- max: (value, max2) => {
25592
- console.log("max");
25593
- return max2 >= value;
25594
- },
25595
- email: (value) => {
25596
- console.log("email");
25597
- return /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/.test(value);
25598
- },
25599
- maxlength: (value, maxlength) => {
25600
- console.log("maxlength");
25601
- return value.length <= maxlength;
25602
- },
25603
- pattern: (value, pattern) => {
25604
- console.log("pattern");
25605
- return pattern.test(value);
25606
- }
25617
+ required: (value) => value !== "" && value !== void 0 && value !== null,
25618
+ min: (value, min2) => value >= min2,
25619
+ max: (value, max2) => max2 >= value,
25620
+ email: (value) => /^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/.test(value),
25621
+ maxlength: (value, maxlength) => value.length <= maxlength,
25622
+ pattern: (value, pattern) => pattern.test(value)
25607
25623
  };
25608
25624
  const formItemProps = {
25609
25625
  label: PropTypes.string,
@@ -27505,18 +27521,14 @@ var Component$2 = defineComponent({
27505
27521
  }, {
27506
27522
  content: "\u6B65\u9AA45"
27507
27523
  }]);
27508
- console.log("props.list", props2.list);
27509
27524
  if ((_a = props2.list) == null ? void 0 : _a.length) {
27510
27525
  defaultProcessList.value.splice(0, defaultProcessList.value.length, ...props2.list);
27511
27526
  }
27512
27527
  };
27513
27528
  const jumpTo = async (index) => {
27514
- console.log(index);
27515
27529
  try {
27516
27530
  if (props2.controllable && index !== props2.curProcess) {
27517
- console.log(props2.curProcess);
27518
27531
  emit("update:curProcess", index);
27519
- console.log(props2.curProcess);
27520
27532
  emit("click", index);
27521
27533
  }
27522
27534
  } catch (e) {
@@ -33386,7 +33398,8 @@ const colorPickerProps = {
33386
33398
  size: PropTypes.size(["", "small", "large"]).def(""),
33387
33399
  showValue: PropTypes.bool.def(true),
33388
33400
  recommend: PropTypes.oneOfType([PropTypes.array.def(() => []), PropTypes.bool.def(true)]).def(true),
33389
- extCls: PropTypes.string.def("")
33401
+ extCls: PropTypes.string.def(""),
33402
+ withValidate: PropTypes.bool.def(true)
33390
33403
  };
33391
33404
  const whiteColorObj = formatColor("#FFFFFF");
33392
33405
  var Component = defineComponent({
@@ -33399,6 +33412,7 @@ var Component = defineComponent({
33399
33412
  setup(props2, {
33400
33413
  emit
33401
33414
  }) {
33415
+ const formItem = useFormItem();
33402
33416
  const showDropdown = ref(false);
33403
33417
  const colorStr = ref("");
33404
33418
  const colorObj = reactive(JSON.parse(JSON.stringify(whiteColorObj)));
@@ -33418,7 +33432,11 @@ var Component = defineComponent({
33418
33432
  });
33419
33433
  });
33420
33434
  watch(() => props2.modelValue, () => {
33435
+ var _a;
33421
33436
  changeColorFromProps();
33437
+ if (props2.withValidate) {
33438
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
33439
+ }
33422
33440
  });
33423
33441
  const handleTriggerKeydown = (e) => {
33424
33442
  if (e.code === "Enter" || e.code === "NumpadEnter") {