@salesforce-ux/design-system
Version:
Salesforce Lightning Design System
1 lines • 5.49 kB
JavaScript
var SLDS;!function(){"use strict";var e,t={1594:function(e){e.exports=React},2733:function(e,t,n){n.r(t),n.d(t,{states:function(){return d}});var c=n(1594),o=n.n(c),l=n(8522),r=n(7705),i=n(3106),a="Deprecated – Multi-Entity",s="option1",u=function(e){return o().createElement(r.NC,{listboxClassName:"slds-dropdown slds-dropdown_fluid",vertical:!0},o().createElement(r.Oh,null,o().createElement(r.q9,{id:s,entityTitle:"Acme",entityMeta:!0,focused:e.focused})),o().createElement(r.Oh,null,o().createElement(r.q9,{id:"option2",entityTitle:"Salesforce.com, Inc.",entityMeta:!0})))};t.default=[{context:a,deprecated:!0,id:"".concat(a.toLowerCase(),"-default"),label:"".concat(a," default"),element:o().createElement("div",{className:"demo-only",style:{height:"10rem"}},o().createElement(r.H_,{inputIcon:"right",inputIconRightSymbol:"search",objectSwitcherInline:!0,autocomplete:!0,listbox:o().createElement(u,null),objectSwitcher:!0}))}];var d=[{context:a,deprecated:!0,id:"deprecated-focused",label:"Deprecated - Focused",element:o().createElement("div",{className:"demo-only",style:{height:"10rem"}},o().createElement(r.H_,{containerClassName:"slds-has-input-focus",inputIcon:"right",inputIconRightSymbol:"search",objectSwitcherInline:!0,autocomplete:!0,isOpen:!0,listbox:o().createElement(u,null),objectSwitcher:!0})),script:"\n document.getElementById('combobox-unique-id').focus()\n "},{context:a,deprecated:!0,id:"deprecated-open-item-focused",label:"Deprecated - Open - Item Focused",element:o().createElement("div",{className:"demo-only",style:{height:"10rem"}},o().createElement(r.H_,{inputIcon:"right",inputIconRightSymbol:"search",objectSwitcherInline:!0,autocomplete:!0,isOpen:!0,listbox:o().createElement(u,{focused:!0}),objectSwitcher:!0,"aria-activedescendant":s}))},{context:a,deprecated:!0,id:"deprecated-options-selected",label:"Deprecated - Option(s) Selected",element:o().createElement(r.H_,{inputIcon:"right",inputIconRightSymbol:"search",objectSwitcherInline:!0,autocomplete:!0,listbox:o().createElement(u,null),objectSwitcher:!0},o().createElement(i.IK,{className:"slds-p-top_xxx-small"},o().createElement(i.j9,null,o().createElement(i.$P,{label:"Acme",tabIndex:"0"},o().createElement(l.StandardIcon,{containerClassName:"slds-pill__icon_container",title:"Account",assistiveText:"Account"}))),o().createElement(i.j9,null,o().createElement(i.$P,{label:"Salesforce.com, Inc."},o().createElement(l.StandardIcon,{containerClassName:"slds-pill__icon_container",symbol:"opportunity",title:"Opportunity",assistiveText:"Opportunity"})))))},{context:a,deprecated:!0,id:"deprecated-focused-options-selected",label:"Deprecated - Focused - Option(s) Selected",element:o().createElement("div",{className:"demo-only",style:{height:"10rem"}},o().createElement(r.H_,{isOpen:!0,containerClassName:"slds-has-input-focus",inputIcon:"right",inputIconRightSymbol:"search",objectSwitcherInline:!0,autocomplete:!0,listbox:o().createElement(u,null),objectSwitcher:!0},o().createElement(i.IK,{className:"slds-p-top_xxx-small"},o().createElement(i.j9,null,o().createElement(i.$P,{label:"Acme",tabIndex:"0"},o().createElement(l.StandardIcon,{containerClassName:"slds-pill__icon_container",title:"Account",assistiveText:"Account"}))),o().createElement(i.j9,null,o().createElement(i.$P,{label:"Salesforce.com, Inc."},o().createElement(l.StandardIcon,{containerClassName:"slds-pill__icon_container",symbol:"opportunity",title:"Opportunity",assistiveText:"Opportunity"})))))),script:"\n document.getElementById('combobox-unique-id').focus()\n "}]}},n={};function c(e){var o=n[e];if(void 0!==o)return o.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,c),l.exports}c.m=t,c.amdO={},e=[],c.O=function(t,n,o,l){if(!n){var r=1/0;for(u=0;u<e.length;u++){n=e[u][0],o=e[u][1],l=e[u][2];for(var i=!0,a=0;a<n.length;a++)(!1&l||r>=l)&&Object.keys(c.O).every(function(e){return c.O[e](n[a])})?n.splice(a--,1):(i=!1,l<r&&(r=l));if(i){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,o,l]},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.j=2809,function(){var e={518:0,1117:0,1252:0,1578:0,1974:0,2033:0,2274:0,2782:0,2809:0,3140:0,4268:0,4583:0,4723:0,4924:0,6671:0,7217:0,7257:0,7385:0,7508:0,8167:0,8458:0};c.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,l,r=n[0],i=n[1],a=n[2],s=0;if(r.some(function(t){return 0!==e[t]})){for(o in i)c.o(i,o)&&(c.m[o]=i[o]);if(a)var u=a(c)}for(t&&t(n);s<r.length;s++)l=r[s],c.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return c.O(u)},n=self.webpackJsonpSLDS___internal_chunked_showcase=self.webpackJsonpSLDS___internal_chunked_showcase||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),c.nc=void 0;var o=c.O(void 0,[6790],function(){return c(2733)});o=c.O(o),(SLDS=void 0===SLDS?{}:SLDS)["__internal/chunked/showcase/./ui/components/combobox/deprecated-multi-entity/example.jsx.js"]=o}();