vxe-pc-ui 4.10.4 → 4.10.6
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/date-picker/src/date-picker.js +6 -1
- package/es/date-range-picker/src/date-range-picker.js +7 -2
- 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/lib/date-picker/src/date-picker.js +6 -2
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-range-picker/src/date-range-picker.js +13 -3
- 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 +21 -7
- 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/package.json +1 -1
- package/packages/date-picker/src/date-picker.ts +8 -2
- package/packages/date-range-picker/src/date-range-picker.ts +7 -2
- package/types/components/date-picker.d.ts +10 -0
- package/types/components/date-range-picker.d.ts +10 -0
- package/types/components/grid.d.ts +12 -0
- package/types/components/table.d.ts +20 -0
- /package/es/icon/{iconfont.1761034208829.ttf → iconfont.1761128302190.ttf} +0 -0
- /package/es/icon/{iconfont.1761034208829.woff → iconfont.1761128302190.woff} +0 -0
- /package/es/icon/{iconfont.1761034208829.woff2 → iconfont.1761128302190.woff2} +0 -0
- /package/es/{iconfont.1761034208829.ttf → iconfont.1761128302190.ttf} +0 -0
- /package/es/{iconfont.1761034208829.woff → iconfont.1761128302190.woff} +0 -0
- /package/es/{iconfont.1761034208829.woff2 → iconfont.1761128302190.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1761034208829.ttf → iconfont.1761128302190.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1761034208829.woff → iconfont.1761128302190.woff} +0 -0
- /package/lib/icon/style/{iconfont.1761034208829.woff2 → iconfont.1761128302190.woff2} +0 -0
- /package/lib/{iconfont.1761034208829.ttf → iconfont.1761128302190.ttf} +0 -0
- /package/lib/{iconfont.1761034208829.woff → iconfont.1761128302190.woff} +0 -0
- /package/lib/{iconfont.1761034208829.woff2 → iconfont.1761128302190.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3588,14 +3588,14 @@ function checkDynamic() {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
3590
3590
|
|
|
3591
|
-
const log_version = `ui v${"4.10.
|
|
3591
|
+
const log_version = `ui v${"4.10.6"}`;
|
|
3592
3592
|
const warnLog = log.create('warn', log_version);
|
|
3593
3593
|
const errLog = log.create('error', log_version);
|
|
3594
3594
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
3595
3595
|
|
|
3596
3596
|
|
|
3597
3597
|
|
|
3598
|
-
const ui_version = "4.10.
|
|
3598
|
+
const ui_version = "4.10.6";
|
|
3599
3599
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3600
3600
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3601
3601
|
function config(options) {
|
|
@@ -18388,7 +18388,7 @@ const DatePanel = VxeDatePanel;
|
|
|
18388
18388
|
// 已废弃 startWeek,被 startDay 替换
|
|
18389
18389
|
startWeek: Number
|
|
18390
18390
|
},
|
|
18391
|
-
emits: ['update:modelValue', 'input', 'change', 'keydown', 'keyup', 'click', 'focus', 'blur', 'clear', 'prefix-click', 'suffix-click', 'date-prev', 'date-today', 'date-next', 'shortcut-click'],
|
|
18391
|
+
emits: ['update:modelValue', 'input', 'change', 'keydown', 'keyup', 'click', 'focus', 'blur', 'clear', 'confirm', 'prefix-click', 'suffix-click', 'date-prev', 'date-today', 'date-next', 'shortcut-click'],
|
|
18392
18392
|
setup(props, context) {
|
|
18393
18393
|
const {
|
|
18394
18394
|
slots,
|
|
@@ -18761,6 +18761,9 @@ const DatePanel = VxeDatePanel;
|
|
|
18761
18761
|
}
|
|
18762
18762
|
}
|
|
18763
18763
|
};
|
|
18764
|
+
const panelConfirmEvent = params => {
|
|
18765
|
+
dispatchEvent('confirm', params, params.$event);
|
|
18766
|
+
};
|
|
18764
18767
|
// 全局事件
|
|
18765
18768
|
const handleGlobalMousedownEvent = evnt => {
|
|
18766
18769
|
const $datePanel = refDatePanel.value;
|
|
@@ -19124,7 +19127,8 @@ const DatePanel = VxeDatePanel;
|
|
|
19124
19127
|
festivalMethod: props.festivalMethod,
|
|
19125
19128
|
disabledMethod: props.disabledMethod,
|
|
19126
19129
|
selectDay: props.selectDay,
|
|
19127
|
-
onChange: panelChangeEvent
|
|
19130
|
+
onChange: panelChangeEvent,
|
|
19131
|
+
onConfirm: panelConfirmEvent
|
|
19128
19132
|
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19129
19133
|
class: 'vxe-date-picker--layout-footer-wrapper'
|
|
19130
19134
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -19412,7 +19416,7 @@ const DatePicker = VxeDatePicker;
|
|
|
19412
19416
|
},
|
|
19413
19417
|
shortcutConfig: Object
|
|
19414
19418
|
},
|
|
19415
|
-
emits: ['update:modelValue', 'update:startValue', 'update:endValue', 'input', 'change', 'keydown', 'keyup', 'click', 'focus', 'blur', 'clear', 'prefix-click', 'suffix-click', 'date-prev', 'date-today', 'date-next', 'shortcut-click'],
|
|
19419
|
+
emits: ['update:modelValue', 'update:startValue', 'update:endValue', 'input', 'change', 'keydown', 'keyup', 'click', 'focus', 'blur', 'clear', 'confirm', 'prefix-click', 'suffix-click', 'date-prev', 'date-today', 'date-next', 'shortcut-click'],
|
|
19416
19420
|
setup(props, context) {
|
|
19417
19421
|
const {
|
|
19418
19422
|
slots,
|
|
@@ -19786,9 +19790,13 @@ const DatePicker = VxeDatePicker;
|
|
|
19786
19790
|
if (isDatePickerType) {
|
|
19787
19791
|
hidePanel();
|
|
19788
19792
|
}
|
|
19789
|
-
|
|
19793
|
+
const startValue = '';
|
|
19794
|
+
const endValue = '';
|
|
19795
|
+
handleChange(startValue, endValue, evnt);
|
|
19790
19796
|
dispatchEvent('clear', {
|
|
19791
|
-
value
|
|
19797
|
+
value,
|
|
19798
|
+
startValue,
|
|
19799
|
+
endValue
|
|
19792
19800
|
}, evnt);
|
|
19793
19801
|
};
|
|
19794
19802
|
const checkValue = () => {
|
|
@@ -19884,6 +19892,12 @@ const DatePicker = VxeDatePicker;
|
|
|
19884
19892
|
$startDatePanel.confirmByEvent(evnt);
|
|
19885
19893
|
$endDatePanel.confirmByEvent(evnt);
|
|
19886
19894
|
}
|
|
19895
|
+
const value = getRangeValue(startValue, endValue);
|
|
19896
|
+
dispatchEvent('confirm', {
|
|
19897
|
+
value,
|
|
19898
|
+
startValue,
|
|
19899
|
+
endValue
|
|
19900
|
+
}, evnt);
|
|
19887
19901
|
}
|
|
19888
19902
|
hidePanel();
|
|
19889
19903
|
};
|