adp-web-components 0.1.102 → 0.1.104

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.
Files changed (242) hide show
  1. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +6 -6
  2. package/dist/cjs/flexible-container.cjs.entry.js +1 -1
  3. package/dist/cjs/form-checkbox.cjs.entry.js +1 -1
  4. package/dist/cjs/form-date-picker.cjs.entry.js +1 -1
  5. package/dist/cjs/form-dialog_13.cjs.entry.js +13 -13
  6. package/dist/cjs/form-input_7.cjs.entry.js +7 -7
  7. package/dist/cjs/form-switch.cjs.entry.js +1 -1
  8. package/dist/cjs/form-time-picker.cjs.entry.js +1 -1
  9. package/dist/cjs/{functions-TNPvO90Y.js → functions-CI-6dPhg.js} +1 -1
  10. package/dist/cjs/general-form.cjs.entry.js +2 -2
  11. package/dist/cjs/general-inquiry-form.cjs.entry.js +2 -2
  12. package/dist/cjs/{get-local-language-CMUVpRj3.js → get-local-language-CTVtQDxZ.js} +1 -1
  13. package/dist/cjs/{get-mock-files-CaYTIAU9.js → get-mock-files-dTG-5YTf.js} +1 -1
  14. package/dist/cjs/information-table.cjs.entry.js +1 -1
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
  17. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +2 -2
  18. package/dist/cjs/part-lookup.cjs.entry.js +3 -3
  19. package/dist/cjs/service-booking-form.cjs.entry.js +2 -2
  20. package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/shift-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/shift-components.cjs.js +1 -1
  23. package/dist/cjs/shift-switch.cjs.entry.js +1 -1
  24. package/dist/cjs/shift-tab-content.cjs.entry.js +1 -1
  25. package/dist/cjs/ssc-lookup-form.cjs.entry.js +2 -2
  26. package/dist/cjs/test-drive-form.cjs.entry.js +2 -2
  27. package/dist/cjs/vehicle-accessories_7.cjs.entry.js +24 -21
  28. package/dist/cjs/{vehicle-info-layout-D0rI_Rfz.js → vehicle-info-layout-UI-nhp1I.js} +2 -1
  29. package/dist/cjs/vehicle-lookup.cjs.entry.js +12 -5
  30. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +2 -2
  31. package/dist/collection/components/components/empty.css +1 -1
  32. package/dist/collection/components/components/flexible-container.css +1 -1
  33. package/dist/collection/components/components/information-table.css +1 -1
  34. package/dist/collection/components/components/loading-spinner.css +1 -1
  35. package/dist/collection/components/components/shift-accordion.css +1 -1
  36. package/dist/collection/components/components/shift-portal.css +1 -1
  37. package/dist/collection/components/components/shift-select-dropdown.css +1 -1
  38. package/dist/collection/components/components/shift-select.css +1 -1
  39. package/dist/collection/components/components/shift-tab-content.css +1 -1
  40. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  41. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  42. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  43. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  44. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  45. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  46. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  47. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  48. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +24 -5
  49. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  50. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +8 -1
  51. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  52. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  53. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
  54. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  55. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
  56. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  57. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  58. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  59. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +4 -4
  60. package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
  61. package/dist/collection/features/vehicle-info-layout/vehicle-info-layout.js +1 -1
  62. package/dist/components/dead-stock-lookup.js +1 -1
  63. package/dist/components/distributor-lookup.js +1 -1
  64. package/dist/components/flexible-container.js +1 -1
  65. package/dist/components/form-checkbox.js +1 -1
  66. package/dist/components/form-date-picker.js +1 -1
  67. package/dist/components/form-file.js +1 -1
  68. package/dist/components/form-input-preview.js +1 -1
  69. package/dist/components/form-input.js +1 -1
  70. package/dist/components/form-phone-number.js +1 -1
  71. package/dist/components/form-picker-input.js +1 -1
  72. package/dist/components/form-select.js +1 -1
  73. package/dist/components/form-shadow-input.js +1 -1
  74. package/dist/components/form-stepper-control.js +1 -1
  75. package/dist/components/form-stepper-submit.js +1 -1
  76. package/dist/components/form-stepper.js +1 -1
  77. package/dist/components/form-structure-error.js +1 -1
  78. package/dist/components/form-structure.js +1 -1
  79. package/dist/components/form-submit.js +1 -1
  80. package/dist/components/form-switch.js +1 -1
  81. package/dist/components/form-text-area.js +1 -1
  82. package/dist/components/form-time-picker.js +1 -1
  83. package/dist/components/form-vin-input.js +1 -1
  84. package/dist/components/general-form.js +1 -1
  85. package/dist/components/general-inquiry-form.js +1 -1
  86. package/dist/components/information-table.js +1 -1
  87. package/dist/components/loading-spinner.js +1 -1
  88. package/dist/components/manufacturer-lookup.js +1 -1
  89. package/dist/components/manufacturer-part-lookup.js +1 -1
  90. package/dist/components/{p--IrcIOME.js → p-B1Ou3eKY.js} +1 -1
  91. package/dist/components/p-B1aYd-pS.js +5 -0
  92. package/dist/components/{p-DU5S5dT8.js → p-B5hYKKTW.js} +1 -1
  93. package/dist/components/{p-B2wA1b1b.js → p-BFWYmd8j.js} +1 -1
  94. package/dist/components/{p-YiTKBxel.js → p-BJNWG_0G.js} +1 -1
  95. package/dist/components/p-BRQ6MuMs.js +5 -0
  96. package/dist/components/{p-CCcvvhAq.js → p-BtL_Swch.js} +1 -1
  97. package/dist/components/p-Bwe3R9mI.js +5 -0
  98. package/dist/components/{p-BQvn4Lg1.js → p-Bxm2XrdM.js} +1 -1
  99. package/dist/components/{p-DvldTYH-.js → p-BzEKR_c0.js} +1 -1
  100. package/dist/components/{p-B3GY0WZf.js → p-BzXT9Ih5.js} +1 -1
  101. package/dist/components/{p-CmXP2mg6.js → p-C3xPZ8sX.js} +1 -1
  102. package/dist/components/{p-oQvzI2Ln.js → p-CA9LOgfd.js} +1 -1
  103. package/dist/components/{p-D-oztFLx.js → p-CCdnWsft.js} +1 -1
  104. package/dist/components/{p-Cdfig7hw.js → p-CElSZ3OW.js} +1 -1
  105. package/dist/components/p-CF_pvFsp.js +5 -0
  106. package/dist/components/{p-rYhw4jZS.js → p-CSzVure5.js} +1 -1
  107. package/dist/components/{p-I9AWLDMF.js → p-CZYF4xBv.js} +1 -1
  108. package/dist/components/{p-DK-kpC0q.js → p-Cbda4mAT.js} +1 -1
  109. package/dist/components/{p-DoNm7J4H.js → p-Cbdzo_a9.js} +1 -1
  110. package/dist/components/{p-Bu_4A_J-.js → p-Cd_FujoW.js} +1 -1
  111. package/dist/components/{p-BWcr8cXQ.js → p-Ce8Ch_OT.js} +1 -1
  112. package/dist/components/p-ChTsOR5-.js +5 -0
  113. package/dist/components/{p-C0YkBJrb.js → p-Cqurfs2R.js} +1 -1
  114. package/dist/components/{p-DQxGNYBP.js → p-Cwm6pDaO.js} +1 -1
  115. package/dist/components/{p-C5JI5Ev4.js → p-Cyku-Gyj.js} +1 -1
  116. package/dist/components/{p-Ca4ve5hg.js → p-D-J6yORc.js} +1 -1
  117. package/dist/components/{p-D50EjCx6.js → p-DHEhIlaU.js} +1 -1
  118. package/dist/components/{p-DQ2NX4b7.js → p-DRkvM3pX.js} +1 -1
  119. package/dist/components/{p-ZsMtZfv7.js → p-DSX1Us0c.js} +1 -1
  120. package/dist/components/{p-V2xc0sGr.js → p-DSZImuCw.js} +1 -1
  121. package/dist/components/p-D_Ge7JYj.js +5 -0
  122. package/dist/components/p-DdoFR_Lo.js +5 -0
  123. package/dist/components/{p-BeFJEavU.js → p-DfZkdQkV.js} +1 -1
  124. package/dist/components/p-DjDHv-v5.js +5 -0
  125. package/dist/components/p-DnVFREMR.js +5 -0
  126. package/dist/components/p-Dzka3hxX.js +5 -0
  127. package/dist/components/{p-Jkjk0tH3.js → p-KqQ8vAQ2.js} +1 -1
  128. package/dist/components/{p-CVCPPA3j.js → p-LTUcwJc7.js} +1 -1
  129. package/dist/components/{p-3zK_xUL3.js → p-LYNFDTyg.js} +1 -1
  130. package/dist/components/{p-DJjp-GOG.js → p-O3XXzFOt.js} +1 -1
  131. package/dist/components/{p-D7bMAfFD.js → p-ON5joDoC.js} +1 -1
  132. package/dist/components/{p-LGD2nJoY.js → p-VAZAfTzk.js} +1 -1
  133. package/dist/components/{p-C6nKJv3T.js → p-lnx3CKt-.js} +1 -1
  134. package/dist/components/{p-CB8a0Shd.js → p-ztnhlUx9.js} +1 -1
  135. package/dist/components/part-lookup.js +1 -1
  136. package/dist/components/service-booking-form.js +1 -1
  137. package/dist/components/shift-accordion.js +1 -1
  138. package/dist/components/shift-checkbox.js +1 -1
  139. package/dist/components/shift-portal.js +1 -1
  140. package/dist/components/shift-select-dropdown.js +1 -1
  141. package/dist/components/shift-select.js +1 -1
  142. package/dist/components/shift-slider.js +1 -1
  143. package/dist/components/shift-switch.js +1 -1
  144. package/dist/components/shift-tab-content.js +1 -1
  145. package/dist/components/shift-tabs.js +1 -1
  146. package/dist/components/ssc-lookup-form.js +1 -1
  147. package/dist/components/test-drive-form.js +1 -1
  148. package/dist/components/vehicle-accessories.js +1 -1
  149. package/dist/components/vehicle-claimable-items.js +1 -1
  150. package/dist/components/vehicle-item-claim-form.js +1 -1
  151. package/dist/components/vehicle-lookup.js +1 -1
  152. package/dist/components/vehicle-paint-thickness.js +1 -1
  153. package/dist/components/vehicle-quotation-form.js +1 -1
  154. package/dist/components/vehicle-sale-information.js +1 -1
  155. package/dist/components/vehicle-service-history.js +1 -1
  156. package/dist/components/vehicle-specification.js +1 -1
  157. package/dist/components/vehicle-warranty-details.js +1 -1
  158. package/dist/components/vin-extractor.js +1 -1
  159. package/dist/esm/dead-stock-lookup_3.entry.js +6 -6
  160. package/dist/esm/flexible-container.entry.js +1 -1
  161. package/dist/esm/form-checkbox.entry.js +1 -1
  162. package/dist/esm/form-date-picker.entry.js +1 -1
  163. package/dist/esm/form-dialog_13.entry.js +13 -13
  164. package/dist/esm/form-input_7.entry.js +7 -7
  165. package/dist/esm/form-switch.entry.js +1 -1
  166. package/dist/esm/form-time-picker.entry.js +1 -1
  167. package/dist/esm/{functions-Ckt9n3gF.js → functions-Coi-x1k8.js} +1 -1
  168. package/dist/esm/general-form.entry.js +2 -2
  169. package/dist/esm/general-inquiry-form.entry.js +2 -2
  170. package/dist/esm/{get-local-language-CB8Q8rRz.js → get-local-language-J_exDNhp.js} +1 -1
  171. package/dist/esm/{get-mock-files-DJUXZ5o8.js → get-mock-files-B8D0Xmem.js} +1 -1
  172. package/dist/esm/information-table.entry.js +1 -1
  173. package/dist/esm/loader.js +1 -1
  174. package/dist/esm/loading-spinner.entry.js +1 -1
  175. package/dist/esm/manufacturer-part-lookup.entry.js +2 -2
  176. package/dist/esm/part-lookup.entry.js +3 -3
  177. package/dist/esm/service-booking-form.entry.js +2 -2
  178. package/dist/esm/shift-accordion.entry.js +1 -1
  179. package/dist/esm/shift-checkbox.entry.js +1 -1
  180. package/dist/esm/shift-components.js +1 -1
  181. package/dist/esm/shift-switch.entry.js +1 -1
  182. package/dist/esm/shift-tab-content.entry.js +1 -1
  183. package/dist/esm/ssc-lookup-form.entry.js +2 -2
  184. package/dist/esm/test-drive-form.entry.js +2 -2
  185. package/dist/esm/vehicle-accessories_7.entry.js +24 -21
  186. package/dist/esm/{vehicle-info-layout-BLfwnoQD.js → vehicle-info-layout-Cp9U6H1C.js} +2 -1
  187. package/dist/esm/vehicle-lookup.entry.js +12 -5
  188. package/dist/esm/vehicle-quotation-form.entry.js +2 -2
  189. package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +249 -2
  190. package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +18 -16
  191. package/dist/shift-components/p-14c5041b.entry.js +5 -0
  192. package/dist/shift-components/{p-8b212ba3.entry.js → p-2d016be6.entry.js} +1 -1
  193. package/dist/shift-components/{p-2ffe7558.entry.js → p-478b1368.entry.js} +1 -1
  194. package/dist/shift-components/{p-76709443.entry.js → p-486d4868.entry.js} +1 -1
  195. package/dist/shift-components/{p-29fb799d.entry.js → p-4e9e9228.entry.js} +1 -1
  196. package/dist/shift-components/{p-76b87fba.entry.js → p-522337af.entry.js} +1 -1
  197. package/dist/shift-components/{p-1c2eb5dc.entry.js → p-558d16d0.entry.js} +1 -1
  198. package/dist/shift-components/{p-a8718412.entry.js → p-59d74c19.entry.js} +1 -1
  199. package/dist/shift-components/{p-ddf4b39c.entry.js → p-638628d5.entry.js} +1 -1
  200. package/dist/shift-components/{p-2a83b13d.entry.js → p-7fad08ea.entry.js} +1 -1
  201. package/dist/shift-components/p-831ecb7a.entry.js +5 -0
  202. package/dist/shift-components/{p-96ca18ec.entry.js → p-857bb340.entry.js} +1 -1
  203. package/dist/shift-components/p-859bd3a5.entry.js +5 -0
  204. package/dist/shift-components/p-897daf9b.entry.js +5 -0
  205. package/dist/shift-components/{p-Dwto4sJI.js → p-BSxCGCIa.js} +1 -1
  206. package/dist/shift-components/{p-DbfCkL4L.js → p-BpRHX3Vs.js} +1 -1
  207. package/dist/shift-components/{p-DzvZ8FXH.js → p-Cg6TBRwR.js} +1 -1
  208. package/dist/shift-components/{p-BSMLca0I.js → p-_m2lLvBs.js} +1 -1
  209. package/dist/shift-components/{p-bad2d523.entry.js → p-a39c0b14.entry.js} +1 -1
  210. package/dist/shift-components/p-ab7e16fa.entry.js +5 -0
  211. package/dist/shift-components/{p-b4531515.entry.js → p-b9408351.entry.js} +1 -1
  212. package/dist/shift-components/p-be5747c5.entry.js +5 -0
  213. package/dist/shift-components/p-bf23e9fd.entry.js +5 -0
  214. package/dist/shift-components/{p-590ef626.entry.js → p-d1904f4f.entry.js} +1 -1
  215. package/dist/shift-components/{p-ef8106fa.entry.js → p-dc64d90e.entry.js} +1 -1
  216. package/dist/shift-components/{p-9a71c06f.entry.js → p-e01a5deb.entry.js} +1 -1
  217. package/dist/shift-components/p-f4fddba5.entry.js +5 -0
  218. package/dist/shift-components/{p-87349f00.entry.js → p-fc8a50fa.entry.js} +1 -1
  219. package/dist/shift-components/shift-components.esm.js +1 -1
  220. package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +1 -0
  221. package/dist/types/components.d.ts +1 -0
  222. package/dist/types/features/vehicle-info-layout/vehicle-info-layout.d.ts +1 -0
  223. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +1 -0
  224. package/package.json +1 -1
  225. package/dist/components/p-BXOH8Umc.js +0 -5
  226. package/dist/components/p-BjV-c9qI.js +0 -5
  227. package/dist/components/p-CTd4_3Xo.js +0 -5
  228. package/dist/components/p-D0kJaa57.js +0 -5
  229. package/dist/components/p-DHCeZzqD.js +0 -5
  230. package/dist/components/p-DS7ViQIO.js +0 -5
  231. package/dist/components/p-DbLwNQMw.js +0 -5
  232. package/dist/components/p-DiuCYY5n.js +0 -5
  233. package/dist/components/p-DkW17iL1.js +0 -5
  234. package/dist/components/p-oYaClTKX.js +0 -5
  235. package/dist/shift-components/p-0f4ec2cd.entry.js +0 -5
  236. package/dist/shift-components/p-27ecc98a.entry.js +0 -5
  237. package/dist/shift-components/p-34a93f04.entry.js +0 -5
  238. package/dist/shift-components/p-605bbaf1.entry.js +0 -5
  239. package/dist/shift-components/p-6402d172.entry.js +0 -5
  240. package/dist/shift-components/p-8d876994.entry.js +0 -5
  241. package/dist/shift-components/p-a0e32e8a.entry.js +0 -5
  242. package/dist/shift-components/p-d34bcd87.entry.js +0 -5
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- import{p as t,H as e,h as i,a}from"./index.js";import{y as r,c as o,b as n,a as s,s as p}from"./p-YQJevg3-.js";import{g as l,a as d}from"./p-DoNm7J4H.js";import{F as c,g as u}from"./p-BRhGcbkI.js";import{c as m}from"./p-BK16Cn81.js";import{f as b}from"./p-CJnc-a42.js";import{d as f}from"./p-3zK_xUL3.js";import{d as h}from"./p-D-oztFLx.js";import{d as g}from"./p-LGD2nJoY.js";import{d as x}from"./p-DvldTYH-.js";import{d as w}from"./p-DQ2NX4b7.js";import{d as y}from"./p-YiTKBxel.js";import{d as v}from"./p-B2wA1b1b.js";import{d as k}from"./p-BWcr8cXQ.js";const j=r(["info","distributorStock","availability","notAvailable","partiallyAvailable","available","location","description","productGroup","localDescription","dealerPurchasePrice","recommendedRetailPrice","supersededFrom","supersessions","This field is required.","orderType","Part Number","quantity","submit","RequestFailed"]),z=async({})=>[{value:"0",label:"V"},{value:"1",label:"A "}],T=o({orderType:n().meta({label:"Order Type",placeholder:"Order Type"}).required("This field is required."),quantity:s().meta({label:"quantity",placeholder:"quantity"}).required("This field is required.").typeError("This field is required.").min(1,"This field is required."),partNumber:n().meta({label:"Part Number",placeholder:"Part Number"}).required("This field is required.")}),L=t(class extends e{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.locale=Object.assign({sharedLocales:p.getDefault()},j.getDefault()),this.isLoading=!1,this.formSubmit=async t=>{try{if(this.isDev)return await new Promise((t=>setTimeout(t,2e3))),this.manufacturerResponse=.5<Math.random()?.5<Math.random()?{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[]}:{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"UnResolved",manufacturerResult:[]}:{id:"2",message:"",quantity:2,orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[{key:"item 1",value:`${Math.floor(100*Math.random())}`},{key:"item 2",value:"Available"},{key:"item 3",value:`${Math.floor(100*Math.random())}`},{key:"item 4",value:"Not Available"}]},void this.form.reset();const e={logId:this.logId,quantity:+t.quantity,partNumber:t.partNumber,orderType:+t.orderType},i=await b(this.manufacturerPartLookupEndpoint,{language:this.language,body:e,method:"POST"});if(!i.ok)throw new Error(`Request failed with status ${i.status}`);const a=await i.json();this.form.reset(),this.manufacturerResponse=a}catch(t){console.error("❌ Manufacturer Lookup request failed:",t),this.manufacturerResponse={message:this.locale.RequestFailed}}},this.logId="",this.standAlone=!0,this.manufacturerPartLookupTitle="Manufacture lookup",this.form=new c(this,T)}async componentWillLoad(){this.language||(this.language=u()),await Promise.all([this.changeLanguage(this.language)])}async changeLanguage(t){const[e,i]=await Promise.all([l(t),d(t,"partLookup.distributor",j)]);this.locale=Object.assign({sharedLocales:e},i)}render(){var t,e,r,o,n,s,p,l;const{formController:d}=this.form,c=!!(null===(t=null==this?void 0:this.partLookup)||void 0===t?void 0:t.showManufacturerPartLookup)&&!this.closeManufacturerPartLookup||this.standAlone;return i(a,{key:"0f036603dff5899811b48162e0344d6946c8475e",translate:"no"},i("flexible-container",{key:"2a46003f17893430fb3575e00a5683c60032e4ea",isOpened:c},i("div",{key:"2ee897f73a17435c7ecb4f59c030b44a1f5799f4",class:"w-full max-w-[96vw] mx-auto pt-[32px]"},i("div",{key:"46c7b44060cfdacac51e5c5f0dff1dfd3c37c5d6",class:"bg-[#f6f6f6] rounded-md p-[16px]"},i("div",{key:"388fff58b142eb48c3d12d51fe36ca600dcbc0b5",class:"flex items-center mb-[12px] justify-center px-[16px] font-bold text-[18px]"},this.manufacturerPartLookupTitle),i("form",Object.assign({key:"010bbd1acbf35b62577ac97708f3659a3d96ef70",class:"relative manufacturer-form flex flex-col items-center gap-[32px] pt-[8px] pb-[16px]",dir:this.locale.sharedLocales.direction},d),i("div",{key:"b33d8a79c10aa573f608d8b901f94aab9511ecb2",class:"flex gap-2"},i("form-input",{form:this.form,name:"partNumber",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,staticValue:(null===(e=this.partLookup)||void 0===e?void 0:e.partNumber)||void 0}),i("form-input",{inputProps:{type:"number",min:1},name:"quantity",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,form:this.form}),i("form-select",{clearable:!0,form:this.form,name:"orderType",isLoading:this.isLoading,fetcher:z,key:this.locale.sharedLocales.lang,language:this.locale.sharedLocales.language})),i("form-submit",{key:this.locale.sharedLocales.lang,isLoading:this.isLoading,form:this.form})),i("flexible-container",{key:"b4c245b2e3d5953ff9420c5852f586e585c54b76",isOpened:!!this.manufacturerResponse&&!this.isLoading},i("div",{key:"2c83cc980df47ef6a6f42f6b87c35a0ba338cb22",class:"flex flex-col items-center pt-[12px]"},i("div",{key:"b686301eb396fec496141635635a9abc89c06f98",class:m("text-center text-[20px] font-semibold py-[12px]")},!(null===(o=null===(r=this.manufacturerResponse)||void 0===r?void 0:r.manufacturerResult)||void 0===o?void 0:o.length)&&((null===(n=this.manufacturerResponse)||void 0===n?void 0:n.message)||this.locale.RequestFailed),!!(null===(p=null===(s=this.manufacturerResponse)||void 0===s?void 0:s.manufacturerResult)||void 0===p?void 0:p.length)&&i("div",{key:"09124847eddd26cb2b478fbe1bd86a3d78799e1c",class:"bg-white rounded-lg border w-[500px]"},null===(l=this.manufacturerResponse)||void 0===l?void 0:l.manufacturerResult.map((({key:t,value:e})=>i("div",{key:`${t}-${e}`,class:"flex even:bg-slate-100 hover:bg-sky-100/50 border-b w-full text-xl text-center"},i("div",{class:"text-center flex items-center flex-1 max-w-[250px] shrink-0 justify-center py-[10px] px-[16px] border-r"},t),i("div",{class:"text-center flex items-center flex-1 shrink-0 justify-center py-[10px] px-[16px] border-l"},e))))))))))))}get el(){return this}static get watchers(){return{language:["changeLanguage"]}}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.17 | 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:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.static{position:static}.flex{display:flex}.h-\\[200px\\]{height:200px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.text-\\[26px\\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.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)}.flex-col{flex-direction:column}.gap-\\[16px\\]{gap:16px}.p-\\[16px\\]{padding:16px}.pb-\\[16px\\]{padding-bottom:16px}.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)}.mx-auto{margin-left:auto;margin-right:auto}.me-2{margin-inline-end:.5rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\\[32px\\]{margin-top:32px}.inline-flex{display:inline-flex}.h-\\[50px\\]{height:50px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.flex-wrap{flex-wrap:wrap}.items-stretch{align-items:stretch}.gap-\\[8px\\]{gap:8px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.p-\\[2px\\]{padding:2px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\\[green\\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\\[orange\\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\\[red\\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.relative{position:relative}.mb-\\[12px\\]{margin-bottom:12px}.w-\\[500px\\]{width:500px}.max-w-\\[250px\\]{max-width:250px}.max-w-\\[96vw\\]{max-width:96vw}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.gap-2{gap:.5rem}.gap-\\[32px\\]{gap:32px}.rounded-md{border-radius:.375rem}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[12px\\]{padding-bottom:12px}.pt-\\[12px\\],.py-\\[12px\\]{padding-top:12px}.pt-\\[32px\\]{padding-top:32px}.pt-\\[8px\\]{padding-top:8px}.text-center{text-align:center}.text-\\[20px\\]{font-size:20px}.text-xl{font-size:1.25rem;line-height:1.75rem}.even\\:bg-slate-100:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\\:bg-sky-100\\/50:hover{background-color:rgba(224,242,254,.5)}.me-1{margin-inline-end:.25rem}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.resize{resize:both}.overflow-hidden{overflow:hidden}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-0{transition-duration:0s!important}.\\!duration-500{transition-duration:.5s!important}.duration-500{transition-duration:.5s}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\!pointer-events-none{pointer-events:none!important}.absolute{position:absolute}.top-0{top:0}.\\!w-full{width:100%!important}.translate-x-\\[-200\\%\\]{--tw-translate-x:-200%}.translate-x-\\[-200\\%\\],.translate-y-\\[200\\%\\]{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))}.translate-y-\\[200\\%\\]{--tw-translate-y:200%}.opacity-0{opacity:0}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&_\\*\\]\\:\\!pointer-events-none *{pointer-events:none!important}.my-auto{margin-bottom:auto;margin-top:auto}.table{display:table}.grid{display:grid}.size-\\[20px\\]{height:20px;width:20px}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.rotate-180{--tw-rotate:180deg;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))}.cursor-pointer{cursor:pointer}.place-items-center{place-items:center}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-200\\/70{background-color:rgba(226,232,240,.7)}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-\\[8px\\]{padding-left:8px;padding-right:8px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[13px\\]{font-size:13px}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.last\\:border-b-0:last-child{border-bottom-width:0}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-sky-200:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.hover\\:bg-slate-200\\/70:hover{background-color:rgba(226,232,240,.7)}'}},[257,"manufacturer-part-lookup",{language:[1025],isDev:[4,"is-dev"],logId:[1,"log-id"],partLookup:[16,"part-lookup"],standAlone:[4,"stand-alone"],manufacturerPartLookupTitle:[1,"manufacturer-part-lookup-title"],closeManufacturerPartLookup:[4,"close-manufacturer-part-lookup"],manufacturerPartLookupEndpoint:[1,"manufacturer-part-lookup-endpoint"],locale:[32],isLoading:[32],manufacturerResponse:[32]},void 0,{language:["changeLanguage"]}]);function q(){"undefined"!=typeof customElements&&["manufacturer-part-lookup","flexible-container","form-input","form-select","form-shadow-input","form-submit","shift-portal","shift-select","shift-select-dropdown"].forEach((t=>{switch(t){case"manufacturer-part-lookup":customElements.get(t)||customElements.define(t,L);break;case"flexible-container":customElements.get(t)||f();break;case"form-input":customElements.get(t)||h();break;case"form-select":customElements.get(t)||g();break;case"form-shadow-input":customElements.get(t)||x();break;case"form-submit":customElements.get(t)||w();break;case"shift-portal":customElements.get(t)||y();break;case"shift-select":customElements.get(t)||v();break;case"shift-select-dropdown":customElements.get(t)||k()}}))}q();export{L as M,j as a,q as d}