Comparing version 2.0.0-rc.4 to 2.0.0-rc.5
@@ -49,7 +49,7 @@ 'use strict'; | ||
var $templateAlias4 = _metalSoy2.default.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias3 = _metalSoy2.default.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias1 = _metalSoy2.default.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias3 = _metalSoy2.default.getTemplate('ClayLabel.incrementaldom', 'render'); | ||
var $templateAlias4 = _metalSoy2.default.getTemplate('ClayLabel.incrementaldom', 'render'); | ||
@@ -63,7 +63,6 @@ var $templateAlias2 = _metalSoy2.default.getTemplate('ClayLink.incrementaldom', 'render'); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -121,8 +120,8 @@ var title = soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string'); | ||
}; | ||
var variant__soy48 = ($$temp = contentRenderer) == null ? '' : $$temp; | ||
var variant__soy48 = contentRenderer != null ? contentRenderer : ''; | ||
var descriptiveArea__soy60 = function descriptiveArea__soy60() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), variant__soy48, false)(opt_data, null, opt_ijData); | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), variant__soy48, false)({ actionItems: actionItems, href: href, labels: labels, labelStylesMap: labelStylesMap, spritemap: spritemap, subtitle: subtitle, title: title }, opt_ijData); | ||
}; | ||
var visualArea__soy72 = function visualArea__soy72() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), variant__soy48, false)(opt_data, null, opt_ijData); | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), variant__soy48, false)({ icon: icon, imageAlt: imageAlt, imageSrc: imageSrc, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle }, opt_ijData); | ||
}; | ||
@@ -142,3 +141,3 @@ incrementalDom.elementOpenStart('div'); | ||
}; | ||
$templateAlias1({ ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: { change: _handleItemCheckboxClick }, labelContent: param86, name: inputName, value: inputValue }, null, opt_ijData); | ||
$templateAlias1({ ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: { change: _handleItemCheckboxClick }, labelContent: param86, name: inputName, value: inputValue }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -195,7 +194,6 @@ descriptiveArea__soy60(); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_DescriptiveArea_ = function __deltemplate__ClayCardBase_DescriptiveArea_(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -225,3 +223,3 @@ var title = soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string'); | ||
if (href) { | ||
$templateAlias2({ elementClasses: 'card-title text-truncate', href: href, label: title }, null, opt_ijData); | ||
$templateAlias2({ elementClasses: 'card-title text-truncate', href: href, label: title }, opt_ijData); | ||
} else { | ||
@@ -250,5 +248,12 @@ incrementalDom.elementOpenStart('div'); | ||
if (label132Data.label) { | ||
$templateAlias3({ label: label132Data.label, style: label132Data.style }, null, opt_ijData); | ||
$templateAlias4({ label: label132Data.label, style: label132Data.style }, opt_ijData); | ||
} else { | ||
$templateAlias3({ label: label132Data, style: labelStylesMap ? ($$temp = labelStylesMap[label132Data]) == null ? labelStylesMap['*'] : $$temp : null }, null, opt_ijData); | ||
var $tmp$$1; | ||
if (labelStylesMap) { | ||
var $tmp = labelStylesMap[label132Data]; | ||
$tmp$$1 = $tmp != null ? $tmp : labelStylesMap['*']; | ||
} else { | ||
$tmp$$1 = null; | ||
} | ||
$templateAlias4({ label: label132Data, style: $tmp$$1 }, opt_ijData); | ||
} | ||
@@ -266,3 +271,3 @@ if (!(label132Index == label132ListLen - 1)) { | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({ items: actionItems, spritemap: spritemap }, null, opt_ijData); | ||
$templateAlias3({ items: actionItems, spritemap: spritemap }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -296,3 +301,3 @@ } | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -299,0 +304,0 @@ var __deltemplate__ClayCardBase_VisualArea_ = function __deltemplate__ClayCardBase_VisualArea_(opt_data, opt_ijData, opt_ijData_deprecated) { |
@@ -57,7 +57,6 @@ 'use strict'; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -106,3 +105,3 @@ var spritemap = soy.asserts.assertType(goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|string'); | ||
classes__soy298 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'file', disabled: disabled, elementClasses: classes__soy298, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, icon: ($$temp = icon) == null ? 'documents-and-media' : $$temp, id: id, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title }, null, opt_ijData); | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'file', disabled: disabled, elementClasses: classes__soy298, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, icon: icon != null ? icon : 'documents-and-media', id: id, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title }, opt_ijData); | ||
}; | ||
@@ -144,7 +143,6 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_file = function __deltemplate__ClayCardBase_VisualArea_file(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -169,7 +167,7 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({ spritemap: spritemap, symbol: icon }, null, opt_ijData); | ||
$templateAlias2({ spritemap: spritemap, symbol: icon }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
} | ||
if (stickerLabel) { | ||
$templateAlias3({ label: stickerLabel, position: 'bottom-left', shape: ($$temp = stickerShape) == null ? 'rounded' : $$temp, style: ($$temp = stickerStyle) == null ? 'primary' : $$temp }, null, opt_ijData); | ||
$templateAlias3({ label: stickerLabel, position: 'bottom-left', shape: stickerShape != null ? stickerShape : 'rounded', style: stickerStyle != null ? stickerStyle : 'primary' }, opt_ijData); | ||
} | ||
@@ -176,0 +174,0 @@ }; |
@@ -46,7 +46,7 @@ 'use strict'; | ||
var $templateAlias1 = _metalSoy2.default.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias2 = _metalSoy2.default.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias3 = _metalSoy2.default.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias2 = _metalSoy2.default.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
var $templateAlias1 = _metalSoy2.default.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
@@ -58,3 +58,3 @@ /** | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -98,3 +98,3 @@ var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
var descriptiveArea__soy405 = function descriptiveArea__soy405() { | ||
$descriptiveArea(opt_data, null, opt_ijData); | ||
$descriptiveArea({ actionItems: actionItems, href: href, icon: icon, spritemap: spritemap, title: title }, opt_ijData); | ||
}; | ||
@@ -112,3 +112,3 @@ incrementalDom.elementOpenStart('div'); | ||
}; | ||
$templateAlias1({ ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: { change: _handleItemCheckboxClick }, labelContent: param419, name: inputName, value: inputValue }, null, opt_ijData); | ||
$templateAlias2({ ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: { change: _handleItemCheckboxClick }, labelContent: param419, name: inputName, value: inputValue }, opt_ijData); | ||
} else { | ||
@@ -148,7 +148,6 @@ descriptiveArea__soy405(); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $descriptiveArea = function $descriptiveArea(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -173,3 +172,3 @@ var spritemap = soy.asserts.assertType(goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|string'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({ icon: ($$temp = icon) == null ? 'folder' : $$temp, spritemap: spritemap, style: 'unstyled' }, null, opt_ijData); | ||
$templateAlias1({ icon: icon != null ? icon : 'folder', spritemap: spritemap, style: 'unstyled' }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -180,3 +179,3 @@ incrementalDom.elementOpenStart('div'); | ||
if (href) { | ||
$templateAlias3({ elementClasses: 'card-title text-truncate', href: href, label: title }, null, opt_ijData); | ||
$templateAlias3({ elementClasses: 'card-title text-truncate', href: href, label: title }, opt_ijData); | ||
} else { | ||
@@ -194,3 +193,3 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({ items: actionItems, spritemap: spritemap }, null, opt_ijData); | ||
$templateAlias4({ items: actionItems, spritemap: spritemap }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -197,0 +196,0 @@ } |
@@ -57,3 +57,3 @@ 'use strict'; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -109,3 +109,3 @@ var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
classes__soy566 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'image', disabled: disabled, elementClasses: classes__soy566, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, icon: icon, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title }, null, opt_ijData); | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'image', disabled: disabled, elementClasses: classes__soy566, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, icon: icon, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title }, opt_ijData); | ||
}; | ||
@@ -149,7 +149,6 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_image = function __deltemplate__ClayCardBase_VisualArea_image(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -187,7 +186,7 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({ spritemap: spritemap, symbol: icon }, null, opt_ijData); | ||
$templateAlias2({ spritemap: spritemap, symbol: icon }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
} | ||
if (stickerLabel) { | ||
$templateAlias3({ label: stickerLabel, position: 'bottom-left', shape: ($$temp = stickerShape) == null ? 'rounded' : $$temp, style: ($$temp = stickerStyle) == null ? 'primary' : $$temp }, null, opt_ijData); | ||
$templateAlias3({ label: stickerLabel, position: 'bottom-left', shape: stickerShape != null ? stickerShape : 'rounded', style: stickerStyle != null ? stickerStyle : 'primary' }, opt_ijData); | ||
} | ||
@@ -194,0 +193,0 @@ }; |
@@ -47,9 +47,9 @@ 'use strict'; | ||
var $templateAlias3 = _metalSoy2.default.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias4 = _metalSoy2.default.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias1 = _metalSoy2.default.getTemplate('ClayCardBase.incrementaldom', 'render'); | ||
var $templateAlias2 = _metalSoy2.default.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias3 = _metalSoy2.default.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias4 = _metalSoy2.default.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
var $templateAlias2 = _metalSoy2.default.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
@@ -61,3 +61,3 @@ /** | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -105,3 +105,3 @@ var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
classes__soy694 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'user', disabled: disabled, elementClasses: elementClasses, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: initials, stickerStyle: userColor, subtitle: subtitle, title: name }, null, opt_ijData); | ||
$templateAlias1({ actionItems: actionItems, contentRenderer: 'user', disabled: disabled, elementClasses: elementClasses, events: { itemToggled: _handleItemToggled }, groupName: groupName, href: href, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: initials, stickerStyle: userColor, subtitle: subtitle, title: name }, opt_ijData); | ||
}; | ||
@@ -141,3 +141,3 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -170,3 +170,3 @@ var __deltemplate__ClayCardBase_DescriptiveArea_user = function __deltemplate__ClayCardBase_DescriptiveArea_user(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
if (href) { | ||
$templateAlias2({ elementClasses: 'card-title text-truncate', href: href, label: title }, null, opt_ijData); | ||
$templateAlias3({ elementClasses: 'card-title text-truncate', href: href, label: title }, opt_ijData); | ||
} else if (title) { | ||
@@ -191,3 +191,3 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias3({ items: actionItems, spritemap: spritemap }, null, opt_ijData); | ||
$templateAlias4({ items: actionItems, spritemap: spritemap }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -221,7 +221,6 @@ } | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_user = function __deltemplate__ClayCardBase_VisualArea_user(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -245,3 +244,3 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({ imageAlt: imageAlt, imageSrc: imageSrc, label: stickerLabel, shape: 'circle', size: 'xl', style: ($$temp = stickerStyle) == null ? 'primary' : $$temp }, null, opt_ijData); | ||
$templateAlias2({ imageAlt: imageAlt, imageSrc: imageSrc, label: stickerLabel, shape: 'circle', size: 'xl', style: stickerStyle != null ? stickerStyle : 'primary' }, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -248,0 +247,0 @@ }; |
{ | ||
"name": "clay-card", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0-rc.5", | ||
"description": "Metal ClayCard component", | ||
@@ -30,8 +30,8 @@ "license": "BSD", | ||
"dependencies": { | ||
"clay-checkbox": "^2.0.0-rc.4", | ||
"clay-dropdown": "^2.0.0-rc.4", | ||
"clay-icon": "^2.0.0-rc.4", | ||
"clay-label": "^2.0.0-rc.4", | ||
"clay-link": "^2.0.0-rc.4", | ||
"clay-sticker": "^2.0.0-rc.4", | ||
"clay-checkbox": "^2.0.0-rc.5", | ||
"clay-dropdown": "^2.0.0-rc.5", | ||
"clay-icon": "^2.0.0-rc.5", | ||
"clay-label": "^2.0.0-rc.5", | ||
"clay-link": "^2.0.0-rc.5", | ||
"clay-sticker": "^2.0.0-rc.5", | ||
"metal": "^2.16.0", | ||
@@ -50,3 +50,3 @@ "metal-component": "^2.16.0", | ||
"browserslist-config-clay-components": "^2.0.0-rc.3", | ||
"clay": "^2.0.0-rc.4", | ||
"clay": "^2.0.0-rc.5", | ||
"metal-dom": "^2.13.2", | ||
@@ -53,0 +53,0 @@ "metal-tools-soy": "^6.0.0", |
@@ -29,7 +29,7 @@ /* jshint ignore:start */ | ||
var $templateAlias4 = Soy.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias3 = Soy.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias1 = Soy.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias3 = Soy.getTemplate('ClayLabel.incrementaldom', 'render'); | ||
var $templateAlias4 = Soy.getTemplate('ClayLabel.incrementaldom', 'render'); | ||
@@ -44,7 +44,6 @@ var $templateAlias2 = Soy.getTemplate('ClayLink.incrementaldom', 'render'); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -102,8 +101,8 @@ var title = soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string'); | ||
}; | ||
var variant__soy48 = ($$temp = contentRenderer) == null ? '' : $$temp; | ||
var variant__soy48 = contentRenderer != null ? contentRenderer : ''; | ||
var descriptiveArea__soy60 = function() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), variant__soy48, false)(opt_data, null, opt_ijData); | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.DescriptiveArea.idom'), variant__soy48, false)({actionItems: actionItems, href: href, labels: labels, labelStylesMap: labelStylesMap, spritemap: spritemap, subtitle: subtitle, title: title}, opt_ijData); | ||
}; | ||
var visualArea__soy72 = function() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), variant__soy48, false)(opt_data, null, opt_ijData); | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayCardBase.VisualArea.idom'), variant__soy48, false)({icon: icon, imageAlt: imageAlt, imageSrc: imageSrc, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle}, opt_ijData); | ||
}; | ||
@@ -123,3 +122,3 @@ incrementalDom.elementOpenStart('div'); | ||
}; | ||
$templateAlias1({ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: {change: _handleItemCheckboxClick}, labelContent: param86, name: inputName, value: inputValue}, null, opt_ijData); | ||
$templateAlias1({ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: {change: _handleItemCheckboxClick}, labelContent: param86, name: inputName, value: inputValue}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -177,7 +176,6 @@ descriptiveArea__soy60(); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_DescriptiveArea_ = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -207,3 +205,3 @@ var title = soy.asserts.assertType(goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|string'); | ||
if (href) { | ||
$templateAlias2({elementClasses: 'card-title text-truncate', href: href, label: title}, null, opt_ijData); | ||
$templateAlias2({elementClasses: 'card-title text-truncate', href: href, label: title}, opt_ijData); | ||
} else { | ||
@@ -232,5 +230,12 @@ incrementalDom.elementOpenStart('div'); | ||
if (label132Data.label) { | ||
$templateAlias3({label: label132Data.label, style: label132Data.style}, null, opt_ijData); | ||
$templateAlias4({label: label132Data.label, style: label132Data.style}, opt_ijData); | ||
} else { | ||
$templateAlias3({label: label132Data, style: labelStylesMap ? (($$temp = labelStylesMap[label132Data]) == null ? labelStylesMap['*'] : $$temp) : null}, null, opt_ijData); | ||
var $tmp$$1; | ||
if (labelStylesMap) { | ||
var $tmp = labelStylesMap[label132Data]; | ||
$tmp$$1 = $tmp != null ? $tmp : labelStylesMap['*']; | ||
} else { | ||
$tmp$$1 = null; | ||
} | ||
$templateAlias4({label: label132Data, style: $tmp$$1}, opt_ijData); | ||
} | ||
@@ -248,3 +253,3 @@ if (!(label132Index == label132ListLen - 1)) { | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({items: actionItems, spritemap: spritemap}, null, opt_ijData); | ||
$templateAlias3({items: actionItems, spritemap: spritemap}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -279,3 +284,3 @@ } | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -282,0 +287,0 @@ var __deltemplate__ClayCardBase_VisualArea_ = function(opt_data, opt_ijData, opt_ijData_deprecated) { |
@@ -38,7 +38,6 @@ /* jshint ignore:start */ | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -87,3 +86,3 @@ var spritemap = soy.asserts.assertType(goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|string'); | ||
classes__soy298 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'file', disabled: disabled, elementClasses: classes__soy298, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, icon: ($$temp = icon) == null ? 'documents-and-media' : $$temp, id: id, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title}, null, opt_ijData); | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'file', disabled: disabled, elementClasses: classes__soy298, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, icon: icon != null ? icon : 'documents-and-media', id: id, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title}, opt_ijData); | ||
}; | ||
@@ -126,7 +125,6 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_file = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -151,7 +149,7 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({spritemap: spritemap, symbol: icon}, null, opt_ijData); | ||
$templateAlias2({spritemap: spritemap, symbol: icon}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
} | ||
if (stickerLabel) { | ||
$templateAlias3({label: stickerLabel, position: 'bottom-left', shape: ($$temp = stickerShape) == null ? 'rounded' : $$temp, style: ($$temp = stickerStyle) == null ? 'primary' : $$temp}, null, opt_ijData); | ||
$templateAlias3({label: stickerLabel, position: 'bottom-left', shape: stickerShape != null ? stickerShape : 'rounded', style: stickerStyle != null ? stickerStyle : 'primary'}, opt_ijData); | ||
} | ||
@@ -158,0 +156,0 @@ }; |
@@ -26,7 +26,7 @@ /* jshint ignore:start */ | ||
var $templateAlias1 = Soy.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias2 = Soy.getTemplate('ClayCheckbox.incrementaldom', 'render'); | ||
var $templateAlias3 = Soy.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias2 = Soy.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
var $templateAlias1 = Soy.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
@@ -39,3 +39,3 @@ | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -79,3 +79,3 @@ var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
var descriptiveArea__soy405 = function() { | ||
$descriptiveArea(opt_data, null, opt_ijData); | ||
$descriptiveArea({actionItems: actionItems, href: href, icon: icon, spritemap: spritemap, title: title}, opt_ijData); | ||
}; | ||
@@ -93,3 +93,3 @@ incrementalDom.elementOpenStart('div'); | ||
}; | ||
$templateAlias1({ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: {change: _handleItemCheckboxClick}, labelContent: param419, name: inputName, value: inputValue}, null, opt_ijData); | ||
$templateAlias2({ariaLabelledBy: groupName ? 'group-' + groupName : null, checked: selected, disabled: disabled, events: {change: _handleItemCheckboxClick}, labelContent: param419, name: inputName, value: inputValue}, opt_ijData); | ||
} else { | ||
@@ -130,7 +130,6 @@ descriptiveArea__soy405(); | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $descriptiveArea = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -155,3 +154,3 @@ var spritemap = soy.asserts.assertType(goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|string'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({icon: ($$temp = icon) == null ? 'folder' : $$temp, spritemap: spritemap, style: 'unstyled'}, null, opt_ijData); | ||
$templateAlias1({icon: icon != null ? icon : 'folder', spritemap: spritemap, style: 'unstyled'}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -162,3 +161,3 @@ incrementalDom.elementOpenStart('div'); | ||
if (href) { | ||
$templateAlias3({elementClasses: 'card-title text-truncate', href: href, label: title}, null, opt_ijData); | ||
$templateAlias3({elementClasses: 'card-title text-truncate', href: href, label: title}, opt_ijData); | ||
} else { | ||
@@ -176,3 +175,3 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({items: actionItems, spritemap: spritemap}, null, opt_ijData); | ||
$templateAlias4({items: actionItems, spritemap: spritemap}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -179,0 +178,0 @@ } |
@@ -38,3 +38,3 @@ /* jshint ignore:start */ | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -90,3 +90,3 @@ var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
classes__soy566 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'image', disabled: disabled, elementClasses: classes__soy566, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, icon: icon, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title}, null, opt_ijData); | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'image', disabled: disabled, elementClasses: classes__soy566, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, icon: icon, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, labels: labels, labelStylesMap: labelStylesMap, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: stickerLabel, stickerShape: stickerShape, stickerStyle: stickerStyle, subtitle: subtitle, title: title}, opt_ijData); | ||
}; | ||
@@ -131,7 +131,6 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_image = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -169,7 +168,7 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias2({spritemap: spritemap, symbol: icon}, null, opt_ijData); | ||
$templateAlias2({spritemap: spritemap, symbol: icon}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
} | ||
if (stickerLabel) { | ||
$templateAlias3({label: stickerLabel, position: 'bottom-left', shape: ($$temp = stickerShape) == null ? 'rounded' : $$temp, style: ($$temp = stickerStyle) == null ? 'primary' : $$temp}, null, opt_ijData); | ||
$templateAlias3({label: stickerLabel, position: 'bottom-left', shape: stickerShape != null ? stickerShape : 'rounded', style: stickerStyle != null ? stickerStyle : 'primary'}, opt_ijData); | ||
} | ||
@@ -176,0 +175,0 @@ }; |
@@ -27,9 +27,9 @@ /* jshint ignore:start */ | ||
var $templateAlias3 = Soy.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias4 = Soy.getTemplate('ClayActionsDropdown.incrementaldom', 'render'); | ||
var $templateAlias1 = Soy.getTemplate('ClayCardBase.incrementaldom', 'render'); | ||
var $templateAlias2 = Soy.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias3 = Soy.getTemplate('ClayLink.incrementaldom', 'render'); | ||
var $templateAlias4 = Soy.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
var $templateAlias2 = Soy.getTemplate('ClaySticker.incrementaldom', 'render'); | ||
@@ -42,3 +42,3 @@ | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -86,3 +86,3 @@ var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
classes__soy694 += elementClasses ? ' ' + elementClasses : ''; | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'user', disabled: disabled, elementClasses: elementClasses, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: initials, stickerStyle: userColor, subtitle: subtitle, title: name}, null, opt_ijData); | ||
$templateAlias1({actionItems: actionItems, contentRenderer: 'user', disabled: disabled, elementClasses: elementClasses, events: {itemToggled: _handleItemToggled}, groupName: groupName, href: href, id: id, imageAlt: imageAlt, imageSrc: imageSrc, inputName: inputName, inputValue: inputValue, ref: 'card', selectable: selectable, selected: selected, spritemap: spritemap, stickerLabel: initials, stickerStyle: userColor, subtitle: subtitle, title: name}, opt_ijData); | ||
}; | ||
@@ -123,3 +123,3 @@ exports.render = $render; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
@@ -152,3 +152,3 @@ var __deltemplate__ClayCardBase_DescriptiveArea_user = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
if (href) { | ||
$templateAlias2({elementClasses: 'card-title text-truncate', href: href, label: title}, null, opt_ijData); | ||
$templateAlias3({elementClasses: 'card-title text-truncate', href: href, label: title}, opt_ijData); | ||
} else if (title) { | ||
@@ -173,3 +173,3 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias3({items: actionItems, spritemap: spritemap}, null, opt_ijData); | ||
$templateAlias4({items: actionItems, spritemap: spritemap}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -204,7 +204,6 @@ } | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var __deltemplate__ClayCardBase_VisualArea_user = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
opt_data = opt_data || {}; | ||
@@ -228,3 +227,3 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */ | ||
incrementalDom.elementOpenEnd(); | ||
$templateAlias4({imageAlt: imageAlt, imageSrc: imageSrc, label: stickerLabel, shape: 'circle', size: 'xl', style: ($$temp = stickerStyle) == null ? 'primary' : $$temp}, null, opt_ijData); | ||
$templateAlias2({imageAlt: imageAlt, imageSrc: imageSrc, label: stickerLabel, shape: 'circle', size: 'xl', style: stickerStyle != null ? stickerStyle : 'primary'}, opt_ijData); | ||
incrementalDom.elementClose('div'); | ||
@@ -231,0 +230,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
544228
5600
Updatedclay-checkbox@^2.0.0-rc.5
Updatedclay-dropdown@^2.0.0-rc.5
Updatedclay-icon@^2.0.0-rc.5
Updatedclay-label@^2.0.0-rc.5
Updatedclay-link@^2.0.0-rc.5
Updatedclay-sticker@^2.0.0-rc.5