bkui-vue 0.0.2-beta.118 → 0.0.2-beta.119

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.
@@ -198,9 +198,6 @@
198
198
  .bk-date-picker-rel .clear-action:hover {
199
199
  color: var(--gray-color);
200
200
  }
201
- .bk-date-picker-rel .clear-action.hidden {
202
- visibility: hidden;
203
- }
204
201
  .bk-date-picker-rel .icon-wrapper {
205
202
  position: absolute;
206
203
  top: 0;
@@ -91,9 +91,6 @@
91
91
  &:hover {
92
92
  color: @gray-color;
93
93
  }
94
- &.hidden {
95
- visibility: hidden;
96
- }
97
94
  }
98
95
 
99
96
  .icon-wrapper {
@@ -444,9 +444,6 @@
444
444
  .bk-date-picker-rel .clear-action:hover {
445
445
  color: var(--gray-color);
446
446
  }
447
- .bk-date-picker-rel .clear-action.hidden {
448
- visibility: hidden;
449
- }
450
447
  .bk-date-picker-rel .icon-wrapper {
451
448
  position: absolute;
452
449
  top: 0;
@@ -2303,20 +2303,22 @@ var timeParts = ['hours', 'minutes', 'seconds'];
2303
2303
  var bindFunction = function bindFunction(type) {
2304
2304
  var domRef = getDomRef(type);
2305
2305
  domRef.addEventListener('wheel', (0,debounce_namespaceObject["default"])(function () {
2306
+ // handleWheel(type);
2306
2307
  if (wheelStart.value === true) {
2307
2308
  // console.log('滚动了');
2308
2309
  wheelStart.value = false;
2309
2310
  wheelEnd.value = true;
2310
2311
  // 这里写开始滚动时调用的方法
2311
- handleWheel(type);
2312
2312
  wheelTimer.value = setTimeout(function () {
2313
+ handleWheel(type);
2313
2314
  stopWheel(domRef);
2314
- }, 0);
2315
+ }, 200);
2315
2316
  } else {
2316
- clearTimeout(wheelTimer);
2317
+ clearTimeout(wheelTimer.value);
2317
2318
  wheelTimer.value = setTimeout(function () {
2319
+ handleWheel(type);
2318
2320
  stopWheel(domRef);
2319
- }, 100);
2321
+ }, 300);
2320
2322
  }
2321
2323
  }, 32), {
2322
2324
  passive: true
@@ -4341,6 +4343,11 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
4341
4343
  emit('input', now);
4342
4344
  }
4343
4345
  });
4346
+ (0,external_vue_namespaceObject.watch)(function () {
4347
+ return state.internalValue;
4348
+ }, function (v) {
4349
+ state.tmpValue = v;
4350
+ });
4344
4351
  (0,external_vue_namespaceObject.onMounted)(function () {
4345
4352
  // 如果是 date-picker 那么 time-picker 就是回车模式
4346
4353
  if (props.type.indexOf('date') > -1) {
@@ -4409,7 +4416,6 @@ function date_picker_objectSpread(target) { for (var i = 1; i < arguments.length
4409
4416
  // return;
4410
4417
  // }
4411
4418
  state.showClose = false;
4412
- emitChange(props.type);
4413
4419
  state.internalValue = state.tmpValue;
4414
4420
  };
4415
4421
  var emitChange = function emitChange(type) {
@@ -4922,7 +4928,9 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
4922
4928
  internalFocus: false,
4923
4929
  timeEnterMode: true,
4924
4930
  shortcut: shortcut,
4925
- onSelectionModeChange: onSelectionModeChange
4931
+ onSelectionModeChange: onSelectionModeChange,
4932
+ // for 编辑时,mouseleave 事件中缓存的 value
4933
+ tmpValue: initialValue
4926
4934
  });
4927
4935
  function onSelectionModeChange(_type) {
4928
4936
  var type = _type;
@@ -5076,6 +5084,11 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
5076
5084
  emit('input', now);
5077
5085
  }
5078
5086
  });
5087
+ (0,external_vue_namespaceObject.watch)(function () {
5088
+ return state.internalValue;
5089
+ }, function (v) {
5090
+ state.tmpValue = v;
5091
+ });
5079
5092
  (0,external_vue_namespaceObject.onMounted)(function () {
5080
5093
  // 如果是 date-picker 那么 time-picker 就是回车模式
5081
5094
  if (props.type.indexOf('date') > -1) {
@@ -5144,6 +5157,7 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
5144
5157
  // return;
5145
5158
  // }
5146
5159
  state.showClose = false;
5160
+ state.internalValue = state.tmpValue;
5147
5161
  };
5148
5162
  var emitChange = function emitChange(type) {
5149
5163
  (0,external_vue_namespaceObject.nextTick)(function () {
@@ -5176,6 +5190,21 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
5176
5190
  state.forceInputRerender = state.forceInputRerender + 1;
5177
5191
  }
5178
5192
  };
5193
+ var handleInputInput = function handleInputInput(e) {
5194
+ var _props$disabledDate2;
5195
+ var isArrayValue = props.type.includes('range') || props.multiple;
5196
+ var oldValue = visualValue.value;
5197
+ var newValue = e.target.value;
5198
+ var newDate = parseDate(newValue, props.type, props.multiple, props.format);
5199
+ var valueToTest = isArrayValue ? newDate : newDate[0];
5200
+ var isDisabled = (_props$disabledDate2 = props.disabledDate) === null || _props$disabledDate2 === void 0 ? void 0 : _props$disabledDate2.call(props, valueToTest);
5201
+ var isValidDate = newDate.reduce(function (valid, date) {
5202
+ return valid && date instanceof Date;
5203
+ }, true);
5204
+ if (newValue !== oldValue && !isDisabled && isValidDate) {
5205
+ state.tmpValue = newDate;
5206
+ }
5207
+ };
5179
5208
  var handleFocus = function handleFocus(e) {
5180
5209
  if (props.readonly) {
5181
5210
  return;
@@ -5377,6 +5406,7 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
5377
5406
  handleBlur: handleBlur,
5378
5407
  handleKeydown: handleKeydown,
5379
5408
  handleInputChange: handleInputChange,
5409
+ handleInputInput: handleInputInput,
5380
5410
  handleClear: handleClear,
5381
5411
  handleTransferClick: handleTransferClick,
5382
5412
  onPick: onPick,
@@ -5455,7 +5485,8 @@ function time_picker_objectSpread(target) { for (var i = 1; i < arguments.length
5455
5485
  "onClick": this.handleFocus,
5456
5486
  "onBlur": this.handleBlur,
5457
5487
  "onKeydown": this.handleKeydown,
5458
- "onChange": this.handleInputChange
5488
+ "onChange": this.handleInputChange,
5489
+ "onInput": this.handleInputInput
5459
5490
  }, null), this.clearable && this.showClose ? (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, {
5460
5491
  "onClick": this.handleClear,
5461
5492
  "class": "clear-action"
@@ -173,6 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  handleBlur: (e: any) => void;
174
174
  handleKeydown: (e: KeyboardEvent) => void;
175
175
  handleInputChange: (e: any) => void;
176
+ handleInputInput: (e: any) => void;
176
177
  handleClear: () => void;
177
178
  handleTransferClick: () => void;
178
179
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
@@ -197,6 +198,7 @@ declare const _default: import("vue").DefineComponent<{
197
198
  timeEnterMode: import("vue").Ref<boolean>;
198
199
  shortcut: import("vue").Ref<any>;
199
200
  onSelectionModeChange: import("vue").Ref<(_type: any) => SelectionModeType>;
201
+ tmpValue: import("vue").Ref<any>;
200
202
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
201
203
  disabledHours: {
202
204
  readonly type: ArrayConstructor;
@@ -960,6 +960,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
960
960
  });
961
961
  var resizeObserver = new ResizeObserver(function () {
962
962
  onceInitSizeTextarea();
963
+ setOverflow();
963
964
  });
964
965
  (0,external_vue_namespaceObject.watch)(function () {
965
966
  return props.type;
@@ -990,12 +991,10 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
990
991
  (0,external_vue_namespaceObject.nextTick)(function () {
991
992
  return resizeTextarea();
992
993
  });
993
- // TODO: 值变化时实时检测是否溢出
994
- // isOverflow.value = detectOverflow();
994
+ setOverflow();
995
995
  });
996
-
997
996
  (0,external_vue_namespaceObject.onMounted)(function () {
998
- isOverflow.value = detectOverflow();
997
+ setOverflow();
999
998
  resizeObserver.observe(inputRef.value);
1000
999
  (0,external_vue_namespaceObject.nextTick)(function () {
1001
1000
  return resizeTextarea();
@@ -1023,6 +1022,9 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
1023
1022
  var _inputRef$value3, _inputRef$value4;
1024
1023
  return ((_inputRef$value3 = inputRef.value) === null || _inputRef$value3 === void 0 ? void 0 : _inputRef$value3.scrollWidth) > ((_inputRef$value4 = inputRef.value) === null || _inputRef$value4 === void 0 ? void 0 : _inputRef$value4.clientWidth) + 2;
1025
1024
  }
1025
+ function setOverflow() {
1026
+ isOverflow.value = detectOverflow();
1027
+ }
1026
1028
  function clear() {
1027
1029
  if (props.disabled) return;
1028
1030
  var resetVal = isNumberInput.value ? props.min : '';
@@ -1036,7 +1038,6 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
1036
1038
  }
1037
1039
  function handleBlur(e) {
1038
1040
  isFocused.value = false;
1039
- isOverflow.value = detectOverflow();
1040
1041
  ctx.emit(EVENTS.BLUR, e);
1041
1042
  if (props.withValidate) {
1042
1043
  var _formItem$validate2;
@@ -568,6 +568,7 @@ declare const BkSelect: {
568
568
  overflowTagIndex: import("vue").Ref<number>;
569
569
  value: any;
570
570
  inputRef: import("vue").Ref<HTMLElement>;
571
+ overflowContent: import("vue").ComputedRef<string>;
571
572
  handleRemoveTag: (val: string) => void;
572
573
  focus: () => void;
573
574
  blur: () => void;
@@ -649,6 +650,7 @@ declare const BkSelect: {
649
650
  overflowTagIndex: import("vue").Ref<number>;
650
651
  value: any;
651
652
  inputRef: import("vue").Ref<HTMLElement>;
653
+ overflowContent: import("vue").ComputedRef<string>;
652
654
  handleRemoveTag: (val: string) => void;
653
655
  focus: () => void;
654
656
  blur: () => void;
@@ -1337,6 +1339,7 @@ declare const BkSelect: {
1337
1339
  overflowTagIndex: import("vue").Ref<number>;
1338
1340
  value: any;
1339
1341
  inputRef: import("vue").Ref<HTMLElement>;
1342
+ overflowContent: import("vue").ComputedRef<string>;
1340
1343
  handleRemoveTag: (val: string) => void;
1341
1344
  focus: () => void;
1342
1345
  blur: () => void;
@@ -1418,6 +1421,7 @@ declare const BkSelect: {
1418
1421
  overflowTagIndex: import("vue").Ref<number>;
1419
1422
  value: any;
1420
1423
  inputRef: import("vue").Ref<HTMLElement>;
1424
+ overflowContent: import("vue").ComputedRef<string>;
1421
1425
  handleRemoveTag: (val: string) => void;
1422
1426
  focus: () => void;
1423
1427
  blur: () => void;
@@ -2051,6 +2055,7 @@ declare const BkSelect: {
2051
2055
  overflowTagIndex: import("vue").Ref<number>;
2052
2056
  value: any;
2053
2057
  inputRef: import("vue").Ref<HTMLElement>;
2058
+ overflowContent: import("vue").ComputedRef<string>;
2054
2059
  handleRemoveTag: (val: string) => void;
2055
2060
  focus: () => void;
2056
2061
  blur: () => void;
@@ -2132,6 +2137,7 @@ declare const BkSelect: {
2132
2137
  overflowTagIndex: import("vue").Ref<number>;
2133
2138
  value: any;
2134
2139
  inputRef: import("vue").Ref<HTMLElement>;
2140
+ overflowContent: import("vue").ComputedRef<string>;
2135
2141
  handleRemoveTag: (val: string) => void;
2136
2142
  focus: () => void;
2137
2143
  blur: () => void;
@@ -483,7 +483,7 @@ function _defineProperty(obj, key, value) {
483
483
  ;// CONCATENATED MODULE: external "vue"
484
484
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
485
485
  var external_vue_y = x => () => x
486
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
486
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
487
487
  ;// CONCATENATED MODULE: external "lodash/isEqual"
488
488
  var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
489
489
  var isEqual_y = x => () => x
@@ -1029,7 +1029,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
1029
1029
  ;// CONCATENATED MODULE: external "../directives"
1030
1030
  var external_directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1031
1031
  var external_directives_y = x => () => x
1032
- const external_directives_namespaceObject = external_directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE__directives_9cc9ba10__.clickoutside });
1032
+ const external_directives_namespaceObject = external_directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE__directives_9cc9ba10__.bkTooltips, ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE__directives_9cc9ba10__.clickoutside });
1033
1033
  ;// CONCATENATED MODULE: external "../input"
1034
1034
  var external_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1035
1035
  var external_input_y = x => () => x
@@ -1088,8 +1088,12 @@ const external_tag_namespaceObject = external_tag_x({ ["default"]: () => __WEBPA
1088
1088
 
1089
1089
 
1090
1090
 
1091
+
1091
1092
  /* harmony default export */ const selectTagInput = ((0,external_vue_namespaceObject.defineComponent)({
1092
1093
  name: 'SelectTagInput',
1094
+ directives: {
1095
+ bkTooltips: external_directives_namespaceObject.bkTooltips
1096
+ },
1093
1097
  props: {
1094
1098
  selected: {
1095
1099
  type: Array,
@@ -1118,6 +1122,11 @@ const external_tag_namespaceObject = external_tag_x({ ["default"]: () => __WEBPA
1118
1122
  var value = (0,external_vue_namespaceObject.ref)(modelValue.value);
1119
1123
  var inputRef = (0,external_vue_namespaceObject.ref)();
1120
1124
  var overflowTagIndex = (0,external_vue_namespaceObject.ref)(null);
1125
+ var overflowContent = (0,external_vue_namespaceObject.computed)(function () {
1126
+ return selected.value.slice(overflowTagIndex.value, selected.value.length).map(function (item) {
1127
+ return item.label;
1128
+ }).join(', ');
1129
+ });
1121
1130
  (0,external_vue_namespaceObject.watch)(modelValue, function () {
1122
1131
  value.value = modelValue.value;
1123
1132
  });
@@ -1202,6 +1211,7 @@ const external_tag_namespaceObject = external_tag_x({ ["default"]: () => __WEBPA
1202
1211
  overflowTagIndex: overflowTagIndex,
1203
1212
  value: value,
1204
1213
  inputRef: inputRef,
1214
+ overflowContent: overflowContent,
1205
1215
  handleRemoveTag: handleRemoveTag,
1206
1216
  focus: focus,
1207
1217
  blur: blur,
@@ -1252,7 +1262,7 @@ const external_tag_namespaceObject = external_tag_x({ ["default"]: () => __WEBPA
1252
1262
  return [(_this$select = _this.select) === null || _this$select === void 0 ? void 0 : _this$select.handleGetLabelByValue(item.value)];
1253
1263
  }
1254
1264
  });
1255
- }), (0,external_vue_namespaceObject.createVNode)(external_tag_namespaceObject["default"], {
1265
+ }), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(external_tag_namespaceObject["default"], {
1256
1266
  "class": this.resolveClassName('select-overflow-tag'),
1257
1267
  "style": {
1258
1268
  display: !!this.overflowTagIndex && this.collapseTags ? '' : 'none'
@@ -1262,7 +1272,10 @@ const external_tag_namespaceObject = external_tag_x({ ["default"]: () => __WEBPA
1262
1272
  "default": function _default() {
1263
1273
  return [(0,external_vue_namespaceObject.createTextVNode)("+"), _this.selected.length - _this.overflowTagIndex];
1264
1274
  }
1265
- }), (0,external_vue_namespaceObject.createVNode)("input", {
1275
+ }), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), {
1276
+ content: this.overflowContent,
1277
+ disabled: !this.overflowTagIndex || !this.collapseTags
1278
+ }]]), (0,external_vue_namespaceObject.createVNode)("input", {
1266
1279
  "class": this.resolveClassName('select-tag-input'),
1267
1280
  "ref": "inputRef",
1268
1281
  "type": "text",
@@ -442,6 +442,7 @@ declare const _default: import("vue").DefineComponent<{
442
442
  overflowTagIndex: import("vue").Ref<number>;
443
443
  value: any;
444
444
  inputRef: import("vue").Ref<HTMLElement>;
445
+ overflowContent: import("vue").ComputedRef<string>;
445
446
  handleRemoveTag: (val: string) => void;
446
447
  focus: () => void;
447
448
  blur: () => void;
@@ -523,6 +524,7 @@ declare const _default: import("vue").DefineComponent<{
523
524
  overflowTagIndex: import("vue").Ref<number>;
524
525
  value: any;
525
526
  inputRef: import("vue").Ref<HTMLElement>;
527
+ overflowContent: import("vue").ComputedRef<string>;
526
528
  handleRemoveTag: (val: string) => void;
527
529
  focus: () => void;
528
530
  blur: () => void;
@@ -42,6 +42,7 @@ declare const _default: import("vue").DefineComponent<{
42
42
  overflowTagIndex: import("vue").Ref<number>;
43
43
  value: any;
44
44
  inputRef: import("vue").Ref<HTMLElement>;
45
+ overflowContent: import("vue").ComputedRef<string>;
45
46
  handleRemoveTag: (val: string) => void;
46
47
  focus: () => void;
47
48
  blur: () => void;
@@ -292,6 +292,7 @@ declare const BkTimePicker: {
292
292
  handleBlur: (e: any) => void;
293
293
  handleKeydown: (e: KeyboardEvent) => void;
294
294
  handleInputChange: (e: any) => void;
295
+ handleInputInput: (e: any) => void;
295
296
  handleClear: () => void;
296
297
  handleTransferClick: () => void;
297
298
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
@@ -316,6 +317,7 @@ declare const BkTimePicker: {
316
317
  timeEnterMode: import("vue").Ref<boolean>;
317
318
  shortcut: import("vue").Ref<any>;
318
319
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
320
+ tmpValue: import("vue").Ref<any>;
319
321
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
320
322
  type: import("../../date-picker/src/interface").PickerTypeType;
321
323
  width: number;
@@ -558,6 +560,7 @@ declare const BkTimePicker: {
558
560
  handleBlur: (e: any) => void;
559
561
  handleKeydown: (e: KeyboardEvent) => void;
560
562
  handleInputChange: (e: any) => void;
563
+ handleInputInput: (e: any) => void;
561
564
  handleClear: () => void;
562
565
  handleTransferClick: () => void;
563
566
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
@@ -582,6 +585,7 @@ declare const BkTimePicker: {
582
585
  timeEnterMode: import("vue").Ref<boolean>;
583
586
  shortcut: import("vue").Ref<any>;
584
587
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
588
+ tmpValue: import("vue").Ref<any>;
585
589
  }> & {} & import("vue").ComponentCustomProperties & {};
586
590
  __isFragment?: never;
587
591
  __isTeleport?: never;
@@ -767,6 +771,7 @@ declare const BkTimePicker: {
767
771
  handleBlur: (e: any) => void;
768
772
  handleKeydown: (e: KeyboardEvent) => void;
769
773
  handleInputChange: (e: any) => void;
774
+ handleInputInput: (e: any) => void;
770
775
  handleClear: () => void;
771
776
  handleTransferClick: () => void;
772
777
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
@@ -791,6 +796,7 @@ declare const BkTimePicker: {
791
796
  timeEnterMode: import("vue").Ref<boolean>;
792
797
  shortcut: import("vue").Ref<any>;
793
798
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
799
+ tmpValue: import("vue").Ref<any>;
794
800
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
795
801
  type: import("../../date-picker/src/interface").PickerTypeType;
796
802
  width: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.2-beta.118",
3
+ "version": "0.0.2-beta.119",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",