@blueking/date-picker 2.0.0-beta.43 → 2.0.0-beta.44
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/package.json +1 -1
- package/typings/hooks/use-keydown-enter.d.ts +1 -0
- package/vue2/index.es.min.js +11 -5
- package/vue2/index.iife.min.js +11 -5
- package/vue2/index.umd.min.js +11 -5
- package/vue2/vue2.css +13 -9
- package/vue3/index.es.min.js +11 -5
- package/vue3/index.iife.min.js +11 -5
- package/vue3/index.umd.min.js +11 -5
- package/vue3/vue3.css +13 -9
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useKeydownEnter(callback: (event: KeyboardEvent) => void): () => void;
|
package/vue2/index.es.min.js
CHANGED
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "@blueking/bkui-library";
|
|
5
|
-
import { provide, inject, ref, customRef, defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode, createTextVNode, toDisplayString, shallowRef, watch, createElementVNode, normalizeClass, withModifiers, computed, normalizeStyle, withDirectives, withKeys, onMounted, vShow, nextTick, mergeProps, KeepAlive, resolveDynamicComponent, onBeforeUnmount, createApp, h as h$1 } from "@blueking/bkui-library";
|
|
5
|
+
import { provide, inject, ref, customRef, defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode, createTextVNode, toDisplayString, shallowRef, watch, createElementVNode, normalizeClass, withModifiers, computed, onActivated, normalizeStyle, withDirectives, withKeys, onMounted, vShow, nextTick, mergeProps, KeepAlive, resolveDynamicComponent, onBeforeUnmount, createApp, h as h$1 } from "@blueking/bkui-library";
|
|
6
6
|
import dayjs from "dayjs";
|
|
7
7
|
import customParseFormat from "dayjs/plugin/customParseFormat";
|
|
8
8
|
import localizedFormat from "dayjs/plugin/localizedFormat";
|
|
@@ -38150,6 +38150,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
38150
38150
|
deep: true
|
|
38151
38151
|
}
|
|
38152
38152
|
);
|
|
38153
|
+
onActivated(() => {
|
|
38154
|
+
setTimeout(() => {
|
|
38155
|
+
var _a;
|
|
38156
|
+
(_a = startInput.value) == null ? void 0 : _a.focus();
|
|
38157
|
+
handleFocusStart();
|
|
38158
|
+
}, 200);
|
|
38159
|
+
});
|
|
38153
38160
|
const handleInputEnter = async (_2, type) => {
|
|
38154
38161
|
var _a, _b, _c;
|
|
38155
38162
|
const target = type === "start" ? startInput.value : endInput.value;
|
|
@@ -38199,10 +38206,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
38199
38206
|
startDate.value = date;
|
|
38200
38207
|
isStartNow.value = false;
|
|
38201
38208
|
}
|
|
38202
|
-
|
|
38203
|
-
|
|
38204
|
-
handleFocusEnd();
|
|
38205
|
-
}
|
|
38209
|
+
(_b = endInput.value) == null ? void 0 : _b.focus();
|
|
38210
|
+
handleFocusEnd();
|
|
38206
38211
|
hiddenStartPanel();
|
|
38207
38212
|
};
|
|
38208
38213
|
const handleEndTimeChange = (date) => {
|
|
@@ -38403,6 +38408,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
38403
38408
|
createCommentVNode(" {{ t('支持多种时间格式自动转换') }} "),
|
|
38404
38409
|
createVNode(unref(__webpack_exports__default$9), {
|
|
38405
38410
|
"ext-cls": "__bk-date-picker-popover__",
|
|
38411
|
+
arrow: false,
|
|
38406
38412
|
trigger: "click",
|
|
38407
38413
|
placement: "bottom-start",
|
|
38408
38414
|
theme: "light"
|