PageSourceSearch

https://altego.portal.polyfazer.eu/chunks/vehicle-templates-listing-BhedRMUd.js

js polyfazer.eu collected 2026-09-24 14:03:31 UTC 2,804 bytes, 54 lines download raw bytes

1import{h as t,C as m,P as l}from"./polyfazer-app-DumDTOPg.js";import{v as n}from"./vehicle-templates-services-Jr0vDtNx.js";import"./diamond-listing-2-CZxxStx-.js";import"./image-frame-DZbP5vtK.js";import{m as e}from"./diamond-table-DiX_YLmS.js";import"./main-BEpca-0G.js";import"./polymer-utils-B8xivS0d.js";import"./BetterHTML-BN6nzApa.js";import"./BetterTemplateHandling-CTXk4mRb.js";import"./question-tag-C9ym_uv9.js";import"./PolyfazerFiltersManager-B20DzVOd.js";import"./PolyfazerFilter-G6wDdeD6.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";const o=t`
2	<style>
3		a:not([visible]) {
4			opacity: 0.5;
5		}
6
7		.image-wrapper {
8			height: 59px;
9			width: 100%;
10			display: flex;
11			align-items: center;
12			justify-content: center;
13		}
14
15		img {
16			max-width: 100%;
17			max-height: 100%;
18		}
19	</style>
20`;class s extends m(l){static get template(){return t`
21			${super.template}
22			<style>
23				:host {
24					display: block;
25					width: 100%;
26					height: 100%;
27					position: relative;
28				}
29
30				diamond-listing {
31					--loading-overlay-color: var(--background-color-2);
32					--on-loading-overlay-color: var(--primary-text-color);
33				}
34			</style>
35
36			<div class="content-wrap full-height">
37				<diamond-listing unique-id="vehicle-templates" as="template" id="listing" settings="[[listingSettings]]" update-data-timeout="60000">
38					<template>
39						<a class="diamond-row" template-id$="[[template.id]]" href$="/vehicle-templates/[[template.id]]" visible$="[[template.visible]]">
40							${o}
41
42							<diamond-item text="#[[template.id]]" name="id"></diamond-item>
43							<diamond-item name="image">
44								<image-frame thumbnail image="[[template.image]]"></image-frame>
45							</diamond-item>
46							<diamond-item text="[[template.name]]" name="name"></diamond-item>
47							<diamond-item text="[[template.brandName]]" name="brand"></diamond-item>
48							<diamond-item text="[[template.modelName]]" name="model"></diamond-item>
49						</a>
50					</template>
51				</diamond-listing>
52			</div>
53		`}static get properties(){return{}}connectedCallback(){super.connectedCallback(),this.set("listingSettings",{defaultSort:{key:"id",direction:"desc"},headers:{id:e.id,image:{...e.image,width:"100px"},name:{},brand:{field:"brandName"},model:{field:"modelName"}}})}onPageLeave(){super.onPageLeave?.(),this.$.listing.suspend()}init(){window.vehicleTemplatesListing=this,this.$.listing.init({service:(i,a)=>n.getList(i,{signal:a}),createEntity:{label:"createVehicleTemplate",href:"/vehicle-templates/0/edit"}})}refresh(){this.$.listing.refresh()}}window.customElements.define("vehicle-templates-listing",s);
54//# sourceMappingURL=vehicle-templates-listing-BhedRMUd.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.