adp-web-components 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/manufacturer-lookup.cjs.entry.js +4 -4
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +4 -4
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/esm/manufacturer-lookup.entry.js +4 -4
- package/dist/shift-components/p-e2cdbb4c.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/shift-components/p-1ea62ed0.entry.js +0 -5
|
@@ -85,8 +85,8 @@ const ManufacturerLookup = class {
|
|
|
85
85
|
render() {
|
|
86
86
|
const manufacturerData = this.partInformation
|
|
87
87
|
? [
|
|
88
|
-
{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
89
|
-
{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
88
|
+
//{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
89
|
+
//{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
90
90
|
{ label: 'Origin', value: this.partInformation.tmcPart.origin },
|
|
91
91
|
{ label: 'Warranty Price', value: this.partInformation.tmcPart.warrantyPrice },
|
|
92
92
|
{ label: 'Special Price', value: this.partInformation.tmcPart.specialPrice },
|
|
@@ -98,14 +98,14 @@ const ManufacturerLookup = class {
|
|
|
98
98
|
{ label: 'Dimension 2', value: this.partInformation.tmcPart.dimension2 },
|
|
99
99
|
{ label: 'Dimension 3', value: this.partInformation.tmcPart.dimension3 },
|
|
100
100
|
{ label: 'Net Weight', value: this.partInformation.tmcPart.netWeight },
|
|
101
|
-
{ label: 'Gross
|
|
101
|
+
{ label: 'Gross Weight', value: this.partInformation.tmcPart.grossWeight },
|
|
102
102
|
{ label: 'Cubic Measure', value: this.partInformation.tmcPart.cubicMeasure },
|
|
103
103
|
{ label: 'HS Code', value: this.partInformation.tmcPart.hsCode },
|
|
104
104
|
{ label: 'UZ HS Code', value: this.partInformation.tmcPart.uzHsCode },
|
|
105
105
|
]
|
|
106
106
|
: [];
|
|
107
107
|
const validManufacturerFields = manufacturerData; //.filter(({ value }) => !!value);
|
|
108
|
-
return (index.h(index.Host, { key: '
|
|
108
|
+
return (index.h(index.Host, { key: '42d691681bf4e255e08fcb8de8af5f17aa62c3a2' }, index.h("div", { key: '3ac98dd33bb1b8b8e2d5f3d45b15b0fae790e4d8', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'ea59a314c5fb6b3402bf5f0463abf17309e2b573' }, index.h(Loading.Loading, { key: '19bf488dbe3746a98891362d4f43e55974540a71', isLoading: this.state.includes('loading') }), index.h("div", { key: 'd9645d2783182168bd143c1378e97370c763976c', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'f626a317a398319f000f07f33a1718a1c456f596', class: "py-[16px]" }, index.h("div", { key: 'e0e104413cb71a94f49ebdc5ac788256695cb8fc', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '4efcef154a9631abca531d82f1d45bd28a43801e' }, index.h("div", { key: '5b160935a09585372d887e107d9b73e81251c61f', class: "flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'f72a04bb9a74e95c3c4b9b693e2185267add7606', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, this.headerTitle), index.h("div", { key: '3f5b740e844134afaac8d2b834c36fa2b799829f', class: "px-[30px] py-[10px] flex flex-col gap-[15px]" }, index.h("div", { key: 'cc973124470d8a7cfd4839d8c8c9def63f4f40df', class: "grid grid-cols-3 gap-[50px]" }, validManufacturerFields.map(({ label, value }) => (index.h("div", { key: label, class: "flex flex-col flex-1" }, index.h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), index.h("div", { class: "py-[10px] px-0" }, value))))))))))))));
|
|
109
109
|
}
|
|
110
110
|
get el() { return index.getElement(this); }
|
|
111
111
|
static get watchers() { return {
|
|
@@ -76,8 +76,8 @@ export class ManufacturerLookup {
|
|
|
76
76
|
render() {
|
|
77
77
|
const manufacturerData = this.partInformation
|
|
78
78
|
? [
|
|
79
|
-
{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
80
|
-
{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
79
|
+
//{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
80
|
+
//{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
81
81
|
{ label: 'Origin', value: this.partInformation.tmcPart.origin },
|
|
82
82
|
{ label: 'Warranty Price', value: this.partInformation.tmcPart.warrantyPrice },
|
|
83
83
|
{ label: 'Special Price', value: this.partInformation.tmcPart.specialPrice },
|
|
@@ -89,14 +89,14 @@ export class ManufacturerLookup {
|
|
|
89
89
|
{ label: 'Dimension 2', value: this.partInformation.tmcPart.dimension2 },
|
|
90
90
|
{ label: 'Dimension 3', value: this.partInformation.tmcPart.dimension3 },
|
|
91
91
|
{ label: 'Net Weight', value: this.partInformation.tmcPart.netWeight },
|
|
92
|
-
{ label: 'Gross
|
|
92
|
+
{ label: 'Gross Weight', value: this.partInformation.tmcPart.grossWeight },
|
|
93
93
|
{ label: 'Cubic Measure', value: this.partInformation.tmcPart.cubicMeasure },
|
|
94
94
|
{ label: 'HS Code', value: this.partInformation.tmcPart.hsCode },
|
|
95
95
|
{ label: 'UZ HS Code', value: this.partInformation.tmcPart.uzHsCode },
|
|
96
96
|
]
|
|
97
97
|
: [];
|
|
98
98
|
const validManufacturerFields = manufacturerData; //.filter(({ value }) => !!value);
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '42d691681bf4e255e08fcb8de8af5f17aa62c3a2' }, h("div", { key: '3ac98dd33bb1b8b8e2d5f3d45b15b0fae790e4d8', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: 'ea59a314c5fb6b3402bf5f0463abf17309e2b573' }, h(Loading, { key: '19bf488dbe3746a98891362d4f43e55974540a71', isLoading: this.state.includes('loading') }), h("div", { key: 'd9645d2783182168bd143c1378e97370c763976c', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (h("div", { key: 'f626a317a398319f000f07f33a1718a1c456f596', class: "py-[16px]" }, h("div", { key: 'e0e104413cb71a94f49ebdc5ac788256695cb8fc', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: '4efcef154a9631abca531d82f1d45bd28a43801e' }, h("div", { key: '5b160935a09585372d887e107d9b73e81251c61f', class: "flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'f72a04bb9a74e95c3c4b9b693e2185267add7606', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, this.headerTitle), h("div", { key: '3f5b740e844134afaac8d2b834c36fa2b799829f', class: "px-[30px] py-[10px] flex flex-col gap-[15px]" }, h("div", { key: 'cc973124470d8a7cfd4839d8c8c9def63f4f40df', class: "grid grid-cols-3 gap-[50px]" }, validManufacturerFields.map(({ label, value }) => (h("div", { key: label, class: "flex flex-col flex-1" }, h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), h("div", { class: "py-[10px] px-0" }, value))))))))))))));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "manufacturer-lookup"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{p as t,H as e,h as i,c as a}from"./p-be0a5ab5.js";import{L as o}from"./p-8385e385.js";import{c as r}from"./p-98d9e7ab.js";import{g as s}from"./p-4f08bcb8.js";let n={};const l=t(class extends e{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.baseUrl="",this.isDev=!1,this.queryString="",this.headerTitle="Manufacturer",this.loadingStateChange=void 0,this.loadedResponse=void 0,this.state="idle",this.externalPartNumber=null,this.errorMessage=null,this.partInformation=void 0}handleSettingData(t){this.partInformation=t}async setData(t,e={}){let i;clearTimeout(this.networkTimeoutRef),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const a="string"==typeof t,o=a?t:null==t?void 0:t.partNumber;this.externalPartNumber=o;try{if(!o||0===o.trim().length)return void(this.state="idle");this.state="data"===this.state||"error"===this.state?this.state+"-loading":"loading",await new Promise((t=>{i=setTimeout(t,700),this.networkTimeoutRef=i}));const r=a?await s(this,{scopedTimeoutRef:i,partNumber:o,mockData:n},e):t;if(this.networkTimeoutRef===i){if(!r)throw Error("Wrong response format");this.handleSettingData(r)}this.errorMessage=null,this.state="data"}catch(t){if(t&&"AbortError"===(null==t?void 0:t.name))return;this.state="error",this.partInformation=null,this.errorMessage=t.message}}async fetchData(t=this.externalPartNumber,e={}){await this.setData(t,e)}async loadingListener(){this.loadingStateChange&&this.loadingStateChange(this.state.includes("loading"))}async setMockData(t){n=t}render(){const t=this.partInformation?[{label:"Description",value:this.partInformation.tmcPart.partDescription},{label:"Product Group",value:this.partInformation.tmcPart.group},{label:"Origin",value:this.partInformation.tmcPart.origin},{label:"Warranty Price",value:this.partInformation.tmcPart.warrantyPrice},{label:"Special Price",value:this.partInformation.tmcPart.specialPrice},{label:"Wholesales Price",value:this.partInformation.tmcPart.salesPrice},{label:"PNC",value:this.partInformation.tmcPart.pnc},{label:"PNC Russian Name",value:this.partInformation.tmcPart.pncLocalName},{label:"Bin Code",value:this.partInformation.tmcPart.binCode},{label:"Dimension 1",value:this.partInformation.tmcPart.dimension1},{label:"Dimension 2",value:this.partInformation.tmcPart.dimension2},{label:"Dimension 3",value:this.partInformation.tmcPart.dimension3},{label:"Net Weight",value:this.partInformation.tmcPart.netWeight},{label:"Gross Height",value:this.partInformation.tmcPart.grossWeight},{label:"Cubic Measure",value:this.partInformation.tmcPart.cubicMeasure},{label:"HS Code",value:this.partInformation.tmcPart.hsCode},{label:"UZ HS Code",value:this.partInformation.tmcPart.uzHsCode}]:[];return i(a,{key:"52eab3e46388ab52e58491b422c1d4359b05226a"},i("div",{key:"602855bff2e5c2128c2a2d44aa62c6a518d877e8",class:"min-h-[100px] relative transition-all duration-300 overflow-hidden"},i("div",{key:"1453162f89344944fc35e46447a98d64f7dfbaf8"},i(o,{key:"9844c38e39b816a78054b49dd781e27476b328a5",isLoading:this.state.includes("loading")}),i("div",{key:"fbe08a6fee69802aa429f2560111a5d620307332",class:r("transition-all duration-700",{"scale-0":this.state.includes("loading")||"idle"===this.state,"opacity-0":this.state.includes("loading")})},["error","error-loading"].includes(this.state)&&i("div",{key:"bb76048f56223054175b4f6c316d574e3248c3fd",class:"py-[16px]"},i("div",{key:"b91cce4a4ec03f0a7ec337111ce738fa197e8132",class:" px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto"},this.errorMessage)),["data","data-loading"].includes(this.state)&&i("div",{key:"6dca06dff68ab150efdb71edd1e567faf15621df"},i("div",{key:"bd07837761490486ba40006c14ee0f3637979be6",class:"flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]"},i("div",{key:"5193163bf28d273d2019c54cbcd4bcf9a5ffcf13",class:"w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]"},this.headerTitle),i("div",{key:"a1afb79bed05c4af8f347d23d99899d612ce9051",class:"px-[30px] py-[10px] flex flex-col gap-[15px]"},i("div",{key:"cbed945a2e718c1eb00b969b92df22773a8d5389",class:"grid grid-cols-3 gap-[50px]"},t.map((({label:t,value:e})=>i("div",{key:t,class:"flex flex-col flex-1"},i("strong",{class:"py-[10px] px-0 border-b-[gray] border-b"},t),i("div",{class:"py-[10px] px-0"},e))))))))))))}get el(){return this}static get watchers(){return{state:["loadingListener"]}}static get style(){return'*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.grid{display:grid}.h-\\[40px\\]{height:40px}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}.duration-100{transition-duration:.1s}'}},[1,"manufacturer-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],headerTitle:[1,"header-title"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},void 0,{state:["loadingListener"]}]);function d(){"undefined"!=typeof customElements&&["manufacturer-lookup"].forEach((t=>{"manufacturer-lookup"===t&&(customElements.get(t)||customElements.define(t,l))}))}d();const p=l,c=d;export{p as ManufacturerLookup,c as defineCustomElement}
|
|
5
|
+
import{p as t,H as e,h as i,c as a}from"./p-be0a5ab5.js";import{L as o}from"./p-8385e385.js";import{c as r}from"./p-98d9e7ab.js";import{g as s}from"./p-4f08bcb8.js";let n={};const l=t(class extends e{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.baseUrl="",this.isDev=!1,this.queryString="",this.headerTitle="Manufacturer",this.loadingStateChange=void 0,this.loadedResponse=void 0,this.state="idle",this.externalPartNumber=null,this.errorMessage=null,this.partInformation=void 0}handleSettingData(t){this.partInformation=t}async setData(t,e={}){let i;clearTimeout(this.networkTimeoutRef),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const a="string"==typeof t,o=a?t:null==t?void 0:t.partNumber;this.externalPartNumber=o;try{if(!o||0===o.trim().length)return void(this.state="idle");this.state="data"===this.state||"error"===this.state?this.state+"-loading":"loading",await new Promise((t=>{i=setTimeout(t,700),this.networkTimeoutRef=i}));const r=a?await s(this,{scopedTimeoutRef:i,partNumber:o,mockData:n},e):t;if(this.networkTimeoutRef===i){if(!r)throw Error("Wrong response format");this.handleSettingData(r)}this.errorMessage=null,this.state="data"}catch(t){if(t&&"AbortError"===(null==t?void 0:t.name))return;this.state="error",this.partInformation=null,this.errorMessage=t.message}}async fetchData(t=this.externalPartNumber,e={}){await this.setData(t,e)}async loadingListener(){this.loadingStateChange&&this.loadingStateChange(this.state.includes("loading"))}async setMockData(t){n=t}render(){const t=this.partInformation?[{label:"Origin",value:this.partInformation.tmcPart.origin},{label:"Warranty Price",value:this.partInformation.tmcPart.warrantyPrice},{label:"Special Price",value:this.partInformation.tmcPart.specialPrice},{label:"Wholesales Price",value:this.partInformation.tmcPart.salesPrice},{label:"PNC",value:this.partInformation.tmcPart.pnc},{label:"PNC Russian Name",value:this.partInformation.tmcPart.pncLocalName},{label:"Bin Code",value:this.partInformation.tmcPart.binCode},{label:"Dimension 1",value:this.partInformation.tmcPart.dimension1},{label:"Dimension 2",value:this.partInformation.tmcPart.dimension2},{label:"Dimension 3",value:this.partInformation.tmcPart.dimension3},{label:"Net Weight",value:this.partInformation.tmcPart.netWeight},{label:"Gross Weight",value:this.partInformation.tmcPart.grossWeight},{label:"Cubic Measure",value:this.partInformation.tmcPart.cubicMeasure},{label:"HS Code",value:this.partInformation.tmcPart.hsCode},{label:"UZ HS Code",value:this.partInformation.tmcPart.uzHsCode}]:[];return i(a,{key:"42d691681bf4e255e08fcb8de8af5f17aa62c3a2"},i("div",{key:"3ac98dd33bb1b8b8e2d5f3d45b15b0fae790e4d8",class:"min-h-[100px] relative transition-all duration-300 overflow-hidden"},i("div",{key:"ea59a314c5fb6b3402bf5f0463abf17309e2b573"},i(o,{key:"19bf488dbe3746a98891362d4f43e55974540a71",isLoading:this.state.includes("loading")}),i("div",{key:"d9645d2783182168bd143c1378e97370c763976c",class:r("transition-all duration-700",{"scale-0":this.state.includes("loading")||"idle"===this.state,"opacity-0":this.state.includes("loading")})},["error","error-loading"].includes(this.state)&&i("div",{key:"f626a317a398319f000f07f33a1718a1c456f596",class:"py-[16px]"},i("div",{key:"e0e104413cb71a94f49ebdc5ac788256695cb8fc",class:" px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto"},this.errorMessage)),["data","data-loading"].includes(this.state)&&i("div",{key:"4efcef154a9631abca531d82f1d45bd28a43801e"},i("div",{key:"5b160935a09585372d887e107d9b73e81251c61f",class:"flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]"},i("div",{key:"f72a04bb9a74e95c3c4b9b693e2185267add7606",class:"w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]"},this.headerTitle),i("div",{key:"3f5b740e844134afaac8d2b834c36fa2b799829f",class:"px-[30px] py-[10px] flex flex-col gap-[15px]"},i("div",{key:"cc973124470d8a7cfd4839d8c8c9def63f4f40df",class:"grid grid-cols-3 gap-[50px]"},t.map((({label:t,value:e})=>i("div",{key:t,class:"flex flex-col flex-1"},i("strong",{class:"py-[10px] px-0 border-b-[gray] border-b"},t),i("div",{class:"py-[10px] px-0"},e))))))))))))}get el(){return this}static get watchers(){return{state:["loadingListener"]}}static get style(){return'*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.grid{display:grid}.h-\\[40px\\]{height:40px}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}.duration-100{transition-duration:.1s}'}},[1,"manufacturer-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],headerTitle:[1,"header-title"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},void 0,{state:["loadingListener"]}]);function d(){"undefined"!=typeof customElements&&["manufacturer-lookup"].forEach((t=>{"manufacturer-lookup"===t&&(customElements.get(t)||customElements.define(t,l))}))}d();const p=l,c=d;export{p as ManufacturerLookup,c as defineCustomElement}
|
|
@@ -81,8 +81,8 @@ const ManufacturerLookup = class {
|
|
|
81
81
|
render() {
|
|
82
82
|
const manufacturerData = this.partInformation
|
|
83
83
|
? [
|
|
84
|
-
{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
85
|
-
{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
84
|
+
//{ label: 'Description', value: this.partInformation.tmcPart.partDescription },
|
|
85
|
+
//{ label: 'Product Group', value: this.partInformation.tmcPart.group },
|
|
86
86
|
{ label: 'Origin', value: this.partInformation.tmcPart.origin },
|
|
87
87
|
{ label: 'Warranty Price', value: this.partInformation.tmcPart.warrantyPrice },
|
|
88
88
|
{ label: 'Special Price', value: this.partInformation.tmcPart.specialPrice },
|
|
@@ -94,14 +94,14 @@ const ManufacturerLookup = class {
|
|
|
94
94
|
{ label: 'Dimension 2', value: this.partInformation.tmcPart.dimension2 },
|
|
95
95
|
{ label: 'Dimension 3', value: this.partInformation.tmcPart.dimension3 },
|
|
96
96
|
{ label: 'Net Weight', value: this.partInformation.tmcPart.netWeight },
|
|
97
|
-
{ label: 'Gross
|
|
97
|
+
{ label: 'Gross Weight', value: this.partInformation.tmcPart.grossWeight },
|
|
98
98
|
{ label: 'Cubic Measure', value: this.partInformation.tmcPart.cubicMeasure },
|
|
99
99
|
{ label: 'HS Code', value: this.partInformation.tmcPart.hsCode },
|
|
100
100
|
{ label: 'UZ HS Code', value: this.partInformation.tmcPart.uzHsCode },
|
|
101
101
|
]
|
|
102
102
|
: [];
|
|
103
103
|
const validManufacturerFields = manufacturerData; //.filter(({ value }) => !!value);
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '42d691681bf4e255e08fcb8de8af5f17aa62c3a2' }, h("div", { key: '3ac98dd33bb1b8b8e2d5f3d45b15b0fae790e4d8', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: 'ea59a314c5fb6b3402bf5f0463abf17309e2b573' }, h(Loading, { key: '19bf488dbe3746a98891362d4f43e55974540a71', isLoading: this.state.includes('loading') }), h("div", { key: 'd9645d2783182168bd143c1378e97370c763976c', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (h("div", { key: 'f626a317a398319f000f07f33a1718a1c456f596', class: "py-[16px]" }, h("div", { key: 'e0e104413cb71a94f49ebdc5ac788256695cb8fc', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: '4efcef154a9631abca531d82f1d45bd28a43801e' }, h("div", { key: '5b160935a09585372d887e107d9b73e81251c61f', class: "flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'f72a04bb9a74e95c3c4b9b693e2185267add7606', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, this.headerTitle), h("div", { key: '3f5b740e844134afaac8d2b834c36fa2b799829f', class: "px-[30px] py-[10px] flex flex-col gap-[15px]" }, h("div", { key: 'cc973124470d8a7cfd4839d8c8c9def63f4f40df', class: "grid grid-cols-3 gap-[50px]" }, validManufacturerFields.map(({ label, value }) => (h("div", { key: label, class: "flex flex-col flex-1" }, h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), h("div", { class: "py-[10px] px-0" }, value))))))))))))));
|
|
105
105
|
}
|
|
106
106
|
get el() { return getElement(this); }
|
|
107
107
|
static get watchers() { return {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,h as e,H as i,g as a}from"./p-f37b60d5.js";import{L as o}from"./p-65939a2f.js";import{c as r}from"./p-98d9e7ab.js";import{g as s}from"./p-4f08bcb8.js";let n={};const l=class{constructor(e){t(this,e),this.baseUrl="",this.isDev=!1,this.queryString="",this.headerTitle="Manufacturer",this.loadingStateChange=void 0,this.loadedResponse=void 0,this.state="idle",this.externalPartNumber=null,this.errorMessage=null,this.partInformation=void 0}handleSettingData(t){this.partInformation=t}async setData(t,e={}){let i;clearTimeout(this.networkTimeoutRef),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const a="string"==typeof t,o=a?t:null==t?void 0:t.partNumber;this.externalPartNumber=o;try{if(!o||0===o.trim().length)return void(this.state="idle");this.state="data"===this.state||"error"===this.state?this.state+"-loading":"loading",await new Promise((t=>{i=setTimeout(t,700),this.networkTimeoutRef=i}));const r=a?await s(this,{scopedTimeoutRef:i,partNumber:o,mockData:n},e):t;if(this.networkTimeoutRef===i){if(!r)throw new Error("Wrong response format");this.handleSettingData(r)}this.errorMessage=null,this.state="data"}catch(t){if(t&&"AbortError"===(null==t?void 0:t.name))return;this.state="error",this.partInformation=null,this.errorMessage=t.message}}async fetchData(t=this.externalPartNumber,e={}){await this.setData(t,e)}async loadingListener(){this.loadingStateChange&&this.loadingStateChange(this.state.includes("loading"))}async setMockData(t){n=t}render(){const t=this.partInformation?[{label:"Origin",value:this.partInformation.tmcPart.origin},{label:"Warranty Price",value:this.partInformation.tmcPart.warrantyPrice},{label:"Special Price",value:this.partInformation.tmcPart.specialPrice},{label:"Wholesales Price",value:this.partInformation.tmcPart.salesPrice},{label:"PNC",value:this.partInformation.tmcPart.pnc},{label:"PNC Russian Name",value:this.partInformation.tmcPart.pncLocalName},{label:"Bin Code",value:this.partInformation.tmcPart.binCode},{label:"Dimension 1",value:this.partInformation.tmcPart.dimension1},{label:"Dimension 2",value:this.partInformation.tmcPart.dimension2},{label:"Dimension 3",value:this.partInformation.tmcPart.dimension3},{label:"Net Weight",value:this.partInformation.tmcPart.netWeight},{label:"Gross Weight",value:this.partInformation.tmcPart.grossWeight},{label:"Cubic Measure",value:this.partInformation.tmcPart.cubicMeasure},{label:"HS Code",value:this.partInformation.tmcPart.hsCode},{label:"UZ HS Code",value:this.partInformation.tmcPart.uzHsCode}]:[];return e(i,{key:"42d691681bf4e255e08fcb8de8af5f17aa62c3a2"},e("div",{key:"3ac98dd33bb1b8b8e2d5f3d45b15b0fae790e4d8",class:"min-h-[100px] relative transition-all duration-300 overflow-hidden"},e("div",{key:"ea59a314c5fb6b3402bf5f0463abf17309e2b573"},e(o,{key:"19bf488dbe3746a98891362d4f43e55974540a71",isLoading:this.state.includes("loading")}),e("div",{key:"d9645d2783182168bd143c1378e97370c763976c",class:r("transition-all duration-700",{"scale-0":this.state.includes("loading")||"idle"===this.state,"opacity-0":this.state.includes("loading")})},["error","error-loading"].includes(this.state)&&e("div",{key:"f626a317a398319f000f07f33a1718a1c456f596",class:"py-[16px]"},e("div",{key:"e0e104413cb71a94f49ebdc5ac788256695cb8fc",class:" px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto"},this.errorMessage)),["data","data-loading"].includes(this.state)&&e("div",{key:"4efcef154a9631abca531d82f1d45bd28a43801e"},e("div",{key:"5b160935a09585372d887e107d9b73e81251c61f",class:"flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]"},e("div",{key:"f72a04bb9a74e95c3c4b9b693e2185267add7606",class:"w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]"},this.headerTitle),e("div",{key:"3f5b740e844134afaac8d2b834c36fa2b799829f",class:"px-[30px] py-[10px] flex flex-col gap-[15px]"},e("div",{key:"cc973124470d8a7cfd4839d8c8c9def63f4f40df",class:"grid grid-cols-3 gap-[50px]"},t.map((({label:t,value:i})=>e("div",{key:t,class:"flex flex-col flex-1"},e("strong",{class:"py-[10px] px-0 border-b-[gray] border-b"},t),e("div",{class:"py-[10px] px-0"},i))))))))))))}get el(){return a(this)}static get watchers(){return{state:["loadingListener"]}}};l.style='*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.grid{display:grid}.h-\\[40px\\]{height:40px}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}.duration-100{transition-duration:.1s}';export{l as manufacturer_lookup}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{p as e,b as a}from"./p-f37b60d5.js";export{s as setNonce}from"./p-f37b60d5.js";import{g as t}from"./p-42d320e2.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a([["p-9427d4ab",[[4,"vehicle-lookup",{activeLookupIndex:[1,"active-lookup-index"],baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChanged:[16],blazorOnLoadingStateChange:[1,"blazor-on-loading-state-change"],errorStateListener:[16],blazorErrorStateListener:[1,"blazor-error-state-listener"],wrapperErrorState:[32],blazorRef:[32],setBlazorRef:[64],fetchVin:[64],getPageContext:[64]},null,{wrapperErrorState:["errorListener"],onLoadingStateChanged:["handleLoadingListenerPropChange"],blazorOnLoadingStateChange:["handleBlazorLoadingRefChange"]}]]],["p-4c3f2850",[[1,"general-inquiry-form",{isLoading:[32],renderControl:[32]}]]],["p-1a727cfd",[[1,"dead-stock-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]],["p-3a3bb2e2",[[1,"distributor-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]],["p-
|
|
5
|
+
import{p as e,b as a}from"./p-f37b60d5.js";export{s as setNonce}from"./p-f37b60d5.js";import{g as t}from"./p-42d320e2.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a([["p-9427d4ab",[[4,"vehicle-lookup",{activeLookupIndex:[1,"active-lookup-index"],baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChanged:[16],blazorOnLoadingStateChange:[1,"blazor-on-loading-state-change"],errorStateListener:[16],blazorErrorStateListener:[1,"blazor-error-state-listener"],wrapperErrorState:[32],blazorRef:[32],setBlazorRef:[64],fetchVin:[64],getPageContext:[64]},null,{wrapperErrorState:["errorListener"],onLoadingStateChanged:["handleLoadingListenerPropChange"],blazorOnLoadingStateChange:["handleBlazorLoadingRefChange"]}]]],["p-4c3f2850",[[1,"general-inquiry-form",{isLoading:[32],renderControl:[32]}]]],["p-1a727cfd",[[1,"dead-stock-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]],["p-3a3bb2e2",[[1,"distributor-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]],["p-e2cdbb4c",[[1,"manufacturer-lookup",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],headerTitle:[1,"header-title"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalPartNumber:[32],errorMessage:[32],partInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]],["p-15e82b1a",[[0,"form-input",{name:[1],label:[1],class:[1],isError:[4,"is-error"],disabled:[4],labelClass:[1,"label-class"],errorClass:[1,"error-class"],errorMessage:[1,"error-message"],containerClass:[1,"container-class"]}]]],["p-2bb4415e",[[1,"dynamic-redeem",{vin:[1],item:[16],canceledItems:[16],unInvoicedByBrokerName:[1,"un-invoiced-by-broker-name"],handleScanner:[16],handleQrChanges:[16],loadingStateChange:[16],confirmServiceCancellation:[32],confirmUnInvoicedTBPVehicles:[32],internalVin:[32],isOpened:[32],internalItem:[32],internalCanceledItem:[32],isLoading:[32],quite:[64],getQrValue:[64]},null,{isLoading:["onIsLoadingChange"],canceledItems:["changeInternalCanceledItem"],unInvoicedByBrokerName:["changeConfirmUnInvoicedTBPVehicles"],vin:["changeInternalVin"],item:["changeInternalItem"]}]]],["p-3f3b41b4",[[1,"dynamic-claim",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],isIdle:[32],popupClasses:[32],externalVin:[32],activePopupIndex:[32],vehicleInformation:[32],errorMessage:[32],isLoading:[32],setMockData:[64],setData:[64],fetchData:[64],completeClaim:[64]},null,{isLoading:["onLoadingChange"],vehicleInformation:["resetProgressBar"],popupClasses:["windowScrollListener"]}],[1,"paint-thickness",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],expandedImage:[32],vehicleInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}],[1,"service-history",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],vehicleInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}],[1,"vehicle-accessories",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],expandedImage:[32],vehicleInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}],[1,"vehicle-specification",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],vehicleInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}],[1,"warranty-details",{baseUrl:[1,"base-url"],unauthorizedSscLookupBaseUrl:[1,"unauthorized-ssc-lookup-base-url"],isDev:[4,"is-dev"],showSsc:[4,"show-ssc"],queryString:[1,"query-string"],unauthorizedSscLookupQueryString:[1,"unauthorized-ssc-lookup-query-string"],recaptchaKey:[1,"recaptcha-key"],showWarranty:[4,"show-warranty"],cityId:[1,"city-id"],cityIntegrationId:[1,"city-integration-id"],companyId:[1,"company-id"],companyIntegrationId:[1,"company-integration-id"],companyBranchId:[1,"company-branch-id"],companyBranchIntegrationId:[1,"company-branch-integration-id"],userId:[1,"user-id"],brandIntegrationId:[1,"brand-integration-id"],customerName:[1,"customer-name"],customerPhone:[1,"customer-phone"],customerEmail:[1,"customer-email"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],showRecaptcha:[32],unInvoicedByBrokerName:[32],vehicleInformation:[32],checkingUnauthorizedSSC:[32],recaptchaRes:[32],headers:[32],setData:[64],fetchData:[64],setMockData:[64]},null,{state:["loadingListener"]}]]]],e))));
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,h as e,H as i,g as a}from"./p-f37b60d5.js";import{L as o}from"./p-65939a2f.js";import{c as r}from"./p-98d9e7ab.js";import{g as s}from"./p-4f08bcb8.js";let n={};const l=class{constructor(e){t(this,e),this.baseUrl="",this.isDev=!1,this.queryString="",this.headerTitle="Manufacturer",this.loadingStateChange=void 0,this.loadedResponse=void 0,this.state="idle",this.externalPartNumber=null,this.errorMessage=null,this.partInformation=void 0}handleSettingData(t){this.partInformation=t}async setData(t,e={}){let i;clearTimeout(this.networkTimeoutRef),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const a="string"==typeof t,o=a?t:null==t?void 0:t.partNumber;this.externalPartNumber=o;try{if(!o||0===o.trim().length)return void(this.state="idle");this.state="data"===this.state||"error"===this.state?this.state+"-loading":"loading",await new Promise((t=>{i=setTimeout(t,700),this.networkTimeoutRef=i}));const r=a?await s(this,{scopedTimeoutRef:i,partNumber:o,mockData:n},e):t;if(this.networkTimeoutRef===i){if(!r)throw new Error("Wrong response format");this.handleSettingData(r)}this.errorMessage=null,this.state="data"}catch(t){if(t&&"AbortError"===(null==t?void 0:t.name))return;this.state="error",this.partInformation=null,this.errorMessage=t.message}}async fetchData(t=this.externalPartNumber,e={}){await this.setData(t,e)}async loadingListener(){this.loadingStateChange&&this.loadingStateChange(this.state.includes("loading"))}async setMockData(t){n=t}render(){const t=this.partInformation?[{label:"Description",value:this.partInformation.tmcPart.partDescription},{label:"Product Group",value:this.partInformation.tmcPart.group},{label:"Origin",value:this.partInformation.tmcPart.origin},{label:"Warranty Price",value:this.partInformation.tmcPart.warrantyPrice},{label:"Special Price",value:this.partInformation.tmcPart.specialPrice},{label:"Wholesales Price",value:this.partInformation.tmcPart.salesPrice},{label:"PNC",value:this.partInformation.tmcPart.pnc},{label:"PNC Russian Name",value:this.partInformation.tmcPart.pncLocalName},{label:"Bin Code",value:this.partInformation.tmcPart.binCode},{label:"Dimension 1",value:this.partInformation.tmcPart.dimension1},{label:"Dimension 2",value:this.partInformation.tmcPart.dimension2},{label:"Dimension 3",value:this.partInformation.tmcPart.dimension3},{label:"Net Weight",value:this.partInformation.tmcPart.netWeight},{label:"Gross Height",value:this.partInformation.tmcPart.grossWeight},{label:"Cubic Measure",value:this.partInformation.tmcPart.cubicMeasure},{label:"HS Code",value:this.partInformation.tmcPart.hsCode},{label:"UZ HS Code",value:this.partInformation.tmcPart.uzHsCode}]:[];return e(i,{key:"52eab3e46388ab52e58491b422c1d4359b05226a"},e("div",{key:"602855bff2e5c2128c2a2d44aa62c6a518d877e8",class:"min-h-[100px] relative transition-all duration-300 overflow-hidden"},e("div",{key:"1453162f89344944fc35e46447a98d64f7dfbaf8"},e(o,{key:"9844c38e39b816a78054b49dd781e27476b328a5",isLoading:this.state.includes("loading")}),e("div",{key:"fbe08a6fee69802aa429f2560111a5d620307332",class:r("transition-all duration-700",{"scale-0":this.state.includes("loading")||"idle"===this.state,"opacity-0":this.state.includes("loading")})},["error","error-loading"].includes(this.state)&&e("div",{key:"bb76048f56223054175b4f6c316d574e3248c3fd",class:"py-[16px]"},e("div",{key:"b91cce4a4ec03f0a7ec337111ce738fa197e8132",class:" px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto"},this.errorMessage)),["data","data-loading"].includes(this.state)&&e("div",{key:"6dca06dff68ab150efdb71edd1e567faf15621df"},e("div",{key:"bd07837761490486ba40006c14ee0f3637979be6",class:"flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]"},e("div",{key:"5193163bf28d273d2019c54cbcd4bcf9a5ffcf13",class:"w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]"},this.headerTitle),e("div",{key:"a1afb79bed05c4af8f347d23d99899d612ce9051",class:"px-[30px] py-[10px] flex flex-col gap-[15px]"},e("div",{key:"cbed945a2e718c1eb00b969b92df22773a8d5389",class:"grid grid-cols-3 gap-[50px]"},t.map((({label:t,value:i})=>e("div",{key:t,class:"flex flex-col flex-1"},e("strong",{class:"py-[10px] px-0 border-b-[gray] border-b"},t),e("div",{class:"py-[10px] px-0"},i))))))))))))}get el(){return a(this)}static get watchers(){return{state:["loadingListener"]}}};l.style='*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.grid{display:grid}.h-\\[40px\\]{height:40px}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}.duration-100{transition-duration:.1s}';export{l as manufacturer_lookup}
|