vxe-pc-ui 4.18.3 → 4.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.
- package/dist/all.esm.js +115 -23
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +14 -3
- package/es/date-picker/src/date-picker.js +12 -1
- package/es/date-range-picker/src/date-range-picker.js +12 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +17 -6
- package/es/input/src/input.js +12 -1
- package/es/number-input/src/number-input.js +12 -1
- package/es/password-input/src/password-input.js +12 -0
- package/es/select/src/select.js +19 -8
- package/es/space/src/space.js +8 -4
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/color-picker/src/color-picker.js +18 -5
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +13 -0
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +13 -0
- package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +21 -8
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +137 -27
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +13 -0
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +13 -0
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +14 -0
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/select/src/select.js +23 -10
- package/lib/select/src/select.min.js +1 -1
- package/lib/space/src/space.js +9 -4
- package/lib/space/src/space.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +16 -4
- package/packages/date-picker/src/date-picker.ts +14 -2
- package/packages/date-range-picker/src/date-range-picker.ts +14 -2
- package/packages/icon-picker/src/icon-picker.ts +18 -6
- package/packages/input/src/input.ts +13 -1
- package/packages/number-input/src/number-input.ts +14 -2
- package/packages/password-input/src/password-input.ts +14 -1
- package/packages/select/src/select.ts +20 -8
- package/packages/space/src/space.ts +8 -4
- package/types/components/color-picker.d.ts +2 -0
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/date-range-picker.d.ts +2 -0
- package/types/components/icon-picker.d.ts +2 -0
- package/types/components/input.d.ts +5 -0
- package/types/components/number-input.d.ts +5 -0
- package/types/components/password-input.d.ts +5 -0
- package/types/components/select.d.ts +5 -0
- package/types/components/space.d.ts +5 -0
- /package/es/icon/{iconfont.1788745459463.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff → iconfont.1788753701809.woff} +0 -0
- /package/es/icon/{iconfont.1788745459463.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/es/{iconfont.1788745459463.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/es/{iconfont.1788745459463.woff → iconfont.1788753701809.woff} +0 -0
- /package/es/{iconfont.1788745459463.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff → iconfont.1788753701809.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788745459463.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/lib/{iconfont.1788745459463.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/lib/{iconfont.1788745459463.woff → iconfont.1788753701809.woff} +0 -0
- /package/lib/{iconfont.1788745459463.woff2 → iconfont.1788753701809.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -14815,6 +14815,7 @@ const {
|
|
|
14815
14815
|
align: String,
|
|
14816
14816
|
form: String,
|
|
14817
14817
|
className: String,
|
|
14818
|
+
width: [String, Number],
|
|
14818
14819
|
inputClassName: {
|
|
14819
14820
|
type: String,
|
|
14820
14821
|
default: () => getConfig().input.inputClassName
|
|
@@ -15038,6 +15039,16 @@ const {
|
|
|
15038
15039
|
}
|
|
15039
15040
|
return maxLen;
|
|
15040
15041
|
});
|
|
15042
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
15043
|
+
const {
|
|
15044
|
+
width
|
|
15045
|
+
} = props;
|
|
15046
|
+
const stys = {};
|
|
15047
|
+
if (width) {
|
|
15048
|
+
stys.width = toCssUnit(width);
|
|
15049
|
+
}
|
|
15050
|
+
return stys;
|
|
15051
|
+
});
|
|
15041
15052
|
const computeIsDateTimeType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
15042
15053
|
const {
|
|
15043
15054
|
type
|
|
@@ -17473,6 +17484,7 @@ const {
|
|
|
17473
17484
|
class: ['vxe-input--readonly', `type--${type}`, className]
|
|
17474
17485
|
}, inputValue);
|
|
17475
17486
|
}
|
|
17487
|
+
const currStyle = computeCurrStyle.value;
|
|
17476
17488
|
const isCountError = computeIsCountError.value;
|
|
17477
17489
|
const inputCount = computeInputCount.value;
|
|
17478
17490
|
const inputReadonly = computeInputReadonly.value;
|
|
@@ -17499,6 +17511,7 @@ const {
|
|
|
17499
17511
|
'is--active': isActivated,
|
|
17500
17512
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
17501
17513
|
}],
|
|
17514
|
+
style: currStyle,
|
|
17502
17515
|
spellcheck: false
|
|
17503
17516
|
}, [prefix || (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17504
17517
|
class: 'vxe-input--wrapper',
|
|
@@ -21526,6 +21539,7 @@ const {
|
|
|
21526
21539
|
type: String,
|
|
21527
21540
|
default: () => getConfig().numberInput.inputClassName
|
|
21528
21541
|
},
|
|
21542
|
+
width: [String, Number],
|
|
21529
21543
|
size: {
|
|
21530
21544
|
type: String,
|
|
21531
21545
|
default: () => getConfig().numberInput.size || getConfig().size
|
|
@@ -21825,6 +21839,16 @@ const {
|
|
|
21825
21839
|
} = props;
|
|
21826
21840
|
return 'vxe-number-input--input' + (inputClassName ? ' ' + inputClassName : '');
|
|
21827
21841
|
});
|
|
21842
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
21843
|
+
const {
|
|
21844
|
+
width
|
|
21845
|
+
} = props;
|
|
21846
|
+
const stys = {};
|
|
21847
|
+
if (width) {
|
|
21848
|
+
stys.width = toCssUnit(width);
|
|
21849
|
+
}
|
|
21850
|
+
return stys;
|
|
21851
|
+
});
|
|
21828
21852
|
const refMaps = {
|
|
21829
21853
|
refElem,
|
|
21830
21854
|
refInput: refInputTarget
|
|
@@ -22653,6 +22677,7 @@ const {
|
|
|
22653
22677
|
class: ['vxe-number-input--readonly', `type--${type}`, className]
|
|
22654
22678
|
}, numLabel);
|
|
22655
22679
|
}
|
|
22680
|
+
const currStyle = computeCurrStyle.value;
|
|
22656
22681
|
const inputReadonly = computeInputReadonly.value;
|
|
22657
22682
|
const isClearable = computeIsClearable.value;
|
|
22658
22683
|
const isControls = isEnableConf(controlOpts) && (controls === false ? controls : showButton);
|
|
@@ -22668,6 +22693,7 @@ const {
|
|
|
22668
22693
|
'is--active': isActivated,
|
|
22669
22694
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
22670
22695
|
}],
|
|
22696
|
+
style: currStyle,
|
|
22671
22697
|
spellcheck: false,
|
|
22672
22698
|
onMouseenter: mouseenterEvent,
|
|
22673
22699
|
onMouseleave: mouseleaveEvent
|
|
@@ -22762,6 +22788,7 @@ const NumberInput = VxeNumberInput;
|
|
|
22762
22788
|
type: String,
|
|
22763
22789
|
default: () => getConfig().colorPicker.type
|
|
22764
22790
|
},
|
|
22791
|
+
width: [Number, String],
|
|
22765
22792
|
size: {
|
|
22766
22793
|
type: String,
|
|
22767
22794
|
default: () => getConfig().colorPicker.size || getConfig().size
|
|
@@ -22923,6 +22950,16 @@ const NumberInput = VxeNumberInput;
|
|
|
22923
22950
|
}
|
|
22924
22951
|
return [];
|
|
22925
22952
|
});
|
|
22953
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22954
|
+
const {
|
|
22955
|
+
width
|
|
22956
|
+
} = props;
|
|
22957
|
+
const stys = {};
|
|
22958
|
+
if (width) {
|
|
22959
|
+
stys.width = toCssUnit(width);
|
|
22960
|
+
}
|
|
22961
|
+
return stys;
|
|
22962
|
+
});
|
|
22926
22963
|
const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22927
22964
|
return Object.assign({}, getConfig().colorPicker.popupConfig, props.popupConfig);
|
|
22928
22965
|
});
|
|
@@ -23695,10 +23732,6 @@ const NumberInput = VxeNumberInput;
|
|
|
23695
23732
|
const isDisabled = computeIsDisabled.value;
|
|
23696
23733
|
const btnTransfer = computeBtnTransfer.value;
|
|
23697
23734
|
const formReadonly = computeFormReadonly.value;
|
|
23698
|
-
const popupOpts = computePopupOpts.value;
|
|
23699
|
-
const {
|
|
23700
|
-
appendTo
|
|
23701
|
-
} = popupOpts;
|
|
23702
23735
|
if (formReadonly) {
|
|
23703
23736
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23704
23737
|
ref: refElem,
|
|
@@ -23714,6 +23747,11 @@ const NumberInput = VxeNumberInput;
|
|
|
23714
23747
|
} : undefined
|
|
23715
23748
|
})]);
|
|
23716
23749
|
}
|
|
23750
|
+
const currStyle = computeCurrStyle.value;
|
|
23751
|
+
const popupOpts = computePopupOpts.value;
|
|
23752
|
+
const {
|
|
23753
|
+
appendTo
|
|
23754
|
+
} = popupOpts;
|
|
23717
23755
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23718
23756
|
ref: refElem,
|
|
23719
23757
|
class: ['vxe-color-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -23724,7 +23762,8 @@ const NumberInput = VxeNumberInput;
|
|
|
23724
23762
|
'is--visible': visiblePanel,
|
|
23725
23763
|
'is--disabled': isDisabled,
|
|
23726
23764
|
'is--active': isActivated
|
|
23727
|
-
}]
|
|
23765
|
+
}],
|
|
23766
|
+
style: currStyle
|
|
23728
23767
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('input', {
|
|
23729
23768
|
ref: refInputTarget,
|
|
23730
23769
|
class: 'vxe-color-picker--input',
|
|
@@ -27094,6 +27133,7 @@ function date_picker_createInternalData() {
|
|
|
27094
27133
|
type: String,
|
|
27095
27134
|
default: 'date'
|
|
27096
27135
|
},
|
|
27136
|
+
width: [Number, String],
|
|
27097
27137
|
clearable: {
|
|
27098
27138
|
type: Boolean,
|
|
27099
27139
|
default: () => getConfig().datePicker.clearable
|
|
@@ -27313,6 +27353,16 @@ function date_picker_createInternalData() {
|
|
|
27313
27353
|
}
|
|
27314
27354
|
return [];
|
|
27315
27355
|
});
|
|
27356
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
27357
|
+
const {
|
|
27358
|
+
width
|
|
27359
|
+
} = props;
|
|
27360
|
+
const stys = {};
|
|
27361
|
+
if (width) {
|
|
27362
|
+
stys.width = toCssUnit(width);
|
|
27363
|
+
}
|
|
27364
|
+
return stys;
|
|
27365
|
+
});
|
|
27316
27366
|
const computeDateStartDate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
27317
27367
|
return props.startDate ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(props.startDate) : null;
|
|
27318
27368
|
});
|
|
@@ -28700,6 +28750,7 @@ function date_picker_createInternalData() {
|
|
|
28700
28750
|
class: ['vxe-date-picker--readonly', `type--${type}`, className]
|
|
28701
28751
|
}, panelLabel);
|
|
28702
28752
|
}
|
|
28753
|
+
const currStyle = computeCurrStyle.value;
|
|
28703
28754
|
const inputReadonly = computeInputReadonly.value;
|
|
28704
28755
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
28705
28756
|
const isClearable = computeIsClearable.value;
|
|
@@ -28716,6 +28767,7 @@ function date_picker_createInternalData() {
|
|
|
28716
28767
|
'is--active': isActivated,
|
|
28717
28768
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
28718
28769
|
}],
|
|
28770
|
+
style: currStyle,
|
|
28719
28771
|
spellcheck: false
|
|
28720
28772
|
}, [prefix || renderEmptyElement($xeDatePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28721
28773
|
class: 'vxe-date-picker--wrapper'
|
|
@@ -28849,6 +28901,7 @@ function date_range_picker_createInternalData() {
|
|
|
28849
28901
|
type: Boolean,
|
|
28850
28902
|
default: true
|
|
28851
28903
|
},
|
|
28904
|
+
width: [Number, String],
|
|
28852
28905
|
name: String,
|
|
28853
28906
|
type: {
|
|
28854
28907
|
type: String,
|
|
@@ -29060,6 +29113,16 @@ function date_range_picker_createInternalData() {
|
|
|
29060
29113
|
}
|
|
29061
29114
|
return [];
|
|
29062
29115
|
});
|
|
29116
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
29117
|
+
const {
|
|
29118
|
+
width
|
|
29119
|
+
} = props;
|
|
29120
|
+
const stys = {};
|
|
29121
|
+
if (width) {
|
|
29122
|
+
stys.width = toCssUnit(width);
|
|
29123
|
+
}
|
|
29124
|
+
return stys;
|
|
29125
|
+
});
|
|
29063
29126
|
const computeMVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
29064
29127
|
const {
|
|
29065
29128
|
startValue,
|
|
@@ -30362,6 +30425,7 @@ function date_range_picker_createInternalData() {
|
|
|
30362
30425
|
class: ['vxe-date-range-picker--readonly', `type--${type}`, className]
|
|
30363
30426
|
}, inputLabel);
|
|
30364
30427
|
}
|
|
30428
|
+
const currStyle = computeCurrStyle.value;
|
|
30365
30429
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
30366
30430
|
const isClearable = computeIsClearable.value;
|
|
30367
30431
|
const prefix = renderPrefixIcon();
|
|
@@ -30377,6 +30441,7 @@ function date_range_picker_createInternalData() {
|
|
|
30377
30441
|
'is--active': isActivated,
|
|
30378
30442
|
'show--clear': isClearable && !isDisabled && (selectStValue || selectEdValue)
|
|
30379
30443
|
}],
|
|
30444
|
+
style: currStyle,
|
|
30380
30445
|
spellcheck: false
|
|
30381
30446
|
}, [prefix || renderEmptyElement($xeDateRangePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
30382
30447
|
class: 'vxe-date-range-picker--wrapper'
|
|
@@ -34460,6 +34525,7 @@ function icon_picker_createInternalData() {
|
|
|
34460
34525
|
* @deprecated
|
|
34461
34526
|
*/
|
|
34462
34527
|
popupClassName: [String, Function],
|
|
34528
|
+
width: [Number, String],
|
|
34463
34529
|
showIconTitle: {
|
|
34464
34530
|
type: Boolean,
|
|
34465
34531
|
default: () => getConfig().iconPicker.showIconTitle
|
|
@@ -34572,6 +34638,16 @@ function icon_picker_createInternalData() {
|
|
|
34572
34638
|
}
|
|
34573
34639
|
return getI18n('vxe.base.pleaseSelect');
|
|
34574
34640
|
});
|
|
34641
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34642
|
+
const {
|
|
34643
|
+
width
|
|
34644
|
+
} = props;
|
|
34645
|
+
const stys = {};
|
|
34646
|
+
if (width) {
|
|
34647
|
+
stys.width = toCssUnit(width);
|
|
34648
|
+
}
|
|
34649
|
+
return stys;
|
|
34650
|
+
});
|
|
34575
34651
|
const computeWrapperStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34576
34652
|
const popupOpts = computePopupOpts.value;
|
|
34577
34653
|
const {
|
|
@@ -35033,13 +35109,6 @@ function icon_picker_createInternalData() {
|
|
|
35033
35109
|
const isDisabled = computeIsDisabled.value;
|
|
35034
35110
|
const btnTransfer = computeBtnTransfer.value;
|
|
35035
35111
|
const formReadonly = computeFormReadonly.value;
|
|
35036
|
-
const inpPlaceholder = computeInpPlaceholder.value;
|
|
35037
|
-
const wrapperStyle = computeWrapperStyle.value;
|
|
35038
|
-
const popupOpts = computePopupOpts.value;
|
|
35039
|
-
const {
|
|
35040
|
-
appendTo
|
|
35041
|
-
} = popupOpts;
|
|
35042
|
-
const ppClassName = popupOpts.className || props.popupClassName;
|
|
35043
35112
|
if (formReadonly) {
|
|
35044
35113
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35045
35114
|
ref: refElem,
|
|
@@ -35048,6 +35117,14 @@ function icon_picker_createInternalData() {
|
|
|
35048
35117
|
class: selectIcon
|
|
35049
35118
|
})]);
|
|
35050
35119
|
}
|
|
35120
|
+
const currStyle = computeCurrStyle.value;
|
|
35121
|
+
const inpPlaceholder = computeInpPlaceholder.value;
|
|
35122
|
+
const wrapperStyle = computeWrapperStyle.value;
|
|
35123
|
+
const popupOpts = computePopupOpts.value;
|
|
35124
|
+
const {
|
|
35125
|
+
appendTo
|
|
35126
|
+
} = popupOpts;
|
|
35127
|
+
const ppClassName = popupOpts.className || props.popupClassName;
|
|
35051
35128
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35052
35129
|
ref: refElem,
|
|
35053
35130
|
class: ['vxe-ico-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -35058,7 +35135,8 @@ function icon_picker_createInternalData() {
|
|
|
35058
35135
|
'is--visible': visiblePanel,
|
|
35059
35136
|
'is--disabled': isDisabled,
|
|
35060
35137
|
'is--active': isActivated
|
|
35061
|
-
}]
|
|
35138
|
+
}],
|
|
35139
|
+
style: currStyle
|
|
35062
35140
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35063
35141
|
class: 'vxe-ico-picker--inner',
|
|
35064
35142
|
onClick: clickEvent
|
|
@@ -40061,6 +40139,7 @@ function select_createInternalData() {
|
|
|
40061
40139
|
* @deprecated
|
|
40062
40140
|
*/
|
|
40063
40141
|
popupClassName: [String, Function],
|
|
40142
|
+
width: [String, Number],
|
|
40064
40143
|
max: {
|
|
40065
40144
|
type: [String, Number],
|
|
40066
40145
|
default: null
|
|
@@ -40288,6 +40367,16 @@ function select_createInternalData() {
|
|
|
40288
40367
|
const computeMultiMaxCharNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40289
40368
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.multiCharOverflow);
|
|
40290
40369
|
});
|
|
40370
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40371
|
+
const {
|
|
40372
|
+
width
|
|
40373
|
+
} = props;
|
|
40374
|
+
const stys = {};
|
|
40375
|
+
if (width) {
|
|
40376
|
+
stys.width = toCssUnit(width);
|
|
40377
|
+
}
|
|
40378
|
+
return stys;
|
|
40379
|
+
});
|
|
40291
40380
|
const computePopupWrapperStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40292
40381
|
const popupOpts = computePopupOpts.value;
|
|
40293
40382
|
const {
|
|
@@ -41675,16 +41764,7 @@ function select_createInternalData() {
|
|
|
41675
41764
|
const btnTransfer = computeBtnTransfer.value;
|
|
41676
41765
|
const formReadonly = computeFormReadonly.value;
|
|
41677
41766
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
41678
|
-
const popupWrapperStyle = computePopupWrapperStyle.value;
|
|
41679
|
-
const popupOpts = computePopupOpts.value;
|
|
41680
|
-
const {
|
|
41681
|
-
appendTo
|
|
41682
|
-
} = popupOpts;
|
|
41683
41767
|
const defaultSlot = slots.default;
|
|
41684
|
-
const headerSlot = slots.header;
|
|
41685
|
-
const footerSlot = slots.footer;
|
|
41686
|
-
const prefixSlot = slots.prefix;
|
|
41687
|
-
const ppClassName = popupOpts.className || props.popupClassName;
|
|
41688
41768
|
if (formReadonly) {
|
|
41689
41769
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41690
41770
|
ref: refElem,
|
|
@@ -41697,7 +41777,17 @@ function select_createInternalData() {
|
|
|
41697
41777
|
title: fullLabel
|
|
41698
41778
|
}, selectLabel)]);
|
|
41699
41779
|
}
|
|
41780
|
+
const currStyle = computeCurrStyle.value;
|
|
41700
41781
|
const selectVals = computeSelectVals.value;
|
|
41782
|
+
const popupWrapperStyle = computePopupWrapperStyle.value;
|
|
41783
|
+
const popupOpts = computePopupOpts.value;
|
|
41784
|
+
const headerSlot = slots.header;
|
|
41785
|
+
const footerSlot = slots.footer;
|
|
41786
|
+
const prefixSlot = slots.prefix;
|
|
41787
|
+
const {
|
|
41788
|
+
appendTo
|
|
41789
|
+
} = popupOpts;
|
|
41790
|
+
const ppClassName = popupOpts.className || props.popupClassName;
|
|
41701
41791
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41702
41792
|
ref: refElem,
|
|
41703
41793
|
class: ['vxe-select', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -41709,7 +41799,8 @@ function select_createInternalData() {
|
|
|
41709
41799
|
'is--filter': filterable,
|
|
41710
41800
|
'is--loading': loading,
|
|
41711
41801
|
'is--active': isActivated
|
|
41712
|
-
}]
|
|
41802
|
+
}],
|
|
41803
|
+
style: currStyle
|
|
41713
41804
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41714
41805
|
class: 'vxe-select-slots',
|
|
41715
41806
|
ref: 'hideOption'
|
|
@@ -42723,6 +42814,7 @@ const Pager = VxePager;
|
|
|
42723
42814
|
|
|
42724
42815
|
|
|
42725
42816
|
|
|
42817
|
+
|
|
42726
42818
|
/* harmony default export */ var password_input = (defineVxeComponent({
|
|
42727
42819
|
name: 'VxePasswordInput',
|
|
42728
42820
|
props: {
|
|
@@ -42757,6 +42849,7 @@ const Pager = VxePager;
|
|
|
42757
42849
|
type: String,
|
|
42758
42850
|
default: () => getConfig().passwordInput.inputClassName
|
|
42759
42851
|
},
|
|
42852
|
+
width: [String, Number],
|
|
42760
42853
|
size: {
|
|
42761
42854
|
type: String,
|
|
42762
42855
|
default: () => getConfig().passwordInput.size || getConfig().size
|
|
@@ -42878,6 +42971,16 @@ const Pager = VxePager;
|
|
|
42878
42971
|
} = reactData;
|
|
42879
42972
|
return inputValue;
|
|
42880
42973
|
});
|
|
42974
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
42975
|
+
const {
|
|
42976
|
+
width
|
|
42977
|
+
} = props;
|
|
42978
|
+
const stys = {};
|
|
42979
|
+
if (width) {
|
|
42980
|
+
stys.width = toCssUnit(width);
|
|
42981
|
+
}
|
|
42982
|
+
return stys;
|
|
42983
|
+
});
|
|
42881
42984
|
const dispatchEvent = (type, params, evnt) => {
|
|
42882
42985
|
emit(type, createEvent(evnt, {
|
|
42883
42986
|
$passwordInput: $xePasswordInput
|
|
@@ -43104,6 +43207,7 @@ const Pager = VxePager;
|
|
|
43104
43207
|
class: ['vxe-password-input--readonly', className]
|
|
43105
43208
|
}, getText(inputValue));
|
|
43106
43209
|
}
|
|
43210
|
+
const currStyle = computeCurrStyle.value;
|
|
43107
43211
|
const vSize = computeSize.value;
|
|
43108
43212
|
const inputType = computeInputType.value;
|
|
43109
43213
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
@@ -43123,6 +43227,7 @@ const Pager = VxePager;
|
|
|
43123
43227
|
'is--active': isActivated,
|
|
43124
43228
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
43125
43229
|
}],
|
|
43230
|
+
style: currStyle,
|
|
43126
43231
|
spellcheck: false
|
|
43127
43232
|
}, [prefix || renderEmptyElement($xePasswordInput), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
43128
43233
|
class: 'vxe-password-input--wrapper'
|
|
@@ -47442,6 +47547,7 @@ const Slider = VxeSlider;
|
|
|
47442
47547
|
type: Boolean,
|
|
47443
47548
|
default: () => getConfig().space.wrap
|
|
47444
47549
|
},
|
|
47550
|
+
width: [Number, String],
|
|
47445
47551
|
gap: {
|
|
47446
47552
|
type: [Number, String, Array, Object],
|
|
47447
47553
|
default: () => getConfig().space.gap
|
|
@@ -47504,10 +47610,11 @@ const Slider = VxeSlider;
|
|
|
47504
47610
|
const refMaps = {
|
|
47505
47611
|
refElem
|
|
47506
47612
|
};
|
|
47507
|
-
const
|
|
47613
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
47508
47614
|
const {
|
|
47509
47615
|
align,
|
|
47510
|
-
gap
|
|
47616
|
+
gap,
|
|
47617
|
+
width
|
|
47511
47618
|
} = props;
|
|
47512
47619
|
const stys = {};
|
|
47513
47620
|
let rowGap = '';
|
|
@@ -47524,6 +47631,9 @@ const Slider = VxeSlider;
|
|
|
47524
47631
|
columGap = gap.columGap || '';
|
|
47525
47632
|
}
|
|
47526
47633
|
}
|
|
47634
|
+
if (width) {
|
|
47635
|
+
stys.width = toCssUnit(width);
|
|
47636
|
+
}
|
|
47527
47637
|
if (align) {
|
|
47528
47638
|
stys['align-items'] = align;
|
|
47529
47639
|
}
|
|
@@ -47610,7 +47720,7 @@ const Slider = VxeSlider;
|
|
|
47610
47720
|
itemMinWidth,
|
|
47611
47721
|
itemMaxWidth
|
|
47612
47722
|
} = props;
|
|
47613
|
-
const
|
|
47723
|
+
const currStyle = computeCurrStyle.value;
|
|
47614
47724
|
const vSize = computeSize.value;
|
|
47615
47725
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
47616
47726
|
ref: refElem,
|
|
@@ -47621,7 +47731,7 @@ const Slider = VxeSlider;
|
|
|
47621
47731
|
'is--fill': fill,
|
|
47622
47732
|
'is--width': itemWidth || itemMinWidth || itemMaxWidth
|
|
47623
47733
|
}],
|
|
47624
|
-
style:
|
|
47734
|
+
style: currStyle
|
|
47625
47735
|
}, renderItems());
|
|
47626
47736
|
};
|
|
47627
47737
|
$xeSpace.renderVN = renderVN;
|