clay-dropdown
Advanced tools
Comparing version 2.14.0 to 2.14.2
@@ -118,7 +118,7 @@ 'use strict'; | ||
} else { | ||
var msg_2408__soy2409 = ''; | ||
var msg_2417__soy2418 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions'); | ||
msg_2408__soy2409 += MSG_EXTERNAL_6305962755687847469; | ||
param54 += msg_2408__soy2409; | ||
msg_2417__soy2418 += MSG_EXTERNAL_6305962755687847469; | ||
param54 += msg_2417__soy2418; | ||
} | ||
@@ -125,0 +125,0 @@ $templateAlias2({ button: button, caption: caption, disabled: disabled, elementClasses: dropdownElementClasses__soy21, events: { buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle }, expanded: expanded, helpText: helpText, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy30, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param54 }, null, opt_ijData); |
@@ -118,2 +118,6 @@ 'use strict'; | ||
var viewMoreURL = soy.asserts.assertType(opt_data.viewMoreURL == null || goog.isString(opt_data.viewMoreURL) || opt_data.viewMoreURL instanceof goog.soy.data.SanitizedContent, 'viewMoreURL', opt_data.viewMoreURL, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var msg_2420__soy2421 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_7011425206383801543 = goog.getMsg('more'); | ||
msg_2420__soy2421 += MSG_EXTERNAL_7011425206383801543; | ||
var secondaryItemsFirstGroup__soy93 = secondaryItems != null ? secondaryItems[0] != null ? secondaryItems[0] : null : null; | ||
@@ -135,25 +139,27 @@ var secondaryItemsSecondGroup__soy95 = secondaryItems != null ? secondaryItems[1] != null ? secondaryItems[1] : null : null; | ||
var items__soy123 = secondaryDropdownItemsFirstGroup__soy121 && secondaryDropdownItemsSecondGroup__soy119 ? [primaryDropdownItems__soy117, secondaryDropdownItemsFirstGroup__soy121, secondaryDropdownItemsSecondGroup__soy119] : secondaryDropdownItemsFirstGroup__soy121 ? [primaryDropdownItems__soy117, secondaryDropdownItemsFirstGroup__soy121] : [primaryDropdownItems__soy117]; | ||
var showMoreButton__soy125 = showingItems__soy115 < totalItems__soy105 ? viewMoreURL != null ? { buttonStyle: 'secondary', href: viewMoreURL, label: 'More' } : { label: 'More', style: 'secondary' } : null; | ||
var trigger__soy127 = function trigger__soy127() { | ||
var textMore__soy125 = ''; | ||
textMore__soy125 += msg_2420__soy2421; | ||
var showMoreButton__soy133 = showingItems__soy115 < totalItems__soy105 ? viewMoreURL != null ? { buttonStyle: 'secondary', href: viewMoreURL, label: textMore__soy125 } : { label: textMore__soy125, style: 'secondary' } : null; | ||
var trigger__soy135 = function trigger__soy135() { | ||
$templateAlias1({ spritemap: spritemap, symbol: 'plus' }, null, opt_ijData); | ||
}; | ||
var param136 = ''; | ||
if (showMoreButton__soy125) { | ||
var msg_2411__soy2412 = ''; | ||
var param144 = ''; | ||
if (showMoreButton__soy133) { | ||
var msg_2423__soy2424 = ''; | ||
/** @desc Says how many items of the total are being showed */ | ||
var MSG_EXTERNAL_8004490453579465583 = goog.getMsg('showing-{$showingItems}-of-{$totalItems}-elements', { 'showingItems': showingItems__soy115, 'totalItems': totalItems__soy105 }); | ||
msg_2411__soy2412 += MSG_EXTERNAL_8004490453579465583; | ||
param136 += msg_2411__soy2412; | ||
msg_2423__soy2424 += MSG_EXTERNAL_8004490453579465583; | ||
param144 += msg_2423__soy2424; | ||
} | ||
var param168 = ''; | ||
var param176 = ''; | ||
if (triggerTitle) { | ||
param168 += triggerTitle; | ||
param176 += triggerTitle; | ||
} else { | ||
var msg_2414__soy2415 = ''; | ||
var msg_2426__soy2427 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_7387635272539030076 = goog.getMsg('new'); | ||
msg_2414__soy2415 += MSG_EXTERNAL_7387635272539030076; | ||
param168 += msg_2414__soy2415; | ||
msg_2426__soy2427 += MSG_EXTERNAL_7387635272539030076; | ||
param176 += msg_2426__soy2427; | ||
} | ||
$templateAlias2({ button: showMoreButton__soy125, caption: param136, disabled: disabled, elementClasses: elementClasses, events: { buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle }, expanded: expanded, helpText: showMoreButton__soy125 ? helpText : null, id: id, items: items__soy123, itemsIconAlignment: itemsIconAlignment, label: trigger__soy127, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, style: 'primary', triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param168 }, null, opt_ijData); | ||
$templateAlias2({ button: showMoreButton__soy133, caption: param144, disabled: disabled, elementClasses: elementClasses, events: { buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle }, expanded: expanded, helpText: showMoreButton__soy133 ? helpText : null, id: id, items: items__soy123, itemsIconAlignment: itemsIconAlignment, label: trigger__soy135, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, style: 'primary', triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param176 }, null, opt_ijData); | ||
} | ||
@@ -160,0 +166,0 @@ exports.render = $render; |
@@ -123,3 +123,3 @@ 'use strict'; | ||
var triggerTitle = soy.asserts.assertType(opt_data.triggerTitle == null || goog.isString(opt_data.triggerTitle) || opt_data.triggerTitle instanceof goog.soy.data.SanitizedContent, 'triggerTitle', opt_data.triggerTitle, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var trigger__soy209 = function trigger__soy209() { | ||
var trigger__soy217 = function trigger__soy217() { | ||
if (icon) { | ||
@@ -135,3 +135,3 @@ $templateAlias1({ elementClasses: label ? 'inline-item inline-item-before' : '', spritemap: spritemap, symbol: icon }, null, opt_ijData); | ||
}; | ||
$templateAlias2({ button: button, contentRenderer: contentRenderer, disabled: disabled, elementClasses: elementClasses, events: { buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle }, expanded: expanded, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy209, preferredAlign: preferredAlign, ref: 'dropdown', searchable: searchable, spritemap: spritemap, style: style, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerSize: triggerSize, triggerTitle: triggerTitle }, null, opt_ijData); | ||
$templateAlias2({ button: button, contentRenderer: contentRenderer, disabled: disabled, elementClasses: elementClasses, events: { buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle }, expanded: expanded, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy217, preferredAlign: preferredAlign, ref: 'dropdown', searchable: searchable, spritemap: spritemap, style: style, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerSize: triggerSize, triggerTitle: triggerTitle }, null, opt_ijData); | ||
} | ||
@@ -138,0 +138,0 @@ exports.render = $render; |
@@ -138,3 +138,3 @@ 'use strict'; | ||
var triggerTitle = soy.asserts.assertType(opt_data.triggerTitle == null || goog.isString(opt_data.triggerTitle) || opt_data.triggerTitle instanceof goog.soy.data.SanitizedContent, 'triggerTitle', opt_data.triggerTitle, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var attributes__soy284 = function attributes__soy284() { | ||
var attributes__soy292 = function attributes__soy292() { | ||
incrementalDom.attr('class', 'dropdown' + (elementClasses ? ' ' + elementClasses : '') + (expanded ? ' show' : '')); | ||
@@ -146,3 +146,3 @@ if (id) { | ||
incrementalDom.elementOpenStart('div'); | ||
attributes__soy284(); | ||
attributes__soy292(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -218,19 +218,19 @@ $trigger({ _handleTriggerKeyDown: _handleTriggerKeyDown, ariaLabel: triggerAriaLabel, classes: triggerClasses, disabled: disabled, expanded: expanded, label: label, size: triggerSize, style: style, title: triggerTitle }, null, opt_ijData); | ||
var spritemap = soy.asserts.assertType(opt_data.spritemap == null || goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var index341Limit = maxItems && maxItems < items.length ? maxItems : items.length; | ||
for (var index341 = 0; index341 < index341Limit; index341++) { | ||
var item__soy343 = items[index341]; | ||
var variant__soy345 = ''; | ||
var index349Limit = maxItems && maxItems < items.length ? maxItems : items.length; | ||
for (var index349 = 0; index349 < index349Limit; index349++) { | ||
var item__soy351 = items[index349]; | ||
var variant__soy353 = ''; | ||
var $tmp = null; | ||
if (contentRenderer != null && contentRenderer != '') { | ||
$tmp = contentRenderer; | ||
} else if (item__soy343.contentRenderer != null && item__soy343.contentRenderer != '') { | ||
$tmp = item__soy343.contentRenderer; | ||
} else if (item__soy343.type) { | ||
$tmp = item__soy343.type; | ||
} else if (item__soy351.contentRenderer != null && item__soy351.contentRenderer != '') { | ||
$tmp = item__soy351.contentRenderer; | ||
} else if (item__soy351.type) { | ||
$tmp = item__soy351.type; | ||
} else { | ||
$tmp = 'item'; | ||
} | ||
variant__soy345 += $tmp; | ||
$templateAlias1({ active: item__soy343.active, checked: item__soy343.checked, contentRenderer: variant__soy345, data: item__soy343.data, disabled: item__soy343.disabled, events: { itemClicked: _handleItemClick, itemKeyDown: _handleItemKeyDown }, href: item__soy343.href, icon: item__soy343.icon, icons: item__soy343.icons, inputName: item__soy343.inputName, inputValue: item__soy343.inputValue, items: item__soy343.items, itemsIconAlignment: itemsIconAlignment, label: item__soy343.label ? '' + item__soy343.label : '', maxItems: item__soy343.maxItems, ref: 'item' + index341, separator: item__soy343.separator, spritemap: spritemap, target: item__soy343.target, title: item__soy343.title, type: item__soy343.type }, null, opt_ijData); | ||
if (item__soy343.separator) { | ||
variant__soy353 += $tmp; | ||
$templateAlias1({ active: item__soy351.active, checked: item__soy351.checked, contentRenderer: variant__soy353, data: item__soy351.data, disabled: item__soy351.disabled, events: { itemClicked: _handleItemClick, itemKeyDown: _handleItemKeyDown }, href: item__soy351.href, icon: item__soy351.icon, icons: item__soy351.icons, inputName: item__soy351.inputName, inputValue: item__soy351.inputValue, items: item__soy351.items, itemsIconAlignment: itemsIconAlignment, label: item__soy351.label ? '' + item__soy351.label : '', maxItems: item__soy351.maxItems, ref: 'item' + index349, separator: item__soy351.separator, spritemap: spritemap, target: item__soy351.target, title: item__soy351.title, type: item__soy351.type }, null, opt_ijData); | ||
if (item__soy351.separator) { | ||
$templateAlias1({ contentRenderer: 'separator' }, null, opt_ijData); | ||
@@ -367,4 +367,4 @@ } | ||
var spritemap = soy.asserts.assertType(opt_data.spritemap == null || goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent, 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var dropdownMenu__soy423 = function dropdownMenu__soy423() { | ||
var listAttributes__soy425 = function listAttributes__soy425() { | ||
var dropdownMenu__soy431 = function dropdownMenu__soy431() { | ||
var listAttributes__soy433 = function listAttributes__soy433() { | ||
incrementalDom.attr('class', 'dropdown-menu' + (itemsIconAlignment == 'left' || itemsIconAlignment == 'left-right' ? ' dropdown-menu-indicator-start' : '') + (itemsIconAlignment == 'right' || itemsIconAlignment == 'left-right' ? ' dropdown-menu-indicator-end' : '') + (expanded ? ' show' : '')); | ||
@@ -374,3 +374,3 @@ incrementalDom.attr('ref', 'menu'); | ||
incrementalDom.elementOpenStart('div'); | ||
listAttributes__soy425(); | ||
listAttributes__soy433(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -388,6 +388,6 @@ if (helpText) { | ||
} | ||
var listItemsContent__soy456 = function listItemsContent__soy456() { | ||
var listItemsContent__soy464 = function listItemsContent__soy464() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), contentRenderer, false)(opt_data, null, opt_ijData); | ||
}; | ||
var captionContent__soy467 = function captionContent__soy467() { | ||
var captionContent__soy475 = function captionContent__soy475() { | ||
if (caption) { | ||
@@ -406,5 +406,5 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
listItemsContent__soy456(); | ||
listItemsContent__soy464(); | ||
incrementalDom.elementClose('div'); | ||
captionContent__soy467(); | ||
captionContent__soy475(); | ||
incrementalDom.elementOpenStart('div'); | ||
@@ -421,11 +421,11 @@ incrementalDom.attr('class', 'dropdown-section'); | ||
} else { | ||
listItemsContent__soy456(); | ||
captionContent__soy467(); | ||
listItemsContent__soy464(); | ||
captionContent__soy475(); | ||
} | ||
incrementalDom.elementClose('div'); | ||
}; | ||
var param514 = function param514() { | ||
dropdownMenu__soy423(); | ||
var param522 = function param522() { | ||
dropdownMenu__soy431(); | ||
}; | ||
$templateAlias4({ content: param514, portalElement: '#' + portalElementId, ref: 'portal' }, null, opt_ijData); | ||
$templateAlias4({ content: param522, portalElement: '#' + portalElementId, ref: 'portal' }, null, opt_ijData); | ||
} | ||
@@ -493,3 +493,3 @@ exports.sections = $sections; | ||
var title = soy.asserts.assertType(opt_data.title == null || goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent, 'title', opt_data.title, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var buttonAttributes__soy532 = function buttonAttributes__soy532() { | ||
var buttonAttributes__soy540 = function buttonAttributes__soy540() { | ||
if (expanded) { | ||
@@ -518,3 +518,3 @@ incrementalDom.attr('aria-expanded', 'true'); | ||
incrementalDom.elementOpenStart('button'); | ||
buttonAttributes__soy532(); | ||
buttonAttributes__soy540(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -558,3 +558,3 @@ soyIdom.print(label); | ||
*/ | ||
function __deltemplate_s585_c28eeb45(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s593_c28eeb45(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -582,3 +582,3 @@ opt_data = opt_data || {}; | ||
} | ||
exports.__deltemplate_s585_c28eeb45 = __deltemplate_s585_c28eeb45; | ||
exports.__deltemplate_s593_c28eeb45 = __deltemplate_s593_c28eeb45; | ||
/** | ||
@@ -595,7 +595,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s585_c28eeb45.Params; | ||
__deltemplate_s593_c28eeb45.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s585_c28eeb45.soyTemplateName = 'ClayDropdownBase.__deltemplate_s585_c28eeb45'; | ||
__deltemplate_s593_c28eeb45.soyTemplateName = 'ClayDropdownBase.__deltemplate_s593_c28eeb45'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), '', 0, __deltemplate_s585_c28eeb45); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), '', 0, __deltemplate_s593_c28eeb45); | ||
@@ -602,0 +602,0 @@ exports.render.params = ["items", "label", "_handleButtonClick", "_handleItemClick", "_handleItemKeyDown", "_handleSearch", "_handleTriggerKeyDown", "button", "caption", "contentRenderer", "disabled", "elementClasses", "expanded", "helpText", "id", "itemsIconAlignment", "portalElementId", "searchable", "spritemap", "style", "triggerAriaLabel", "triggerClasses", "triggerSize", "triggerTitle"]; |
{ | ||
"name": "clay-dropdown", | ||
"version": "2.14.0", | ||
"version": "2.14.2", | ||
"description": "Clay Dropdown Component", | ||
@@ -31,9 +31,9 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"clay-button": "^2.14.0", | ||
"clay-checkbox": "^2.14.0", | ||
"clay-component": "^2.14.0", | ||
"clay-icon": "^2.14.0", | ||
"clay-link": "^2.14.0", | ||
"clay-portal": "^2.14.0", | ||
"clay-radio": "^2.14.0", | ||
"clay-button": "^2.14.2", | ||
"clay-checkbox": "^2.14.2", | ||
"clay-component": "^2.14.2", | ||
"clay-icon": "^2.14.2", | ||
"clay-link": "^2.14.2", | ||
"clay-portal": "^2.14.2", | ||
"clay-radio": "^2.14.2", | ||
"metal": "^2.16.0", | ||
@@ -54,8 +54,8 @@ "metal-component": "^2.16.0", | ||
"babel-preset-env": "^1.6.0", | ||
"browserslist-config-clay": "^2.14.0", | ||
"clay-css": "^2.14.0", | ||
"browserslist-config-clay": "^2.14.2", | ||
"clay-css": "^2.14.2", | ||
"metal-dom": "^2.13.2", | ||
"metal-tools-soy": "^4.3.2", | ||
"webpack": "^3.0.0", | ||
"webpack-config-clay": "^2.14.0" | ||
"webpack-config-clay": "^2.14.2" | ||
}, | ||
@@ -65,3 +65,3 @@ "browserslist": [ | ||
], | ||
"gitHead": "cc93f63941787d174b5871282dc36ccf15ee85f5" | ||
"gitHead": "d52066086b2469d8c4e4976c7019dbe9cfcbc7ea" | ||
} |
@@ -99,7 +99,7 @@ /* jshint ignore:start */ | ||
} else { | ||
var msg_2408__soy2409 = ''; | ||
var msg_2417__soy2418 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions'); | ||
msg_2408__soy2409 += MSG_EXTERNAL_6305962755687847469; | ||
param54 += msg_2408__soy2409; | ||
msg_2417__soy2418 += MSG_EXTERNAL_6305962755687847469; | ||
param54 += msg_2417__soy2418; | ||
} | ||
@@ -106,0 +106,0 @@ $templateAlias2({button: button, caption: caption, disabled: disabled, elementClasses: dropdownElementClasses__soy21, events: {buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle}, expanded: expanded, helpText: helpText, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy30, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param54}, null, opt_ijData); |
@@ -99,2 +99,6 @@ /* jshint ignore:start */ | ||
var viewMoreURL = soy.asserts.assertType(opt_data.viewMoreURL == null || (goog.isString(opt_data.viewMoreURL) || opt_data.viewMoreURL instanceof goog.soy.data.SanitizedContent), 'viewMoreURL', opt_data.viewMoreURL, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var msg_2420__soy2421 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_7011425206383801543 = goog.getMsg('more'); | ||
msg_2420__soy2421 += MSG_EXTERNAL_7011425206383801543; | ||
var secondaryItemsFirstGroup__soy93 = (secondaryItems != null) ? ((secondaryItems[0] != null) ? secondaryItems[0] : null) : null; | ||
@@ -116,25 +120,27 @@ var secondaryItemsSecondGroup__soy95 = (secondaryItems != null) ? ((secondaryItems[1] != null) ? secondaryItems[1] : null) : null; | ||
var items__soy123 = secondaryDropdownItemsFirstGroup__soy121 && secondaryDropdownItemsSecondGroup__soy119 ? [primaryDropdownItems__soy117, secondaryDropdownItemsFirstGroup__soy121, secondaryDropdownItemsSecondGroup__soy119] : secondaryDropdownItemsFirstGroup__soy121 ? [primaryDropdownItems__soy117, secondaryDropdownItemsFirstGroup__soy121] : [primaryDropdownItems__soy117]; | ||
var showMoreButton__soy125 = showingItems__soy115 < totalItems__soy105 ? ((viewMoreURL != null) ? {buttonStyle: 'secondary', href: viewMoreURL, label: 'More'} : {label: 'More', style: 'secondary'}) : null; | ||
var trigger__soy127 = function() { | ||
var textMore__soy125 = ''; | ||
textMore__soy125 += msg_2420__soy2421; | ||
var showMoreButton__soy133 = showingItems__soy115 < totalItems__soy105 ? ((viewMoreURL != null) ? {buttonStyle: 'secondary', href: viewMoreURL, label: textMore__soy125} : {label: textMore__soy125, style: 'secondary'}) : null; | ||
var trigger__soy135 = function() { | ||
$templateAlias1({spritemap: spritemap, symbol: 'plus'}, null, opt_ijData); | ||
}; | ||
var param136 = ''; | ||
if (showMoreButton__soy125) { | ||
var msg_2411__soy2412 = ''; | ||
var param144 = ''; | ||
if (showMoreButton__soy133) { | ||
var msg_2423__soy2424 = ''; | ||
/** @desc Says how many items of the total are being showed */ | ||
var MSG_EXTERNAL_8004490453579465583 = goog.getMsg('showing-{$showingItems}-of-{$totalItems}-elements', {'showingItems': showingItems__soy115, 'totalItems': totalItems__soy105}); | ||
msg_2411__soy2412 += MSG_EXTERNAL_8004490453579465583; | ||
param136 += msg_2411__soy2412; | ||
msg_2423__soy2424 += MSG_EXTERNAL_8004490453579465583; | ||
param144 += msg_2423__soy2424; | ||
} | ||
var param168 = ''; | ||
var param176 = ''; | ||
if (triggerTitle) { | ||
param168 += triggerTitle; | ||
param176 += triggerTitle; | ||
} else { | ||
var msg_2414__soy2415 = ''; | ||
var msg_2426__soy2427 = ''; | ||
/** @desc */ | ||
var MSG_EXTERNAL_7387635272539030076 = goog.getMsg('new'); | ||
msg_2414__soy2415 += MSG_EXTERNAL_7387635272539030076; | ||
param168 += msg_2414__soy2415; | ||
msg_2426__soy2427 += MSG_EXTERNAL_7387635272539030076; | ||
param176 += msg_2426__soy2427; | ||
} | ||
$templateAlias2({button: showMoreButton__soy125, caption: param136, disabled: disabled, elementClasses: elementClasses, events: {buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle}, expanded: expanded, helpText: showMoreButton__soy125 ? helpText : null, id: id, items: items__soy123, itemsIconAlignment: itemsIconAlignment, label: trigger__soy127, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, style: 'primary', triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param168}, null, opt_ijData); | ||
$templateAlias2({button: showMoreButton__soy133, caption: param144, disabled: disabled, elementClasses: elementClasses, events: {buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle}, expanded: expanded, helpText: showMoreButton__soy133 ? helpText : null, id: id, items: items__soy123, itemsIconAlignment: itemsIconAlignment, label: trigger__soy135, preferredAlign: preferredAlign, ref: 'dropdown', spritemap: spritemap, style: 'primary', triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerTitle: param176}, null, opt_ijData); | ||
} | ||
@@ -141,0 +147,0 @@ exports.render = $render; |
@@ -104,3 +104,3 @@ /* jshint ignore:start */ | ||
var triggerTitle = soy.asserts.assertType(opt_data.triggerTitle == null || (goog.isString(opt_data.triggerTitle) || opt_data.triggerTitle instanceof goog.soy.data.SanitizedContent), 'triggerTitle', opt_data.triggerTitle, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var trigger__soy209 = function() { | ||
var trigger__soy217 = function() { | ||
if (icon) { | ||
@@ -116,3 +116,3 @@ $templateAlias1({elementClasses: label ? 'inline-item inline-item-before' : '', spritemap: spritemap, symbol: icon}, null, opt_ijData); | ||
}; | ||
$templateAlias2({button: button, contentRenderer: contentRenderer, disabled: disabled, elementClasses: elementClasses, events: {buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle}, expanded: expanded, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy209, preferredAlign: preferredAlign, ref: 'dropdown', searchable: searchable, spritemap: spritemap, style: style, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerSize: triggerSize, triggerTitle: triggerTitle}, null, opt_ijData); | ||
$templateAlias2({button: button, contentRenderer: contentRenderer, disabled: disabled, elementClasses: elementClasses, events: {buttonClicked: _handleButtonClick, itemClicked: _handleItemClick, toggle: toggle}, expanded: expanded, id: id, items: items, itemsIconAlignment: itemsIconAlignment, label: trigger__soy217, preferredAlign: preferredAlign, ref: 'dropdown', searchable: searchable, spritemap: spritemap, style: style, triggerAriaLabel: triggerAriaLabel, triggerClasses: triggerClasses, triggerSize: triggerSize, triggerTitle: triggerTitle}, null, opt_ijData); | ||
} | ||
@@ -119,0 +119,0 @@ exports.render = $render; |
@@ -119,3 +119,3 @@ /* jshint ignore:start */ | ||
var triggerTitle = soy.asserts.assertType(opt_data.triggerTitle == null || (goog.isString(opt_data.triggerTitle) || opt_data.triggerTitle instanceof goog.soy.data.SanitizedContent), 'triggerTitle', opt_data.triggerTitle, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var attributes__soy284 = function() { | ||
var attributes__soy292 = function() { | ||
incrementalDom.attr('class', 'dropdown' + (elementClasses ? ' ' + elementClasses : '') + (expanded ? ' show' : '')); | ||
@@ -127,3 +127,3 @@ if (id) { | ||
incrementalDom.elementOpenStart('div'); | ||
attributes__soy284(); | ||
attributes__soy292(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -200,19 +200,19 @@ $trigger({_handleTriggerKeyDown: _handleTriggerKeyDown, ariaLabel: triggerAriaLabel, classes: triggerClasses, disabled: disabled, expanded: expanded, label: label, size: triggerSize, style: style, title: triggerTitle}, null, opt_ijData); | ||
var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var index341Limit = maxItems && maxItems < (items.length) ? maxItems : (items.length); | ||
for (var index341 = 0; index341 < index341Limit; index341++) { | ||
var item__soy343 = items[index341]; | ||
var variant__soy345 = ''; | ||
var index349Limit = maxItems && maxItems < (items.length) ? maxItems : (items.length); | ||
for (var index349 = 0; index349 < index349Limit; index349++) { | ||
var item__soy351 = items[index349]; | ||
var variant__soy353 = ''; | ||
var $tmp = null; | ||
if ((contentRenderer != null) && contentRenderer != '') { | ||
$tmp = contentRenderer; | ||
} else if ((item__soy343.contentRenderer != null) && item__soy343.contentRenderer != '') { | ||
$tmp = item__soy343.contentRenderer; | ||
} else if (item__soy343.type) { | ||
$tmp = item__soy343.type; | ||
} else if ((item__soy351.contentRenderer != null) && item__soy351.contentRenderer != '') { | ||
$tmp = item__soy351.contentRenderer; | ||
} else if (item__soy351.type) { | ||
$tmp = item__soy351.type; | ||
} else { | ||
$tmp = 'item'; | ||
} | ||
variant__soy345 += $tmp; | ||
$templateAlias1({active: item__soy343.active, checked: item__soy343.checked, contentRenderer: variant__soy345, data: item__soy343.data, disabled: item__soy343.disabled, events: {itemClicked: _handleItemClick, itemKeyDown: _handleItemKeyDown}, href: item__soy343.href, icon: item__soy343.icon, icons: item__soy343.icons, inputName: item__soy343.inputName, inputValue: item__soy343.inputValue, items: item__soy343.items, itemsIconAlignment: itemsIconAlignment, label: item__soy343.label ? '' + item__soy343.label : '', maxItems: item__soy343.maxItems, ref: 'item' + index341, separator: item__soy343.separator, spritemap: spritemap, target: item__soy343.target, title: item__soy343.title, type: item__soy343.type}, null, opt_ijData); | ||
if (item__soy343.separator) { | ||
variant__soy353 += $tmp; | ||
$templateAlias1({active: item__soy351.active, checked: item__soy351.checked, contentRenderer: variant__soy353, data: item__soy351.data, disabled: item__soy351.disabled, events: {itemClicked: _handleItemClick, itemKeyDown: _handleItemKeyDown}, href: item__soy351.href, icon: item__soy351.icon, icons: item__soy351.icons, inputName: item__soy351.inputName, inputValue: item__soy351.inputValue, items: item__soy351.items, itemsIconAlignment: itemsIconAlignment, label: item__soy351.label ? '' + item__soy351.label : '', maxItems: item__soy351.maxItems, ref: 'item' + index349, separator: item__soy351.separator, spritemap: spritemap, target: item__soy351.target, title: item__soy351.title, type: item__soy351.type}, null, opt_ijData); | ||
if (item__soy351.separator) { | ||
$templateAlias1({contentRenderer: 'separator'}, null, opt_ijData); | ||
@@ -351,4 +351,4 @@ } | ||
var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var dropdownMenu__soy423 = function() { | ||
var listAttributes__soy425 = function() { | ||
var dropdownMenu__soy431 = function() { | ||
var listAttributes__soy433 = function() { | ||
incrementalDom.attr('class', 'dropdown-menu' + (itemsIconAlignment == 'left' || itemsIconAlignment == 'left-right' ? ' dropdown-menu-indicator-start' : '') + (itemsIconAlignment == 'right' || itemsIconAlignment == 'left-right' ? ' dropdown-menu-indicator-end' : '') + (expanded ? ' show' : '')); | ||
@@ -358,3 +358,3 @@ incrementalDom.attr('ref', 'menu'); | ||
incrementalDom.elementOpenStart('div'); | ||
listAttributes__soy425(); | ||
listAttributes__soy433(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -372,6 +372,6 @@ if (helpText) { | ||
} | ||
var listItemsContent__soy456 = function() { | ||
var listItemsContent__soy464 = function() { | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), contentRenderer, false)(opt_data, null, opt_ijData); | ||
}; | ||
var captionContent__soy467 = function() { | ||
var captionContent__soy475 = function() { | ||
if (caption) { | ||
@@ -390,5 +390,5 @@ incrementalDom.elementOpenStart('div'); | ||
incrementalDom.elementOpenEnd(); | ||
listItemsContent__soy456(); | ||
listItemsContent__soy464(); | ||
incrementalDom.elementClose('div'); | ||
captionContent__soy467(); | ||
captionContent__soy475(); | ||
incrementalDom.elementOpenStart('div'); | ||
@@ -405,11 +405,11 @@ incrementalDom.attr('class', 'dropdown-section'); | ||
} else { | ||
listItemsContent__soy456(); | ||
captionContent__soy467(); | ||
listItemsContent__soy464(); | ||
captionContent__soy475(); | ||
} | ||
incrementalDom.elementClose('div'); | ||
}; | ||
var param514 = function() { | ||
dropdownMenu__soy423(); | ||
var param522 = function() { | ||
dropdownMenu__soy431(); | ||
}; | ||
$templateAlias4({content: param514, portalElement: '#' + portalElementId, ref: 'portal'}, null, opt_ijData); | ||
$templateAlias4({content: param522, portalElement: '#' + portalElementId, ref: 'portal'}, null, opt_ijData); | ||
} | ||
@@ -478,3 +478,3 @@ exports.sections = $sections; | ||
var title = soy.asserts.assertType(opt_data.title == null || (goog.isString(opt_data.title) || opt_data.title instanceof goog.soy.data.SanitizedContent), 'title', opt_data.title, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var buttonAttributes__soy532 = function() { | ||
var buttonAttributes__soy540 = function() { | ||
if (expanded) { | ||
@@ -503,3 +503,3 @@ incrementalDom.attr('aria-expanded', 'true'); | ||
incrementalDom.elementOpenStart('button'); | ||
buttonAttributes__soy532(); | ||
buttonAttributes__soy540(); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -544,3 +544,3 @@ soyIdom.print(label); | ||
*/ | ||
function __deltemplate_s585_c28eeb45(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s593_c28eeb45(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -568,3 +568,3 @@ opt_data = opt_data || {}; | ||
} | ||
exports.__deltemplate_s585_c28eeb45 = __deltemplate_s585_c28eeb45; | ||
exports.__deltemplate_s593_c28eeb45 = __deltemplate_s593_c28eeb45; | ||
/** | ||
@@ -581,7 +581,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s585_c28eeb45.Params; | ||
__deltemplate_s593_c28eeb45.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s585_c28eeb45.soyTemplateName = 'ClayDropdownBase.__deltemplate_s585_c28eeb45'; | ||
__deltemplate_s593_c28eeb45.soyTemplateName = 'ClayDropdownBase.__deltemplate_s593_c28eeb45'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), '', 0, __deltemplate_s585_c28eeb45); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownBase.Content.idom'), '', 0, __deltemplate_s593_c28eeb45); | ||
@@ -588,0 +588,0 @@ exports.render.params = ["items","label","_handleButtonClick","_handleItemClick","_handleItemKeyDown","_handleSearch","_handleTriggerKeyDown","button","caption","contentRenderer","disabled","elementClasses","expanded","helpText","id","itemsIconAlignment","portalElementId","searchable","spritemap","style","triggerAriaLabel","triggerClasses","triggerSize","triggerTitle"]; |
@@ -112,4 +112,4 @@ /* jshint ignore:start */ | ||
var type = soy.asserts.assertType(opt_data.type == null || (goog.isString(opt_data.type) || opt_data.type instanceof goog.soy.data.SanitizedContent), 'type', opt_data.type, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var variant__soy814 = ($$temp = contentRenderer) == null ? 'item' : $$temp; | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), variant__soy814, false)({_handleItemClick: _handleItemClick, _handleItemKeyDown: _handleItemKeyDown, active: active, checked: checked, disabled: disabled, href: href, icon: icon, icons: icons, inputName: inputName, inputValue: inputValue, items: items, itemsIconAlignment: itemsIconAlignment, label: label ? '' + label : '', maxItems: maxItems, separator: separator, spritemap: spritemap, target: target, title: title, type: type}, null, opt_ijData); | ||
var variant__soy822 = ($$temp = contentRenderer) == null ? 'item' : $$temp; | ||
soy.$$getDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), variant__soy822, false)({_handleItemClick: _handleItemClick, _handleItemKeyDown: _handleItemKeyDown, active: active, checked: checked, disabled: disabled, href: href, icon: icon, icons: icons, inputName: inputName, inputValue: inputValue, items: items, itemsIconAlignment: itemsIconAlignment, label: label ? '' + label : '', maxItems: maxItems, separator: separator, spritemap: spritemap, target: target, title: title, type: type}, null, opt_ijData); | ||
} | ||
@@ -174,3 +174,3 @@ exports.render = $render; | ||
*/ | ||
function __deltemplate_s837_3e6ffd21(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s845_3e6ffd21(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -215,11 +215,11 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
var type = soy.asserts.assertType(opt_data.type == null || (goog.isString(opt_data.type) || opt_data.type instanceof goog.soy.data.SanitizedContent), 'type', opt_data.type, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var itemContent__soy858 = function() { | ||
var elementClasses__soy860 = ''; | ||
elementClasses__soy860 += 'dropdown-item'; | ||
elementClasses__soy860 += active ? ' active' : ''; | ||
elementClasses__soy860 += disabled ? ' disabled' : ''; | ||
var labelContent__soy871 = function() { | ||
var iconContent__soy873 = function() { | ||
var itemContent__soy866 = function() { | ||
var elementClasses__soy868 = ''; | ||
elementClasses__soy868 += 'dropdown-item'; | ||
elementClasses__soy868 += active ? ' active' : ''; | ||
elementClasses__soy868 += disabled ? ' disabled' : ''; | ||
var labelContent__soy879 = function() { | ||
var iconContent__soy881 = function() { | ||
if (icon && spritemap) { | ||
var classes__soy878 = ''; | ||
var classes__soy886 = ''; | ||
var $tmp = null; | ||
@@ -233,5 +233,5 @@ if (itemsIconAlignment == 'left') { | ||
} | ||
classes__soy878 += $tmp; | ||
classes__soy886 += $tmp; | ||
incrementalDom.elementOpenStart('span'); | ||
incrementalDom.attr('class', classes__soy878); | ||
incrementalDom.attr('class', classes__soy886); | ||
incrementalDom.elementOpenEnd(); | ||
@@ -250,3 +250,3 @@ $templateAlias1({spritemap: spritemap, symbol: icon}, null, opt_ijData); | ||
if (icon && itemsIconAlignment == 'left') { | ||
iconContent__soy873(); | ||
iconContent__soy881(); | ||
} | ||
@@ -263,3 +263,3 @@ } | ||
if (icon && itemsIconAlignment == 'right') { | ||
iconContent__soy873(); | ||
iconContent__soy881(); | ||
} | ||
@@ -277,8 +277,8 @@ } | ||
} | ||
$templateAlias2({elementClasses: elementClasses__soy860, href: '' + $tmp$$1, label: labelContent__soy871, target: target, title: title}, null, opt_ijData); | ||
$templateAlias2({elementClasses: elementClasses__soy868, href: '' + $tmp$$1, label: labelContent__soy879, target: target, title: title}, null, opt_ijData); | ||
} else { | ||
$templateAlias3({ariaLabel: label, disabled: disabled, elementClasses: elementClasses__soy860, label: labelContent__soy871, size: 'sm', spritemap: spritemap, style: 'link'}, null, opt_ijData); | ||
$templateAlias3({ariaLabel: label, disabled: disabled, elementClasses: elementClasses__soy868, label: labelContent__soy879, size: 'sm', spritemap: spritemap, style: 'link'}, null, opt_ijData); | ||
} | ||
}; | ||
var itemAttributes__soy962 = function() { | ||
var itemAttributes__soy970 = function() { | ||
if (!disabled) { | ||
@@ -291,8 +291,8 @@ incrementalDom.attr('data-onclick', _handleItemClick); | ||
incrementalDom.elementOpenStart('li'); | ||
itemAttributes__soy962(); | ||
itemAttributes__soy970(); | ||
incrementalDom.elementOpenEnd(); | ||
itemContent__soy858(); | ||
itemContent__soy866(); | ||
incrementalDom.elementClose('li'); | ||
} | ||
exports.__deltemplate_s837_3e6ffd21 = __deltemplate_s837_3e6ffd21; | ||
exports.__deltemplate_s845_3e6ffd21 = __deltemplate_s845_3e6ffd21; | ||
/** | ||
@@ -321,7 +321,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s837_3e6ffd21.Params; | ||
__deltemplate_s845_3e6ffd21.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s837_3e6ffd21.soyTemplateName = 'ClayDropdownItem.__deltemplate_s837_3e6ffd21'; | ||
__deltemplate_s845_3e6ffd21.soyTemplateName = 'ClayDropdownItem.__deltemplate_s845_3e6ffd21'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), '', 0, __deltemplate_s837_3e6ffd21); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), '', 0, __deltemplate_s845_3e6ffd21); | ||
@@ -356,3 +356,3 @@ | ||
*/ | ||
function __deltemplate_s977_27296c4e(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s985_27296c4e(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -397,6 +397,6 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
var type = soy.asserts.assertType(opt_data.type == null || (goog.isString(opt_data.type) || opt_data.type instanceof goog.soy.data.SanitizedContent), 'type', opt_data.type, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var checkbox__soy998 = function() { | ||
var checkbox__soy1006 = function() { | ||
$templateAlias4({checked: checked, disabled: disabled, inline: true, label: label, name: inputName, value: inputValue}, null, opt_ijData); | ||
}; | ||
var itemAttributes__soy1009 = function() { | ||
var itemAttributes__soy1017 = function() { | ||
incrementalDom.attr('class', 'dropdown-item' + (active || checked ? ' active' : '')); | ||
@@ -410,8 +410,8 @@ if (!disabled) { | ||
incrementalDom.elementOpenStart('li'); | ||
itemAttributes__soy1009(); | ||
itemAttributes__soy1017(); | ||
incrementalDom.elementOpenEnd(); | ||
checkbox__soy998(); | ||
checkbox__soy1006(); | ||
incrementalDom.elementClose('li'); | ||
} | ||
exports.__deltemplate_s977_27296c4e = __deltemplate_s977_27296c4e; | ||
exports.__deltemplate_s985_27296c4e = __deltemplate_s985_27296c4e; | ||
/** | ||
@@ -440,7 +440,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s977_27296c4e.Params; | ||
__deltemplate_s985_27296c4e.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s977_27296c4e.soyTemplateName = 'ClayDropdownItem.__deltemplate_s977_27296c4e'; | ||
__deltemplate_s985_27296c4e.soyTemplateName = 'ClayDropdownItem.__deltemplate_s985_27296c4e'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'checkbox', 0, __deltemplate_s977_27296c4e); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'checkbox', 0, __deltemplate_s985_27296c4e); | ||
@@ -476,3 +476,3 @@ | ||
*/ | ||
function __deltemplate_s1028_4a8d8c89(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s1036_4a8d8c89(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -529,3 +529,3 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
} | ||
exports.__deltemplate_s1028_4a8d8c89 = __deltemplate_s1028_4a8d8c89; | ||
exports.__deltemplate_s1036_4a8d8c89 = __deltemplate_s1036_4a8d8c89; | ||
/** | ||
@@ -555,7 +555,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s1028_4a8d8c89.Params; | ||
__deltemplate_s1036_4a8d8c89.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s1028_4a8d8c89.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1028_4a8d8c89'; | ||
__deltemplate_s1036_4a8d8c89.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1036_4a8d8c89'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'group', 0, __deltemplate_s1028_4a8d8c89); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'group', 0, __deltemplate_s1036_4a8d8c89); | ||
@@ -590,3 +590,3 @@ | ||
*/ | ||
function __deltemplate_s1067_e71956db(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s1075_e71956db(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -631,6 +631,6 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
var type = soy.asserts.assertType(opt_data.type == null || (goog.isString(opt_data.type) || opt_data.type instanceof goog.soy.data.SanitizedContent), 'type', opt_data.type, '!goog.soy.data.SanitizedContent|null|string|undefined'); | ||
var radio__soy1088 = function() { | ||
var radio__soy1096 = function() { | ||
$templateAlias6({checked: checked, disabled: disabled, inline: true, label: label, name: inputName, value: inputValue}, null, opt_ijData); | ||
}; | ||
var itemAttributes__soy1099 = function() { | ||
var itemAttributes__soy1107 = function() { | ||
incrementalDom.attr('class', 'dropdown-item' + (active || checked ? ' active' : '')); | ||
@@ -644,8 +644,8 @@ if (!disabled) { | ||
incrementalDom.elementOpenStart('li'); | ||
itemAttributes__soy1099(); | ||
itemAttributes__soy1107(); | ||
incrementalDom.elementOpenEnd(); | ||
radio__soy1088(); | ||
radio__soy1096(); | ||
incrementalDom.elementClose('li'); | ||
} | ||
exports.__deltemplate_s1067_e71956db = __deltemplate_s1067_e71956db; | ||
exports.__deltemplate_s1075_e71956db = __deltemplate_s1075_e71956db; | ||
/** | ||
@@ -674,7 +674,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s1067_e71956db.Params; | ||
__deltemplate_s1075_e71956db.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s1067_e71956db.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1067_e71956db'; | ||
__deltemplate_s1075_e71956db.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1075_e71956db'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'radio', 0, __deltemplate_s1067_e71956db); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'radio', 0, __deltemplate_s1075_e71956db); | ||
@@ -709,3 +709,3 @@ | ||
*/ | ||
function __deltemplate_s1118_efbc8015(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s1126_efbc8015(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -771,3 +771,3 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
} | ||
exports.__deltemplate_s1118_efbc8015 = __deltemplate_s1118_efbc8015; | ||
exports.__deltemplate_s1126_efbc8015 = __deltemplate_s1126_efbc8015; | ||
/** | ||
@@ -796,7 +796,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s1118_efbc8015.Params; | ||
__deltemplate_s1126_efbc8015.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s1118_efbc8015.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1118_efbc8015'; | ||
__deltemplate_s1126_efbc8015.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1126_efbc8015'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'radiogroup', 0, __deltemplate_s1118_efbc8015); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'radiogroup', 0, __deltemplate_s1126_efbc8015); | ||
@@ -831,3 +831,3 @@ | ||
*/ | ||
function __deltemplate_s1160_03a3ad8c(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
function __deltemplate_s1168_03a3ad8c(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
@@ -879,3 +879,3 @@ /** @type {!goog.soy.data.SanitizedContent|string} */ | ||
} | ||
exports.__deltemplate_s1160_03a3ad8c = __deltemplate_s1160_03a3ad8c; | ||
exports.__deltemplate_s1168_03a3ad8c = __deltemplate_s1168_03a3ad8c; | ||
/** | ||
@@ -904,7 +904,7 @@ * @typedef {{ | ||
*/ | ||
__deltemplate_s1160_03a3ad8c.Params; | ||
__deltemplate_s1168_03a3ad8c.Params; | ||
if (goog.DEBUG) { | ||
__deltemplate_s1160_03a3ad8c.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1160_03a3ad8c'; | ||
__deltemplate_s1168_03a3ad8c.soyTemplateName = 'ClayDropdownItem.__deltemplate_s1168_03a3ad8c'; | ||
} | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'separator', 0, __deltemplate_s1160_03a3ad8c); | ||
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayDropdownItem.Item.idom'), 'separator', 0, __deltemplate_s1168_03a3ad8c); | ||
@@ -911,0 +911,0 @@ exports.render.params = ["_handleItemClick","_handleItemKeyDown","active","checked","contentRenderer","disabled","href","icon","icons","inputName","inputValue","items","itemsIconAlignment","label","maxItems","separator","spritemap","target","title","type"]; |
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 too big to display
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
928064
9182
Updatedclay-button@^2.14.2
Updatedclay-checkbox@^2.14.2
Updatedclay-component@^2.14.2
Updatedclay-icon@^2.14.2
Updatedclay-link@^2.14.2
Updatedclay-portal@^2.14.2
Updatedclay-radio@^2.14.2