@lends kbListController 

@param {Object} options
767477
function (options) {
            this.multiple = angular.isDefined(options.attrs.multiple);
            this.cyclic = angular.isDefined(options.attrs.kbCyclic);
            angular.extend(this, options);
            if (this.ngModel) {
                this.ngModel.$render = function () {
                    // Change the selection to model.
                    if (this.multiple) {
                        this.selected = this.ngModel.$viewValue;
                        if (angular.isArray(this.selected) === false) {
                            if (angular.isDefined(this.selected)) {
                                $log.error(this.identifier, 'ng-model(multiple) must be an array, got:', this.selected);
                            }
                            this.selected = [];
                        }
                    } else {
                        this.selected[0] = this.ngModel.$viewValue;
                    }
                    // Activate the first item in the selection.
                    for (var i in this.selected) {
                        var kbItem = this._locate(this.selected[i]);
                        if (kbItem) {
                            this.active = kbItem;
                            break;
                        }
                    }
                }.bind(this);
            }
        }
655431
function(options, cb) {
  mbaasClient.app.forms.list({
    environment: config.fhmbaas.environment,
    domain: config.fhmbaas.domain
  }, function(err, formsArray) {
    return cb(err, {forms: formsArray});
  });
}
801183
function applyListOptions( clist, options ){

    var cmap =          {};

    if ( options.recursive || options.fillRequirements ){
        cmap =          clist.reduce( fillRequirements, {} );
    }
    if ( options.recursive ){
        clist =         getValues( cmap );
    }

    if ( options.sort ){
        clist =         modularity.sortComponents( clist, options );
    }

    if ( options && options.parts ){
        return clist.filter( byParts( options.parts ));
    } else {
        return clist;
    }


    function fillRequirements( cmap, component ){

        if ( !component || !component.name ){
            return cmap;
        }

        if ( !cmap[component.name] ){
            cmap[component.name] =  component;
        }

        if ( !component.requiredComponents ){
            component.requiredComponents =  {};
            var reqs =                      modularity.getRequirements( component, options );
            for ( var k in reqs ){
                var reqUrl =                reqs[k];
                if ( !cmap[reqUrl] ){
                    fillRequirements( cmap, readComponent( reqUrl, options ));
                }
                component.requiredComponents[k] =   cmap[reqUrl];
            }
        }

        return cmap;
    }///
}
557258
function(options) {
        this._transitions = {}
        this._states = {}
        options = options || {}
        this._bindStates()
        this._bindTransitions()
        if (options.debugStateMachine === true)
          StateMachine.DebugView.register(this)
        this.bind('all', this._onMachineEvent, this)
        this.currentState = INIT_STATE
        this.startStateMachine = function() {
          throw new Error('startStateMachine has been called twice!')
        }
      }
108898
function(options)
	{
		var args = conbo.toArray(arguments);
		
		if (args[0] === undefined) 
		{
			args[0] = {};
		}
		else if (args[0] instanceof conbo.Context && conbo.is(this, conbo.IInjectable, false)) 
		{
			args[0] = args[0].addTo();
		}
		
		this.declarations.apply(this, args);
		
		if (!!args[0].context)
		{
			this.context = args[0].context;
		}
	
		if (this instanceof conbo.EventDispatcher)
		{
			this.dispatchEvent(new conbo.ConboEvent(conbo.ConboEvent.PREINITIALIZE));
		}

		this.preinitialize.apply(this, args);
		this.__construct.apply(this, args);
		
		if (this instanceof conbo.EventDispatcher)
		{
			this.dispatchEvent(new conbo.ConboEvent(conbo.ConboEvent.INITIALIZE));
		}

		this.initialize.apply(this, args);
		conbo.makeAllBindable(this, this.bindable);
		this.__postInitialize.apply(this, args);
		
		if (this instanceof conbo.EventDispatcher)
		{
			this.dispatchEvent(new conbo.ConboEvent(conbo.ConboEvent.INIT_COMPLETE));
		}		
	}
464360
function (options) {
		
			inputEx.DSSelectField.superclass.setOptions.call(this, options);
		
			this.options.valueKey = options.valueKey || "value";
			this.options.labelKey = options.labelKey || "label";
		
			this.options.datasource = options.datasource;
		
		}
1044478
function keyOptions (key, options) {
  const _key = options._key == null
    ? key
    : options._key + '.' + key
  return Object.assign({}, options, { _key: _key })
}
1138280
function(options) {
	   inputEx.MenuField.superclass.setOptions.call(this,options);
	   
	   // Overwrite options:
	   this.options.className = options.className ? options.className : 'inputEx-Field inputEx-MenuField';
	   
	   // New options
	   this.options.typeInvite = options.typeInvite || inputEx.messages.menuTypeInvite;
	   this.options.menuTrigger = options.menuTrigger || "click";
	   this.options.menuPosition = options.menuPosition || ["tl","tr"];
	   this.options.menuItems = options.menuItems;
	   
	   // Configuration options for the generated YUI Menu instance
	   this.options.menuConfig = options.menuConfig || {};
	}
1018472
function (options) {
            var processQueue = [];
            $.each(options.processQueue, function () {
                var settings = {},
                    action = this.action,
                    prefix = this.prefix === true ? action : this.prefix;
                $.each(this, function (key, value) {
                    if ($.type(value) === 'string' &&
                        value.charAt(0) === '@') {
                        settings[key] = options[
                            value.slice(1) || (prefix ? prefix +
                                key.charAt(0).toUpperCase() + key.slice(1) : key)
                            ];
                    } else {
                        settings[key] = value;
                    }

                });
                processQueue.push(settings);
            });
            options.processQueue = processQueue;
        }
293379
function BaiduPush (options) {
    if (!options || !options.apiKey || !options.secretKey) {
        throw new Error('apiKey and secretKey is required');
    }
    this.options = options;
    return this;
}
798059
function (options) {
		
		var selectFieldConfig, operators, labels, selectOptions, newOptions, i, length;
		
		selectFieldConfig = this.generateSelectConfig(options.availableFields);
		
		operators = options.operators || ["=", ">", "<", ">=", "<=", "!=", "LIKE", "NOT LIKE", "IS NULL", "IS NOT NULL"];
		labels = options.operatorLabels || operators;
		
		selectOptions = [];
		
		for (i = 0, length = operators.length; i < length; i += 1) {
			selectOptions.push({ value: operators[i], label: labels[i] });
		}
		
		newOptions = {
			fields: [
				selectFieldConfig,
				{type: 'select', choices: selectOptions},
				this.nameIndex[options.availableFields[0].name]
			]
		};
		
		YAHOO.lang.augmentObject(newOptions, options);
		
		inputEx.KeyValueField.superclass.setOptions.call(this, newOptions);
	}
1018671
function() {

            var self = this,
                moveToOption = self.list.is(":visible") || !self.options["keydownOpen"];

            return {

                "down": function() {

                    // If the plugin options allow keyboard navigation
                    if (self.moveDown && moveToOption) {

                        self.moveDown();

                    }

                },

                "up": function() {

                     // If the plugin options allow keyboard navigation
                    if (self.moveUp && moveToOption) {

                        self.moveUp();

                    }

                },

                "enter": function() {

                    var activeElem = self.listItems.eq(self.currentFocus);

                    // Updates the dropdown list value
                    self._update(activeElem);

                    if (activeElem.attr("data-preventclose") !== "true") {

                        // Closes the drop down list options list
                        self.close();

                    }

                    // Triggers the `enter` events on the original select box
                    self.triggerEvent("enter");

                },

                "tab": function() {

                    // Triggers the custom `tab-blur` event on the original select box
                    self.triggerEvent("tab-blur");

                    // Closes the drop down list
                    self.close();

                },

                "backspace": function() {

                    // Triggers the custom `backspace` event on the original select box
                    self.triggerEvent("backspace");

                },

                "esc": function() {

                    // Closes the dropdown options list
                    self.close();

                }

            };

        }
645314
function(options) {
      inputEx.Field.superclass.setOptions.call(this, options);
      
      this.options.wirable = lang.isUndefined(options.wirable) ? false : options.wirable;
      this.options.container = options.container;
      options.container = null;
   }
509607
function ( options ) {
					var defaults = {
						excludeFields: [],
						customKeySuffix: "",
						locationBased: false,
						timeout: 0,
						autoRelease: true,
						onBeforeSave: function() {},
						onSave: function() {},
						onBeforeRestore: function() {},
						onRestore: function() {},
						onRelease: function() {}
					};
					this.options = this.options || $.extend( defaults, options );
					this.browserStorage = browserStorage;
				}
198930
function Switch(switchDom, options) {
    this.main = switchDom;
    this.$main = $(this.main);

    var defaultOption = {
        theme: window.bizui.theme
    };
    this.options = $.extend(defaultOption, options || {});
    this.init(this.options);
}
512603
function(options) {
	   inputEx.ListField.superclass.setOptions.call(this, options);
	   
	   this.options.className = options.className ? options.className : 'inputEx-Field inputEx-ListField';
	   
	   this.options.sortable = lang.isUndefined(options.sortable) ? false : options.sortable;
	   this.options.elementType = options.elementType || {type: 'string'};
	   this.options.useButtons = lang.isUndefined(options.useButtons) ? false : options.useButtons;
	   this.options.unique = lang.isUndefined(options.unique) ? false : options.unique;
	   
	   this.options.listAddLabel = options.listAddLabel || inputEx.messages.listAddLink;
	   this.options.listRemoveLabel = options.listRemoveLabel || inputEx.messages.listRemoveLink;
	   
	   this.options.maxItems = options.maxItems;
	   this.options.minItems = options.minItems;
	}
1064548
function( options ) {
			var joystick = new TouchableJoystick(options);
			joystick.id = this.touchableAreas.push( joystick);
			this.touchableAreasCount++;
			this.boundingSet(options);
		}