1import{C as i,P as a}from"./polyfazer-app-DumDTOPg.js";import{h as t}from"./polymer-utils-B8xivS0d.js";import{L as m}from"./lang-helper-behavior-D3p_DZHb.js";import{m as e}from"./diamond-table-DiX_YLmS.js";import"./main-BEpca-0G.js";import"./BetterHTML-BN6nzApa.js";import"./BetterTemplateHandling-CTXk4mRb.js";import"./ExtendedDate-BLMVein7.js";import"./theme-mixin-UzPGm89E.js";import"./stamp-repeat-CtgpozQL.js";import"./filters-behavior-BUO4aVrX.js";import"./diamond-section-overlay-D3ZGchRP.js";import"./question-tag-C9ym_uv9.js";const o=t` 2 <style> 3 .image { 4 width: 50px; 5 height: 50px; 6 } 7 </style> 8`;class l extends i(m(a)){static get template(){return t` 9 ${super.template} 10 <style> 11 :host { 12 display: block; 13 width: 100%; 14 padding-bottom: 30px; 15 } 16 17 diamond-table { 18 min-height: 200px; 19 } 20 </style> 21 22 <paper-material style="padding: 0"> 23 <diamond-table 24 as="credentialsRole" 25 unique-id="ocpi-client-roles" 26 items="[[roles]]" 27 headers="[[rolesTableHeaders]]" 28 can-modify 29 > 30 <template> 31 <div class="diamond-row no-action"> 32 ${o} 33 34 <diamond-item name="image"> 35 <image-frame class="image" image="[[credentialsRole.businessDetails.logo]]" thumbnail fallback-url=""></image-frame> 36 </diamond-item> 37 <diamond-item text="#[[credentialsRole.id]]" name="id"></diamond-item> 38 <diamond-item text="[[millisecondsToDate(credentialsRole.createdOn)]]" name="createdOn"></diamond-item> 39 <diamond-item text="[[credentialsRole.role]]" name="role"></diamond-item> 40 <diamond-item text="[[credentialsRole.businessDetails.name]]" name="name"></diamond-item> 41 <diamond-item text="[[credentialsRole.businessDetails.website]]" name="website"></diamond-item> 42 <diamond-item text="[[credentialsRole.partyID]]" name="partyID"></diamond-item> 43 <diamond-item text="[[credentialsRole.countryCode]]" name="countryCode"></diamond-item> 44 </div> 45 </template>
46 </diamond-table> 47 </paper-material> 48 `}static get properties(){return{roles:Array,rolesTableHeaders:{type:Object,value:{image:{...e.image,width:"50px",metaLabel:"logo"},id:{...e.id,sort:!1},createdOn:e.date,role:{sort:!1},name:{sort:!1},website:{label:"webUrl",sort:!1},partyID:{...e.id,label:"rolePartyID",visible:!0,sort:!1},countryCode:{label:"country",sort:!1}}}}}}window.customElements.define("ocpi-client-roles",l); 49//# sourceMappingURL=ocpi-client-roles-BNfuZjfD.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.