Lines Matching refs:input

7149 function isArray(input) {
7150 return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
7153 function isObject(input) {
7156 return input != null && Object.prototype.toString.call(input) === '[object Object]';
7168 function isUndefined(input) {
7169 return input === void 0;
7172 function isNumber(input) {
7173 return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
7176 function isDate(input) {
7177 return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
7210 function createUTC (input, format, locale, strict) {
7211 return createLocalOrUTC(input, format, locale, strict, true).utc();
7466 function isFunction(input) {
7467 … return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
7756 function removeFormattingTokens(input) {
7757 if (input.match(/\[[\s\S]/)) {
7758 return input.replace(/^\[|\]$/g, '');
7760 return input.replace(/\\/g, '');
7798 function replaceLongDateFormatTokens(input) {
7799 return locale.longDateFormat(input) || input;
7872 func = function (input, array) {
7873 array[callback] = toInt(input);
7882 addParseToken(token, function (input, array, config, token) {
7884 callback(input, config._w, config, token);
7888 function addTimeToArrayFromToken(token, input, config) {
7889 if (input != null && hasOwnProp(tokens, token)) {
7890 tokens[token](input, config._a, config, token);
7960 addParseToken(['M', 'MM'], function (input, array) {
7961 array[MONTH] = toInt(input) - 1;
7964 addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
7965 var month = config._locale.monthsParse(input, token, config._strict);
7970 getParsingFlags(config).invalidMonth = input;
8223 addParseToken('YYYY', function (input, array) {
8224 array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
8226 addParseToken('YY', function (input, array) {
8227 array[YEAR] = hooks.parseTwoDigitYear(input);
8229 addParseToken('Y', function (input, array) {
8230 array[YEAR] = parseInt(input, 10);
8245 hooks.parseTwoDigitYear = function (input) {
8246 return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
8363 addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
8364 week[token.substr(0, 1)] = toInt(input);
8390 function getSetWeek (input) {
8392 return input == null ? week : this.add((input - week) * 7, 'd');
8395 function getSetISOWeek (input) {
8397 return input == null ? week : this.add((input - week) * 7, 'd');
8445 addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
8446 var weekday = config._locale.weekdaysParse(input, token, config._strict);
8451 getParsingFlags(config).invalidWeekday = input;
8455 addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
8456 week[token] = toInt(input);
8461 function parseWeekday(input, locale) {
8462 if (typeof input !== 'string') {
8463 return input;
8466 if (!isNaN(input)) {
8467 return parseInt(input, 10);
8470 input = locale.weekdaysParse(input);
8471 if (typeof input === 'number') {
8472 return input;
8478 function parseIsoWeekday(input, locale) {
8479 if (typeof input === 'string') {
8480 return locale.weekdaysParse(input) % 7 || 7;
8482 return isNaN(input) ? null : input;
8613 function getSetDayOfWeek (input) {
8615 return input != null ? this : NaN;
8618 if (input != null) {
8619 input = parseWeekday(input, this.localeData());
8620 return this.add(input - day, 'd');
8626 function getSetLocaleDayOfWeek (input) {
8628 return input != null ? this : NaN;
8631 return input == null ? weekday : this.add(input - weekday, 'd');
8634 function getSetISODayOfWeek (input) {
8636 return input != null ? this : NaN;
8643 if (input != null) {
8644 var weekday = parseIsoWeekday(input, this.localeData());
8822 addParseToken(['k', 'kk'], function (input, array, config) {
8823 var kInput = toInt(input);
8826 addParseToken(['a', 'A'], function (input, array, config) {
8827 config._isPm = config._locale.isPM(input);
8828 config._meridiem = input;
8830 addParseToken(['h', 'hh'], function (input, array, config) {
8831 array[HOUR] = toInt(input);
8834 addParseToken('hmm', function (input, array, config) {
8835 var pos = input.length - 2;
8836 array[HOUR] = toInt(input.substr(0, pos));
8837 array[MINUTE] = toInt(input.substr(pos));
8840 addParseToken('hmmss', function (input, array, config) {
8841 var pos1 = input.length - 4;
8842 var pos2 = input.length - 2;
8843 array[HOUR] = toInt(input.substr(0, pos1));
8844 array[MINUTE] = toInt(input.substr(pos1, 2));
8845 array[SECOND] = toInt(input.substr(pos2));
8848 addParseToken('Hmm', function (input, array, config) {
8849 var pos = input.length - 2;
8850 array[HOUR] = toInt(input.substr(0, pos));
8851 array[MINUTE] = toInt(input.substr(pos));
8853 addParseToken('Hmmss', function (input, array, config) {
8854 var pos1 = input.length - 4;
8855 var pos2 = input.length - 2;
8856 array[HOUR] = toInt(input.substr(0, pos1));
8857 array[MINUTE] = toInt(input.substr(pos1, 2));
8858 array[SECOND] = toInt(input.substr(pos2));
8863 function localeIsPM (input) {
8866 return ((input + '').toLowerCase().charAt(0) === 'p');
9340 var i, date, input = [], currentDate, yearToUse;
9372 config._a[i] = input[i] = currentDate[i];
9377 config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
9389 config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);
9632 var input = config._i,
9637 if (input === null || (format === undefined && input === '')) {
9641 if (typeof input === 'string') {
9642 config._i = input = config._locale.preparse(input);
9645 if (isMoment(input)) {
9646 return new Moment(checkOverflow(input));
9647 } else if (isDate(input)) {
9648 config._d = input;
9665 var input = config._i;
9666 if (isUndefined(input)) {
9668 } else if (isDate(input)) {
9669 config._d = new Date(input.valueOf());
9670 } else if (typeof input === 'string') {
9672 } else if (isArray(input)) {
9673 config._a = map(input.slice(0), function (obj) {
9677 } else if (isObject(input)) {
9679 } else if (isNumber(input)) {
9681 config._d = new Date(input);
9687 function createLocalOrUTC (input, format, locale, strict, isUTC) {
9695 if ((isObject(input) && isObjectEmpty(input)) ||
9696 (isArray(input) && input.length === 0)) {
9697 input = undefined;
9704 c._i = input;
9711 function createLocal (input, format, locale, strict) {
9712 return createLocalOrUTC(input, format, locale, strict, false);
9880 addParseToken(['Z', 'ZZ'], function (input, array, config) {
9882 config._tzm = offsetFromString(matchShortOffset, input);
9909 function cloneWithOffset(input, model) {
9913 …diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.v…
9919 return createLocal(input).local();
9947 function getSetOffset (input, keepLocalTime, keepMinutes) {
9951 return input != null ? this : NaN;
9953 if (input != null) {
9954 if (typeof input === 'string') {
9955 input = offsetFromString(matchShortOffset, input);
9956 if (input === null) {
9959 } else if (Math.abs(input) < 16 && !keepMinutes) {
9960 input = input * 60;
9965 this._offset = input;
9970 if (offset !== input) {
9972 addSubtract(this, createDuration(input - offset, 'm'), 1, false);
9985 function getSetZone (input, keepLocalTime) {
9986 if (input != null) {
9987 if (typeof input !== 'string') {
9988 input = -input;
9991 this.utcOffset(input, keepLocalTime);
10030 function hasAlignedHourOffset (input) {
10034 input = input ? createLocal(input).utcOffset() : 0;
10036 return (this.utcOffset() - input) % 60 === 0;
10087 function createDuration (input, key) {
10088 var duration = input,
10095 if (isDuration(input)) {
10097 ms : input._milliseconds,
10098 d : input._days,
10099 M : input._months
10101 } else if (isNumber(input)) {
10104 duration[key] = input;
10106 duration.milliseconds = input;
10108 } else if (!!(match = aspNetRegex.exec(input))) {
10118 } else if (!!(match = isoRegex.exec(input))) {
10141 if (isDuration(input) && hasOwnProp(input, '_locale')) {
10142 ret._locale = input._locale;
10265 function isAfter (input, units) {
10266 var localInput = isMoment(input) ? input : createLocal(input);
10278 function isBefore (input, units) {
10279 var localInput = isMoment(input) ? input : createLocal(input);
10297 function isSame (input, units) {
10298 var localInput = isMoment(input) ? input : createLocal(input),
10312 function isSameOrAfter (input, units) {
10313 return this.isSame(input, units) || this.isAfter(input,units);
10316 function isSameOrBefore (input, units) {
10317 return this.isSame(input, units) || this.isBefore(input,units);
10320 function diff (input, units, asFloat) {
10329 that = cloneWithOffset(input, this);
10600 input: this._i,
10649 addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
10650 week[token.substr(0, 2)] = toInt(input);
10653 addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
10654 week[token] = hooks.parseTwoDigitYear(input);
10659 function getSetWeekYear (input) {
10661 input,
10668 function getSetISOWeekYear (input) {
10670 input, this.isoWeek(), this.isoWeekday(), 1, 4);
10682 function getSetWeekYearHelper(input, week, weekday, dow, doy) {
10684 if (input == null) {
10687 weeksTarget = weeksInYear(input, dow, doy);
10691 return setWeekAll.call(this, input, week, weekday, dow, doy);
10720 addParseToken('Q', function (input, array) {
10721 array[MONTH] = (toInt(input) - 1) * 3;
10726 function getSetQuarter (input) {
10727 …return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month…
10753 addParseToken('Do', function (input, array) {
10754 array[DATE] = toInt(input.match(match1to2)[0], 10);
10776 addParseToken(['DDD', 'DDDD'], function (input, array, config) {
10777 config._dayOfYear = toInt(input);
10784 function getSetDayOfYear (input) {
10786 return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');
10883 function parseMs(input, array) {
10884 array[MILLISECOND] = toInt(('0.' + input) * 1000);
11013 function createUnix (input) {
11014 return createLocal(input * 1000);
11188 function addSubtract$1 (duration, input, value, direction) {
11189 var other = createDuration(input, value);
11199 function add$1 (input, value) {
11200 return addSubtract$1(this, input, value, 1);
11204 function subtract$1 (input, value) {
11205 return addSubtract$1(this, input, value, -1);
11543 addParseToken('X', function (input, array, config) {
11544 config._d = new Date(parseFloat(input, 10) * 1000);
11546 addParseToken('x', function (input, array, config) {
11547 config._d = new Date(toInt(input));
12963 numbro = function(input) {
12964 if (numbro.isNumbro(input)) {
12965 input = input.value();
12966 } else if (typeof input === 'string' || typeof input === 'number') {
12967 input = numbro.fn.unformat(input);
12969 input = NaN;
12972 return new Numbro(Number(input));
14453 …populateFromArray: function populateFromArray(start, input, end, source, method, direction, deltas…
14462 rlen = input.length;
14483 input = (0, _data.translateRowsToColumns)(input);
14484 for (c = 0, clen = input.length, cmax = Math.max(clen, repeatCol); c < cmax; c++) {
14488 for (r = 0, rlen = input[c].length; r < repeatRow - rlen; r++) {
14489 input[c].push(input[c][r % rlen]);
14491 input[c].unshift(start.col + c, start.row, 0);
14492 (_instance = instance).spliceCol.apply(_instance, _toConsumableArray(input[c]));
14496 input[c % clen][0] = start.col + c;
14497 … (_instance2 = instance).spliceCol.apply(_instance2, _toConsumableArray(input[c % clen]));
14505 for (r = 0, rlen = input.length, rmax = Math.max(rlen, repeatRow); r < rmax; r++) {
14509 for (c = 0, clen = input[r].length; c < repeatCol - clen; c++) {
14510 input[r].push(input[r][c % clen]);
14512 input[r].unshift(start.row + r, start.col, 0);
14513 (_instance3 = instance).spliceRow.apply(_instance3, _toConsumableArray(input[r]));
14517 input[r % rlen][0] = start.row + r;
14518 … (_instance4 = instance).spliceRow.apply(_instance4, _toConsumableArray(input[r % rlen]));
14541 var rowValue = input[row % input.length];
14549 var rowInputLength = input.length;
14608 …ult = instance.runHooks('beforeAutofillInsidePopulate', index, direction, input, deltas, {}, selec…
15308 var input = setDataInputToArray(row, col, value),
15314 for (i = 0, ilen = input.length; i < ilen; i++) {
15315 if (_typeof(input[i]) !== 'object') {
15318 if (typeof input[i][1] !== 'number') {
15321 prop = datamap.colToProp(input[i][1]);
15322 …changes.push([input[i][0], prop, dataSource.getAtCell(recordTranslator.toPhysicalRow(input[i][0]),…
15350 var input = setDataInputToArray(row, prop, value),
15355 for (i = 0, ilen = input.length; i < ilen; i++) {
15356 …changes.push([input[i][0], input[i][1], dataSource.getAtCell(recordTranslator.toPhysicalRow(input[…
15447 …this.populateFromArray = function (row, col, input, endRow, endCol, source, method, direction, del…
15450 …if (!((typeof input === 'undefined' ? 'undefined' : _typeof(input)) === 'object' && _typeof(input[…
15455 …return grid.populateFromArray(new _src.CellCoords(row, col), input, c, source, method, direction, …
17599 function translateRowsToColumns(input) {
17607 for (i = 0, ilen = input.length; i < ilen; i++) {
17608 for (j = 0, jlen = input[i].length; j < jlen; j++) {
17613 output[j].push(input[i][j]);
41665 var input = void 0,
41676 input = this.textarea.getValue();
41677 inputArray = _SheetClip2.default.parse(input);
47487 var input = createInput();
47501 input.checked = true;
47503 input.checked = false;
47506 (0, _element.addClass)(input, 'noValue');
47508 input.style.display = 'none';
47509 (0, _element.addClass)(input, BAD_VALUE_CLASS);
47513 input.setAttribute('data-row', row);
47514 input.setAttribute('data-col', col);
47527 label.appendChild(input);
47529 label.insertBefore(input, label.firstChild);
47531 input = label;
47534 TD.appendChild(input);
47701 var input = document.createElement('input');
47703 input.className = 'htCheckboxRendererInput';
47704 input.type = 'checkbox';
47705 input.setAttribute('autocomplete', 'off');
47706 input.setAttribute('tabindex', '-1');
47708 return input.cloneNode(false);