bkui-vue 0.0.1-beta.356 → 0.0.1-beta.357
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/dist/index.esm.js
CHANGED
@@ -22001,6 +22001,12 @@ var PickerDropdown = defineComponent({
|
|
22001
22001
|
onBeforeUnmount(() => {
|
22002
22002
|
destoryDropdown();
|
22003
22003
|
});
|
22004
|
+
const forceUpdate = () => {
|
22005
|
+
var _a;
|
22006
|
+
if (popoverInstance) {
|
22007
|
+
(_a = popoverInstance == null ? void 0 : popoverInstance.forceUpdate) == null ? void 0 : _a.call(popoverInstance);
|
22008
|
+
}
|
22009
|
+
};
|
22004
22010
|
const destoryDropdown = () => {
|
22005
22011
|
if (popoverInstance && Object.keys(popoverInstance).length !== 0) {
|
22006
22012
|
const instance = popoverInstance;
|
@@ -22051,6 +22057,7 @@ var PickerDropdown = defineComponent({
|
|
22051
22057
|
});
|
22052
22058
|
return __spreadProps(__spreadValues({}, toRefs(state)), {
|
22053
22059
|
refContentRef,
|
22060
|
+
forceUpdate,
|
22054
22061
|
updateDropdown,
|
22055
22062
|
destoryDropdown
|
22056
22063
|
});
|
@@ -26849,15 +26856,17 @@ var TimePicker = defineComponent({
|
|
26849
26856
|
const {
|
26850
26857
|
proxy
|
26851
26858
|
} = getCurrentInstance();
|
26859
|
+
const pickerDropdownRef = ref(null);
|
26852
26860
|
watch(() => state.visible, (visible) => {
|
26861
|
+
var _a, _b;
|
26853
26862
|
if (visible) {
|
26863
|
+
(_b = (_a = pickerDropdownRef.value) == null ? void 0 : _a.forceUpdate) == null ? void 0 : _b.call(_a);
|
26854
26864
|
nextTick(() => {
|
26855
|
-
var
|
26856
|
-
(
|
26865
|
+
var _a2, _b2;
|
26866
|
+
(_b2 = (_a2 = proxy.pickerPanelRef) == null ? void 0 : _a2.timeSpinnerRef) == null ? void 0 : _b2.updateScroll();
|
26857
26867
|
});
|
26858
26868
|
}
|
26859
26869
|
});
|
26860
|
-
const pickerDropdownRef = ref(null);
|
26861
26870
|
watch(() => props2.modelValue, (modelValue) => {
|
26862
26871
|
var _a;
|
26863
26872
|
state.internalValue = parseDate(modelValue, props2.type, props2.multiple, props2.format);
|