通过 element 和 options 构造 IndexedList 实例
552282
function(holder, options) {
			var self = this;
			self.options = options || {};
			self.box = holder;
			if (!self.box) {
				throw "实例 IndexedList 时需要指定 element";
			}
			self.createDom();
			self.findElements();
			self.caleLayout();
			self.bindEvent();
		}
521155
function(){
			var plugin = $(this.element).data("ui-" + this.options.pluginName) || $(this.element).data(this.options.pluginName),
				opts = this.options,
				actualOpts = plugin.options,
				availOptList = opts.optionList,
				lines = [],
				header = opts.header || '$("#selector").' + opts.pluginName + "({",
				footer = "});",
				i;
			// Make a filtered copy of the option list (so we get the last ',' right)
			if(this.options.hideDefaults){
				availOptList = [];
				for(i=0; i<this.options.optionList.length; i++){
					var o = this.options.optionList[i],
						n = o.name,
						defVal = o.value;
					if($.isArray(defVal)){
						defVal = $.map(defVal, function(e){ return e.selected ? e.value : null;})[0];
					}
					if( actualOpts[n] !== defVal /*&& actualOpts[n] !== undefined*/){
						availOptList.push(o);
					}
				}
			}
			//
			lines.push(header);
			for(i=0; i<availOptList.length; i++){
				var o = availOptList[i],
					actualVal = actualOpts[o.name],
					line = "    " + o.name + ": ";
				if(typeof actualVal === "string"){
					line += '"' + actualVal + '"';
				}else if($.isPlainObject(actualVal)){
					line += JSON.stringify(actualVal);
				}else{
					line += "" + actualVal;
				}
				if( i < (availOptList.length - 1) ){
					line += ",";
				}
				if( opts.showComments ){
					line += " // " + o.hint;
				}
				lines.push(line);
			}
			lines.push(footer);
			$(opts.sourceTarget).addClass("ui-configurator-source").text(lines.join("\n"));
			this._trigger("render");
		}
1307870
function( element, index ) {
			if ( typeof index == 'undefined' ) {
				index = this._.focusList.length;
				this._.focusList.push( new Focusable( this, element, index ) );
			} else {
				this._.focusList.splice( index, 0, new Focusable( this, element, index ) );
				for ( var i = index + 1; i < this._.focusList.length; i++ )
					this._.focusList[ i ].focusIndex++;
			}
		}
28129
function elementAt(index, defaultValue) {
    if (index < 0) {
        throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__["ArgumentOutOfRangeError"]();
    }
    var hasDefaultValue = arguments.length >= 2;
    return function (source) {
        return source.pipe(Object(_filter__WEBPACK_IMPORTED_MODULE_1__["filter"])(function (v, i) { return i === index; }), Object(_take__WEBPACK_IMPORTED_MODULE_4__["take"])(1), hasDefaultValue
            ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__["defaultIfEmpty"])(defaultValue)
            : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__["throwIfEmpty"])(function () { return new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__["ArgumentOutOfRangeError"](); }));
    };
}
1318963
function(element, options) {
        var that = this;
        that.name = NAME;
        that.$ = $(element);

        options = that.options = $.extend({}, Pager.DEFAULTS, this.$.data(), options);

        var lang   = options.lang || $.zui.clientLang();
        that.lang  = $.isPlainObject(lang) ? ($.extend(true, {}, LANG[lang.lang || $.zui.clientLang()], lang)) : LANG[lang];

        that.state = {};

        that.set(options.page, options.recTotal, options.recPerPage, true);

        that.$.on('click', '.pager-goto-btn', function() {
            var $goto = $(this).closest('.pager-goto');
            var page = parseInt($goto.find('.pager-goto-input').val());
            if (page !== NaN) {
                that.set(page);
            }
        }).on('click', '.pager-item', function() {
            var page = $(this).data('page');
            if (typeof page === 'number' && page > 0) {
                that.set(page);
            }
        }).on('click', '.pager-size-menu [data-size]', function() {
            var size = $(this).data('size');
            if (typeof size === 'number' && size > 0) {
                that.set(-1, -1, size);
            }
        });
    }
721133
function SelectList(options) {
		this.options = $.extend({
			holder: null,
			maxVisibleItems: 10,
			selectOnClick: true,
			useHoverClass: false,
			useCustomScroll: false,
			handleResize: true,
			multipleSelectWithoutKey: false,
			alwaysPreventMouseWheel: false,
			indexAttribute: 'data-index',
			cloneClassPrefix: 'jcf-option-',
			containerStructure: '<span class="jcf-list"><span class="jcf-list-content"></span></span>',
			containerSelector: '.jcf-list-content',
			captionClass: 'jcf-optgroup-caption',
			disabledClass: 'jcf-disabled',
			optionClass: 'jcf-option',
			groupClass: 'jcf-optgroup',
			hoverClass: 'jcf-hover',
			selectedClass: 'jcf-selected',
			scrollClass: 'jcf-scroll-active'
		}, options);
		this.init();
	}
754002
function keyIndexing(selector, maxLen, index) {
  var opts = resolverOpts(RESOLVE_MODE.KEY, maxLen, index);
  return resolveSelector(selector, opts);
}
153873
function(element, options) {
        this.name = name;
        this.$ = $(element);
        this.id = $.zui.uuid();
        this.selectOrder = 1;
        this.selections = {};

        this.getOptions(options);
        this._init();
    }
700153
def _writeIndexListOffset(xmlWriter, offset):
    
    xmlIndexListOffset = ETREE.Element('indexListOffset')
    xmlIndexListOffset.text = str(offset)

    xmlWriter.write(xmlIndexListOffset, pretty_print=True)
160439
function(ev) {
            var regex = new RegExp(searchBox.value, 'i'),
                targets = optionsList.querySelectorAll('li');

            for (var i=0; i<targets.length; i++) {
                var target = targets[i];

                // With multiple active options are never shown in the options list, with single
                // we show both the active/inactive options with the active highlighted
                if(multiple && target.classList.contains('active'))
                    continue;

                if(!target.textContent.match(regex)) {
                    target.style.display = 'none';
                } else {
                    target.style.display = 'block';
                }
            };

            searchBox.style.width = ((searchBox.value.length * selected.textWidth) + 25) + 'px';
            moveOptionList();
        }
1317350
function (itemIndex) {
            var data = this._data;
            itemIndex = parseInt(itemIndex, 10); // it will most likely be a string before the conversion
            if (isNaN(itemIndex) || itemIndex < 0 || itemIndex > data.items.length) {
                return; // ignore wrong values of itemIndex
            }
            var item = data.items[itemIndex];
            this._navigationEvent = true;
            var evt = {
                name : "itemMouseOver",
                index : itemIndex,
                item : item,
                value : item.value
            };
            this.$raiseEvent(evt);
        }
387136
@TimerJ
    public IndexMetadataBuilder withOptions(Map<Selector, Selector> opts) {
        options = new HashMap<Selector, Selector>(opts);
        return this;
    }
836830
protected String optionToCode(final Object option, final int index) {
		if (index < 0) {
			List<?> options = getOptions();

			if (options == null || options.isEmpty()) {
				Integrity.issue(this, "No options available, so cannot convert the option \""
						+ option + "\" to a code.");
			} else {
				StringBuffer message = new StringBuffer();
				message.append("The option \"").append(option).append(
						"\" is not one of the available options.");
				Object firstOption = SelectListUtil.getFirstOption(options);

				if (firstOption != null && option != null && firstOption.getClass() != option.
						getClass()) {
					message.append(" The options in this list component are of type \"");
					message.append(firstOption.getClass().getName())
							.append("\", the selection you supplied is of type \"");
					message.append(option.getClass().getName()).append("\".");
				}

				Integrity.issue(this, message.toString());
			}

			return null;
		} else if (option instanceof Option) {
			Option opt = (Option) option;
			return opt.getCode() == null ? "" : opt.getCode();
		} else {
			String code = APPLICATION_LOOKUP_TABLE.getCode(getLookupTable(), option);

			if (code == null) {
				return String.valueOf(index + 1);
			} else {
				return code;
			}
		}
	}
448393
function getOptions(value) {
  var options = {};
  if(include(value, '短縮')) {
    options.tanshuku = true;
  }
  if (include(value, '元年')) {
    options.gannen = true;
  }
  if (include(value, '漢数字フル')) {
    options.kansujiFull = true;
  } else if (include(value, '漢数字')) {
    options.kansuji = true;
  } else if (include(value, '漢字')) {
    options.kanji = true;
  } else if (include(value, '全角')) {
    options.zenkaku = true;
  }
  if (include(value, 'エスケープ')) {
    options.escape = true;
  }
  return Object.keys(options).length ? options : null;
}
1336537
function (items, options) {


            options = options || {};
            _.defaults(options, {silent: false, index: this.$items.length});

            var index = options.index;

            if (!_.isArray(items)) {
                items = [items];
            }
            var item, itemIndex;
            for (var i = 0; i < items.length; i++) {
                item = items[i];
                if (item instanceof Bindable) {
                    item.bind('change', this._onItemChange, this);
                    item.bind('*', this._onItemEvent, this);
                }
                itemIndex = index + i;
                if (_.isUndefined(this.$items[itemIndex]) || itemIndex >= this.$items.length) {
                    this.$items[itemIndex] = item;
                } else {
                    this.$items.splice(itemIndex, 0, item);
                }
                if (options.silent !== true) {
                    this.trigger('add', {item: item, index: itemIndex});
                }
            }
        }
1275916
function(element, key) {
        var value = element.data((this.keyName + '-' + key).toLowerCase());

        if ($.type(value) === 'undefined') {
            value = this.options[key];
        }

        return value;
    }
615471
function addOption( combo, optionText, optionValue, documentObject, index )
	{
		combo = getSelect( combo );
		var oOption;
		if ( documentObject )
			oOption = documentObject.createElement( "OPTION" );
		else
			oOption = document.createElement( "OPTION" );

		if ( combo && oOption && oOption.getName() == 'option' )
		{
			if ( CKEDITOR.env.ie ) {
				if ( !isNaN( parseInt( index, 10) ) )
					combo.$.options.add( oOption.$, index );
				else
					combo.$.options.add( oOption.$ );

				oOption.$.innerHTML = optionText.length > 0 ? optionText : '';
				oOption.$.value     = optionValue;
			}
			else
			{
				if ( index !== null && index < combo.getChildCount() )
					combo.getChild( index < 0 ? 0 : index ).insertBeforeMe( oOption );
				else
					combo.append( oOption );

				oOption.setText( optionText.length > 0 ? optionText : '' );
				oOption.setValue( optionValue );
			}
		}
		else
			return false;

		return oOption;
	}