vxe-pc-ui 4.17.1 → 4.17.2

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 (57) hide show
  1. package/dist/all.esm.js +265 -144
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/input/src/input.js +73 -49
  6. package/es/number-input/src/number-input.js +28 -24
  7. package/es/password-input/src/password-input.js +128 -61
  8. package/es/password-input/style.css +5 -0
  9. package/es/password-input/style.min.css +1 -1
  10. package/es/style.css +1 -1
  11. package/es/style.min.css +1 -1
  12. package/es/textarea/src/textarea.js +37 -11
  13. package/es/ui/index.js +1 -1
  14. package/es/ui/src/log.js +1 -1
  15. package/es/vxe-password-input/style.css +5 -0
  16. package/es/vxe-password-input/style.min.css +1 -1
  17. package/lib/icon/style/style.css +1 -1
  18. package/lib/icon/style/style.min.css +1 -1
  19. package/lib/index.umd.js +287 -164
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/input/src/input.js +77 -52
  22. package/lib/input/src/input.min.js +1 -1
  23. package/lib/number-input/src/number-input.js +31 -26
  24. package/lib/number-input/src/number-input.min.js +1 -1
  25. package/lib/password-input/src/password-input.js +134 -70
  26. package/lib/password-input/src/password-input.min.js +1 -1
  27. package/lib/password-input/style/style.css +5 -0
  28. package/lib/password-input/style/style.min.css +1 -1
  29. package/lib/style.css +1 -1
  30. package/lib/style.min.css +1 -1
  31. package/lib/textarea/src/textarea.js +40 -12
  32. package/lib/textarea/src/textarea.min.js +1 -1
  33. package/lib/ui/index.js +1 -1
  34. package/lib/ui/index.min.js +1 -1
  35. package/lib/ui/src/log.js +1 -1
  36. package/lib/ui/src/log.min.js +1 -1
  37. package/lib/vxe-password-input/style/style.css +5 -0
  38. package/lib/vxe-password-input/style/style.min.css +1 -1
  39. package/package.json +1 -1
  40. package/packages/input/src/input.ts +79 -54
  41. package/packages/number-input/src/number-input.ts +29 -26
  42. package/packages/password-input/src/password-input.ts +140 -68
  43. package/packages/textarea/src/textarea.ts +43 -15
  44. package/styles/components/password-input.scss +4 -0
  45. package/types/components/password-input.d.ts +2 -0
  46. /package/es/icon/{iconfont.1786796113388.ttf → iconfont.1786868252000.ttf} +0 -0
  47. /package/es/icon/{iconfont.1786796113388.woff → iconfont.1786868252000.woff} +0 -0
  48. /package/es/icon/{iconfont.1786796113388.woff2 → iconfont.1786868252000.woff2} +0 -0
  49. /package/es/{iconfont.1786796113388.ttf → iconfont.1786868252000.ttf} +0 -0
  50. /package/es/{iconfont.1786796113388.woff → iconfont.1786868252000.woff} +0 -0
  51. /package/es/{iconfont.1786796113388.woff2 → iconfont.1786868252000.woff2} +0 -0
  52. /package/lib/icon/style/{iconfont.1786796113388.ttf → iconfont.1786868252000.ttf} +0 -0
  53. /package/lib/icon/style/{iconfont.1786796113388.woff → iconfont.1786868252000.woff} +0 -0
  54. /package/lib/icon/style/{iconfont.1786796113388.woff2 → iconfont.1786868252000.woff2} +0 -0
  55. /package/lib/{iconfont.1786796113388.ttf → iconfont.1786868252000.ttf} +0 -0
  56. /package/lib/{iconfont.1786796113388.woff → iconfont.1786868252000.woff} +0 -0
  57. /package/lib/{iconfont.1786796113388.woff2 → iconfont.1786868252000.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -3346,7 +3346,7 @@ if (typeof window !== 'undefined') {
3346
3346
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
3347
3347
  var es_array_push = __webpack_require__(4114);
3348
3348
  ;// ./node_modules/@vxe-ui/core/es/src/core.js
3349
- const coreVersion = "4.4.18";
3349
+ const coreVersion = "4.4.20";
3350
3350
  const VxeCore = {
3351
3351
  coreVersion,
3352
3352
  uiVersion: '',
@@ -3633,6 +3633,7 @@ const GLOBAL_EVENT_KEYS = {
3633
3633
  PAGE_DOWN: 'PageDown',
3634
3634
  HOME: 'Home',
3635
3635
  END: 'End',
3636
+ PROCESS: 'Process',
3636
3637
  A: 'A',
3637
3638
  X: 'X',
3638
3639
  C: 'C',
@@ -3973,7 +3974,7 @@ function createLog(type, name) {
3973
3974
  return msg;
3974
3975
  };
3975
3976
  }
3976
- const version = "4.4.18";
3977
+ const version = "4.4.20";
3977
3978
  const log = {
3978
3979
  create: createLog,
3979
3980
  warn: createLog('warn', `v${version}`),
@@ -4657,7 +4658,7 @@ function checkDynamic() {
4657
4658
  const {
4658
4659
  log: log_log
4659
4660
  } = VxeUI;
4660
- const uiVersion = `ui v${"4.17.1"}`;
4661
+ const uiVersion = `ui v${"4.17.2"}`;
4661
4662
  function createComponentLog(name) {
4662
4663
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
4663
4664
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -4675,7 +4676,7 @@ const errLog = log_log.create('error', uiVersion);
4675
4676
 
4676
4677
 
4677
4678
 
4678
- const ui_version = "4.17.1";
4679
+ const ui_version = "4.17.2";
4679
4680
  VxeUI.uiVersion = ui_version;
4680
4681
  VxeUI.dynamicApp = dynamicApp;
4681
4682
  function config(options) {
@@ -14810,7 +14811,6 @@ const {
14810
14811
  internalData,
14811
14812
  getRefMaps: () => refMaps
14812
14813
  };
14813
- let inputMethods = {};
14814
14814
  const parseDate = (value, format) => {
14815
14815
  const {
14816
14816
  type
@@ -15329,10 +15329,10 @@ const {
15329
15329
  const {
15330
15330
  type,
15331
15331
  editable,
15332
- multiple,
15333
- readonly
15332
+ multiple
15334
15333
  } = props;
15335
- return readonly || multiple || !editable || type === 'week' || type === 'quarter';
15334
+ const formReadonly = computeFormReadonly.value;
15335
+ return formReadonly || multiple || !editable || type === 'week' || type === 'quarter';
15336
15336
  });
15337
15337
  const computeInputType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
15338
15338
  const {
@@ -15415,6 +15415,12 @@ const {
15415
15415
  }
15416
15416
  return false;
15417
15417
  });
15418
+ const computeDomValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
15419
+ const {
15420
+ inputValue
15421
+ } = reactData;
15422
+ return inputValue;
15423
+ });
15418
15424
  const getNumberValue = val => {
15419
15425
  const {
15420
15426
  type,
@@ -15428,6 +15434,18 @@ const {
15428
15434
  }
15429
15435
  return restVal.slice(0, inpMaxLength);
15430
15436
  };
15437
+ const dispatchEvent = (type, params, evnt) => {
15438
+ emit(type, createEvent(evnt, {
15439
+ $input: $xeInput
15440
+ }, params));
15441
+ };
15442
+ const updateDomValue = () => {
15443
+ const domValue = computeDomValue.value;
15444
+ const inputElem = refInputTarget.value;
15445
+ if (inputElem) {
15446
+ inputElem.value = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(domValue) ? '' : '' + domValue;
15447
+ }
15448
+ };
15431
15449
  const emitModel = value => {
15432
15450
  emit('update:modelValue', value);
15433
15451
  };
@@ -15435,7 +15453,7 @@ const {
15435
15453
  const {
15436
15454
  inputValue
15437
15455
  } = reactData;
15438
- inputMethods.dispatchEvent(evnt.type, {
15456
+ dispatchEvent(evnt.type, {
15439
15457
  value: inputValue
15440
15458
  }, evnt);
15441
15459
  };
@@ -15445,11 +15463,11 @@ const {
15445
15463
  }
15446
15464
  reactData.inputValue = value;
15447
15465
  emitModel(value);
15448
- inputMethods.dispatchEvent('input', {
15466
+ dispatchEvent('input', {
15449
15467
  value
15450
15468
  }, evnt);
15451
15469
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(props.modelValue) !== value) {
15452
- inputMethods.dispatchEvent('change', {
15470
+ dispatchEvent('change', {
15453
15471
  value
15454
15472
  }, evnt);
15455
15473
  if (!$xeSelect && !$xeTreeSelect) {
@@ -15468,7 +15486,7 @@ const {
15468
15486
  if (inpImmediate) {
15469
15487
  handleChange(value, evnt);
15470
15488
  } else {
15471
- inputMethods.dispatchEvent('input', {
15489
+ dispatchEvent('input', {
15472
15490
  value
15473
15491
  }, evnt);
15474
15492
  if (!$xeSelect && !$xeTreeSelect) {
@@ -15490,7 +15508,7 @@ const {
15490
15508
  if (!inpImmediate) {
15491
15509
  triggerEvent(evnt);
15492
15510
  }
15493
- $xeInput.dispatchEvent('lazy-change', {
15511
+ dispatchEvent('lazy-change', {
15494
15512
  value: reactData.inputValue
15495
15513
  }, evnt);
15496
15514
  };
@@ -15507,7 +15525,7 @@ const {
15507
15525
  if (!reactData.visiblePanel) {
15508
15526
  reactData.isActivated = false;
15509
15527
  }
15510
- inputMethods.dispatchEvent('blur', {
15528
+ dispatchEvent('blur', {
15511
15529
  value
15512
15530
  }, evnt);
15513
15531
  if (!$xeSelect && !$xeTreeSelect) {
@@ -15537,7 +15555,7 @@ const {
15537
15555
  const {
15538
15556
  inputValue
15539
15557
  } = reactData;
15540
- $xeInput.dispatchEvent('prefix-click', {
15558
+ dispatchEvent('prefix-click', {
15541
15559
  value: inputValue
15542
15560
  }, evnt);
15543
15561
  }
@@ -15567,10 +15585,10 @@ const {
15567
15585
  }
15568
15586
  }
15569
15587
  handleChange('', evnt);
15570
- $xeInput.dispatchEvent('clear', {
15588
+ dispatchEvent('clear', {
15571
15589
  value
15572
15590
  }, evnt);
15573
- $xeInput.dispatchEvent('lazy-change', {
15591
+ dispatchEvent('lazy-change', {
15574
15592
  value
15575
15593
  }, evnt);
15576
15594
  };
@@ -15580,7 +15598,7 @@ const {
15580
15598
  const {
15581
15599
  inputValue
15582
15600
  } = reactData;
15583
- $xeInput.dispatchEvent('suffix-click', {
15601
+ dispatchEvent('suffix-click', {
15584
15602
  value: inputValue
15585
15603
  }, evnt);
15586
15604
  }
@@ -15848,14 +15866,14 @@ const {
15848
15866
  if (!isDisabled && !inputReadonly) {
15849
15867
  reactData.showPwd = !showPwd;
15850
15868
  }
15851
- inputMethods.dispatchEvent('toggle-visible', {
15869
+ dispatchEvent('toggle-visible', {
15852
15870
  visible: reactData.showPwd
15853
15871
  }, evnt);
15854
15872
  };
15855
15873
  // 密码
15856
15874
  // 搜索
15857
15875
  const searchEvent = evnt => {
15858
- inputMethods.dispatchEvent('search-click', {}, evnt);
15876
+ dispatchEvent('search-click', {}, evnt);
15859
15877
  };
15860
15878
  // 搜索
15861
15879
  // 数值
@@ -15889,7 +15907,7 @@ const {
15889
15907
  if (!isDisabled && !inputReadonly && !isDisabledSubtractNumber) {
15890
15908
  numberChange(false, evnt);
15891
15909
  }
15892
- inputMethods.dispatchEvent('next-number', {
15910
+ dispatchEvent('next-number', {
15893
15911
  value: reactData.inputValue
15894
15912
  }, evnt);
15895
15913
  };
@@ -15907,7 +15925,7 @@ const {
15907
15925
  if (!isDisabled && !inputReadonly && !isDisabledAddNumber) {
15908
15926
  numberChange(true, evnt);
15909
15927
  }
15910
- inputMethods.dispatchEvent('prev-number', {
15928
+ dispatchEvent('prev-number', {
15911
15929
  value: reactData.inputValue
15912
15930
  }, evnt);
15913
15931
  };
@@ -16066,7 +16084,7 @@ const {
16066
16084
  }
16067
16085
  }
16068
16086
  reactData.selectMonth = viewDate;
16069
- inputMethods.dispatchEvent('date-prev', {
16087
+ dispatchEvent('date-prev', {
16070
16088
  viewType: datePanelType,
16071
16089
  viewDate,
16072
16090
  value,
@@ -16080,7 +16098,7 @@ const {
16080
16098
  dateChange(reactData.currentDate);
16081
16099
  hidePanel();
16082
16100
  }
16083
- inputMethods.dispatchEvent('date-today', {
16101
+ dispatchEvent('date-today', {
16084
16102
  type: props.type
16085
16103
  }, evnt);
16086
16104
  };
@@ -16118,7 +16136,7 @@ const {
16118
16136
  }
16119
16137
  }
16120
16138
  reactData.selectMonth = viewDate;
16121
- inputMethods.dispatchEvent('date-next', {
16139
+ dispatchEvent('date-next', {
16122
16140
  viewType: datePanelType,
16123
16141
  viewDate,
16124
16142
  value,
@@ -16699,6 +16717,31 @@ const {
16699
16717
  }
16700
16718
  }
16701
16719
  };
16720
+ const inputMethods = {
16721
+ dispatchEvent,
16722
+ focus() {
16723
+ const inputElem = refInputTarget.value;
16724
+ reactData.isActivated = true;
16725
+ inputElem.focus();
16726
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
16727
+ },
16728
+ blur() {
16729
+ const inputElem = refInputTarget.value;
16730
+ inputElem.blur();
16731
+ reactData.isActivated = false;
16732
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
16733
+ },
16734
+ select() {
16735
+ const inputElem = refInputTarget.value;
16736
+ inputElem.select();
16737
+ reactData.isActivated = false;
16738
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
16739
+ },
16740
+ showPanel,
16741
+ hidePanel,
16742
+ updatePlacement
16743
+ };
16744
+ Object.assign($xeInput, inputMethods);
16702
16745
  const renderDateLabel = (item, label) => {
16703
16746
  const {
16704
16747
  festivalMethod
@@ -17243,36 +17286,6 @@ const {
17243
17286
  }
17244
17287
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
17245
17288
  };
17246
- const dispatchEvent = (type, params, evnt) => {
17247
- emit(type, createEvent(evnt, {
17248
- $input: $xeInput
17249
- }, params));
17250
- };
17251
- inputMethods = {
17252
- dispatchEvent,
17253
- focus() {
17254
- const inputElem = refInputTarget.value;
17255
- reactData.isActivated = true;
17256
- inputElem.focus();
17257
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
17258
- },
17259
- blur() {
17260
- const inputElem = refInputTarget.value;
17261
- inputElem.blur();
17262
- reactData.isActivated = false;
17263
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
17264
- },
17265
- select() {
17266
- const inputElem = refInputTarget.value;
17267
- inputElem.select();
17268
- reactData.isActivated = false;
17269
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
17270
- },
17271
- showPanel,
17272
- hidePanel,
17273
- updatePlacement
17274
- };
17275
- Object.assign($xeInput, inputMethods);
17276
17289
  const renderVN = () => {
17277
17290
  const {
17278
17291
  className,
@@ -17332,7 +17345,6 @@ const {
17332
17345
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('input', {
17333
17346
  ref: refInputTarget,
17334
17347
  class: 'vxe-input--inner' + (inputClassName ? ' ' + inputClassName : ''),
17335
- value: inputValue,
17336
17348
  name,
17337
17349
  type: inputType,
17338
17350
  placeholder: inpPlaceholder,
@@ -17383,6 +17395,19 @@ const {
17383
17395
  reactData.inputValue = props.multiple ? computeDateMultipleLabel.value : reactData.datePanelLabel;
17384
17396
  }
17385
17397
  });
17398
+ const rDvFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
17399
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeFormReadonly, () => {
17400
+ rDvFlag.value++;
17401
+ });
17402
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeDomValue, () => {
17403
+ rDvFlag.value++;
17404
+ });
17405
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(rDvFlag, () => {
17406
+ updateDomValue();
17407
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
17408
+ updateDomValue();
17409
+ });
17410
+ });
17386
17411
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
17387
17412
  const {
17388
17413
  type
@@ -17404,6 +17429,7 @@ const {
17404
17429
  globalEvents.on($xeInput, 'mousedown', handleGlobalMousedownEvent);
17405
17430
  globalEvents.on($xeInput, 'keydown', handleGlobalKeydownEvent);
17406
17431
  globalEvents.on($xeInput, 'blur', handleGlobalBlurEvent);
17432
+ updateDomValue();
17407
17433
  });
17408
17434
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
17409
17435
  numberStopDown();
@@ -21614,6 +21640,12 @@ function hexToRgb(str) {
21614
21640
  }
21615
21641
  return false;
21616
21642
  });
21643
+ const computeInpClassNamevalue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21644
+ const {
21645
+ inputClassName
21646
+ } = props;
21647
+ return 'vxe-number-input--input' + (inputClassName ? ' ' + inputClassName : '');
21648
+ });
21617
21649
  const refMaps = {
21618
21650
  refElem,
21619
21651
  refInput: refInputTarget
@@ -21630,7 +21662,11 @@ function hexToRgb(str) {
21630
21662
  getRefMaps: () => refMaps,
21631
21663
  getComputeMaps: () => computeMaps
21632
21664
  };
21633
- let numberInputMethods = {};
21665
+ const dispatchEvent = (type, params, evnt) => {
21666
+ emit(type, createEvent(evnt, {
21667
+ $numberInput: $xeNumberInput
21668
+ }, params));
21669
+ };
21634
21670
  const handleNumberString = val => {
21635
21671
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(val)) {
21636
21672
  return '';
@@ -21665,7 +21701,7 @@ function hexToRgb(str) {
21665
21701
  const {
21666
21702
  inputValue
21667
21703
  } = reactData;
21668
- numberInputMethods.dispatchEvent(evnt.type, {
21704
+ dispatchEvent(evnt.type, {
21669
21705
  value: inputValue
21670
21706
  }, evnt);
21671
21707
  };
@@ -21681,11 +21717,11 @@ function hexToRgb(str) {
21681
21717
  reactData.inputValue = inputValue || '';
21682
21718
  });
21683
21719
  }
21684
- numberInputMethods.dispatchEvent('input', {
21720
+ dispatchEvent('input', {
21685
21721
  value
21686
21722
  }, evnt);
21687
21723
  if (isChange) {
21688
- numberInputMethods.dispatchEvent('change', {
21724
+ dispatchEvent('change', {
21689
21725
  value
21690
21726
  }, evnt);
21691
21727
  // 自动更新校验状态
@@ -21701,7 +21737,7 @@ function hexToRgb(str) {
21701
21737
  if (inpImmediate) {
21702
21738
  handleChange(value, inputValue, evnt);
21703
21739
  } else {
21704
- numberInputMethods.dispatchEvent('input', {
21740
+ dispatchEvent('input', {
21705
21741
  value
21706
21742
  }, evnt);
21707
21743
  // 自动更新校验状态
@@ -21720,7 +21756,7 @@ function hexToRgb(str) {
21720
21756
  if (!inpImmediate) {
21721
21757
  triggerEvent(evnt);
21722
21758
  }
21723
- $xeNumberInput.dispatchEvent('lazy-change', {
21759
+ dispatchEvent('lazy-change', {
21724
21760
  value: reactData.inputValue
21725
21761
  }, evnt);
21726
21762
  };
@@ -21742,7 +21778,7 @@ function hexToRgb(str) {
21742
21778
  const {
21743
21779
  inputValue
21744
21780
  } = reactData;
21745
- numberInputMethods.dispatchEvent('prefix-click', {
21781
+ dispatchEvent('prefix-click', {
21746
21782
  value: inputValue
21747
21783
  }, evnt);
21748
21784
  }
@@ -21750,10 +21786,10 @@ function hexToRgb(str) {
21750
21786
  const clearValueEvent = (evnt, value) => {
21751
21787
  focus();
21752
21788
  handleChange(null, '', evnt);
21753
- numberInputMethods.dispatchEvent('clear', {
21789
+ dispatchEvent('clear', {
21754
21790
  value
21755
21791
  }, evnt);
21756
- $xeNumberInput.dispatchEvent('lazy-change', {
21792
+ dispatchEvent('lazy-change', {
21757
21793
  value
21758
21794
  }, evnt);
21759
21795
  };
@@ -21763,7 +21799,7 @@ function hexToRgb(str) {
21763
21799
  const {
21764
21800
  inputValue
21765
21801
  } = reactData;
21766
- numberInputMethods.dispatchEvent('suffix-click', {
21802
+ dispatchEvent('suffix-click', {
21767
21803
  value: inputValue
21768
21804
  }, evnt);
21769
21805
  }
@@ -21891,7 +21927,7 @@ function hexToRgb(str) {
21891
21927
  afterCheckValue();
21892
21928
  reactData.isFocus = false;
21893
21929
  reactData.isActivated = false;
21894
- numberInputMethods.dispatchEvent('blur', {
21930
+ dispatchEvent('blur', {
21895
21931
  value
21896
21932
  }, evnt);
21897
21933
  // 自动更新校验状态
@@ -21930,14 +21966,14 @@ function hexToRgb(str) {
21930
21966
  numberChange(true, evnt);
21931
21967
  }
21932
21968
  reactData.isActivated = true;
21933
- numberInputMethods.dispatchEvent('plus-number', {
21969
+ dispatchEvent('plus-number', {
21934
21970
  value: reactData.inputValue
21935
21971
  }, evnt);
21936
- $xeNumberInput.dispatchEvent('lazy-change', {
21972
+ dispatchEvent('lazy-change', {
21937
21973
  value: reactData.inputValue
21938
21974
  }, evnt);
21939
21975
  // 已废弃
21940
- numberInputMethods.dispatchEvent('next-number', {
21976
+ dispatchEvent('next-number', {
21941
21977
  value: reactData.inputValue
21942
21978
  }, evnt);
21943
21979
  };
@@ -21949,14 +21985,14 @@ function hexToRgb(str) {
21949
21985
  numberChange(false, evnt);
21950
21986
  }
21951
21987
  reactData.isActivated = true;
21952
- numberInputMethods.dispatchEvent('minus-number', {
21988
+ dispatchEvent('minus-number', {
21953
21989
  value: reactData.inputValue
21954
21990
  }, evnt);
21955
- $xeNumberInput.dispatchEvent('lazy-change', {
21991
+ dispatchEvent('lazy-change', {
21956
21992
  value: reactData.inputValue
21957
21993
  }, evnt);
21958
21994
  // 已废弃
21959
- numberInputMethods.dispatchEvent('prev-number', {
21995
+ dispatchEvent('prev-number', {
21960
21996
  value: reactData.inputValue
21961
21997
  }, evnt);
21962
21998
  };
@@ -22160,12 +22196,7 @@ function hexToRgb(str) {
22160
22196
  afterCheckValue();
22161
22197
  }
22162
22198
  };
22163
- const dispatchEvent = (type, params, evnt) => {
22164
- emit(type, createEvent(evnt, {
22165
- $numberInput: $xeNumberInput
22166
- }, params));
22167
- };
22168
- numberInputMethods = {
22199
+ const numberInputMethods = {
22169
22200
  dispatchEvent,
22170
22201
  focus() {
22171
22202
  const inputReadonly = computeInputReadonly.value;
@@ -22242,7 +22273,6 @@ function hexToRgb(str) {
22242
22273
  };
22243
22274
  const renderInput = () => {
22244
22275
  const {
22245
- inputClassName,
22246
22276
  type,
22247
22277
  name,
22248
22278
  autocomplete,
@@ -22257,6 +22287,7 @@ function hexToRgb(str) {
22257
22287
  const inputReadonly = computeInputReadonly.value;
22258
22288
  const inpMaxLength = computeInpMaxLength.value;
22259
22289
  const inpPlaceholder = computeInpPlaceholder.value;
22290
+ const inpClassName = computeInpClassNamevalue.value;
22260
22291
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
22261
22292
  key: 'ni',
22262
22293
  class: 'vxe-number-input--input-wrapper'
@@ -22264,10 +22295,10 @@ function hexToRgb(str) {
22264
22295
  class: 'vxe-number-input--input-inner'
22265
22296
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('input', {
22266
22297
  ref: refInputTarget,
22267
- class: 'vxe-number-input--input' + (inputClassName ? ' ' + inputClassName : ''),
22268
- value: !isFocus && type === 'amount' ? numLabel : inputValue,
22298
+ class: inpClassName,
22269
22299
  name,
22270
22300
  type: 'text',
22301
+ value: !isFocus && type === 'amount' ? numLabel : inputValue,
22271
22302
  placeholder: inpPlaceholder,
22272
22303
  maxlength: inpMaxLength,
22273
22304
  readonly: inputReadonly,
@@ -42196,6 +42227,10 @@ const Pager = VxePager;
42196
42227
  type: Boolean,
42197
42228
  default: () => getConfig().passwordInput.controls
42198
42229
  },
42230
+ editable: {
42231
+ type: Boolean,
42232
+ default: true
42233
+ },
42199
42234
  // 已废弃
42200
42235
  autocomplete: String
42201
42236
  },
@@ -42229,16 +42264,9 @@ const Pager = VxePager;
42229
42264
  reactData,
42230
42265
  getRefMaps: () => refMaps
42231
42266
  };
42232
- let passwordInputMethods = {};
42233
42267
  const computeIsClearable = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42234
42268
  return props.clearable;
42235
42269
  });
42236
- const computeInpReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42237
- const {
42238
- readonly
42239
- } = props;
42240
- return readonly;
42241
- });
42242
42270
  const computeInpPlaceholder = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42243
42271
  const {
42244
42272
  placeholder
@@ -42252,6 +42280,36 @@ const Pager = VxePager;
42252
42280
  }
42253
42281
  return getI18n('vxe.base.pleaseInput');
42254
42282
  });
42283
+ const computeFormReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42284
+ if (getConfig().inputReadonly === 'obsolete') {
42285
+ if ($xeForm) {
42286
+ return $xeForm.props.readonly;
42287
+ }
42288
+ return false;
42289
+ }
42290
+ const {
42291
+ readonly
42292
+ } = props;
42293
+ if (readonly === null) {
42294
+ if ($xeForm) {
42295
+ return $xeForm.props.readonly;
42296
+ }
42297
+ return false;
42298
+ }
42299
+ return readonly;
42300
+ });
42301
+ const computeIsDisabled = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42302
+ const {
42303
+ disabled
42304
+ } = props;
42305
+ if (disabled === null) {
42306
+ if ($xeForm) {
42307
+ return $xeForm.props.disabled;
42308
+ }
42309
+ return false;
42310
+ }
42311
+ return disabled;
42312
+ });
42255
42313
  const computeInputType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42256
42314
  const {
42257
42315
  showPwd
@@ -42267,11 +42325,36 @@ const Pager = VxePager;
42267
42325
  } = props;
42268
42326
  return immediate;
42269
42327
  });
42328
+ const computeInputReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42329
+ const {
42330
+ editable
42331
+ } = props;
42332
+ const formReadonly = computeFormReadonly.value;
42333
+ return formReadonly || !editable;
42334
+ });
42335
+ const computeDomValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
42336
+ const {
42337
+ inputValue
42338
+ } = reactData;
42339
+ return inputValue;
42340
+ });
42341
+ const dispatchEvent = (type, params, evnt) => {
42342
+ emit(type, createEvent(evnt, {
42343
+ $passwordInput: $xePasswordInput
42344
+ }, params));
42345
+ };
42346
+ const updateDomValue = () => {
42347
+ const domValue = computeDomValue.value;
42348
+ const inputElem = refInputTarget.value;
42349
+ if (inputElem) {
42350
+ inputElem.value = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(domValue) ? '' : '' + domValue;
42351
+ }
42352
+ };
42270
42353
  const triggerEvent = evnt => {
42271
42354
  const {
42272
42355
  inputValue
42273
42356
  } = reactData;
42274
- passwordInputMethods.dispatchEvent(evnt.type, {
42357
+ dispatchEvent(evnt.type, {
42275
42358
  value: inputValue
42276
42359
  }, evnt);
42277
42360
  };
@@ -42281,7 +42364,7 @@ const Pager = VxePager;
42281
42364
  if (inpImmediate) {
42282
42365
  handleChange(value, evnt);
42283
42366
  } else {
42284
- passwordInputMethods.dispatchEvent('input', {
42367
+ dispatchEvent('input', {
42285
42368
  value
42286
42369
  }, evnt);
42287
42370
  }
@@ -42294,11 +42377,11 @@ const Pager = VxePager;
42294
42377
  const handleChange = (value, evnt) => {
42295
42378
  reactData.inputValue = value;
42296
42379
  emit('update:modelValue', value);
42297
- passwordInputMethods.dispatchEvent('input', {
42380
+ dispatchEvent('input', {
42298
42381
  value
42299
42382
  }, evnt);
42300
42383
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(props.modelValue) !== value) {
42301
- passwordInputMethods.dispatchEvent('change', {
42384
+ dispatchEvent('change', {
42302
42385
  value
42303
42386
  }, evnt);
42304
42387
  // 自动更新校验状态
@@ -42309,7 +42392,7 @@ const Pager = VxePager;
42309
42392
  };
42310
42393
  const changeEvent = evnt => {
42311
42394
  triggerEvent(evnt);
42312
- $xePasswordInput.dispatchEvent('lazy-change', {
42395
+ dispatchEvent('lazy-change', {
42313
42396
  value: reactData.inputValue
42314
42397
  }, evnt);
42315
42398
  // 自动更新校验状态
@@ -42327,7 +42410,7 @@ const Pager = VxePager;
42327
42410
  } = reactData;
42328
42411
  const value = inputValue;
42329
42412
  reactData.isActivated = false;
42330
- $xePasswordInput.dispatchEvent('blur', {
42413
+ dispatchEvent('blur', {
42331
42414
  value
42332
42415
  }, evnt);
42333
42416
  // 自动更新校验状态
@@ -42336,17 +42419,15 @@ const Pager = VxePager;
42336
42419
  }
42337
42420
  };
42338
42421
  const passwordToggleEvent = evnt => {
42339
- const {
42340
- readonly,
42341
- disabled
42342
- } = props;
42343
42422
  const {
42344
42423
  showPwd
42345
42424
  } = reactData;
42346
- if (!disabled && !readonly) {
42425
+ const isDisabled = computeIsDisabled.value;
42426
+ const formReadonly = computeFormReadonly.value;
42427
+ if (!isDisabled && !formReadonly) {
42347
42428
  reactData.showPwd = !showPwd;
42348
42429
  }
42349
- $xePasswordInput.dispatchEvent('toggle-visible', {
42430
+ dispatchEvent('toggle-visible', {
42350
42431
  visible: reactData.showPwd
42351
42432
  }, evnt);
42352
42433
  };
@@ -42356,39 +42437,57 @@ const Pager = VxePager;
42356
42437
  const clearValueEvent = (evnt, value) => {
42357
42438
  focus();
42358
42439
  handleChange('', evnt);
42359
- $xePasswordInput.dispatchEvent('clear', {
42440
+ dispatchEvent('clear', {
42360
42441
  value
42361
42442
  }, evnt);
42362
- $xePasswordInput.dispatchEvent('lazy-change', {
42443
+ dispatchEvent('lazy-change', {
42363
42444
  value: reactData.inputValue
42364
42445
  }, evnt);
42365
42446
  };
42366
42447
  const clickSuffixEvent = evnt => {
42367
- const {
42368
- disabled
42369
- } = props;
42370
- if (!disabled) {
42448
+ const isDisabled = computeIsDisabled.value;
42449
+ if (!isDisabled) {
42371
42450
  const {
42372
42451
  inputValue
42373
42452
  } = reactData;
42374
- $xePasswordInput.dispatchEvent('suffix-click', {
42453
+ dispatchEvent('suffix-click', {
42375
42454
  value: inputValue
42376
42455
  }, evnt);
42377
42456
  }
42378
42457
  };
42379
42458
  const clickPrefixEvent = evnt => {
42380
- const {
42381
- disabled
42382
- } = props;
42383
- if (!disabled) {
42459
+ const isDisabled = computeIsDisabled.value;
42460
+ if (!isDisabled) {
42384
42461
  const {
42385
42462
  inputValue
42386
42463
  } = reactData;
42387
- $xePasswordInput.dispatchEvent('prefix-click', {
42464
+ dispatchEvent('prefix-click', {
42388
42465
  value: inputValue
42389
42466
  }, evnt);
42390
42467
  }
42391
42468
  };
42469
+ const passwordInputMethods = {
42470
+ dispatchEvent,
42471
+ focus() {
42472
+ const inputElem = refInputTarget.value;
42473
+ reactData.isActivated = true;
42474
+ inputElem.focus();
42475
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42476
+ },
42477
+ blur() {
42478
+ const inputElem = refInputTarget.value;
42479
+ inputElem.blur();
42480
+ reactData.isActivated = false;
42481
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42482
+ },
42483
+ select() {
42484
+ const inputElem = refInputTarget.value;
42485
+ inputElem.select();
42486
+ reactData.isActivated = false;
42487
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42488
+ }
42489
+ };
42490
+ Object.assign($xePasswordInput, passwordInputMethods);
42392
42491
  const renderPasswordIcon = () => {
42393
42492
  const {
42394
42493
  showPwd
@@ -42416,18 +42515,18 @@ const Pager = VxePager;
42416
42515
  };
42417
42516
  const renderSuffixIcon = () => {
42418
42517
  const {
42419
- disabled,
42420
42518
  suffixIcon,
42421
42519
  controls
42422
42520
  } = props;
42423
42521
  const {
42424
42522
  inputValue
42425
42523
  } = reactData;
42426
- const suffixSlot = slots.suffix;
42524
+ const isDisabled = computeIsDisabled.value;
42427
42525
  const isClearable = computeIsClearable.value;
42526
+ const suffixSlot = slots.suffix;
42428
42527
  return isClearable || controls || suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
42429
42528
  class: ['vxe-password-input--suffix', {
42430
- 'is--clear': isClearable && !disabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
42529
+ 'is--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
42431
42530
  }]
42432
42531
  }, [isClearable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
42433
42532
  class: 'vxe-password-input--clear-icon',
@@ -42441,41 +42540,11 @@ const Pager = VxePager;
42441
42540
  class: suffixIcon
42442
42541
  })]) : renderEmptyElement($xePasswordInput)]) : null;
42443
42542
  };
42444
- passwordInputMethods = {
42445
- dispatchEvent(type, params, evnt) {
42446
- emit(type, createEvent(evnt, {
42447
- $passwordInput: $xePasswordInput
42448
- }, params));
42449
- },
42450
- focus() {
42451
- const inputElem = refInputTarget.value;
42452
- reactData.isActivated = true;
42453
- inputElem.focus();
42454
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42455
- },
42456
- blur() {
42457
- const inputElem = refInputTarget.value;
42458
- inputElem.blur();
42459
- reactData.isActivated = false;
42460
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42461
- },
42462
- select() {
42463
- const inputElem = refInputTarget.value;
42464
- inputElem.select();
42465
- reactData.isActivated = false;
42466
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
42467
- }
42468
- };
42469
- Object.assign($xePasswordInput, passwordInputMethods);
42470
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
42471
- reactData.inputValue = val;
42472
- });
42473
42543
  const renderVN = () => {
42474
42544
  const {
42475
42545
  className,
42476
42546
  inputClassName,
42477
42547
  name,
42478
- disabled,
42479
42548
  readonly,
42480
42549
  autocomplete,
42481
42550
  autoComplete,
@@ -42485,11 +42554,19 @@ const Pager = VxePager;
42485
42554
  inputValue,
42486
42555
  isActivated
42487
42556
  } = reactData;
42557
+ const isDisabled = computeIsDisabled.value;
42558
+ const formReadonly = computeFormReadonly.value;
42559
+ if (formReadonly) {
42560
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
42561
+ ref: refElem,
42562
+ class: ['vxe-password-input--readonly', className]
42563
+ }, getText(inputValue));
42564
+ }
42488
42565
  const vSize = computeSize.value;
42489
- const inpReadonly = computeInpReadonly.value;
42490
42566
  const inputType = computeInputType.value;
42491
42567
  const inpPlaceholder = computeInpPlaceholder.value;
42492
42568
  const isClearable = computeIsClearable.value;
42569
+ const inputReadonly = computeInputReadonly.value;
42493
42570
  const prefix = renderPrefixIcon();
42494
42571
  const suffix = renderSuffixIcon();
42495
42572
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
@@ -42499,9 +42576,9 @@ const Pager = VxePager;
42499
42576
  'is--prefix': !!prefix,
42500
42577
  'is--suffix': !!suffix,
42501
42578
  'is--readonly': readonly,
42502
- 'is--disabled': disabled,
42579
+ 'is--disabled': isDisabled,
42503
42580
  'is--active': isActivated,
42504
- 'show--clear': isClearable && !disabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
42581
+ 'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
42505
42582
  }],
42506
42583
  spellcheck: false
42507
42584
  }, [prefix || renderEmptyElement($xePasswordInput), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
@@ -42509,12 +42586,11 @@ const Pager = VxePager;
42509
42586
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('input', {
42510
42587
  ref: refInputTarget,
42511
42588
  class: 'vxe-password-input--inner' + (inputClassName ? ' ' + inputClassName : ''),
42512
- value: inputValue,
42513
42589
  name,
42514
42590
  type: inputType,
42515
42591
  placeholder: inpPlaceholder,
42516
- readonly: inpReadonly,
42517
- disabled,
42592
+ readonly: inputReadonly,
42593
+ disabled: isDisabled,
42518
42594
  autocomplete: autocomplete || autoComplete,
42519
42595
  maxlength: maxLength,
42520
42596
  onClick: clickEvent,
@@ -42524,6 +42600,25 @@ const Pager = VxePager;
42524
42600
  onBlur: blurEvent
42525
42601
  })]), suffix || renderEmptyElement($xePasswordInput)]);
42526
42602
  };
42603
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
42604
+ reactData.inputValue = val;
42605
+ });
42606
+ const rDvFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
42607
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeFormReadonly, () => {
42608
+ rDvFlag.value++;
42609
+ });
42610
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeDomValue, () => {
42611
+ rDvFlag.value++;
42612
+ });
42613
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(rDvFlag, () => {
42614
+ updateDomValue();
42615
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
42616
+ updateDomValue();
42617
+ });
42618
+ });
42619
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
42620
+ updateDomValue();
42621
+ });
42527
42622
  $xePasswordInput.renderVN = renderVN;
42528
42623
  return $xePasswordInput;
42529
42624
  },
@@ -49459,7 +49554,6 @@ let autoTxtElem;
49459
49554
  reactData,
49460
49555
  getRefMaps: () => refMaps
49461
49556
  };
49462
- let textareaMethods = {};
49463
49557
  const computeFormReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
49464
49558
  const {
49465
49559
  readonly
@@ -49535,6 +49629,24 @@ let autoTxtElem;
49535
49629
  maxRows: 10
49536
49630
  }, getConfig().textarea.autoSize, autoSize);
49537
49631
  });
49632
+ const computeDomValue = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
49633
+ const {
49634
+ inputValue
49635
+ } = reactData;
49636
+ return inputValue;
49637
+ });
49638
+ const dispatchEvent = (type, params, evnt) => {
49639
+ emit(type, createEvent(evnt, {
49640
+ $textarea: $xeTextarea
49641
+ }, params));
49642
+ };
49643
+ const updateDomValue = () => {
49644
+ const domValue = computeDomValue.value;
49645
+ const taElem = refTextarea.value;
49646
+ if (taElem) {
49647
+ taElem.value = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(domValue) ? '' : '' + domValue;
49648
+ }
49649
+ };
49538
49650
  const updateAutoTxt = () => {
49539
49651
  const {
49540
49652
  size,
@@ -49606,7 +49718,7 @@ let autoTxtElem;
49606
49718
  };
49607
49719
  const triggerEvent = evnt => {
49608
49720
  const value = reactData.inputValue;
49609
- $xeTextarea.dispatchEvent(evnt.type, {
49721
+ dispatchEvent(evnt.type, {
49610
49722
  value
49611
49723
  }, evnt);
49612
49724
  };
@@ -49641,7 +49753,7 @@ let autoTxtElem;
49641
49753
  $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
49642
49754
  }
49643
49755
  }
49644
- $xeTextarea.dispatchEvent('input', {
49756
+ dispatchEvent('input', {
49645
49757
  value
49646
49758
  }, evnt);
49647
49759
  handleResize();
@@ -49655,7 +49767,7 @@ let autoTxtElem;
49655
49767
  } else {
49656
49768
  handleChange(reactData.inputValue, evnt);
49657
49769
  }
49658
- $xeTextarea.dispatchEvent('lazy-change', {
49770
+ dispatchEvent('lazy-change', {
49659
49771
  value: reactData.inputValue
49660
49772
  }, evnt);
49661
49773
  };
@@ -49669,16 +49781,12 @@ let autoTxtElem;
49669
49781
  if (!immediate) {
49670
49782
  handleChange(inputValue, evnt);
49671
49783
  }
49672
- $xeTextarea.dispatchEvent('blur', {
49784
+ dispatchEvent('blur', {
49673
49785
  value: inputValue
49674
49786
  }, evnt);
49675
49787
  };
49676
- textareaMethods = {
49677
- dispatchEvent(type, params, evnt) {
49678
- emit(type, createEvent(evnt, {
49679
- $textarea: $xeTextarea
49680
- }, params));
49681
- },
49788
+ const textareaMethods = {
49789
+ dispatchEvent,
49682
49790
  focus() {
49683
49791
  const textElem = refTextarea.value;
49684
49792
  textElem.focus();
@@ -49737,7 +49845,6 @@ let autoTxtElem;
49737
49845
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('textarea', {
49738
49846
  ref: refTextarea,
49739
49847
  class: 'vxe-textarea--inner' + (inputClassName ? ' ' + inputClassName : ''),
49740
- value: inputValue,
49741
49848
  name: props.name,
49742
49849
  placeholder: inpPlaceholder,
49743
49850
  maxlength: inpMaxLength,
@@ -49784,6 +49891,22 @@ let autoTxtElem;
49784
49891
  updateAutoTxt();
49785
49892
  handleResize();
49786
49893
  });
49894
+ const rDvFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
49895
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeFormReadonly, () => {
49896
+ rDvFlag.value++;
49897
+ });
49898
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(computeDomValue, () => {
49899
+ rDvFlag.value++;
49900
+ });
49901
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(rDvFlag, () => {
49902
+ updateDomValue();
49903
+ });
49904
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
49905
+ updateDomValue();
49906
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
49907
+ updateDomValue();
49908
+ });
49909
+ });
49787
49910
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
49788
49911
  const {
49789
49912
  autosize,