Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Please don't edit this file by hand.
/**
* @fileoverview Templates in namespace InputMatrix.
* @public
*/
goog.module('InputMatrix.incrementaldom');
goog.require('goog.soy.data.SanitizedContent');
var incrementalDom = goog.require('incrementaldom');
goog.require('soy');
goog.require('soy.asserts');
var soyIdom = goog.require('soy.idom');
var $templateAlias1 = Soy.getTemplate('Input.incrementaldom', 'render');
/**
* @param {{
* currentFields_: (?),
* elementClasses: (?),
* fieldsConfig: (?),
* handleInput_: (?),
* closeButtonHtml: (!goog.soy.data.SanitizedContent|function()|null|string|undefined),
* hideCloseButtons: (boolean|null|undefined)
* }} opt_data
* @param {Object=} opt_ijData
* @param {Object=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
*/
var soydata = goog.require('soydata');
// This file was automatically generated from Toast.soy.
// Please don't edit this file by hand.
/**
* @fileoverview Templates in namespace Toast.
* @public
*/
goog.module('Toast.incrementaldom');
var incrementalDom = goog.require('incrementaldom');
goog.require('soy.asserts');
var soyIdom = goog.require('soy.idom');
var $templateAlias1 = Soy.getTemplate('Spinner.incrementaldom', 'render');
/**
* @param {{
* body: (function()|null|undefined),
* closeButton: (?),
* closeButtonHtml: (function()|null|undefined),
* elementClasses: (?),
* spinner: (?),
* spinnerClasses: (?),
* spinnerDone: (?)
* }} opt_data
* @param {Object=} opt_ijData
* @param {Object=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
// This file was automatically generated from Button.soy.
// Please don't edit this file by hand.
/**
* @fileoverview Templates in namespace Button.
* @public
*/
goog.module('Button.incrementaldom');
goog.require('goog.soy.data.SanitizedContent');
var incrementalDom = goog.require('incrementaldom');
goog.require('soy.asserts');
var soyIdom = goog.require('soy.idom');
var $templateAlias1 = Soy.getTemplate('Spinner.incrementaldom', 'render');
/**
* @param {{
* block: (boolean|null|undefined),
* disabled: (boolean|null|undefined),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* focusTabIndex: (boolean|null|undefined),
* format: (!goog.soy.data.SanitizedContent|null|string|undefined),
* href: (!goog.soy.data.SanitizedContent|null|string|undefined),
* icon: (!goog.soy.data.SanitizedContent|null|string|undefined),
* iconAlignment: (!goog.soy.data.SanitizedContent|null|string|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined),
* label: (!goog.soy.data.SanitizedContent|function()|null|string|undefined),
* loading: (boolean|null|undefined),
* name: (!goog.soy.data.SanitizedContent|null|string|undefined),
// This file was automatically generated from Select.soy.
// Please don't edit this file by hand.
/**
* @fileoverview Templates in namespace Select.
* @public
*/
goog.module('Select.incrementaldom');
goog.require('goog.soy.data.SanitizedContent');
var incrementalDom = goog.require('incrementaldom');
goog.require('soy.asserts');
var soyIdom = goog.require('soy.idom');
var $templateAlias1 = Soy.getTemplate('Dropdown.incrementaldom', 'render');
/**
* @param {{
* arrowClass: (?),
* disabled: (?),
* buttonClass: (?),
* elementClasses: (?),
* expanded_: (?),
* handleDropdownStateSynced_: (?),
* handleItemClick_: (?),
* handleItemKeyDown_: (?),
* hiddenInputName: (?),
* items: (?),
* values: (?),
* selectedIndex: (?),
/** @suppress {extraRequire} */
goog.require('goog.i18n.bidi');
/** @suppress {extraRequire} */
goog.require('goog.asserts');
/** @suppress {extraRequire} */
goog.require('goog.string');
var IncrementalDom = goog.require('incrementaldom');
var ie_open = IncrementalDom.elementOpen;
var ie_close = IncrementalDom.elementClose;
var ie_void = IncrementalDom.elementVoid;
var ie_open_start = IncrementalDom.elementOpenStart;
var ie_open_end = IncrementalDom.elementOpenEnd;
var itext = IncrementalDom.text;
var iattr = IncrementalDom.attr;
var $templateAlias1 = Soy.getTemplate('ChildSoy.incrementaldom', 'render');
/**
* @param {Object=} opt_data
* @param {(null|undefined)=} opt_ignored
* @param {Object=} opt_ijData
* @return {void}
* @suppress {checkTypes}
*/
function $render(opt_data, opt_ignored, opt_ijData) {
ie_open('div', null, null,
'style', 'padding-left: 16px;');
itext('Parent:');
ie_open('button', null, null,
'onClick', 'addChild');
itext('Add a Child!');
/** @suppress {extraRequire} */
goog.require('goog.i18n.bidi');
/** @suppress {extraRequire} */
goog.require('goog.asserts');
/** @suppress {extraRequire} */
goog.require('goog.string');
var IncrementalDom = goog.require('incrementaldom');
var ie_open = IncrementalDom.elementOpen;
var ie_close = IncrementalDom.elementClose;
var ie_void = IncrementalDom.elementVoid;
var ie_open_start = IncrementalDom.elementOpenStart;
var ie_open_end = IncrementalDom.elementOpenEnd;
var itext = IncrementalDom.text;
var iattr = IncrementalDom.attr;
var $templateAlias1 = Soy.getTemplate('ParentSoy.incrementaldom', 'render');
/**
* @param {Object=} opt_data
* @param {(null|undefined)=} opt_ignored
* @param {Object=} opt_ijData
* @return {void}
* @suppress {checkTypes}
*/
function $render(opt_data, opt_ignored, opt_ijData) {
ie_open('div', null, null,
'style', 'padding-left:32px');
itext('Child #');
var dyn0 = opt_data.index;
if (typeof dyn0 == 'function') dyn0(); else if (dyn0 != null) itext(dyn0);
itext(':');
/** @suppress {extraRequire} */
goog.require('goog.i18n.bidi');
/** @suppress {extraRequire} */
goog.require('goog.asserts');
/** @suppress {extraRequire} */
goog.require('goog.string');
var IncrementalDom = goog.require('incrementaldom');
var ie_open = IncrementalDom.elementOpen;
var ie_close = IncrementalDom.elementClose;
var ie_void = IncrementalDom.elementVoid;
var ie_open_start = IncrementalDom.elementOpenStart;
var ie_open_end = IncrementalDom.elementOpenEnd;
var itext = IncrementalDom.text;
var iattr = IncrementalDom.attr;
var $templateAlias1 = Soy.getTemplate('ParentSoy.incrementaldom', 'render');
/**
* @param {Object=} opt_data
* @param {(null|undefined)=} opt_ignored
* @param {Object=} opt_ijData
* @return {void}
* @suppress {checkTypes}
*/
function $render(opt_data, opt_ignored, opt_ijData) {
ie_open('div');
itext('Go to:');
ie_open('a', null, null,
'href', '/metal-devtools/jsx.html');
itext('JSX example');
ie_close('a');