2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 334
|
|
|
|
|
// Function ID: 4958
|
|
|
|
|
// Name: KeyboardImpl
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [6, 7, 209, 294, 333]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 334 (KeyboardImpl)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _classCallCheck from "_classCallCheck";
|
|
|
|
|
import _defineProperties from "_defineProperties";
|
|
|
|
|
|
|
|
|
|
let tmp2 = (() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
class KeyboardImpl {
|
|
|
|
|
constructor() {
|
2026-07-23 10:11:24 +00:00
|
|
|
self = this;
|
|
|
|
|
tmp = outer1_2(this, self);
|
|
|
|
|
tmp2 = KeyboardImpl(outer1_1[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp2 = new tmp2(null);
|
|
|
|
|
this._emitter = tmp2;
|
|
|
|
|
addListenerResult = this.addListener("keyboardDidShow", (_currentlyShowing) => {
|
|
|
|
|
self._currentlyShowing = _currentlyShowing;
|
|
|
|
|
});
|
|
|
|
|
addListenerResult1 = this.addListener("keyboardDidHide", (arg0) => {
|
|
|
|
|
self._currentlyShowing = null;
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let obj = {
|
|
|
|
|
key: "addListener",
|
|
|
|
|
value: function addListener(arg0, arg1, arg2) {
|
|
|
|
|
const _emitter = this._emitter;
|
|
|
|
|
return _emitter.addListener(arg0, arg1);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [obj, , , , , ];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "removeAllListeners",
|
|
|
|
|
value: function removeAllListeners(arg0) {
|
|
|
|
|
const _emitter = this._emitter;
|
|
|
|
|
_emitter.removeAllListeners(arg0);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {
|
|
|
|
|
key: "dismiss",
|
|
|
|
|
value: function dismiss() {
|
2026-07-23 10:11:24 +00:00
|
|
|
KeyboardImpl(outer1_1[3])();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[2] = obj;
|
|
|
|
|
items[3] = {
|
|
|
|
|
key: "isVisible",
|
|
|
|
|
value: function isVisible() {
|
|
|
|
|
return this._currentlyShowing;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[4] = {
|
|
|
|
|
key: "metrics",
|
|
|
|
|
value: function metrics() {
|
|
|
|
|
const _currentlyShowing = this._currentlyShowing;
|
|
|
|
|
let endCoordinates;
|
|
|
|
|
if (null != _currentlyShowing) {
|
|
|
|
|
endCoordinates = _currentlyShowing.endCoordinates;
|
|
|
|
|
}
|
|
|
|
|
return endCoordinates;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[5] = {
|
|
|
|
|
key: "scheduleLayoutAnimation",
|
|
|
|
|
value: function scheduleLayoutAnimation(arg0) {
|
|
|
|
|
let duration;
|
|
|
|
|
let easing;
|
|
|
|
|
({ duration, easing } = arg0);
|
|
|
|
|
let tmp = null != duration;
|
|
|
|
|
if (tmp) {
|
|
|
|
|
tmp = 0 !== duration;
|
|
|
|
|
}
|
|
|
|
|
if (tmp) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = KeyboardImpl(outer1_1[4]);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { duration };
|
|
|
|
|
obj = { duration };
|
|
|
|
|
let str = null != easing;
|
|
|
|
|
if (str) {
|
2026-07-23 10:11:24 +00:00
|
|
|
str = KeyboardImpl(outer1_1[4]).Types[easing];
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (!str) {
|
|
|
|
|
str = "keyboard";
|
|
|
|
|
}
|
|
|
|
|
obj.type = str;
|
|
|
|
|
obj.update = obj;
|
|
|
|
|
obj.configureNext(obj);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return callback(KeyboardImpl, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
})();
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp2 = new tmp2();
|
|
|
|
|
|
|
|
|
|
export default tmp2;
|