vxe-pc-ui 4.18.2 → 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 +129 -28
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/button/src/button.js +11 -3
- package/es/button/style.css +1 -4
- package/es/button/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/modal/src/modal.js +1 -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 +3 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +1 -4
- package/es/vxe-button/style.min.css +1 -1
- package/lib/button/src/button.js +12 -2
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +1 -4
- package/lib/button/style/style.min.css +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 +154 -33
- 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/modal/src/modal.js +1 -1
- package/lib/modal/src/modal.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 +3 -2
- 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/lib/vxe-button/style/style.css +1 -4
- package/lib/vxe-button/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button.ts +12 -4
- 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/modal/src/modal.ts +1 -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/packages/ui/index.ts +2 -1
- package/styles/components/button.scss +1 -4
- package/types/components/button.d.ts +5 -0
- 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/types/ui/global-icon.d.ts +2 -1
- /package/es/icon/{iconfont.1788693917694.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/es/icon/{iconfont.1788693917694.woff → iconfont.1788753701809.woff} +0 -0
- /package/es/icon/{iconfont.1788693917694.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/es/{iconfont.1788693917694.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/es/{iconfont.1788693917694.woff → iconfont.1788753701809.woff} +0 -0
- /package/es/{iconfont.1788693917694.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788693917694.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788693917694.woff → iconfont.1788753701809.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788693917694.woff2 → iconfont.1788753701809.woff2} +0 -0
- /package/lib/{iconfont.1788693917694.ttf → iconfont.1788753701809.ttf} +0 -0
- /package/lib/{iconfont.1788693917694.woff → iconfont.1788753701809.woff} +0 -0
- /package/lib/{iconfont.1788693917694.woff2 → iconfont.1788753701809.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -4685,7 +4685,7 @@ function checkDynamic() {
|
|
|
4685
4685
|
const {
|
|
4686
4686
|
log: log_log
|
|
4687
4687
|
} = VxeUI;
|
|
4688
|
-
const uiVersion = `ui v${"4.18.
|
|
4688
|
+
const uiVersion = `ui v${"4.18.3"}`;
|
|
4689
4689
|
function createComponentLog(name) {
|
|
4690
4690
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
4691
4691
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -4703,7 +4703,7 @@ const errLog = log_log.create('error', uiVersion);
|
|
|
4703
4703
|
|
|
4704
4704
|
|
|
4705
4705
|
|
|
4706
|
-
const ui_version = "4.18.
|
|
4706
|
+
const ui_version = "4.18.3";
|
|
4707
4707
|
VxeUI.uiVersion = ui_version;
|
|
4708
4708
|
VxeUI.dynamicApp = dynamicApp;
|
|
4709
4709
|
function config(options) {
|
|
@@ -5216,7 +5216,8 @@ setIcon({
|
|
|
5216
5216
|
// loading
|
|
5217
5217
|
LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
|
|
5218
5218
|
// button
|
|
5219
|
-
|
|
5219
|
+
BUTTON_DROPDOWN_OPEN: iconPrefix + 'arrow-down rotate180',
|
|
5220
|
+
BUTTON_DROPDOWN_CLOSE: iconPrefix + 'arrow-down',
|
|
5220
5221
|
BUTTON_LOADING: iconPrefix + 'spinner roll',
|
|
5221
5222
|
BUTTON_TOOLTIP_ICON: iconPrefix + 'question-circle-fill',
|
|
5222
5223
|
// menu
|
|
@@ -8161,6 +8162,14 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
8161
8162
|
type: Boolean,
|
|
8162
8163
|
default: () => getConfig().button.showDropdownIcon
|
|
8163
8164
|
},
|
|
8165
|
+
dropdownCloseIcon: {
|
|
8166
|
+
type: String,
|
|
8167
|
+
default: () => getConfig().button.dropdownCloseIcon
|
|
8168
|
+
},
|
|
8169
|
+
dropdownOpenIcon: {
|
|
8170
|
+
type: String,
|
|
8171
|
+
default: () => getConfig().button.dropdownOpenIcon
|
|
8172
|
+
},
|
|
8164
8173
|
/**
|
|
8165
8174
|
* 在下拉面板关闭时销毁内容
|
|
8166
8175
|
*/
|
|
@@ -8682,6 +8691,8 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
8682
8691
|
name,
|
|
8683
8692
|
loading,
|
|
8684
8693
|
shadow,
|
|
8694
|
+
dropdownOpenIcon,
|
|
8695
|
+
dropdownCloseIcon,
|
|
8685
8696
|
showDropdownIcon
|
|
8686
8697
|
} = props;
|
|
8687
8698
|
const {
|
|
@@ -8752,7 +8763,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
8752
8763
|
}, {
|
|
8753
8764
|
default() {
|
|
8754
8765
|
return renderContent().concat(showDropdownIcon ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
8755
|
-
class: `vxe-button--dropdown-
|
|
8766
|
+
class: `vxe-button--dropdown-icon ${visiblePanel ? dropdownOpenIcon || getIcon().BUTTON_DROPDOWN_OPEN : dropdownCloseIcon || getIcon().BUTTON_DROPDOWN_CLOSE}`
|
|
8756
8767
|
})] : []);
|
|
8757
8768
|
}
|
|
8758
8769
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('button', {
|
|
@@ -8775,7 +8786,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
8775
8786
|
onClick: clickTargetEvent,
|
|
8776
8787
|
...btnOns
|
|
8777
8788
|
}, renderContent().concat(showDropdownIcon ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
8778
|
-
class: `vxe-button--dropdown-
|
|
8789
|
+
class: `vxe-button--dropdown-icon ${visiblePanel ? dropdownOpenIcon || getIcon().BUTTON_DROPDOWN_OPEN : dropdownCloseIcon || getIcon().BUTTON_DROPDOWN_CLOSE}`
|
|
8779
8790
|
})] : [])), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
|
|
8780
8791
|
to: getPopupContainer(appendTo),
|
|
8781
8792
|
disabled: btnTransfer ? !initialized : true
|
|
@@ -14804,6 +14815,7 @@ const {
|
|
|
14804
14815
|
align: String,
|
|
14805
14816
|
form: String,
|
|
14806
14817
|
className: String,
|
|
14818
|
+
width: [String, Number],
|
|
14807
14819
|
inputClassName: {
|
|
14808
14820
|
type: String,
|
|
14809
14821
|
default: () => getConfig().input.inputClassName
|
|
@@ -15027,6 +15039,16 @@ const {
|
|
|
15027
15039
|
}
|
|
15028
15040
|
return maxLen;
|
|
15029
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
|
+
});
|
|
15030
15052
|
const computeIsDateTimeType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
15031
15053
|
const {
|
|
15032
15054
|
type
|
|
@@ -17462,6 +17484,7 @@ const {
|
|
|
17462
17484
|
class: ['vxe-input--readonly', `type--${type}`, className]
|
|
17463
17485
|
}, inputValue);
|
|
17464
17486
|
}
|
|
17487
|
+
const currStyle = computeCurrStyle.value;
|
|
17465
17488
|
const isCountError = computeIsCountError.value;
|
|
17466
17489
|
const inputCount = computeInputCount.value;
|
|
17467
17490
|
const inputReadonly = computeInputReadonly.value;
|
|
@@ -17488,6 +17511,7 @@ const {
|
|
|
17488
17511
|
'is--active': isActivated,
|
|
17489
17512
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
17490
17513
|
}],
|
|
17514
|
+
style: currStyle,
|
|
17491
17515
|
spellcheck: false
|
|
17492
17516
|
}, [prefix || (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17493
17517
|
class: 'vxe-input--wrapper',
|
|
@@ -21515,6 +21539,7 @@ const {
|
|
|
21515
21539
|
type: String,
|
|
21516
21540
|
default: () => getConfig().numberInput.inputClassName
|
|
21517
21541
|
},
|
|
21542
|
+
width: [String, Number],
|
|
21518
21543
|
size: {
|
|
21519
21544
|
type: String,
|
|
21520
21545
|
default: () => getConfig().numberInput.size || getConfig().size
|
|
@@ -21814,6 +21839,16 @@ const {
|
|
|
21814
21839
|
} = props;
|
|
21815
21840
|
return 'vxe-number-input--input' + (inputClassName ? ' ' + inputClassName : '');
|
|
21816
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
|
+
});
|
|
21817
21852
|
const refMaps = {
|
|
21818
21853
|
refElem,
|
|
21819
21854
|
refInput: refInputTarget
|
|
@@ -22642,6 +22677,7 @@ const {
|
|
|
22642
22677
|
class: ['vxe-number-input--readonly', `type--${type}`, className]
|
|
22643
22678
|
}, numLabel);
|
|
22644
22679
|
}
|
|
22680
|
+
const currStyle = computeCurrStyle.value;
|
|
22645
22681
|
const inputReadonly = computeInputReadonly.value;
|
|
22646
22682
|
const isClearable = computeIsClearable.value;
|
|
22647
22683
|
const isControls = isEnableConf(controlOpts) && (controls === false ? controls : showButton);
|
|
@@ -22657,6 +22693,7 @@ const {
|
|
|
22657
22693
|
'is--active': isActivated,
|
|
22658
22694
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
22659
22695
|
}],
|
|
22696
|
+
style: currStyle,
|
|
22660
22697
|
spellcheck: false,
|
|
22661
22698
|
onMouseenter: mouseenterEvent,
|
|
22662
22699
|
onMouseleave: mouseleaveEvent
|
|
@@ -22751,6 +22788,7 @@ const NumberInput = VxeNumberInput;
|
|
|
22751
22788
|
type: String,
|
|
22752
22789
|
default: () => getConfig().colorPicker.type
|
|
22753
22790
|
},
|
|
22791
|
+
width: [Number, String],
|
|
22754
22792
|
size: {
|
|
22755
22793
|
type: String,
|
|
22756
22794
|
default: () => getConfig().colorPicker.size || getConfig().size
|
|
@@ -22912,6 +22950,16 @@ const NumberInput = VxeNumberInput;
|
|
|
22912
22950
|
}
|
|
22913
22951
|
return [];
|
|
22914
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
|
+
});
|
|
22915
22963
|
const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
22916
22964
|
return Object.assign({}, getConfig().colorPicker.popupConfig, props.popupConfig);
|
|
22917
22965
|
});
|
|
@@ -23684,10 +23732,6 @@ const NumberInput = VxeNumberInput;
|
|
|
23684
23732
|
const isDisabled = computeIsDisabled.value;
|
|
23685
23733
|
const btnTransfer = computeBtnTransfer.value;
|
|
23686
23734
|
const formReadonly = computeFormReadonly.value;
|
|
23687
|
-
const popupOpts = computePopupOpts.value;
|
|
23688
|
-
const {
|
|
23689
|
-
appendTo
|
|
23690
|
-
} = popupOpts;
|
|
23691
23735
|
if (formReadonly) {
|
|
23692
23736
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23693
23737
|
ref: refElem,
|
|
@@ -23703,6 +23747,11 @@ const NumberInput = VxeNumberInput;
|
|
|
23703
23747
|
} : undefined
|
|
23704
23748
|
})]);
|
|
23705
23749
|
}
|
|
23750
|
+
const currStyle = computeCurrStyle.value;
|
|
23751
|
+
const popupOpts = computePopupOpts.value;
|
|
23752
|
+
const {
|
|
23753
|
+
appendTo
|
|
23754
|
+
} = popupOpts;
|
|
23706
23755
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23707
23756
|
ref: refElem,
|
|
23708
23757
|
class: ['vxe-color-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -23713,7 +23762,8 @@ const NumberInput = VxeNumberInput;
|
|
|
23713
23762
|
'is--visible': visiblePanel,
|
|
23714
23763
|
'is--disabled': isDisabled,
|
|
23715
23764
|
'is--active': isActivated
|
|
23716
|
-
}]
|
|
23765
|
+
}],
|
|
23766
|
+
style: currStyle
|
|
23717
23767
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('input', {
|
|
23718
23768
|
ref: refInputTarget,
|
|
23719
23769
|
class: 'vxe-color-picker--input',
|
|
@@ -27083,6 +27133,7 @@ function date_picker_createInternalData() {
|
|
|
27083
27133
|
type: String,
|
|
27084
27134
|
default: 'date'
|
|
27085
27135
|
},
|
|
27136
|
+
width: [Number, String],
|
|
27086
27137
|
clearable: {
|
|
27087
27138
|
type: Boolean,
|
|
27088
27139
|
default: () => getConfig().datePicker.clearable
|
|
@@ -27302,6 +27353,16 @@ function date_picker_createInternalData() {
|
|
|
27302
27353
|
}
|
|
27303
27354
|
return [];
|
|
27304
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
|
+
});
|
|
27305
27366
|
const computeDateStartDate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
27306
27367
|
return props.startDate ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(props.startDate) : null;
|
|
27307
27368
|
});
|
|
@@ -28689,6 +28750,7 @@ function date_picker_createInternalData() {
|
|
|
28689
28750
|
class: ['vxe-date-picker--readonly', `type--${type}`, className]
|
|
28690
28751
|
}, panelLabel);
|
|
28691
28752
|
}
|
|
28753
|
+
const currStyle = computeCurrStyle.value;
|
|
28692
28754
|
const inputReadonly = computeInputReadonly.value;
|
|
28693
28755
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
28694
28756
|
const isClearable = computeIsClearable.value;
|
|
@@ -28705,6 +28767,7 @@ function date_picker_createInternalData() {
|
|
|
28705
28767
|
'is--active': isActivated,
|
|
28706
28768
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
28707
28769
|
}],
|
|
28770
|
+
style: currStyle,
|
|
28708
28771
|
spellcheck: false
|
|
28709
28772
|
}, [prefix || renderEmptyElement($xeDatePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28710
28773
|
class: 'vxe-date-picker--wrapper'
|
|
@@ -28838,6 +28901,7 @@ function date_range_picker_createInternalData() {
|
|
|
28838
28901
|
type: Boolean,
|
|
28839
28902
|
default: true
|
|
28840
28903
|
},
|
|
28904
|
+
width: [Number, String],
|
|
28841
28905
|
name: String,
|
|
28842
28906
|
type: {
|
|
28843
28907
|
type: String,
|
|
@@ -29049,6 +29113,16 @@ function date_range_picker_createInternalData() {
|
|
|
29049
29113
|
}
|
|
29050
29114
|
return [];
|
|
29051
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
|
+
});
|
|
29052
29126
|
const computeMVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
29053
29127
|
const {
|
|
29054
29128
|
startValue,
|
|
@@ -30351,6 +30425,7 @@ function date_range_picker_createInternalData() {
|
|
|
30351
30425
|
class: ['vxe-date-range-picker--readonly', `type--${type}`, className]
|
|
30352
30426
|
}, inputLabel);
|
|
30353
30427
|
}
|
|
30428
|
+
const currStyle = computeCurrStyle.value;
|
|
30354
30429
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
30355
30430
|
const isClearable = computeIsClearable.value;
|
|
30356
30431
|
const prefix = renderPrefixIcon();
|
|
@@ -30366,6 +30441,7 @@ function date_range_picker_createInternalData() {
|
|
|
30366
30441
|
'is--active': isActivated,
|
|
30367
30442
|
'show--clear': isClearable && !isDisabled && (selectStValue || selectEdValue)
|
|
30368
30443
|
}],
|
|
30444
|
+
style: currStyle,
|
|
30369
30445
|
spellcheck: false
|
|
30370
30446
|
}, [prefix || renderEmptyElement($xeDateRangePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
30371
30447
|
class: 'vxe-date-range-picker--wrapper'
|
|
@@ -34449,6 +34525,7 @@ function icon_picker_createInternalData() {
|
|
|
34449
34525
|
* @deprecated
|
|
34450
34526
|
*/
|
|
34451
34527
|
popupClassName: [String, Function],
|
|
34528
|
+
width: [Number, String],
|
|
34452
34529
|
showIconTitle: {
|
|
34453
34530
|
type: Boolean,
|
|
34454
34531
|
default: () => getConfig().iconPicker.showIconTitle
|
|
@@ -34561,6 +34638,16 @@ function icon_picker_createInternalData() {
|
|
|
34561
34638
|
}
|
|
34562
34639
|
return getI18n('vxe.base.pleaseSelect');
|
|
34563
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
|
+
});
|
|
34564
34651
|
const computeWrapperStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34565
34652
|
const popupOpts = computePopupOpts.value;
|
|
34566
34653
|
const {
|
|
@@ -35022,13 +35109,6 @@ function icon_picker_createInternalData() {
|
|
|
35022
35109
|
const isDisabled = computeIsDisabled.value;
|
|
35023
35110
|
const btnTransfer = computeBtnTransfer.value;
|
|
35024
35111
|
const formReadonly = computeFormReadonly.value;
|
|
35025
|
-
const inpPlaceholder = computeInpPlaceholder.value;
|
|
35026
|
-
const wrapperStyle = computeWrapperStyle.value;
|
|
35027
|
-
const popupOpts = computePopupOpts.value;
|
|
35028
|
-
const {
|
|
35029
|
-
appendTo
|
|
35030
|
-
} = popupOpts;
|
|
35031
|
-
const ppClassName = popupOpts.className || props.popupClassName;
|
|
35032
35112
|
if (formReadonly) {
|
|
35033
35113
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35034
35114
|
ref: refElem,
|
|
@@ -35037,6 +35117,14 @@ function icon_picker_createInternalData() {
|
|
|
35037
35117
|
class: selectIcon
|
|
35038
35118
|
})]);
|
|
35039
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;
|
|
35040
35128
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35041
35129
|
ref: refElem,
|
|
35042
35130
|
class: ['vxe-ico-picker', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -35047,7 +35135,8 @@ function icon_picker_createInternalData() {
|
|
|
35047
35135
|
'is--visible': visiblePanel,
|
|
35048
35136
|
'is--disabled': isDisabled,
|
|
35049
35137
|
'is--active': isActivated
|
|
35050
|
-
}]
|
|
35138
|
+
}],
|
|
35139
|
+
style: currStyle
|
|
35051
35140
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35052
35141
|
class: 'vxe-ico-picker--inner',
|
|
35053
35142
|
onClick: clickEvent
|
|
@@ -38721,7 +38810,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
38721
38810
|
const handleGlobalKeydownEvent = evnt => {
|
|
38722
38811
|
const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
|
|
38723
38812
|
if (isEsc) {
|
|
38724
|
-
const lastModal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().max(allActiveModals, item => item.reactData.modalZindex);
|
|
38813
|
+
const lastModal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().max(allActiveModals.filter(item => item.reactData.zoomStatus !== 'minimize'), item => item.reactData.modalZindex);
|
|
38725
38814
|
// 多个时,只关掉最上层的窗口
|
|
38726
38815
|
if (lastModal) {
|
|
38727
38816
|
setTimeout(() => {
|
|
@@ -40050,6 +40139,7 @@ function select_createInternalData() {
|
|
|
40050
40139
|
* @deprecated
|
|
40051
40140
|
*/
|
|
40052
40141
|
popupClassName: [String, Function],
|
|
40142
|
+
width: [String, Number],
|
|
40053
40143
|
max: {
|
|
40054
40144
|
type: [String, Number],
|
|
40055
40145
|
default: null
|
|
@@ -40277,6 +40367,16 @@ function select_createInternalData() {
|
|
|
40277
40367
|
const computeMultiMaxCharNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40278
40368
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.multiCharOverflow);
|
|
40279
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
|
+
});
|
|
40280
40380
|
const computePopupWrapperStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40281
40381
|
const popupOpts = computePopupOpts.value;
|
|
40282
40382
|
const {
|
|
@@ -41664,16 +41764,7 @@ function select_createInternalData() {
|
|
|
41664
41764
|
const btnTransfer = computeBtnTransfer.value;
|
|
41665
41765
|
const formReadonly = computeFormReadonly.value;
|
|
41666
41766
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
41667
|
-
const popupWrapperStyle = computePopupWrapperStyle.value;
|
|
41668
|
-
const popupOpts = computePopupOpts.value;
|
|
41669
|
-
const {
|
|
41670
|
-
appendTo
|
|
41671
|
-
} = popupOpts;
|
|
41672
41767
|
const defaultSlot = slots.default;
|
|
41673
|
-
const headerSlot = slots.header;
|
|
41674
|
-
const footerSlot = slots.footer;
|
|
41675
|
-
const prefixSlot = slots.prefix;
|
|
41676
|
-
const ppClassName = popupOpts.className || props.popupClassName;
|
|
41677
41768
|
if (formReadonly) {
|
|
41678
41769
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41679
41770
|
ref: refElem,
|
|
@@ -41686,7 +41777,17 @@ function select_createInternalData() {
|
|
|
41686
41777
|
title: fullLabel
|
|
41687
41778
|
}, selectLabel)]);
|
|
41688
41779
|
}
|
|
41780
|
+
const currStyle = computeCurrStyle.value;
|
|
41689
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;
|
|
41690
41791
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41691
41792
|
ref: refElem,
|
|
41692
41793
|
class: ['vxe-select', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
@@ -41698,7 +41799,8 @@ function select_createInternalData() {
|
|
|
41698
41799
|
'is--filter': filterable,
|
|
41699
41800
|
'is--loading': loading,
|
|
41700
41801
|
'is--active': isActivated
|
|
41701
|
-
}]
|
|
41802
|
+
}],
|
|
41803
|
+
style: currStyle
|
|
41702
41804
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
41703
41805
|
class: 'vxe-select-slots',
|
|
41704
41806
|
ref: 'hideOption'
|
|
@@ -42712,6 +42814,7 @@ const Pager = VxePager;
|
|
|
42712
42814
|
|
|
42713
42815
|
|
|
42714
42816
|
|
|
42817
|
+
|
|
42715
42818
|
/* harmony default export */ var password_input = (defineVxeComponent({
|
|
42716
42819
|
name: 'VxePasswordInput',
|
|
42717
42820
|
props: {
|
|
@@ -42746,6 +42849,7 @@ const Pager = VxePager;
|
|
|
42746
42849
|
type: String,
|
|
42747
42850
|
default: () => getConfig().passwordInput.inputClassName
|
|
42748
42851
|
},
|
|
42852
|
+
width: [String, Number],
|
|
42749
42853
|
size: {
|
|
42750
42854
|
type: String,
|
|
42751
42855
|
default: () => getConfig().passwordInput.size || getConfig().size
|
|
@@ -42867,6 +42971,16 @@ const Pager = VxePager;
|
|
|
42867
42971
|
} = reactData;
|
|
42868
42972
|
return inputValue;
|
|
42869
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
|
+
});
|
|
42870
42984
|
const dispatchEvent = (type, params, evnt) => {
|
|
42871
42985
|
emit(type, createEvent(evnt, {
|
|
42872
42986
|
$passwordInput: $xePasswordInput
|
|
@@ -43093,6 +43207,7 @@ const Pager = VxePager;
|
|
|
43093
43207
|
class: ['vxe-password-input--readonly', className]
|
|
43094
43208
|
}, getText(inputValue));
|
|
43095
43209
|
}
|
|
43210
|
+
const currStyle = computeCurrStyle.value;
|
|
43096
43211
|
const vSize = computeSize.value;
|
|
43097
43212
|
const inputType = computeInputType.value;
|
|
43098
43213
|
const inpPlaceholder = computeInpPlaceholder.value;
|
|
@@ -43112,6 +43227,7 @@ const Pager = VxePager;
|
|
|
43112
43227
|
'is--active': isActivated,
|
|
43113
43228
|
'show--clear': isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))
|
|
43114
43229
|
}],
|
|
43230
|
+
style: currStyle,
|
|
43115
43231
|
spellcheck: false
|
|
43116
43232
|
}, [prefix || renderEmptyElement($xePasswordInput), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
43117
43233
|
class: 'vxe-password-input--wrapper'
|
|
@@ -47431,6 +47547,7 @@ const Slider = VxeSlider;
|
|
|
47431
47547
|
type: Boolean,
|
|
47432
47548
|
default: () => getConfig().space.wrap
|
|
47433
47549
|
},
|
|
47550
|
+
width: [Number, String],
|
|
47434
47551
|
gap: {
|
|
47435
47552
|
type: [Number, String, Array, Object],
|
|
47436
47553
|
default: () => getConfig().space.gap
|
|
@@ -47493,10 +47610,11 @@ const Slider = VxeSlider;
|
|
|
47493
47610
|
const refMaps = {
|
|
47494
47611
|
refElem
|
|
47495
47612
|
};
|
|
47496
|
-
const
|
|
47613
|
+
const computeCurrStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
47497
47614
|
const {
|
|
47498
47615
|
align,
|
|
47499
|
-
gap
|
|
47616
|
+
gap,
|
|
47617
|
+
width
|
|
47500
47618
|
} = props;
|
|
47501
47619
|
const stys = {};
|
|
47502
47620
|
let rowGap = '';
|
|
@@ -47513,6 +47631,9 @@ const Slider = VxeSlider;
|
|
|
47513
47631
|
columGap = gap.columGap || '';
|
|
47514
47632
|
}
|
|
47515
47633
|
}
|
|
47634
|
+
if (width) {
|
|
47635
|
+
stys.width = toCssUnit(width);
|
|
47636
|
+
}
|
|
47516
47637
|
if (align) {
|
|
47517
47638
|
stys['align-items'] = align;
|
|
47518
47639
|
}
|
|
@@ -47599,7 +47720,7 @@ const Slider = VxeSlider;
|
|
|
47599
47720
|
itemMinWidth,
|
|
47600
47721
|
itemMaxWidth
|
|
47601
47722
|
} = props;
|
|
47602
|
-
const
|
|
47723
|
+
const currStyle = computeCurrStyle.value;
|
|
47603
47724
|
const vSize = computeSize.value;
|
|
47604
47725
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
47605
47726
|
ref: refElem,
|
|
@@ -47610,7 +47731,7 @@ const Slider = VxeSlider;
|
|
|
47610
47731
|
'is--fill': fill,
|
|
47611
47732
|
'is--width': itemWidth || itemMinWidth || itemMaxWidth
|
|
47612
47733
|
}],
|
|
47613
|
-
style:
|
|
47734
|
+
style: currStyle
|
|
47614
47735
|
}, renderItems());
|
|
47615
47736
|
};
|
|
47616
47737
|
$xeSpace.renderVN = renderVN;
|