/* global SimPinDialog */ 'use strict'; (function(exports) { /** * @class SimPinSystemDialog * @param {options} object for attributes `onShow`, `onHide` callback. * @extends SystemDialog */ var SimPinSystemDialog = function SimPinSystemDialog(options) { if (options) { this.options = options; } /** * render the dialog */ this.render(); this.publish('created'); }; SimPinSystemDialog.prototype = Object.create(window.SystemDialog.prototype); SimPinSystemDialog.prototype.customID = 'simpin-dialog'; SimPinSystemDialog.prototype.DEBUG = false; SimPinSystemDialog.prototype.focus = function() { // We will combine SimPinDialog and SimPinSystemDialog in // mobile connection subsystem SimPinDialog.focus(); }; SimPinSystemDialog.prototype.requestFocus = function() { this.publish('requestfocus'); }; SimPinSystemDialog.prototype.view = function spd_view() { return ``; }; // Get all elements when inited. SimPinSystemDialog.prototype._fetchElements = function spd__fetchElements() { }; // Register events when all elements are got. SimPinSystemDialog.prototype._registerEvents = function spd__registerEvents() { }; exports.SimPinSystemDialog = SimPinSystemDialog; }(window));