vxe-pc-ui 4.3.60 → 4.3.62
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/es/button/src/button-group.js +8 -3
- package/es/button/src/button.js +1 -3
- package/es/button-group/style.css +6 -0
- package/es/button-group/style.min.css +1 -1
- package/es/date-picker/src/date-picker.js +105 -47
- package/es/date-picker/style.css +83 -19
- package/es/date-picker/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- 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/es/vxe-button-group/style.css +6 -0
- package/es/vxe-button-group/style.min.css +1 -1
- package/es/vxe-date-picker/style.css +83 -19
- package/es/vxe-date-picker/style.min.css +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/button/src/button-group.js +8 -2
- package/lib/button/src/button-group.min.js +1 -1
- package/lib/button/src/button.js +3 -4
- package/lib/button/src/button.min.js +1 -1
- package/lib/button-group/style/style.css +6 -0
- package/lib/button-group/style/style.min.css +1 -1
- package/lib/date-picker/src/date-picker.js +73 -40
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-picker/style/style.css +83 -19
- package/lib/date-picker/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +85 -47
- package/lib/index.umd.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/lib/vxe-button-group/style/style.css +6 -0
- package/lib/vxe-button-group/style/style.min.css +1 -1
- package/lib/vxe-date-picker/style/style.css +83 -19
- package/lib/vxe-date-picker/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button-group.ts +11 -4
- package/packages/button/src/button.ts +1 -2
- package/packages/date-picker/src/date-picker.ts +107 -49
- package/styles/components/button-group.scss +6 -0
- package/styles/components/date-picker.scss +86 -9
- package/types/components/button-group.d.ts +2 -0
- package/types/components/date-picker.d.ts +8 -2
- package/types/components/grid.d.ts +2 -1
- package/types/components/table.d.ts +2 -0
- /package/es/icon/{iconfont.1735908481794.ttf → iconfont.1735974888106.ttf} +0 -0
- /package/es/icon/{iconfont.1735908481794.woff → iconfont.1735974888106.woff} +0 -0
- /package/es/icon/{iconfont.1735908481794.woff2 → iconfont.1735974888106.woff2} +0 -0
- /package/es/{iconfont.1735908481794.ttf → iconfont.1735974888106.ttf} +0 -0
- /package/es/{iconfont.1735908481794.woff → iconfont.1735974888106.woff} +0 -0
- /package/es/{iconfont.1735908481794.woff2 → iconfont.1735974888106.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1735908481794.ttf → iconfont.1735974888106.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1735908481794.woff → iconfont.1735974888106.woff} +0 -0
- /package/lib/icon/style/{iconfont.1735908481794.woff2 → iconfont.1735974888106.woff2} +0 -0
- /package/lib/{iconfont.1735908481794.ttf → iconfont.1735974888106.ttf} +0 -0
- /package/lib/{iconfont.1735908481794.woff → iconfont.1735974888106.woff} +0 -0
- /package/lib/{iconfont.1735908481794.woff2 → iconfont.1735974888106.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -4141,14 +4141,14 @@ function checkDynamic() {
|
|
|
4141
4141
|
}
|
|
4142
4142
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4143
4143
|
|
|
4144
|
-
const log_version = `ui v${"4.3.
|
|
4144
|
+
const log_version = `ui v${"4.3.62"}`;
|
|
4145
4145
|
const warnLog = log.create('warn', log_version);
|
|
4146
4146
|
const errLog = log.create('error', log_version);
|
|
4147
4147
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4148
4148
|
|
|
4149
4149
|
|
|
4150
4150
|
|
|
4151
|
-
const ui_version = "4.3.
|
|
4151
|
+
const ui_version = "4.3.62";
|
|
4152
4152
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4153
4153
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4154
4154
|
function config(options) {
|
|
@@ -6522,11 +6522,10 @@ function handleBooleanDefaultValue(value) {
|
|
|
6522
6522
|
$xeButtonGroup.handleClick({
|
|
6523
6523
|
name: props.name
|
|
6524
6524
|
}, evnt);
|
|
6525
|
-
} else {
|
|
6526
|
-
dispatchEvent('click', {
|
|
6527
|
-
$event: evnt
|
|
6528
|
-
}, evnt);
|
|
6529
6525
|
}
|
|
6526
|
+
dispatchEvent('click', {
|
|
6527
|
+
$event: evnt
|
|
6528
|
+
}, evnt);
|
|
6530
6529
|
};
|
|
6531
6530
|
const mousedownDropdownEvent = evnt => {
|
|
6532
6531
|
const isLeftBtn = evnt.button === 0;
|
|
@@ -6967,6 +6966,7 @@ const Button = VxeButton;
|
|
|
6967
6966
|
mode: String,
|
|
6968
6967
|
status: String,
|
|
6969
6968
|
round: Boolean,
|
|
6969
|
+
vertical: Boolean,
|
|
6970
6970
|
circle: Boolean,
|
|
6971
6971
|
className: [String, Function],
|
|
6972
6972
|
disabled: Boolean,
|
|
@@ -6983,11 +6983,13 @@ const Button = VxeButton;
|
|
|
6983
6983
|
emit
|
|
6984
6984
|
} = context;
|
|
6985
6985
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
6986
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
6986
6987
|
const computeMaps = {};
|
|
6987
6988
|
const $xeButtonGroup = {
|
|
6988
6989
|
xID,
|
|
6989
6990
|
props,
|
|
6990
6991
|
context,
|
|
6992
|
+
reactData,
|
|
6991
6993
|
getComputeMaps: () => computeMaps
|
|
6992
6994
|
};
|
|
6993
6995
|
useSize(props);
|
|
@@ -7020,7 +7022,8 @@ const Button = VxeButton;
|
|
|
7020
7022
|
const renderVN = () => {
|
|
7021
7023
|
const {
|
|
7022
7024
|
className,
|
|
7023
|
-
options
|
|
7025
|
+
options,
|
|
7026
|
+
vertical
|
|
7024
7027
|
} = props;
|
|
7025
7028
|
const permissionInfo = computePermissionInfo.value;
|
|
7026
7029
|
const defaultSlot = slots.default;
|
|
@@ -7030,7 +7033,9 @@ const Button = VxeButton;
|
|
|
7030
7033
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
7031
7034
|
class: ['vxe-button-group', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
7032
7035
|
$buttonGroup: $xeButtonGroup
|
|
7033
|
-
}) : className : ''
|
|
7036
|
+
}) : className : '', {
|
|
7037
|
+
'is--vertical': vertical
|
|
7038
|
+
}]
|
|
7034
7039
|
}, defaultSlot ? defaultSlot({}) : options ? options.map((item, index) => {
|
|
7035
7040
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_button, {
|
|
7036
7041
|
key: index,
|
|
@@ -14783,6 +14788,10 @@ const Countdown = VxeCountdown;
|
|
|
14783
14788
|
return immediate;
|
|
14784
14789
|
});
|
|
14785
14790
|
const updateModelValue = modelValue => {
|
|
14791
|
+
const {
|
|
14792
|
+
isActivated,
|
|
14793
|
+
visiblePanel
|
|
14794
|
+
} = reactData;
|
|
14786
14795
|
let val = '';
|
|
14787
14796
|
if (modelValue) {
|
|
14788
14797
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(modelValue) && /^[0-9]{11,15}$/.test(`${modelValue}`)) {
|
|
@@ -14792,6 +14801,9 @@ const Countdown = VxeCountdown;
|
|
|
14792
14801
|
}
|
|
14793
14802
|
}
|
|
14794
14803
|
reactData.inputValue = val;
|
|
14804
|
+
if (isActivated && visiblePanel) {
|
|
14805
|
+
dateOpenPanel();
|
|
14806
|
+
}
|
|
14795
14807
|
};
|
|
14796
14808
|
const parseDate = (value, format) => {
|
|
14797
14809
|
const {
|
|
@@ -16217,49 +16229,75 @@ const Countdown = VxeCountdown;
|
|
|
16217
16229
|
panelStyle
|
|
16218
16230
|
} = reactData;
|
|
16219
16231
|
const vSize = computeSize.value;
|
|
16220
|
-
const isDatePickerType = computeIsDatePickerType.value;
|
|
16221
16232
|
const btnTransfer = computeBtnTransfer.value;
|
|
16233
|
+
const headerSlot = slots.header;
|
|
16234
|
+
const footerSlot = slots.footer;
|
|
16235
|
+
const topSlot = slots.top;
|
|
16236
|
+
const bottomSlot = slots.bottom;
|
|
16237
|
+
const leftSlot = slots.left;
|
|
16238
|
+
const rightSlot = slots.right;
|
|
16222
16239
|
const renders = [];
|
|
16223
|
-
if (
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
class: 'vxe-date-picker--panel-layout-wrapper'
|
|
16229
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16230
|
-
class: 'vxe-date-picker--panel-left-wrapper'
|
|
16231
|
-
}, renderDatePanel()), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16232
|
-
class: 'vxe-date-picker--panel-right-wrapper'
|
|
16233
|
-
}, renderTimePanel())]));
|
|
16234
|
-
} else if (type === 'time') {
|
|
16235
|
-
renders.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16236
|
-
key: type,
|
|
16237
|
-
ref: refPanelWrapper,
|
|
16238
|
-
class: 'vxe-date-picker--panel-wrapper'
|
|
16239
|
-
}, renderTimePanel()));
|
|
16240
|
-
} else {
|
|
16241
|
-
renders.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16242
|
-
key: type || 'default',
|
|
16243
|
-
ref: refPanelWrapper,
|
|
16244
|
-
class: 'vxe-date-picker--panel-wrapper'
|
|
16245
|
-
}, renderDatePanel()));
|
|
16246
|
-
}
|
|
16247
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
|
|
16248
|
-
to: 'body',
|
|
16249
|
-
disabled: btnTransfer ? !initialized : true
|
|
16240
|
+
if (type === 'datetime') {
|
|
16241
|
+
renders.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16242
|
+
key: type,
|
|
16243
|
+
ref: refPanelWrapper,
|
|
16244
|
+
class: 'vxe-date-picker--panel-datetime-layout-wrapper'
|
|
16250
16245
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
},
|
|
16246
|
+
class: 'vxe-date-picker--panel-datetime-left-wrapper'
|
|
16247
|
+
}, renderDatePanel()), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16248
|
+
class: 'vxe-date-picker--panel-datetime-right-wrapper'
|
|
16249
|
+
}, renderTimePanel())]));
|
|
16250
|
+
} else if (type === 'time') {
|
|
16251
|
+
renders.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16252
|
+
key: type,
|
|
16253
|
+
ref: refPanelWrapper,
|
|
16254
|
+
class: 'vxe-date-picker--panel-wrapper'
|
|
16255
|
+
}, renderTimePanel()));
|
|
16256
|
+
} else {
|
|
16257
|
+
renders.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16258
|
+
key: type || 'default',
|
|
16259
|
+
ref: refPanelWrapper,
|
|
16260
|
+
class: 'vxe-date-picker--panel-wrapper'
|
|
16261
|
+
}, renderDatePanel()));
|
|
16261
16262
|
}
|
|
16262
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
16263
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
|
|
16264
|
+
to: 'body',
|
|
16265
|
+
disabled: btnTransfer ? !initialized : true
|
|
16266
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16267
|
+
ref: refInputPanel,
|
|
16268
|
+
class: ['vxe-table--ignore-clear vxe-date-picker--panel', `type--${type}`, {
|
|
16269
|
+
[`size--${vSize}`]: vSize,
|
|
16270
|
+
'is--transfer': btnTransfer,
|
|
16271
|
+
'ani--leave': isAniVisible,
|
|
16272
|
+
'ani--enter': visiblePanel,
|
|
16273
|
+
'show--top': !!(topSlot || headerSlot),
|
|
16274
|
+
'show--bottom': !!(bottomSlot || footerSlot),
|
|
16275
|
+
'show--left': !!leftSlot,
|
|
16276
|
+
'show--right': !!rightSlot
|
|
16277
|
+
}],
|
|
16278
|
+
placement: panelPlacement,
|
|
16279
|
+
style: panelStyle
|
|
16280
|
+
}, initialized && (visiblePanel || isAniVisible) ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16281
|
+
class: 'vxe-date-picker--panel-layout-wrapper'
|
|
16282
|
+
}, [topSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16283
|
+
class: 'vxe-date-picker--panel-top-wrapper'
|
|
16284
|
+
}, topSlot({})) : renderEmptyElement($xeDatePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16285
|
+
class: 'vxe-date-picker--panel-body-layout-wrapper'
|
|
16286
|
+
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16287
|
+
class: 'vxe-date-picker--panel-left-wrapper'
|
|
16288
|
+
}, leftSlot({})) : renderEmptyElement($xeDatePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16289
|
+
class: 'vxe-date-picker--panel-body-content-wrapper'
|
|
16290
|
+
}, [headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16291
|
+
class: 'vxe-date-picker--panel-header-wrapper'
|
|
16292
|
+
}, headerSlot({})) : renderEmptyElement($xeDatePicker), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16293
|
+
class: 'vxe-date-picker--panel-body-wrapper'
|
|
16294
|
+
}, renders), footerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16295
|
+
class: 'vxe-date-picker--panel-footer-wrapper'
|
|
16296
|
+
}, footerSlot({})) : renderEmptyElement($xeDatePicker)]), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16297
|
+
class: 'vxe-date-picker--panel-right-wrapper'
|
|
16298
|
+
}, rightSlot({})) : renderEmptyElement($xeDatePicker)]), bottomSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16299
|
+
class: 'vxe-date-picker--panel-bottom-wrapper'
|
|
16300
|
+
}, bottomSlot({})) : renderEmptyElement($xeDatePicker)])] : [])]);
|
|
16263
16301
|
};
|
|
16264
16302
|
const renderPrefixIcon = () => {
|
|
16265
16303
|
const {
|