vxe-pc-ui 3.18.2 → 3.18.4

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 (93) hide show
  1. package/es/button/src/button.js +11 -3
  2. package/es/button/style.css +1 -4
  3. package/es/button/style.min.css +1 -1
  4. package/es/color-picker/src/color-picker.js +14 -1
  5. package/es/date-picker/src/date-picker.js +14 -1
  6. package/es/date-range-picker/src/date-range-picker.js +14 -1
  7. package/es/icon/style.css +1 -1
  8. package/es/icon-picker/src/icon-picker.js +18 -5
  9. package/es/input/src/input.js +14 -1
  10. package/es/modal/src/modal.js +1 -1
  11. package/es/number-input/src/number-input.js +12 -1
  12. package/es/password-input/src/password-input.js +14 -0
  13. package/es/select/src/select.js +20 -7
  14. package/es/space/src/space.js +8 -4
  15. package/es/style.css +1 -1
  16. package/es/style.min.css +1 -1
  17. package/es/ui/index.js +3 -2
  18. package/es/ui/src/log.js +1 -1
  19. package/es/vxe-button/style.css +1 -4
  20. package/es/vxe-button/style.min.css +1 -1
  21. package/lib/button/src/button.js +16 -2
  22. package/lib/button/src/button.min.js +1 -1
  23. package/lib/button/style/style.css +1 -4
  24. package/lib/button/style/style.min.css +1 -1
  25. package/lib/color-picker/src/color-picker.js +14 -1
  26. package/lib/color-picker/src/color-picker.min.js +1 -1
  27. package/lib/date-picker/src/date-picker.js +13 -0
  28. package/lib/date-picker/src/date-picker.min.js +1 -1
  29. package/lib/date-range-picker/src/date-range-picker.js +13 -0
  30. package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
  31. package/lib/icon/style/style.css +1 -1
  32. package/lib/icon/style/style.min.css +1 -1
  33. package/lib/icon-picker/src/icon-picker.js +18 -5
  34. package/lib/icon-picker/src/icon-picker.min.js +1 -1
  35. package/lib/index.umd.js +150 -23
  36. package/lib/index.umd.min.js +1 -1
  37. package/lib/input/src/input.js +13 -0
  38. package/lib/input/src/input.min.js +1 -1
  39. package/lib/modal/src/modal.js +3 -1
  40. package/lib/modal/src/modal.min.js +1 -1
  41. package/lib/number-input/src/number-input.js +11 -0
  42. package/lib/number-input/src/number-input.min.js +1 -1
  43. package/lib/password-input/src/password-input.js +14 -0
  44. package/lib/password-input/src/password-input.min.js +1 -1
  45. package/lib/select/src/select.js +20 -7
  46. package/lib/select/src/select.min.js +1 -1
  47. package/lib/space/src/space.js +9 -4
  48. package/lib/space/src/space.min.js +1 -1
  49. package/lib/style.css +1 -1
  50. package/lib/style.min.css +1 -1
  51. package/lib/ui/index.js +3 -2
  52. package/lib/ui/index.min.js +1 -1
  53. package/lib/ui/src/log.js +1 -1
  54. package/lib/ui/src/log.min.js +1 -1
  55. package/lib/vxe-button/style/style.css +1 -4
  56. package/lib/vxe-button/style/style.min.css +1 -1
  57. package/package.json +1 -1
  58. package/packages/button/src/button.ts +12 -4
  59. package/packages/color-picker/src/color-picker.ts +16 -2
  60. package/packages/date-picker/src/date-picker.ts +16 -2
  61. package/packages/date-range-picker/src/date-range-picker.ts +16 -2
  62. package/packages/icon-picker/src/icon-picker.ts +19 -5
  63. package/packages/input/src/input.ts +15 -1
  64. package/packages/modal/src/modal.ts +1 -1
  65. package/packages/number-input/src/number-input.ts +14 -2
  66. package/packages/password-input/src/password-input.ts +16 -1
  67. package/packages/select/src/select.ts +21 -7
  68. package/packages/space/src/space.ts +8 -4
  69. package/packages/ui/index.ts +2 -1
  70. package/styles/components/button.scss +1 -4
  71. package/types/components/button.d.ts +5 -0
  72. package/types/components/color-picker.d.ts +2 -0
  73. package/types/components/date-picker.d.ts +2 -0
  74. package/types/components/date-range-picker.d.ts +2 -0
  75. package/types/components/icon-picker.d.ts +2 -0
  76. package/types/components/input.d.ts +5 -0
  77. package/types/components/number-input.d.ts +5 -0
  78. package/types/components/password-input.d.ts +5 -0
  79. package/types/components/select.d.ts +5 -0
  80. package/types/components/space.d.ts +5 -0
  81. package/types/ui/global-icon.d.ts +2 -1
  82. /package/es/icon/{iconfont.1788693899721.ttf → iconfont.1788753692225.ttf} +0 -0
  83. /package/es/icon/{iconfont.1788693899721.woff → iconfont.1788753692225.woff} +0 -0
  84. /package/es/icon/{iconfont.1788693899721.woff2 → iconfont.1788753692225.woff2} +0 -0
  85. /package/es/{iconfont.1788693899721.ttf → iconfont.1788753692225.ttf} +0 -0
  86. /package/es/{iconfont.1788693899721.woff → iconfont.1788753692225.woff} +0 -0
  87. /package/es/{iconfont.1788693899721.woff2 → iconfont.1788753692225.woff2} +0 -0
  88. /package/lib/icon/style/{iconfont.1788693899721.ttf → iconfont.1788753692225.ttf} +0 -0
  89. /package/lib/icon/style/{iconfont.1788693899721.woff → iconfont.1788753692225.woff} +0 -0
  90. /package/lib/icon/style/{iconfont.1788693899721.woff2 → iconfont.1788753692225.woff2} +0 -0
  91. /package/lib/{iconfont.1788693899721.ttf → iconfont.1788753692225.ttf} +0 -0
  92. /package/lib/{iconfont.1788693899721.woff → iconfont.1788753692225.woff} +0 -0
  93. /package/lib/{iconfont.1788693899721.woff2 → iconfont.1788753692225.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -13288,7 +13288,7 @@ var es_array_join = __webpack_require__(8598);
13288
13288
 
13289
13289
 
13290
13290
  var log_log = VxeUI.log;
13291
- var uiVersion = "ui v".concat("3.18.2");
13291
+ var uiVersion = "ui v".concat("3.18.3");
13292
13292
  function createComponentLog(name) {
13293
13293
  var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
13294
13294
  var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
@@ -13308,7 +13308,7 @@ var errLog = log_log.create('error', uiVersion);
13308
13308
 
13309
13309
 
13310
13310
 
13311
- var ui_version = "3.18.2";
13311
+ var ui_version = "3.18.3";
13312
13312
  VxeUI.uiVersion = ui_version;
13313
13313
  VxeUI.dynamicApp = dynamicApp;
13314
13314
  function config(options) {
@@ -13820,7 +13820,8 @@ setIcon({
13820
13820
  // loading
13821
13821
  LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
13822
13822
  // button
13823
- BUTTON_DROPDOWN: iconPrefix + 'arrow-down',
13823
+ BUTTON_DROPDOWN_OPEN: iconPrefix + 'arrow-down rotate180',
13824
+ BUTTON_DROPDOWN_CLOSE: iconPrefix + 'arrow-down',
13824
13825
  BUTTON_LOADING: iconPrefix + 'spinner roll',
13825
13826
  BUTTON_TOOLTIP_ICON: iconPrefix + 'question-circle-fill',
13826
13827
  // menu
@@ -17093,6 +17094,18 @@ var _createComponentLog = createComponentLog('button'),
17093
17094
  return getConfig().button.showDropdownIcon;
17094
17095
  }
17095
17096
  },
17097
+ dropdownCloseIcon: {
17098
+ type: String,
17099
+ default: function _default() {
17100
+ return getConfig().button.dropdownCloseIcon;
17101
+ }
17102
+ },
17103
+ dropdownOpenIcon: {
17104
+ type: String,
17105
+ default: function _default() {
17106
+ return getConfig().button.dropdownOpenIcon;
17107
+ }
17108
+ },
17096
17109
  /**
17097
17110
  * 在下拉面板关闭时销毁内容
17098
17111
  */
@@ -17667,6 +17680,8 @@ var _createComponentLog = createComponentLog('button'),
17667
17680
  name = props.name,
17668
17681
  loading = props.loading,
17669
17682
  shadow = props.shadow,
17683
+ dropdownOpenIcon = props.dropdownOpenIcon,
17684
+ dropdownCloseIcon = props.dropdownCloseIcon,
17670
17685
  showDropdownIcon = props.showDropdownIcon;
17671
17686
  var initialized = reactData.initialized,
17672
17687
  isAniVisible = reactData.isAniVisible,
@@ -17722,7 +17737,7 @@ var _createComponentLog = createComponentLog('button'),
17722
17737
  click: $xeButton.clickTargetEvent
17723
17738
  }, btnOns)
17724
17739
  }, $xeButton.renderContent(h).concat(showDropdownIcon ? [h('i', {
17725
- class: "vxe-button--dropdown-arrow ".concat(getIcon().BUTTON_DROPDOWN)
17740
+ class: "vxe-button--dropdown-icon ".concat(visiblePanel ? dropdownOpenIcon || getIcon().BUTTON_DROPDOWN_OPEN : dropdownCloseIcon || getIcon().BUTTON_DROPDOWN_CLOSE)
17726
17741
  })] : [])) : h('button', {
17727
17742
  ref: 'refButton',
17728
17743
  class: ['vxe-button', "type--".concat(btnMode), btnAlign ? "align--".concat(btnAlign) : '', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
@@ -17738,7 +17753,7 @@ var _createComponentLog = createComponentLog('button'),
17738
17753
  click: $xeButton.clickTargetEvent
17739
17754
  }, btnOns)
17740
17755
  }, $xeButton.renderContent(h).concat(showDropdownIcon ? [h('i', {
17741
- class: "vxe-button--dropdown-arrow ".concat(getIcon().BUTTON_DROPDOWN)
17756
+ class: "vxe-button--dropdown-icon ".concat(visiblePanel ? dropdownOpenIcon || getIcon().BUTTON_DROPDOWN_OPEN : dropdownCloseIcon || getIcon().BUTTON_DROPDOWN_CLOSE)
17742
17757
  })] : [])), h('div', {
17743
17758
  ref: 'refBtnPanel',
17744
17759
  class: ['vxe-button--dropdown-panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
@@ -24220,6 +24235,7 @@ var input_createComponentLog = createComponentLog('input'),
24220
24235
  return getConfig().input.inputClassName;
24221
24236
  }
24222
24237
  },
24238
+ width: [String, Number],
24223
24239
  size: {
24224
24240
  type: String,
24225
24241
  default: function _default() {
@@ -24461,6 +24477,16 @@ var input_createComponentLog = createComponentLog('input'),
24461
24477
  }
24462
24478
  return maxLen;
24463
24479
  },
24480
+ computeCurrStyle: function computeCurrStyle() {
24481
+ var $xeInput = this;
24482
+ var props = $xeInput;
24483
+ var width = props.width;
24484
+ var stys = {};
24485
+ if (width) {
24486
+ stys.width = toCssUnit(width);
24487
+ }
24488
+ return stys;
24489
+ },
24464
24490
  computeIsDateTimeType: function computeIsDateTimeType() {
24465
24491
  var $xeInput = this;
24466
24492
  var props = $xeInput;
@@ -27111,6 +27137,7 @@ var input_createComponentLog = createComponentLog('input'),
27111
27137
  class: ['vxe-input--readonly', "type--".concat(type), className]
27112
27138
  }, inputValue);
27113
27139
  }
27140
+ var currStyle = $xeInput.computeCurrStyle;
27114
27141
  var isCountError = $xeInput.computeIsCountError;
27115
27142
  var inputCount = $xeInput.computeInputCount;
27116
27143
  var inputReadonly = $xeInput.computeInputReadonly;
@@ -27125,6 +27152,7 @@ var input_createComponentLog = createComponentLog('input'),
27125
27152
  return h('div', {
27126
27153
  ref: 'refElem',
27127
27154
  class: ['vxe-input', "type--".concat(type), floatContent ? "fla--".concat(floatAlign || 'center') : '', className, (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', controls), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--visible', visiblePanel), 'is--clear', isClearable), 'is--count', isWordCount), 'is--disabled', isDisabled), 'is--active', isActivated), _defineProperty(_ref2, 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))))],
27155
+ style: currStyle,
27128
27156
  attrs: {
27129
27157
  spellcheck: false
27130
27158
  }
@@ -31526,6 +31554,7 @@ var handleNumberString = function handleNumberString(val) {
31526
31554
  return getConfig().numberInput.inputClassName;
31527
31555
  }
31528
31556
  },
31557
+ width: [String, Number],
31529
31558
  size: {
31530
31559
  type: String,
31531
31560
  default: function _default() {
@@ -31852,6 +31881,16 @@ var handleNumberString = function handleNumberString(val) {
31852
31881
  var props = $xeNumberInput;
31853
31882
  var inputClassName = props.inputClassName;
31854
31883
  return 'vxe-number-input--input' + (inputClassName ? ' ' + inputClassName : '');
31884
+ },
31885
+ computeCurrStyle: function computeCurrStyle() {
31886
+ var $xeNumberInput = this;
31887
+ var props = $xeNumberInput;
31888
+ var width = props.width;
31889
+ var stys = {};
31890
+ if (width) {
31891
+ stys.width = toCssUnit(width);
31892
+ }
31893
+ return stys;
31855
31894
  }
31856
31895
  }),
31857
31896
  methods: {
@@ -32836,6 +32875,7 @@ var NumberInput = VxeNumberInput;
32836
32875
 
32837
32876
 
32838
32877
 
32878
+
32839
32879
  var WinEyeDropper = typeof window !== 'undefined' ? window.EyeDropper : null;
32840
32880
  var typeList = [{
32841
32881
  label: 'HEX',
@@ -32866,6 +32906,7 @@ var typeList = [{
32866
32906
  return getConfig().colorPicker.type;
32867
32907
  }
32868
32908
  },
32909
+ width: [Number, String],
32869
32910
  size: {
32870
32911
  type: String,
32871
32912
  default: function _default() {
@@ -33051,6 +33092,16 @@ var typeList = [{
33051
33092
  }
33052
33093
  return [];
33053
33094
  },
33095
+ computeCurrStyle: function computeCurrStyle() {
33096
+ var $xeColorPicker = this;
33097
+ var props = $xeColorPicker;
33098
+ var width = props.width;
33099
+ var stys = {};
33100
+ if (width) {
33101
+ stys.width = toCssUnit(width);
33102
+ }
33103
+ return stys;
33104
+ },
33054
33105
  computePopupOpts: function computePopupOpts() {
33055
33106
  var $xeColorPicker = this;
33056
33107
  var props = $xeColorPicker;
@@ -33919,11 +33970,13 @@ var typeList = [{
33919
33970
  } : undefined
33920
33971
  })]);
33921
33972
  }
33973
+ var currStyle = $xeColorPicker.computeCurrStyle;
33922
33974
  return h('div', {
33923
33975
  ref: 'refElem',
33924
33976
  class: ['vxe-color-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
33925
33977
  $colorPicker: $xeColorPicker
33926
- }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--selected', !!modelValue), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated)]
33978
+ }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--selected', !!modelValue), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated)],
33979
+ style: currStyle
33927
33980
  }, [h('input', {
33928
33981
  ref: 'refInputTarget',
33929
33982
  class: 'vxe-color-picker--input',
@@ -37534,6 +37587,7 @@ function date_picker_createInternalData() {
37534
37587
  type: String,
37535
37588
  default: 'date'
37536
37589
  },
37590
+ width: [Number, String],
37537
37591
  clearable: {
37538
37592
  type: Boolean,
37539
37593
  default: function _default() {
@@ -37790,6 +37844,16 @@ function date_picker_createInternalData() {
37790
37844
  }
37791
37845
  return [];
37792
37846
  },
37847
+ computeCurrStyle: function computeCurrStyle() {
37848
+ var $xeDatePicker = this;
37849
+ var props = $xeDatePicker;
37850
+ var width = props.width;
37851
+ var stys = {};
37852
+ if (width) {
37853
+ stys.width = toCssUnit(width);
37854
+ }
37855
+ return stys;
37856
+ },
37793
37857
  computeDateStartDate: function computeDateStartDate() {
37794
37858
  var $xeDatePicker = this;
37795
37859
  var props = $xeDatePicker;
@@ -39243,6 +39307,7 @@ function date_picker_createInternalData() {
39243
39307
  class: ['vxe-date-picker--readonly', "type--".concat(type), className]
39244
39308
  }, panelLabel);
39245
39309
  }
39310
+ var currStyle = $xeDatePicker.computeCurrStyle;
39246
39311
  var inputReadonly = $xeDatePicker.computeInputReadonly;
39247
39312
  var inpPlaceholder = $xeDatePicker.computeInpPlaceholder;
39248
39313
  var isClearable = $xeDatePicker.computeIsClearable;
@@ -39251,6 +39316,7 @@ function date_picker_createInternalData() {
39251
39316
  return h('div', {
39252
39317
  ref: 'refElem',
39253
39318
  class: ['vxe-date-picker', "type--".concat(type), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue)))],
39319
+ style: currStyle,
39254
39320
  attrs: {
39255
39321
  spellcheck: false
39256
39322
  }
@@ -39418,6 +39484,7 @@ function date_range_picker_createInternalData() {
39418
39484
  type: Boolean,
39419
39485
  default: true
39420
39486
  },
39487
+ width: [Number, String],
39421
39488
  name: String,
39422
39489
  type: {
39423
39490
  type: String,
@@ -39656,6 +39723,16 @@ function date_range_picker_createInternalData() {
39656
39723
  }
39657
39724
  return [];
39658
39725
  },
39726
+ computeCurrStyle: function computeCurrStyle() {
39727
+ var $xeDateRangePicker = this;
39728
+ var props = $xeDateRangePicker;
39729
+ var width = props.width;
39730
+ var stys = {};
39731
+ if (width) {
39732
+ stys.width = toCssUnit(width);
39733
+ }
39734
+ return stys;
39735
+ },
39659
39736
  computeMVal: function computeMVal() {
39660
39737
  var $xeDateRangePicker = this;
39661
39738
  var props = $xeDateRangePicker;
@@ -41005,6 +41082,7 @@ function date_range_picker_createInternalData() {
41005
41082
  class: ['vxe-date-range-picker--readonly', "type--".concat(type), className]
41006
41083
  }, inputLabel);
41007
41084
  }
41085
+ var currStyle = $xeDateRangePicker.computeCurrStyle;
41008
41086
  var inpPlaceholder = $xeDateRangePicker.computeInpPlaceholder;
41009
41087
  var isClearable = $xeDateRangePicker.computeIsClearable;
41010
41088
  var prefix = $xeDateRangePicker.renderPrefixIcon(h);
@@ -41012,6 +41090,7 @@ function date_range_picker_createInternalData() {
41012
41090
  return h('div', {
41013
41091
  ref: 'refElem',
41014
41092
  class: ['vxe-date-range-picker', "type--".concat(type), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && (selectStValue || selectEdValue))],
41093
+ style: currStyle,
41015
41094
  attrs: {
41016
41095
  spellcheck: false
41017
41096
  }
@@ -45273,6 +45352,7 @@ var FormItem = VxeFormItem;
45273
45352
 
45274
45353
 
45275
45354
 
45355
+
45276
45356
 
45277
45357
 
45278
45358
  function icon_picker_createReactData() {
@@ -45318,6 +45398,7 @@ function icon_picker_createInternalData() {
45318
45398
  * @deprecated
45319
45399
  */
45320
45400
  popupClassName: [String, Function],
45401
+ width: [Number, String],
45321
45402
  showIconTitle: {
45322
45403
  type: Boolean,
45323
45404
  default: function _default() {
@@ -45441,6 +45522,16 @@ function icon_picker_createInternalData() {
45441
45522
  }
45442
45523
  return getI18n('vxe.base.pleaseSelect');
45443
45524
  },
45525
+ computeCurrStyle: function computeCurrStyle() {
45526
+ var $xeIconPicker = this;
45527
+ var props = $xeIconPicker;
45528
+ var width = props.width;
45529
+ var stys = {};
45530
+ if (width) {
45531
+ stys.width = toCssUnit(width);
45532
+ }
45533
+ return stys;
45534
+ },
45444
45535
  computeWrapperStyle: function computeWrapperStyle() {
45445
45536
  var $xeIconPicker = this;
45446
45537
  var popupOpts = $xeIconPicker.computePopupOpts;
@@ -45964,10 +46055,6 @@ function icon_picker_createInternalData() {
45964
46055
  var isDisabled = $xeIconPicker.computeIsDisabled;
45965
46056
  var btnTransfer = $xeIconPicker.computeBtnTransfer;
45966
46057
  var formReadonly = $xeIconPicker.computeFormReadonly;
45967
- var inpPlaceholder = $xeIconPicker.computeInpPlaceholder;
45968
- var wrapperStyle = $xeIconPicker.computeWrapperStyle;
45969
- var popupOpts = $xeIconPicker.computePopupOpts;
45970
- var ppClassName = popupOpts.className || props.popupClassName;
45971
46058
  if (formReadonly) {
45972
46059
  return h('div', {
45973
46060
  ref: 'refElem',
@@ -45976,11 +46063,17 @@ function icon_picker_createInternalData() {
45976
46063
  class: selectIcon
45977
46064
  })]);
45978
46065
  }
46066
+ var currStyle = $xeIconPicker.computeCurrStyle;
46067
+ var inpPlaceholder = $xeIconPicker.computeInpPlaceholder;
46068
+ var wrapperStyle = $xeIconPicker.computeWrapperStyle;
46069
+ var popupOpts = $xeIconPicker.computePopupOpts;
46070
+ var ppClassName = popupOpts.className || props.popupClassName;
45979
46071
  return h('div', {
45980
46072
  ref: 'refElem',
45981
46073
  class: ['vxe-ico-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
45982
46074
  $iconPicker: $xeIconPicker
45983
- }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'show--clear', clearable && !isDisabled && !!selectIcon), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated)]
46075
+ }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'show--clear', clearable && !isDisabled && !!selectIcon), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--active', isActivated)],
46076
+ style: currStyle
45984
46077
  }, [h('div', {
45985
46078
  class: 'vxe-ico-picker--inner',
45986
46079
  on: {
@@ -50065,7 +50158,9 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
50065
50158
  var $xeModal = this;
50066
50159
  var isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
50067
50160
  if (isEsc) {
50068
- var lastModal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().max(allActiveModals, function (item) {
50161
+ var lastModal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().max(allActiveModals.filter(function (item) {
50162
+ return item.reactData.zoomStatus !== 'minimize';
50163
+ }), function (item) {
50069
50164
  return item.reactData.modalZindex;
50070
50165
  });
50071
50166
  // 多个时,只关掉最上层的窗口
@@ -51507,6 +51602,7 @@ function select_createInternalData() {
51507
51602
  * @deprecated
51508
51603
  */
51509
51604
  popupClassName: [String, Function],
51605
+ width: [String, Number],
51510
51606
  max: {
51511
51607
  type: [String, Number],
51512
51608
  default: null
@@ -51793,6 +51889,16 @@ function select_createInternalData() {
51793
51889
  var props = $xeSelect;
51794
51890
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.multiCharOverflow);
51795
51891
  },
51892
+ computeCurrStyle: function computeCurrStyle() {
51893
+ var $xeSelect = this;
51894
+ var props = $xeSelect;
51895
+ var width = props.width;
51896
+ var stys = {};
51897
+ if (width) {
51898
+ stys.width = toCssUnit(width);
51899
+ }
51900
+ return stys;
51901
+ },
51796
51902
  computePopupWrapperStyle: function computePopupWrapperStyle() {
51797
51903
  var $xeSelect = this;
51798
51904
  var popupOpts = $xeSelect.computePopupOpts;
@@ -53285,13 +53391,7 @@ function select_createInternalData() {
53285
53391
  var btnTransfer = $xeSelect.computeBtnTransfer;
53286
53392
  var formReadonly = $xeSelect.computeFormReadonly;
53287
53393
  var inpPlaceholder = $xeSelect.computeInpPlaceholder;
53288
- var popupOpts = $xeSelect.computePopupOpts;
53289
- var popupWrapperStyle = $xeSelect.computePopupWrapperStyle;
53290
53394
  var defaultSlot = slots.default;
53291
- var headerSlot = slots.header;
53292
- var footerSlot = slots.footer;
53293
- var prefixSlot = slots.prefix;
53294
- var ppClassName = popupOpts.className || props.popupClassName;
53295
53395
  if (formReadonly) {
53296
53396
  return h('div', {
53297
53397
  ref: 'refElem',
@@ -53306,12 +53406,20 @@ function select_createInternalData() {
53306
53406
  }
53307
53407
  }, selectLabel)]);
53308
53408
  }
53409
+ var currStyle = $xeSelect.computeCurrStyle;
53309
53410
  var selectVals = $xeSelect.computeSelectVals;
53411
+ var popupOpts = $xeSelect.computePopupOpts;
53412
+ var popupWrapperStyle = $xeSelect.computePopupWrapperStyle;
53413
+ var headerSlot = slots.header;
53414
+ var footerSlot = slots.footer;
53415
+ var prefixSlot = slots.prefix;
53416
+ var ppClassName = popupOpts.className || props.popupClassName;
53310
53417
  return h('div', {
53311
53418
  ref: 'refElem',
53312
53419
  class: ['vxe-select', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
53313
53420
  $select: $xeSelect
53314
- }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--filter', filterable), 'is--loading', loading), 'is--active', isActivated)]
53421
+ }) : className : '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--visible', visiblePanel), 'is--disabled', isDisabled), 'is--filter', filterable), 'is--loading', loading), 'is--active', isActivated)],
53422
+ style: currStyle
53315
53423
  }, [h('div', {
53316
53424
  class: 'vxe-select-slots',
53317
53425
  ref: 'hideOption'
@@ -54482,6 +54590,7 @@ var Pager = VxePager;
54482
54590
 
54483
54591
 
54484
54592
 
54593
+
54485
54594
  /* harmony default export */ var password_input = (/* define-vxe-component start */defineVxeComponent({
54486
54595
  name: 'VxePasswordInput',
54487
54596
  mixins: [globalMixins.sizeMixin],
@@ -54529,6 +54638,7 @@ var Pager = VxePager;
54529
54638
  return getConfig().passwordInput.inputClassName;
54530
54639
  }
54531
54640
  },
54641
+ width: [String, Number],
54532
54642
  size: {
54533
54643
  type: String,
54534
54644
  default: function _default() {
@@ -54643,6 +54753,16 @@ var Pager = VxePager;
54643
54753
  var editable = props.editable;
54644
54754
  var formReadonly = $xePasswordInput.computeFormReadonly;
54645
54755
  return formReadonly || !editable;
54756
+ },
54757
+ computeCurrStyle: function computeCurrStyle() {
54758
+ var $xePasswordInput = this;
54759
+ var props = $xePasswordInput;
54760
+ var width = props.width;
54761
+ var stys = {};
54762
+ if (width) {
54763
+ stys.width = toCssUnit(width);
54764
+ }
54765
+ return stys;
54646
54766
  }
54647
54767
  }),
54648
54768
  methods: {
@@ -54908,6 +55028,7 @@ var Pager = VxePager;
54908
55028
  class: ['vxe-password-input--readonly', className]
54909
55029
  }, getText(inputValue));
54910
55030
  }
55031
+ var currStyle = $xePasswordInput.computeCurrStyle;
54911
55032
  var vSize = $xePasswordInput.computeSize;
54912
55033
  var inputType = $xePasswordInput.computeInputType;
54913
55034
  var inpPlaceholder = $xePasswordInput.computeInpPlaceholder;
@@ -54919,6 +55040,7 @@ var Pager = VxePager;
54919
55040
  return h('div', {
54920
55041
  ref: 'refElem',
54921
55042
  class: ['vxe-password-input', className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--readonly', formReadonly), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue)))],
55043
+ style: currStyle,
54922
55044
  attrs: {
54923
55045
  spellcheck: false
54924
55046
  }
@@ -59610,6 +59732,7 @@ var Slider = VxeSlider;
59610
59732
  return getConfig().space.wrap;
59611
59733
  }
59612
59734
  },
59735
+ width: [Number, String],
59613
59736
  gap: {
59614
59737
  type: [Number, String, Array, Object],
59615
59738
  default: function _default() {
@@ -59688,11 +59811,12 @@ var Slider = VxeSlider;
59688
59811
  };
59689
59812
  },
59690
59813
  computed: _objectSpread2(_objectSpread2({}, {}), {}, {
59691
- computeWrapperStyle: function computeWrapperStyle() {
59814
+ computeCurrStyle: function computeCurrStyle() {
59692
59815
  var $xeSpace = this;
59693
59816
  var props = $xeSpace;
59694
59817
  var align = props.align,
59695
- gap = props.gap;
59818
+ gap = props.gap,
59819
+ width = props.width;
59696
59820
  var stys = {};
59697
59821
  var rowGap = '';
59698
59822
  var columGap = '';
@@ -59708,6 +59832,9 @@ var Slider = VxeSlider;
59708
59832
  columGap = gap.columGap || '';
59709
59833
  }
59710
59834
  }
59835
+ if (width) {
59836
+ stys.width = toCssUnit(width);
59837
+ }
59711
59838
  if (align) {
59712
59839
  stys['align-items'] = align;
59713
59840
  }
@@ -59788,12 +59915,12 @@ var Slider = VxeSlider;
59788
59915
  itemWidth = props.itemWidth,
59789
59916
  itemMinWidth = props.itemMinWidth,
59790
59917
  itemMaxWidth = props.itemMaxWidth;
59791
- var wrapperStyle = $xeSpace.computeWrapperStyle;
59918
+ var currStyle = $xeSpace.computeCurrStyle;
59792
59919
  var vSize = $xeSpace.computeSize;
59793
59920
  return h('div', {
59794
59921
  ref: 'refElem',
59795
59922
  class: ['vxe-space', getPropClass(className, {}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--wrap', wrap), 'is--vertical', vertical), 'is--fill', fill), 'is--width', itemWidth || itemMinWidth || itemMaxWidth)],
59796
- style: wrapperStyle
59923
+ style: currStyle
59797
59924
  }, $xeSpace.renderItems(h));
59798
59925
  }
59799
59926
  },