pdf-quiz-generator/mobile/node_modules/@capacitor/keyboard/dist/plugin.js
Daniel dc240c31d2 Add Capacitor mobile app wrapper for PedsHub Quiz
- Configurable server URL (default: pedshub.com)
- Android + iOS platforms initialized
- Dark theme matching quiz app (#0f172a)
- Status bar and navigation bar color matched
- Auto-redirect on subsequent launches
- App ID: com.pedshub.quiz, App Name: PedsHub

Build: cd mobile && npx cap sync && npx cap open android

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 05:12:25 +02:00

69 lines
2.1 KiB
JavaScript

var capacitorKeyboard = (function (exports, core) {
'use strict';
/// <reference types="@capacitor/cli" />
exports.KeyboardStyle = void 0;
(function (KeyboardStyle) {
/**
* Dark keyboard.
*
* @since 1.0.0
*/
KeyboardStyle["Dark"] = "DARK";
/**
* Light keyboard.
*
* @since 1.0.0
*/
KeyboardStyle["Light"] = "LIGHT";
/**
* On iOS 13 and newer the keyboard style is based on the device appearance.
* If the device is using Dark mode, the keyboard will be dark.
* If the device is using Light mode, the keyboard will be light.
* On iOS 12 the keyboard will be light.
*
* @since 1.0.0
*/
KeyboardStyle["Default"] = "DEFAULT";
})(exports.KeyboardStyle || (exports.KeyboardStyle = {}));
exports.KeyboardResize = void 0;
(function (KeyboardResize) {
/**
* Only the `body` HTML element will be resized.
* Relative units are not affected, because the viewport does not change.
*
* @since 1.0.0
*/
KeyboardResize["Body"] = "body";
/**
* Only the `ion-app` HTML element will be resized.
* Use it only for Ionic Framework apps.
*
* @since 1.0.0
*/
KeyboardResize["Ionic"] = "ionic";
/**
* The whole native Web View will be resized when the keyboard shows/hides.
* This affects the `vh` relative unit.
*
* @since 1.0.0
*/
KeyboardResize["Native"] = "native";
/**
* Neither the app nor the Web View are resized.
*
* @since 1.0.0
*/
KeyboardResize["None"] = "none";
})(exports.KeyboardResize || (exports.KeyboardResize = {}));
const Keyboard = core.registerPlugin('Keyboard');
exports.Keyboard = Keyboard;
Object.defineProperty(exports, '__esModule', { value: true });
return exports;
})({}, capacitorExports);
//# sourceMappingURL=plugin.js.map