vxe-pc-ui 4.16.28 → 4.17.1
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 +54 -14
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/date-picker/src/date-picker.js +6 -2
- package/es/date-range-picker/src/date-range-picker.js +6 -2
- package/es/icon/style.css +1 -1
- package/es/input/src/input.js +6 -2
- package/es/number-input/src/number-input.js +6 -2
- package/es/password-input/src/password-input.js +6 -2
- package/es/splitter/src/splitter-panel.js +16 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/textarea/src/textarea.js +6 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/date-picker/src/date-picker.js +6 -1
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +6 -1
- 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/index.umd.js +54 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +6 -1
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +6 -1
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/password-input/src/password-input.js +6 -1
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/splitter/src/splitter-panel.js +16 -0
- package/lib/splitter/src/splitter-panel.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/textarea/src/textarea.js +6 -1
- package/lib/textarea/src/textarea.min.js +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 +2 -2
- package/packages/date-picker/src/date-picker.ts +6 -2
- package/packages/date-range-picker/src/date-range-picker.ts +6 -2
- package/packages/input/src/input.ts +6 -2
- package/packages/number-input/src/number-input.ts +6 -2
- package/packages/password-input/src/password-input.ts +6 -2
- package/packages/splitter/src/splitter-panel.ts +18 -0
- package/packages/textarea/src/textarea.ts +6 -2
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/date-range-picker.d.ts +2 -0
- package/types/components/input.d.ts +2 -0
- package/types/components/number-input.d.ts +2 -0
- package/types/components/password-input.d.ts +2 -0
- package/types/components/splitter-panel.d.ts +25 -0
- package/types/components/splitter.d.ts +8 -0
- package/types/components/table-module/edit.d.ts +37 -4
- package/types/components/table-plugins/extend-cell-area.d.ts +2 -2
- package/types/components/table.d.ts +9 -2
- package/types/components/textarea.d.ts +2 -0
- package/types/ui/renderer.d.ts +9 -3
- /package/es/icon/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
- /package/es/icon/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
- /package/es/icon/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
- /package/es/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
- /package/es/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
- /package/es/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
- /package/lib/icon/style/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
- /package/lib/{iconfont.1786584289686.ttf → iconfont.1786796113388.ttf} +0 -0
- /package/lib/{iconfont.1786584289686.woff → iconfont.1786796113388.woff} +0 -0
- /package/lib/{iconfont.1786584289686.woff2 → iconfont.1786796113388.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -81,7 +81,7 @@ function checkDynamic() {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
const { log } = VxeUI;
|
|
84
|
-
const uiVersion = `ui v${"4.
|
|
84
|
+
const uiVersion = `ui v${"4.17.1"}`;
|
|
85
85
|
function createComponentLog(name) {
|
|
86
86
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
87
87
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -95,7 +95,7 @@ function createComponentLog(name) {
|
|
|
95
95
|
const warnLog$h = log.create('warn', uiVersion);
|
|
96
96
|
log.create('error', uiVersion);
|
|
97
97
|
|
|
98
|
-
const version = "4.
|
|
98
|
+
const version = "4.17.1";
|
|
99
99
|
VxeUI.uiVersion = version;
|
|
100
100
|
VxeUI.dynamicApp = dynamicApp;
|
|
101
101
|
function config(options) {
|
|
@@ -9089,6 +9089,10 @@ var VxeInputComponent = defineVxeComponent({
|
|
|
9089
9089
|
align: String,
|
|
9090
9090
|
form: String,
|
|
9091
9091
|
className: String,
|
|
9092
|
+
inputClassName: {
|
|
9093
|
+
type: String,
|
|
9094
|
+
default: () => getConfig$3().input.inputClassName
|
|
9095
|
+
},
|
|
9092
9096
|
size: {
|
|
9093
9097
|
type: String,
|
|
9094
9098
|
default: () => getConfig$3().input.size || getConfig$3().size
|
|
@@ -11584,7 +11588,7 @@ var VxeInputComponent = defineVxeComponent({
|
|
|
11584
11588
|
};
|
|
11585
11589
|
Object.assign($xeInput, inputMethods);
|
|
11586
11590
|
const renderVN = () => {
|
|
11587
|
-
const { className, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props;
|
|
11591
|
+
const { className, inputClassName, controls, type, title, align, showWordCount, countMethod, name, autoComplete, autocomplete } = props;
|
|
11588
11592
|
const { inputValue, visiblePanel, isActivated } = reactData;
|
|
11589
11593
|
const vSize = computeSize.value;
|
|
11590
11594
|
const isDisabled = computeIsDisabled.value;
|
|
@@ -11628,7 +11632,7 @@ var VxeInputComponent = defineVxeComponent({
|
|
|
11628
11632
|
}, [
|
|
11629
11633
|
h('input', {
|
|
11630
11634
|
ref: refInputTarget,
|
|
11631
|
-
class: 'vxe-input--inner',
|
|
11635
|
+
class: 'vxe-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
11632
11636
|
value: inputValue,
|
|
11633
11637
|
name,
|
|
11634
11638
|
type: inputType,
|
|
@@ -15157,6 +15161,10 @@ var VxeNumberInputComponent = defineVxeComponent({
|
|
|
15157
15161
|
align: String,
|
|
15158
15162
|
form: String,
|
|
15159
15163
|
className: String,
|
|
15164
|
+
inputClassName: {
|
|
15165
|
+
type: String,
|
|
15166
|
+
default: () => getConfig$3().numberInput.inputClassName
|
|
15167
|
+
},
|
|
15160
15168
|
size: {
|
|
15161
15169
|
type: String,
|
|
15162
15170
|
default: () => getConfig$3().numberInput.size || getConfig$3().size
|
|
@@ -15972,7 +15980,7 @@ var VxeNumberInputComponent = defineVxeComponent({
|
|
|
15972
15980
|
]);
|
|
15973
15981
|
};
|
|
15974
15982
|
const renderInput = () => {
|
|
15975
|
-
const { type, name, autocomplete, autoComplete } = props;
|
|
15983
|
+
const { inputClassName, type, name, autocomplete, autoComplete } = props;
|
|
15976
15984
|
const { inputValue, isFocus } = reactData;
|
|
15977
15985
|
const isDisabled = computeIsDisabled.value;
|
|
15978
15986
|
const numLabel = computeNumLabel.value;
|
|
@@ -15989,7 +15997,7 @@ var VxeNumberInputComponent = defineVxeComponent({
|
|
|
15989
15997
|
}, [
|
|
15990
15998
|
h('input', {
|
|
15991
15999
|
ref: refInputTarget,
|
|
15992
|
-
class: 'vxe-number-input--input',
|
|
16000
|
+
class: 'vxe-number-input--input' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
15993
16001
|
value: !isFocus && type === 'amount' ? numLabel : inputValue,
|
|
15994
16002
|
name,
|
|
15995
16003
|
type: 'text',
|
|
@@ -20214,6 +20222,10 @@ var VxeDatePickerComponent = defineVxeComponent({
|
|
|
20214
20222
|
},
|
|
20215
20223
|
form: String,
|
|
20216
20224
|
className: String,
|
|
20225
|
+
inputClassName: {
|
|
20226
|
+
type: String,
|
|
20227
|
+
default: () => getConfig$3().datePicker.inputClassName
|
|
20228
|
+
},
|
|
20217
20229
|
zIndex: Number,
|
|
20218
20230
|
size: {
|
|
20219
20231
|
type: String,
|
|
@@ -21662,7 +21674,7 @@ var VxeDatePickerComponent = defineVxeComponent({
|
|
|
21662
21674
|
]);
|
|
21663
21675
|
};
|
|
21664
21676
|
const renderVN = () => {
|
|
21665
|
-
const { className, type, name, autoComplete } = props;
|
|
21677
|
+
const { className, inputClassName, type, name, autoComplete } = props;
|
|
21666
21678
|
const { inputValue, visiblePanel, isActivated, labelFlag } = reactData;
|
|
21667
21679
|
const { inputLabel } = internalData;
|
|
21668
21680
|
const vSize = computeSize.value;
|
|
@@ -21699,7 +21711,7 @@ var VxeDatePickerComponent = defineVxeComponent({
|
|
|
21699
21711
|
}, [
|
|
21700
21712
|
h('input', {
|
|
21701
21713
|
ref: refInputTarget,
|
|
21702
|
-
class: 'vxe-date-picker--inner',
|
|
21714
|
+
class: 'vxe-date-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
21703
21715
|
value: labelFlag ? inputLabel : '',
|
|
21704
21716
|
name,
|
|
21705
21717
|
type: 'text',
|
|
@@ -21833,6 +21845,10 @@ var VxeDateRangePickerComponent = defineVxeComponent({
|
|
|
21833
21845
|
},
|
|
21834
21846
|
form: String,
|
|
21835
21847
|
className: String,
|
|
21848
|
+
inputClassName: {
|
|
21849
|
+
type: String,
|
|
21850
|
+
default: () => getConfig$3().dateRangePicker.inputClassName
|
|
21851
|
+
},
|
|
21836
21852
|
zIndex: Number,
|
|
21837
21853
|
size: {
|
|
21838
21854
|
type: String,
|
|
@@ -23178,7 +23194,7 @@ var VxeDateRangePickerComponent = defineVxeComponent({
|
|
|
23178
23194
|
]);
|
|
23179
23195
|
};
|
|
23180
23196
|
const renderVN = () => {
|
|
23181
|
-
const { className, type, name, autoComplete } = props;
|
|
23197
|
+
const { className, inputClassName, type, name, autoComplete } = props;
|
|
23182
23198
|
const { selectStValue, selectEdValue, visiblePanel, isActivated } = reactData;
|
|
23183
23199
|
const vSize = computeSize.value;
|
|
23184
23200
|
const isDisabled = computeIsDisabled.value;
|
|
@@ -23213,7 +23229,7 @@ var VxeDateRangePickerComponent = defineVxeComponent({
|
|
|
23213
23229
|
}, [
|
|
23214
23230
|
h('input', {
|
|
23215
23231
|
ref: refInputTarget,
|
|
23216
|
-
class: 'vxe-date-range-picker--inner',
|
|
23232
|
+
class: 'vxe-date-range-picker--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
23217
23233
|
value: inputLabel,
|
|
23218
23234
|
name,
|
|
23219
23235
|
type: 'text',
|
|
@@ -33801,6 +33817,10 @@ var VxePasswordInputComponent = defineVxeComponent({
|
|
|
33801
33817
|
default: 'off'
|
|
33802
33818
|
},
|
|
33803
33819
|
className: String,
|
|
33820
|
+
inputClassName: {
|
|
33821
|
+
type: String,
|
|
33822
|
+
default: () => getConfig$3().passwordInput.inputClassName
|
|
33823
|
+
},
|
|
33804
33824
|
size: {
|
|
33805
33825
|
type: String,
|
|
33806
33826
|
default: () => getConfig$3().passwordInput.size || getConfig$3().size
|
|
@@ -34061,7 +34081,7 @@ var VxePasswordInputComponent = defineVxeComponent({
|
|
|
34061
34081
|
reactData.inputValue = val;
|
|
34062
34082
|
});
|
|
34063
34083
|
const renderVN = () => {
|
|
34064
|
-
const { className, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props;
|
|
34084
|
+
const { className, inputClassName, name, disabled, readonly, autocomplete, autoComplete, maxLength } = props;
|
|
34065
34085
|
const { inputValue, isActivated } = reactData;
|
|
34066
34086
|
const vSize = computeSize.value;
|
|
34067
34087
|
const inpReadonly = computeInpReadonly.value;
|
|
@@ -34089,7 +34109,7 @@ var VxePasswordInputComponent = defineVxeComponent({
|
|
|
34089
34109
|
}, [
|
|
34090
34110
|
h('input', {
|
|
34091
34111
|
ref: refInputTarget,
|
|
34092
|
-
class: 'vxe-password-input--inner',
|
|
34112
|
+
class: 'vxe-password-input--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
34093
34113
|
value: inputValue,
|
|
34094
34114
|
name,
|
|
34095
34115
|
type: inputType,
|
|
@@ -37366,6 +37386,14 @@ var VxeSplitPaneComponent = defineVxeComponent({
|
|
|
37366
37386
|
type: [Number, String],
|
|
37367
37387
|
default: () => null
|
|
37368
37388
|
},
|
|
37389
|
+
maxWidth: {
|
|
37390
|
+
type: [Number, String],
|
|
37391
|
+
default: () => null
|
|
37392
|
+
},
|
|
37393
|
+
maxHeight: {
|
|
37394
|
+
type: [Number, String],
|
|
37395
|
+
default: () => null
|
|
37396
|
+
},
|
|
37369
37397
|
// 已废弃
|
|
37370
37398
|
showAction: Boolean
|
|
37371
37399
|
},
|
|
@@ -37382,6 +37410,8 @@ var VxeSplitPaneComponent = defineVxeComponent({
|
|
|
37382
37410
|
height: props.height,
|
|
37383
37411
|
minWidth: props.minWidth,
|
|
37384
37412
|
minHeight: props.minHeight,
|
|
37413
|
+
maxWidth: props.maxWidth,
|
|
37414
|
+
maxHeight: props.maxHeight,
|
|
37385
37415
|
showAction: props.showAction,
|
|
37386
37416
|
isExpand: true,
|
|
37387
37417
|
renderWidth: 0,
|
|
@@ -37435,6 +37465,12 @@ var VxeSplitPaneComponent = defineVxeComponent({
|
|
|
37435
37465
|
watch(() => props.minHeight, (val) => {
|
|
37436
37466
|
paneConfig.minHeight = val;
|
|
37437
37467
|
});
|
|
37468
|
+
watch(() => props.maxWidth, (val) => {
|
|
37469
|
+
paneConfig.maxWidth = val;
|
|
37470
|
+
});
|
|
37471
|
+
watch(() => props.maxHeight, (val) => {
|
|
37472
|
+
paneConfig.maxHeight = val;
|
|
37473
|
+
});
|
|
37438
37474
|
watch(() => props.showAction, (val) => {
|
|
37439
37475
|
paneConfig.showAction = val;
|
|
37440
37476
|
});
|
|
@@ -40263,6 +40299,10 @@ var VxeTextareaComponent = defineVxeComponent({
|
|
|
40263
40299
|
props: {
|
|
40264
40300
|
modelValue: [String, Number],
|
|
40265
40301
|
className: String,
|
|
40302
|
+
inputClassName: {
|
|
40303
|
+
type: String,
|
|
40304
|
+
default: () => getConfig$3().textarea.inputClassName
|
|
40305
|
+
},
|
|
40266
40306
|
immediate: {
|
|
40267
40307
|
type: Boolean,
|
|
40268
40308
|
default: true
|
|
@@ -40537,7 +40577,7 @@ var VxeTextareaComponent = defineVxeComponent({
|
|
|
40537
40577
|
};
|
|
40538
40578
|
Object.assign($xeTextarea, textareaMethods);
|
|
40539
40579
|
const renderVN = () => {
|
|
40540
|
-
const { className, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props;
|
|
40580
|
+
const { className, inputClassName, resize, autosize, autoSize, showWordCount, countMethod, rows, cols } = props;
|
|
40541
40581
|
const { inputValue } = reactData;
|
|
40542
40582
|
const vSize = computeSize.value;
|
|
40543
40583
|
const isDisabled = computeIsDisabled.value;
|
|
@@ -40572,7 +40612,7 @@ var VxeTextareaComponent = defineVxeComponent({
|
|
|
40572
40612
|
}, [
|
|
40573
40613
|
h('textarea', {
|
|
40574
40614
|
ref: refTextarea,
|
|
40575
|
-
class: 'vxe-textarea--inner',
|
|
40615
|
+
class: 'vxe-textarea--inner' + (inputClassName ? (' ' + inputClassName) : ''),
|
|
40576
40616
|
value: inputValue,
|
|
40577
40617
|
name: props.name,
|
|
40578
40618
|
placeholder: inpPlaceholder,
|