vxe-pc-ui 3.3.65 → 3.3.67
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 +5 -2
- 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 +101 -42
- 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/image/style.css +4 -0
- package/es/image/style.min.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/es/vxe-image/style.css +4 -0
- package/es/vxe-image/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 +6 -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 +62 -34
- 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/image/style/style.css +4 -0
- package/lib/image/style/style.min.css +1 -1
- package/lib/index.umd.js +73 -42
- 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/lib/vxe-image/style/style.css +4 -0
- package/lib/vxe-image/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button-group.ts +5 -2
- package/packages/button/src/button.ts +1 -2
- package/packages/date-picker/src/date-picker.ts +103 -44
- package/styles/components/button-group.scss +6 -0
- package/styles/components/date-picker.scss +86 -9
- package/styles/components/image.scss +2 -0
- package/types/components/button-group.d.ts +2 -0
- package/types/components/date-picker.d.ts +8 -2
- package/types/components/table.d.ts +24 -1
- /package/es/icon/{iconfont.1735915759974.ttf → iconfont.1736058590017.ttf} +0 -0
- /package/es/icon/{iconfont.1735915759974.woff → iconfont.1736058590017.woff} +0 -0
- /package/es/icon/{iconfont.1735915759974.woff2 → iconfont.1736058590017.woff2} +0 -0
- /package/es/{iconfont.1735915759974.ttf → iconfont.1736058590017.ttf} +0 -0
- /package/es/{iconfont.1735915759974.woff → iconfont.1736058590017.woff} +0 -0
- /package/es/{iconfont.1735915759974.woff2 → iconfont.1736058590017.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1735915759974.ttf → iconfont.1736058590017.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1735915759974.woff → iconfont.1736058590017.woff} +0 -0
- /package/lib/icon/style/{iconfont.1735915759974.woff2 → iconfont.1736058590017.woff2} +0 -0
- /package/lib/{iconfont.1735915759974.ttf → iconfont.1736058590017.ttf} +0 -0
- /package/lib/{iconfont.1735915759974.woff → iconfont.1736058590017.woff} +0 -0
- /package/lib/{iconfont.1735915759974.woff2 → iconfont.1736058590017.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -12846,14 +12846,14 @@ var defineVxeComponent = function defineVxeComponent(options) {
|
|
|
12846
12846
|
};
|
|
12847
12847
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
12848
12848
|
|
|
12849
|
-
var log_version = "ui v".concat("3.3.
|
|
12849
|
+
var log_version = "ui v".concat("3.3.67");
|
|
12850
12850
|
var warnLog = log.create('warn', log_version);
|
|
12851
12851
|
var errLog = log.create('error', log_version);
|
|
12852
12852
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
12853
12853
|
|
|
12854
12854
|
|
|
12855
12855
|
|
|
12856
|
-
var ui_version = "3.3.
|
|
12856
|
+
var ui_version = "3.3.67";
|
|
12857
12857
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
12858
12858
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
12859
12859
|
function config(options) {
|
|
@@ -15605,11 +15605,10 @@ function _toConsumableArray(r) {
|
|
|
15605
15605
|
$xeButtonGroup.handleClick({
|
|
15606
15606
|
name: this.name
|
|
15607
15607
|
}, evnt);
|
|
15608
|
-
} else {
|
|
15609
|
-
this.dispatchEvent('click', {
|
|
15610
|
-
$event: evnt
|
|
15611
|
-
}, evnt);
|
|
15612
15608
|
}
|
|
15609
|
+
this.dispatchEvent('click', {
|
|
15610
|
+
$event: evnt
|
|
15611
|
+
}, evnt);
|
|
15613
15612
|
},
|
|
15614
15613
|
mousedownDropdownEvent: function mousedownDropdownEvent(evnt) {
|
|
15615
15614
|
var isLeftBtn = evnt.button === 0;
|
|
@@ -15990,6 +15989,7 @@ var es_array_find = __webpack_require__(113);
|
|
|
15990
15989
|
mode: String,
|
|
15991
15990
|
status: String,
|
|
15992
15991
|
round: Boolean,
|
|
15992
|
+
vertical: Boolean,
|
|
15993
15993
|
circle: Boolean,
|
|
15994
15994
|
className: [String, Function],
|
|
15995
15995
|
disabled: Boolean,
|
|
@@ -16046,7 +16046,8 @@ var es_array_find = __webpack_require__(113);
|
|
|
16046
16046
|
var props = $xeButtonGroup;
|
|
16047
16047
|
var slots = $xeButtonGroup.$scopedSlots;
|
|
16048
16048
|
var className = props.className,
|
|
16049
|
-
options = props.options
|
|
16049
|
+
options = props.options,
|
|
16050
|
+
vertical = props.vertical;
|
|
16050
16051
|
var permissionInfo = $xeButtonGroup.computePermissionInfo;
|
|
16051
16052
|
var defaultSlot = slots.default;
|
|
16052
16053
|
if (!permissionInfo.visible) {
|
|
@@ -16055,7 +16056,9 @@ var es_array_find = __webpack_require__(113);
|
|
|
16055
16056
|
return h('div', {
|
|
16056
16057
|
class: ['vxe-button-group', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
|
|
16057
16058
|
$buttonGroup: $xeButtonGroup
|
|
16058
|
-
}) : className : ''
|
|
16059
|
+
}) : className : '', {
|
|
16060
|
+
'is--vertical': vertical
|
|
16061
|
+
}]
|
|
16059
16062
|
}, defaultSlot ? defaultSlot({}) : options ? options.map(function (item, index) {
|
|
16060
16063
|
return h(src_button, {
|
|
16061
16064
|
key: index,
|
|
@@ -24767,6 +24770,8 @@ var Countdown = VxeCountdown;
|
|
|
24767
24770
|
updateModelValue: function updateModelValue(modelValue) {
|
|
24768
24771
|
var $xeDatePicker = this;
|
|
24769
24772
|
var reactData = $xeDatePicker.reactData;
|
|
24773
|
+
var isActivated = reactData.isActivated,
|
|
24774
|
+
visiblePanel = reactData.visiblePanel;
|
|
24770
24775
|
var val = '';
|
|
24771
24776
|
if (modelValue) {
|
|
24772
24777
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(modelValue) && /^[0-9]{11,15}$/.test("".concat(modelValue))) {
|
|
@@ -24776,6 +24781,9 @@ var Countdown = VxeCountdown;
|
|
|
24776
24781
|
}
|
|
24777
24782
|
}
|
|
24778
24783
|
reactData.inputValue = val;
|
|
24784
|
+
if (isActivated && visiblePanel) {
|
|
24785
|
+
$xeDatePicker.dateOpenPanel();
|
|
24786
|
+
}
|
|
24779
24787
|
},
|
|
24780
24788
|
parseDate: function parseDate(value, format) {
|
|
24781
24789
|
var $xeDatePicker = this;
|
|
@@ -26298,6 +26306,7 @@ var Countdown = VxeCountdown;
|
|
|
26298
26306
|
renderPanel: function renderPanel(h) {
|
|
26299
26307
|
var $xeDatePicker = this;
|
|
26300
26308
|
var props = $xeDatePicker;
|
|
26309
|
+
var slots = $xeDatePicker.$scopedSlots;
|
|
26301
26310
|
var reactData = $xeDatePicker.reactData;
|
|
26302
26311
|
var type = props.type;
|
|
26303
26312
|
var initialized = reactData.initialized,
|
|
@@ -26306,43 +26315,65 @@ var Countdown = VxeCountdown;
|
|
|
26306
26315
|
panelPlacement = reactData.panelPlacement,
|
|
26307
26316
|
panelStyle = reactData.panelStyle;
|
|
26308
26317
|
var vSize = $xeDatePicker.computeSize;
|
|
26309
|
-
var isDatePickerType = $xeDatePicker.computeIsDatePickerType;
|
|
26310
26318
|
var btnTransfer = $xeDatePicker.computeBtnTransfer;
|
|
26319
|
+
var headerSlot = slots.header;
|
|
26320
|
+
var footerSlot = slots.footer;
|
|
26321
|
+
var topSlot = slots.top;
|
|
26322
|
+
var bottomSlot = slots.bottom;
|
|
26323
|
+
var leftSlot = slots.left;
|
|
26324
|
+
var rightSlot = slots.right;
|
|
26311
26325
|
var renders = [];
|
|
26312
|
-
if (
|
|
26313
|
-
|
|
26314
|
-
|
|
26315
|
-
|
|
26316
|
-
|
|
26317
|
-
|
|
26318
|
-
|
|
26319
|
-
|
|
26320
|
-
|
|
26321
|
-
|
|
26322
|
-
|
|
26323
|
-
|
|
26324
|
-
|
|
26325
|
-
|
|
26326
|
-
|
|
26327
|
-
|
|
26328
|
-
|
|
26329
|
-
|
|
26330
|
-
|
|
26331
|
-
|
|
26332
|
-
|
|
26333
|
-
|
|
26334
|
-
}, $xeDatePicker.renderDatePanel(h)));
|
|
26335
|
-
}
|
|
26336
|
-
return h('div', {
|
|
26337
|
-
ref: 'refInputPanel',
|
|
26338
|
-
class: ['vxe-table--ignore-clear vxe-date-picker--panel', "type--".concat(type), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--transfer', btnTransfer), 'ani--leave', isAniVisible), 'ani--enter', visiblePanel)],
|
|
26339
|
-
attrs: {
|
|
26340
|
-
placement: panelPlacement
|
|
26341
|
-
},
|
|
26342
|
-
style: panelStyle
|
|
26343
|
-
}, initialized && (visiblePanel || isAniVisible) ? renders : []);
|
|
26326
|
+
if (type === 'datetime') {
|
|
26327
|
+
renders.push(h('div', {
|
|
26328
|
+
key: type,
|
|
26329
|
+
ref: 'refPanelWrapper',
|
|
26330
|
+
class: 'vxe-date-picker--panel-datetime-layout-wrapper'
|
|
26331
|
+
}, [h('div', {
|
|
26332
|
+
class: 'vxe-date-picker--panel-datetime-left-wrapper'
|
|
26333
|
+
}, $xeDatePicker.renderDatePanel(h)), h('div', {
|
|
26334
|
+
class: 'vxe-date-picker--panel-datetime-right-wrapper'
|
|
26335
|
+
}, $xeDatePicker.renderTimePanel(h))]));
|
|
26336
|
+
} else if (type === 'time') {
|
|
26337
|
+
renders.push(h('div', {
|
|
26338
|
+
key: type,
|
|
26339
|
+
ref: 'refPanelWrapper',
|
|
26340
|
+
class: 'vxe-date-picker--panel-wrapper'
|
|
26341
|
+
}, $xeDatePicker.renderTimePanel(h)));
|
|
26342
|
+
} else {
|
|
26343
|
+
renders.push(h('div', {
|
|
26344
|
+
key: type || 'default',
|
|
26345
|
+
ref: 'refPanelWrapper',
|
|
26346
|
+
class: 'vxe-date-picker--panel-wrapper'
|
|
26347
|
+
}, $xeDatePicker.renderDatePanel(h)));
|
|
26344
26348
|
}
|
|
26345
|
-
return
|
|
26349
|
+
return h('div', {
|
|
26350
|
+
ref: 'refInputPanel',
|
|
26351
|
+
class: ['vxe-table--ignore-clear vxe-date-picker--panel', "type--".concat(type), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--transfer', btnTransfer), 'ani--leave', isAniVisible), 'ani--enter', visiblePanel), 'show--top', !!(topSlot || headerSlot)), 'show--bottom', !!(bottomSlot || footerSlot)), 'show--left', !!leftSlot), 'show--right', !!rightSlot)],
|
|
26352
|
+
attrs: {
|
|
26353
|
+
placement: panelPlacement
|
|
26354
|
+
},
|
|
26355
|
+
style: panelStyle
|
|
26356
|
+
}, initialized && (visiblePanel || isAniVisible) ? [h('div', {
|
|
26357
|
+
class: 'vxe-date-picker--panel-layout-wrapper'
|
|
26358
|
+
}, [topSlot ? h('div', {
|
|
26359
|
+
class: 'vxe-date-picker--panel-top-wrapper'
|
|
26360
|
+
}, topSlot({})) : renderEmptyElement($xeDatePicker), h('div', {
|
|
26361
|
+
class: 'vxe-date-picker--panel-body-layout-wrapper'
|
|
26362
|
+
}, [leftSlot ? h('div', {
|
|
26363
|
+
class: 'vxe-date-picker--panel-left-wrapper'
|
|
26364
|
+
}, leftSlot({})) : renderEmptyElement($xeDatePicker), h('div', {
|
|
26365
|
+
class: 'vxe-date-picker--panel-body-content-wrapper'
|
|
26366
|
+
}, [headerSlot ? h('div', {
|
|
26367
|
+
class: 'vxe-date-picker--panel-header-wrapper'
|
|
26368
|
+
}, headerSlot({})) : renderEmptyElement($xeDatePicker), h('div', {
|
|
26369
|
+
class: 'vxe-date-picker--panel-body-wrapper'
|
|
26370
|
+
}, renders), footerSlot ? h('div', {
|
|
26371
|
+
class: 'vxe-date-picker--panel-footer-wrapper'
|
|
26372
|
+
}, footerSlot({})) : renderEmptyElement($xeDatePicker)]), rightSlot ? h('div', {
|
|
26373
|
+
class: 'vxe-date-picker--panel-right-wrapper'
|
|
26374
|
+
}, rightSlot({})) : renderEmptyElement($xeDatePicker)]), bottomSlot ? h('div', {
|
|
26375
|
+
class: 'vxe-date-picker--panel-bottom-wrapper'
|
|
26376
|
+
}, bottomSlot({})) : renderEmptyElement($xeDatePicker)])] : []);
|
|
26346
26377
|
},
|
|
26347
26378
|
renderPrefixIcon: function renderPrefixIcon(h) {
|
|
26348
26379
|
var $xeDatePicker = this;
|