adp-web-components 0.0.28 → 0.0.29

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 (140) hide show
  1. package/dist/cjs/{Loading-df2a9144.js → Loading-6f4f0127.js} +1 -1
  2. package/dist/cjs/dead-stock-lookup.cjs.entry.js +5 -5
  3. package/dist/cjs/distributor-lookup.cjs.entry.js +5 -5
  4. package/dist/cjs/dynamic-claim_6.cjs.entry.js +129 -94
  5. package/dist/cjs/dynamic-redeem.cjs.entry.js +21 -9
  6. package/dist/cjs/form-input.cjs.entry.js +1 -1
  7. package/dist/cjs/general-inquiry-form.cjs.entry.js +1 -1
  8. package/dist/cjs/get-local-language-42973450.js +153 -0
  9. package/dist/cjs/{index-d2dc29e0.js → index-846c93d2.js} +0 -7
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/manufacturer-lookup.cjs.entry.js +5 -5
  12. package/dist/cjs/{partInformation-07651204.js → partInformation-2b4e0593.js} +1 -1
  13. package/dist/cjs/shift-components.cjs.js +2 -2
  14. package/dist/cjs/vehicle-lookup.cjs.entry.js +6 -5
  15. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  16. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  17. package/dist/collection/components/part-lookup/manufacturer-lookup.js +2 -2
  18. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +3 -2
  19. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +3 -2
  20. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  21. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -1
  22. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +53 -13
  23. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -1
  24. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +49 -10
  25. package/dist/collection/components/vehicle-lookup/paint-thickness.js +47 -8
  26. package/dist/collection/components/vehicle-lookup/service-history.js +42 -3
  27. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +48 -9
  28. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +44 -19
  29. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +42 -3
  30. package/dist/collection/components/vehicle-lookup/warranty-details.js +13 -13
  31. package/dist/collection/global/api/partInformation.js +1 -1
  32. package/dist/collection/global/api/vehicleInformation.js +2 -2
  33. package/dist/collection/global/lib/get-local-language.js +19 -0
  34. package/dist/collection/global/types/locales/error-schema.js +9 -0
  35. package/dist/collection/global/types/locales/index.js +22 -0
  36. package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +13 -0
  37. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +21 -0
  38. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +28 -0
  39. package/dist/collection/global/types/locales/vehicle-lookup/index.js +21 -0
  40. package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +14 -0
  41. package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +15 -0
  42. package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +14 -0
  43. package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +23 -0
  44. package/dist/components/dead-stock-lookup.js +1 -1
  45. package/dist/components/distributor-lookup.js +1 -1
  46. package/dist/components/dynamic-claim.js +1 -1
  47. package/dist/components/dynamic-redeem.js +1 -1
  48. package/dist/components/manufacturer-lookup.js +1 -1
  49. package/dist/components/p-0ae60f32.js +5 -0
  50. package/dist/components/p-1a626dfd.js +5 -0
  51. package/dist/components/{p-c2815a66.js → p-1d80419b.js} +1 -1
  52. package/dist/components/p-1ea3089a.js +5 -0
  53. package/dist/components/p-2e747eb3.js +5 -0
  54. package/dist/components/p-4f99745c.js +5 -0
  55. package/dist/components/{p-c4fad245.js → p-609c2470.js} +1 -1
  56. package/dist/components/p-6c064413.js +5 -0
  57. package/dist/components/p-7360f9b1.js +5 -0
  58. package/dist/components/p-79ea7639.js +5 -0
  59. package/dist/components/p-a21e2e2e.js +5 -0
  60. package/dist/components/p-eb89583a.js +5 -0
  61. package/dist/components/p-f691e103.js +5 -0
  62. package/dist/components/paint-thickness.js +1 -1
  63. package/dist/components/service-history.js +1 -1
  64. package/dist/components/vehicle-accessories.js +1 -1
  65. package/dist/components/vehicle-lookup.js +1 -1
  66. package/dist/components/vehicle-specification.js +1 -1
  67. package/dist/components/warranty-details.js +1 -1
  68. package/dist/esm/{Loading-3a10eb05.js → Loading-f4d666ee.js} +1 -1
  69. package/dist/esm/dead-stock-lookup.entry.js +5 -5
  70. package/dist/esm/distributor-lookup.entry.js +5 -5
  71. package/dist/esm/dynamic-claim_6.entry.js +127 -92
  72. package/dist/esm/dynamic-redeem.entry.js +21 -9
  73. package/dist/esm/form-input.entry.js +1 -1
  74. package/dist/esm/general-inquiry-form.entry.js +1 -1
  75. package/dist/esm/get-local-language-85ed0b3b.js +150 -0
  76. package/dist/esm/{index-c3d67367.js → index-33ae6859.js} +1 -7
  77. package/dist/esm/loader.js +3 -3
  78. package/dist/esm/manufacturer-lookup.entry.js +5 -5
  79. package/dist/esm/{partInformation-096a8f55.js → partInformation-f40b1fe6.js} +1 -1
  80. package/dist/esm/shift-components.js +3 -3
  81. package/dist/esm/vehicle-lookup.entry.js +6 -5
  82. package/dist/locales/ar.json +101 -1
  83. package/dist/locales/en.json +101 -1
  84. package/dist/locales/ku.json +101 -1
  85. package/dist/shift-components/p-062cd94b.entry.js +5 -0
  86. package/dist/shift-components/p-0e0b69a1.entry.js +5 -0
  87. package/dist/shift-components/p-0f0e54c1.js +6 -0
  88. package/dist/shift-components/p-10aae582.entry.js +5 -0
  89. package/dist/shift-components/p-1de8531d.entry.js +5 -0
  90. package/dist/shift-components/p-2e747eb3.js +5 -0
  91. package/dist/shift-components/{p-02ec4905.entry.js → p-496a721b.entry.js} +1 -1
  92. package/dist/shift-components/{p-0394e29f.entry.js → p-832fd942.entry.js} +1 -1
  93. package/dist/shift-components/p-9120c049.entry.js +5 -0
  94. package/dist/shift-components/{p-89d232e9.js → p-99d314b5.js} +1 -1
  95. package/dist/shift-components/p-c4efbdc3.js +5 -0
  96. package/dist/shift-components/p-d49f73db.entry.js +5 -0
  97. package/dist/shift-components/shift-components.esm.js +1 -1
  98. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +3 -1
  99. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +3 -1
  100. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +3 -1
  101. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +10 -5
  102. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +10 -5
  103. package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +6 -1
  104. package/dist/types/components/vehicle-lookup/service-history.d.ts +6 -1
  105. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -1
  106. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +5 -3
  107. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -1
  108. package/dist/types/components/vehicle-lookup/warranty-details.d.ts +4 -4
  109. package/dist/types/components.d.ts +16 -2
  110. package/dist/types/global/lib/get-local-language.d.ts +2 -0
  111. package/dist/types/global/types/locales/error-schema.d.ts +7 -0
  112. package/dist/types/global/types/locales/index.d.ts +220 -0
  113. package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +15 -0
  114. package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +31 -0
  115. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +45 -0
  116. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +189 -0
  117. package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +17 -0
  118. package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +19 -0
  119. package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +17 -0
  120. package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +35 -0
  121. package/package.json +1 -1
  122. package/dist/collection/global/types/locale-schema.js +0 -30
  123. package/dist/components/p-0be9e62f.js +0 -5
  124. package/dist/components/p-0e4c747d.js +0 -5
  125. package/dist/components/p-4f08bcb8.js +0 -5
  126. package/dist/components/p-5f03cbe9.js +0 -5
  127. package/dist/components/p-719499ff.js +0 -5
  128. package/dist/components/p-7aec104e.js +0 -5
  129. package/dist/components/p-a3d447f9.js +0 -5
  130. package/dist/components/p-d07331eb.js +0 -5
  131. package/dist/components/p-ec05b4cd.js +0 -5
  132. package/dist/shift-components/p-1265a8ec.entry.js +0 -5
  133. package/dist/shift-components/p-1f46b4d0.entry.js +0 -5
  134. package/dist/shift-components/p-4f08bcb8.js +0 -5
  135. package/dist/shift-components/p-7a17c535.entry.js +0 -5
  136. package/dist/shift-components/p-9d6b2cfb.entry.js +0 -5
  137. package/dist/shift-components/p-bf83fa95.entry.js +0 -5
  138. package/dist/shift-components/p-d0683e92.entry.js +0 -5
  139. package/dist/shift-components/p-dbaab71c.js +0 -6
  140. package/dist/types/global/types/locale-schema.d.ts +0 -21
@@ -6,10 +6,12 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
9
+ const index = require('./index-846c93d2.js');
10
10
  const cn = require('./cn-f559f9e5.js');
11
+ const getLocalLanguage = require('./get-local-language-42973450.js');
12
+ require('./index.esm-c628daeb.js');
11
13
 
12
- const dynamicRedeemCss = "*,: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}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.transform{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))}.border{border-width:1px}.outline{outline-style:solid}.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)}:host{all:initial!important;display:block}*{box-sizing:content-box;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .qr-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;width:100%}.dynamic-claim-processor-info-box{background:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:center;text-align:left}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:\"\";display:inline-block;height:20px;margin-right:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z\"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.static{position:static}.w-full{width:100%}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/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)}.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}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.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)}.m-\\[3px\\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}.pl-10{padding-left:2.5rem}";
14
+ const dynamicRedeemCss = "*,: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}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.transform{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))}.border{border-width:1px}.outline{outline-style:solid}.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)}:host{all:initial!important;display:block}*{box-sizing:content-box;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .qr-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;width:100%}.dynamic-claim-processor-info-box{background:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:start}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:\"\";display:inline-block;height:20px;margin-inline-end:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z\"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.warning-ul{padding-inline-start:2.5rem}.static{position:static}.w-full{width:100%}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/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)}.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}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.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)}.m-\\[3px\\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}";
13
15
  const DynamicRedeemStyle0 = dynamicRedeemCss;
14
16
 
15
17
  const DynamicRedeem = class {
@@ -47,18 +49,26 @@ const DynamicRedeem = class {
47
49
  };
48
50
  this.vin = '';
49
51
  this.item = null;
52
+ this.language = 'en';
50
53
  this.canceledItems = null;
51
54
  this.unInvoicedByBrokerName = null;
52
55
  this.handleScanner = undefined;
53
56
  this.handleQrChanges = undefined;
54
- this.confirmServiceCancellation = false;
55
- this.confirmUnInvoicedTBPVehicles = false;
57
+ this.loadingStateChange = undefined;
58
+ this.locale = getLocalLanguage.localeSchema.getDefault();
59
+ this.isLoading = false;
56
60
  this.internalVin = '';
57
61
  this.isOpened = false;
58
62
  this.internalItem = null;
63
+ this.confirmServiceCancellation = false;
59
64
  this.internalCanceledItem = null;
60
- this.isLoading = false;
61
- this.loadingStateChange = undefined;
65
+ this.confirmUnInvoicedTBPVehicles = false;
66
+ }
67
+ async componentWillLoad() {
68
+ await this.changeLanguage(this.language);
69
+ }
70
+ async changeLanguage(newLanguage) {
71
+ this.locale = await getLocalLanguage.getLocaleLanguage(newLanguage);
62
72
  }
63
73
  onIsLoadingChange(newValue) {
64
74
  if (this.loadingStateChange)
@@ -122,17 +132,19 @@ const DynamicRedeem = class {
122
132
  }
123
133
  render() {
124
134
  var _a, _b, _c, _d, _e;
135
+ const texts = this.locale.vehicleLookup.dynamicRedeem;
125
136
  const disableInput = !this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles;
126
137
  if (!disableInput)
127
138
  this.focusInput();
128
- return (index.h(index.Host, { key: '7ea18e4fadefc9890b6346a56c29a2057ff4dae5' }, index.h("div", { key: 'facbf1dcacb0f5bf7ced03c1d71173144c8a4e60', class: cn.cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, index.h("svg", { key: 'efab69b4fd0fc8bda536a4a723a8db6e445fdb2a', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: 'd0a0ac68fcd60f48d4300a174990b122dd9868fb', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), index.h("g", { key: 'eca5bf7b0719fc86ac0f886e90260463624b07b9', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("g", { key: 'f34e7075df7ba0fa672831e0de3ba9d024633982', id: "SVGRepo_iconCarrier" }, index.h("path", { key: 'c24ef4a14d9ecc07e29b9196fc8f13caf9c9bf7c', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { key: '2be1d7b1a861a3ffc7dbe158f4791719b1cd8d72', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: 'b9a4abea36a13d0e796ce95e89bd2bccfe6d47b0', class: "dynamic-claim-processor-wrapper" }, index.h("div", { key: '720c7b9b1de4b22fd0928d6b5eb79a38193c8468', class: "dynamic-claim-processor-info-box" }, index.h("div", { key: 'cb5e4a0b8596c5c782aafb78228e31728c6f1a55', class: "dynamic-claim-processor-info-box-header" }, index.h("strong", { key: '62a593462b321dcea73c093e415d0dbd8b9d6bd5', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), index.h("div", { key: '1a5ff709581b8f18971379f30314fe835a31eb3b', class: "dynamic-claim-processor-info-box-body" }, index.h("table", { key: '6d61ff99ccba84dc53b59b8564c4ad035b95372b', class: "border-separate" }, index.h("tr", { key: '990674c386c2d9cec2f5122caa0b09ef96a44523' }, index.h("th", { key: '1002adc8b12ddeea1e8032f1da12b5af21c83e8b' }, "Service Type"), index.h("td", { key: '89b9426749a50067df55db904e78fc6521e2e09e' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), index.h("th", { key: '4f74393f4ee9f5a367cbef81aadcbbf61c690a0d' }, "Name"), index.h("td", { key: 'c789f80b5aeefd3e979d16e7a0f4ea2fdce93ed1' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), index.h("tr", { key: 'b54cd591800861e59da162b88b6a244b379bacd6' }, index.h("th", { key: 'a434d8772d60bff1f576163c2858b93ae03fce46' }, "Activation Date"), index.h("td", { key: '5e8650d609cc9c8c2b3d0331ba3bf864be344e38' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), index.h("th", { key: '981e8ae49a3ac15f4a9541f014f2f20ae619d87d' }, "Expiry Date"), index.h("td", { key: '1b75bce9817ca071211029622e6315ff6c95363a' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), index.h("tr", { key: '7b92c9d3f1cde8bfe98315bde7e0b7954d341cb7' }, index.h("th", { key: '624e7be8fcd535a702e1ec182224fdd1cb129d36' }, "Menu Code"), index.h("td", { key: '24ee026cc9cfb1700d0842a12e30cbf56fa57608' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.menuCode))))), index.h("div", { key: '76c5666102384f3d11d0c584ee5c101d9e6888a2', style: { flex: '1', width: '100%', display: 'flex', flexDirection: 'column', justifyContent: 'space-evenly' } }, (this === null || this === void 0 ? void 0 : this.internalCanceledItem) && Array.isArray(this.internalCanceledItem) && !!this.internalCanceledItem.length && (index.h("div", { key: '1ca55d23fe8e2bfc4102532df847e4ddda998acc', class: "admonition warning" }, index.h("p", { key: '7851d8d8b29cec199ee0466aa6963323ac245d1d', class: "admonition-title" }, "Warning"), index.h("div", { key: '086e2d19996bb9cec86fbc1c3a6d508cb2d87b1a', style: { padding: '0 30px' } }, index.h("p", { key: '3645a5f3a7caa44370a9ca68e2fd7771490eb66f', class: "my-4" }, "the following Services Are still 'Pending' and they will be marked as 'Cancelled'"), index.h("ul", { key: '3184c6806f652ff1e18f5060fc7c529f52e42644', class: "dynamic-claim-processor-to-be-cancelled-list my-4 pl-10 list-disc" }, this.internalCanceledItem.map(({ name }) => (index.h("li", { id: name }, name)))), index.h("div", { key: 'b16e20211bbdf3655d2b6baba0479024aef04c86', class: "cancel-confirmation-box" }, index.h("label", { key: '6107738c56955193fe9ff0b20d9d13a1d63359a4' }, index.h("input", { key: '6487d57080dfe0fdc6330a2100a10451a5db417c', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
139
+ return (index.h(index.Host, { key: 'ca899101a9c26450da9eb84acfe90b3114ca4231' }, index.h("div", { key: 'a33432f3509fd5ef9449fbe93f23ddd61a6d211e', dir: this.locale.direction, class: cn.cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, index.h("svg", { key: '45e3c9aaf9c589029b2db94c2d031d1d5ae09a0f', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '3a48e6bad7078bf54b5667d4192827bf3bc9ddcd', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), index.h("g", { key: '788ff371aceb85e226322cf51cd853050a257289', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("g", { key: '0da1a53cbb4f609d5429fd9137ec558dcab153d4', id: "SVGRepo_iconCarrier" }, index.h("path", { key: '10396b01c5539a7483b289821580bb7745d6fdb8', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { key: 'd73959366cef77e85ccf49216694ef5b27cddaa5', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: 'e8db86988b6cc6710b31aba19773fcea9da28ec9', class: "dynamic-claim-processor-wrapper" }, index.h("div", { key: '82173bff656657c1677fe929715b0f8e9f2f857e', class: "dynamic-claim-processor-info-box" }, index.h("div", { key: '59934f9a2f741fc1510cd01224a28f40c6a05fd3', class: "dynamic-claim-processor-info-box-header" }, index.h("strong", { key: '64e9771e906e66c257b8306a7c47285a7c844960', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), index.h("div", { key: '1bc32deaab3847d8df2bf0e113e5d9321a9f835d', class: "dynamic-claim-processor-info-box-body" }, index.h("table", { key: '0b56a7503ed3a606b6eb23f95ae62816a0080907', class: "border-separate" }, index.h("tr", { key: '28f08134af987b8ae5418cb9fd6b6fba0caecd36' }, index.h("th", { key: '9edb864c1ef54e4a4419e9f44e6fce4075c9dc36' }, texts.serviceType), index.h("td", { key: 'ea4a2a24f61ab833b81c1e6ce45a05cd19bc9e1b' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), index.h("th", { key: 'a893fb313b6d3f0eb8e975007b7721f6a52920f9' }, texts.name), index.h("td", { key: '10af8d9ec964866400645349a94f5d40d1f3d525' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), index.h("tr", { key: '10efd3c9c8f8ebb71f12f8cc086aee5850c8eaad' }, index.h("th", { key: 'fbea772cc1ff6924c2e13fededaf8479eeacf938' }, texts.activationDate), index.h("td", { key: '6eadf045b3c6cc384e29e4c21a17e27b48d19f83' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), index.h("th", { key: 'f38c16928cb337f2adb8119d13bb2b2f725c8235' }, texts.expireDate), index.h("td", { key: '04d214b1f4cc5f1d22976292743ade4de3796ac9' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), index.h("tr", { key: '938f2eaa651c12b69803546d4534155d81c97da7' }, index.h("th", { key: 'd3c5a821fdf2a0bc291f0f005eca0b58777f8dac' }, texts.menuCode), index.h("td", { key: '3de2547f3d28c901c64a63ecf8ee541efabe59a2' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.menuCode))))), index.h("div", { key: 'bd2990561d7e1ad281d2c14bad7edb0bfa3a158e', style: { flex: '1', width: '100%', display: 'flex', flexDirection: 'column', justifyContent: 'space-evenly' } }, (this === null || this === void 0 ? void 0 : this.internalCanceledItem) && Array.isArray(this.internalCanceledItem) && !!this.internalCanceledItem.length && (index.h("div", { key: '69c251119797182331bedb511d7ce505ef730440', class: "admonition warning" }, index.h("p", { key: '68d9ea5d07d3de1d680e59338da725be62ad8b59', class: "admonition-title" }, texts.warning), index.h("div", { key: 'c15d908ea237cb8b9af8d0b1b931a39caa870097', style: { padding: '0 30px' } }, index.h("p", { key: '2fc875649be681ac73ce08df73d164d0c82e071c', class: "my-4" }, texts.skipServicesWarning), index.h("ul", { key: '8ae88d36ce35e36b0875bb05470a5552c3d6d211', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (index.h("li", { id: name }, name)))), index.h("div", { key: 'f62f9d6234d364e92590710b1166b0534b811c47', class: "cancel-confirmation-box" }, index.h("label", { key: '685032c42428dc2e4e43b3afccde7a4a192d4de6' }, index.h("input", { key: '73c84800ef65e6c4fd8cac4a7b5497d32742a805', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
129
140
  this.confirmServiceCancellation = !this.confirmServiceCancellation;
130
- } }), ' ', "Confirm Marking the above services as 'Cancelled'"))))), this.unInvoicedByBrokerName && (index.h("div", { key: 'da07af777aa9bb41a431a937784c973e90ca2fc4', class: "admonition warning" }, index.h("p", { key: '94f42d9732ab343fd81dc5ba5c67570ee5a503be', class: "admonition-title" }, "Warning"), index.h("div", { key: '03add06584426d108d3a7827ffefde6905cea542', style: { padding: '0 30px' } }, index.h("p", { key: 'faa3390b9483ffcf1813cb98d0c6b30d6116562e', class: "my-4" }, "This Vehicle is not yet invoiced by the following Trusted Business Partner:"), index.h("div", { key: '11d799db5ac38c1400fbe6d144f9f7279d61c22b' }, index.h("strong", { key: '9a22678bc79691244974f316d7fc8a197583f905' }, this.unInvoicedByBrokerName)), index.h("div", { key: 'a13f1c55bf8c3bed0ba5a76ef787ea93c39c375e', class: "cancel-confirmation-box" }, index.h("label", { key: '9ae25e9d5dbfa9f1b1390bf8c22d3f67d2c89209' }, index.h("input", { key: '719b0152957d6d4e6dffbfdc1ce4ef8796c53f88', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
141
+ } }), texts.confirmSkipServices))))), this.unInvoicedByBrokerName && (index.h("div", { key: '3e606c5d3d9aa9a9f1e94dc49d1cdaadea8c4676', class: "admonition warning" }, index.h("p", { key: 'f8691d691a2a7bd45e49ccfef3a03c42ff0b5f4d', class: "admonition-title" }, texts.warning), index.h("div", { key: '4dd487f09a0f5047d035c258479a0f9cc8fbb166', style: { padding: '0 30px' } }, index.h("p", { key: 'e7898c98ab73dd532364c62c4c7c10ca1a4b9079', class: "my-4" }, texts.notInvoiced), index.h("div", { key: '4db96f227355163dc8380a06f7264c06b7410379' }, index.h("strong", { key: 'acf1bcf8096eceeda7691b2813a2f0ae8f2e71e0' }, this.unInvoicedByBrokerName)), index.h("div", { key: 'cd56d2feecf74a3417ea7585632d0ad2d8ff22f6', class: "cancel-confirmation-box" }, index.h("label", { key: '8793465d1df55623853f7c62c53e7f79303bf031' }, index.h("input", { key: '0169c6a108ac54959ab67e83451766659410bc34', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
131
142
  this.confirmUnInvoicedTBPVehicles = !this.confirmUnInvoicedTBPVehicles;
132
- } }), ' ', "Confirm Claiming without Trusted Business Partner Invoice"))))), index.h("div", { key: '951942abe6995ed155f2d9800bb572e8a19c4068', class: cn.cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, index.h("div", { key: '997c6a843683801155f88e8d8c64318e1f87f5ca', id: "scan-invoice-step", class: cn.cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, index.h("div", { key: 'ecaea7fa9458d6800f97f289723b3609b0b7b728', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, index.h("div", { key: '7e6454f31cb82c63a4bbb10a8b7dc1be6d7fac6b', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, index.h("svg", { key: '333521e33e644e25d3e1f28949fab5f2a6c0e5b0', fill: "#3071a9", height: "100px", width: "100px", version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", stroke: "#ffffff" }, index.h("g", { key: '95eaad08a062318e9f9db4317b96306b86642139', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), index.h("g", { key: 'f78e536c8cc0d32a16a0424cc7f098d73286b479', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("g", { key: 'b65a4b29d75d883532f86634d9bd531f09cf7ead', id: "SVGRepo_iconCarrier" }, index.h("g", { key: 'd9410f0ce81c453360349412cf2f8b62f762ba11' }, index.h("g", { key: 'c7c64f4dc942e2de8fb851e6bdcf45022e672510' }, index.h("path", { key: '4f4b628c4255d179519e2b953e59a17c6a924c1a', d: "M354.338,34.205h-61.71c-3.354-9.93-12.752-17.102-23.8-17.102h-17.547C243.359,6.451,230.813,0,217.521,0 s-25.839,6.451-33.76,17.102h-17.547c-11.048,0-20.446,7.172-23.8,17.102H80.701c-18.566,0-33.67,15.105-33.67,33.67v359.148 c0,18.566,15.105,33.67,33.67,33.67h171.023c4.427,0,8.017-3.589,8.017-8.017c0-4.427-3.589-8.017-8.017-8.017H80.701 c-9.725,0-17.637-7.912-17.637-17.637V67.875c0-9.725,7.912-17.637,17.637-17.637h60.394v26.188c0,4.427,3.589,8.017,8.017,8.017 H285.93c4.427,0,8.017-3.589,8.017-8.017V50.238h60.391c9.725,0,17.637,7.912,17.637,17.637v230.881 c0,4.427,3.589,8.017,8.017,8.017c4.427,0,8.017-3.589,8.017-8.017V67.875C388.008,49.309,372.904,34.205,354.338,34.205z M277.914,68.409H157.129V42.252c0-0.011,0.001-0.02,0.001-0.031c0-0.005-0.001-0.011-0.001-0.015 c0.009-5.004,4.08-9.071,9.085-9.071h21.846c2.854,0,5.493-1.517,6.929-3.985c4.781-8.213,13.204-13.117,22.532-13.117 s17.751,4.904,22.532,13.117c1.435,2.467,4.075,3.985,6.929,3.985h21.846c4.999,0,9.067,4.059,9.085,9.055 c0,0.011-0.001,0.02-0.001,0.031c0,0.021,0.003,0.041,0.003,0.062V68.409z" }))), index.h("g", { key: 'd8dfaa272dc038f9a409a07f20a376872e2c49d6' }, index.h("g", { key: '92a785053a4a484d4cfa3dcba2d6501f4d95bd63' }, index.h("path", { key: '98f1da5fa072e2208f083f8bf6780e6dea4608e6', d: "M251.722,410.455H97.269V84.443h17.64c4.427,0,8.017-3.589,8.017-8.017s-3.589-8.017-8.017-8.017H89.253 c-4.427,0-8.017,3.589-8.017,8.017v342.046c0,4.427,3.589,8.017,8.017,8.017h162.47c4.427,0,8.017-3.589,8.017-8.017 C259.739,414.044,256.15,410.455,251.722,410.455z" }))), index.h("g", { key: 'f3dca4bd971490fedd8a3b12046ef4bc0920215e' }, index.h("g", { key: '0218794dd99ca2f80f474ff0c9e1371a14011a54' }, index.h("path", { key: '5664c682ebf85609e55fb91ae9150ec0b790282d', d: "M345.787,68.409h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.637v214.311 c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017V76.426C353.804,71.999,350.214,68.409,345.787,68.409z" }))), index.h("g", { key: '0ff24162a3500fcfbe933af6b7954fc1a7c4116d' }, index.h("g", { key: '780cb9811d541c8a662f7e6328a0caeb294b23e1' }, index.h("path", { key: '8144a520d72cdcbe909f81abee08e811b112a793', d: "M371.44,324.944c-51.572,0-93.528,41.956-93.528,93.528S319.869,512,371.44,512s93.528-41.956,93.528-93.528 S423.012,324.944,371.44,324.944z M371.44,495.967c-42.731,0-77.495-34.764-77.495-77.495s34.764-77.495,77.495-77.495 s77.495,34.764,77.495,77.495S414.172,495.967,371.44,495.967z" }))), index.h("g", { key: '3b908924f2df6e7025a3913c7998a1a13290a6b9' }, index.h("g", { key: 'efa92cfff7cf13fbba841173d6f24a3632d56c40' }, index.h("path", { key: '11b0a430b9558b213e2c018245d199a7b4f71a26', d: "M217.607,34.205h-0.086c-4.427,0-7.974,3.589-7.974,8.017c0,4.427,3.631,8.017,8.059,8.017 c4.427,0,8.017-3.589,8.017-8.017C225.624,37.794,222.035,34.205,217.607,34.205z" }))), index.h("g", { key: 'b4701864f89c78d3b34ad264058f90ffb355a57d' }, index.h("g", { key: '112007561eda64334264db3140b2b9d1a171ae05' }, index.h("path", { key: 'bdc48e97205b19f455f2567a1e21ef2791f082f8', d: "M419.865,387.15c-3.13-3.131-8.207-3.131-11.337,0l-54.19,54.19l-28.536-28.536c-3.131-3.131-8.207-3.131-11.337,0 c-3.131,3.131-3.131,8.207,0,11.337l34.205,34.205c1.565,1.565,3.617,2.348,5.668,2.348s4.103-0.782,5.668-2.348l59.858-59.858 C422.995,395.356,422.995,390.28,419.865,387.15z" }))), index.h("g", { key: 'cc19dded6610b3c38df00eb86690ef5da6646311' }, index.h("g", { key: '38f73ff945164d99ba4ca5572eea6e3da41ab83e' }, index.h("path", { key: '31f531ce112abddd9155c612347a550133dccbbe', d: "M182.781,177.309v-32.338c11.295,1.934,18.171,7.688,18.171,11.889c0,4.427,3.589,8.017,8.017,8.017 s8.017-3.589,8.017-8.017c0-14.171-14.492-25.621-34.205-28.092v-1.036c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 v1.036c-19.713,2.47-34.205,13.92-34.205,28.092c0,20.074,18.829,27.788,34.205,32.461v32.338 c-11.295-1.934-18.171-7.688-18.171-11.889c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 c0,14.171,14.492,25.621,34.205,28.092v1.036c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-1.036 c19.713-2.47,34.205-13.92,34.205-28.092C216.985,189.697,198.157,181.982,182.781,177.309z M166.747,172.411 c-13.524-4.713-18.171-8.963-18.171-15.551c0-2.535,2.236-5.335,6.134-7.68c3.294-1.982,7.473-3.415,12.037-4.198V172.411z M194.818,217.45c-3.294,1.982-7.473,3.415-12.037,4.198v-27.429c13.524,4.713,18.171,8.963,18.171,15.551 C200.952,212.306,198.716,215.105,194.818,217.45z" }))), index.h("g", { key: 'a11875702a3fc98e0acfbbcb4af12eb4493af258' }, index.h("g", { key: '10d753a00196f287b6afc85869870c8a762b8015' }, index.h("path", { key: 'c095ad4acfeaaea83205afdb5c3c482ec9d772ac', d: "M294.48,136.818h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,136.818,294.48,136.818z" }))), index.h("g", { key: 'd4445fed4d88d0442843a878bcac6e69fe9b74d3' }, index.h("g", { key: '64d604d7670df1e7508bcde262d4077504081522' }, index.h("path", { key: 'e96d7331677e226f88e751233077a4c272acde8f', d: "M277.378,171.023h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h25.653 c4.427,0,8.017-3.589,8.017-8.017S281.805,171.023,277.378,171.023z" }))), index.h("g", { key: 'ed7b2e50d6ba9a1300d6acf05043f3fa0181703c' }, index.h("g", { key: 'e25d13f88c01cf40a2d6986d8a7c91f9cbdf880f' }, index.h("path", { key: '4a62c6e4880d9554a88d2dcf2b9da4c72f91ad61', d: "M294.48,205.228h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,205.228,294.48,205.228z" }))), index.h("g", { key: '9031c38f7ad634a20d16d46bee109910605ada47' }, index.h("g", { key: '9151c7dea666703b37d470f11c4a27790da99bca' }, index.h("path", { key: 'b36cf4ac3fad4be56317a2605be087a46212d9bb', d: "M157.662,282.188H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,282.188,157.662,282.188z" }))), index.h("g", { key: '6ce2c120f503b02241a11803ee643df17be742bf' }, index.h("g", { key: '5342f6b2940cb61841045992b398410344cbe771' }, index.h("path", { key: '6a11df9eea892fbb3fa4540e63745d2e65644e7f', d: "M157.662,350.597H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,350.597,157.662,350.597z" }))), index.h("g", { key: '9bd5c72fc4972da0eb431165939082b6b9918320' }, index.h("g", { key: '01f2799a580fa6ff6837f24c0c45841b0ae80133' }, index.h("path", { key: '281da0da97a271db4c8e1439ed889fdab1e41e89', d: "M157.662,316.393H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,316.393,157.662,316.393z" }))), index.h("g", { key: 'eeab8100ba66288719c9bd25daf4dccddca387ef' }, index.h("g", { key: '1502a6ebd3c6fbe19a033e68ca784230313ecd2e' }, index.h("path", { key: '15f0c1e838090236060dbc44c88ff80b4a5be707', d: "M294.48,282.188H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,282.188,294.48,282.188z" }))), index.h("g", { key: '670e313fe53a0daf241bccc62713f98e13a0eaea' }, index.h("g", { key: 'db5b79634178045e411db9e17e98c3f1705422f3' }, index.h("path", { key: '3e0cf63bb723b972a46ac206657425e5c5f03228', d: "M268.827,350.597h-76.96c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h76.96 c4.427,0,8.017-3.589,8.017-8.017S273.254,350.597,268.827,350.597z" }))), index.h("g", { key: 'b24cb217593c420ad1ac7e387e803582b0690a0f' }, index.h("g", { key: 'cf67f96250fddb8c8392701dba0d4867d2d551a5' }, index.h("path", { key: 'b7e3b2da13a756848cf0b951fbf0b8a79d78efba', d: "M294.48,316.393H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,316.393,294.48,316.393z" }))))), index.h("div", { key: '08e454bab5a674a9ace140604e6f6defe3a057df' }, "Scan the Invoice")), index.h("div", { key: '173d145e54f7b549428fc380acc545fc9a427fd6', style: { position: 'absolute' }, class: "loading-wrapper" }, index.h("div", { key: 'c799a9adecb8bcadc046109048de438125b6f90d', class: cn.cn('lds-ripple', this.isLoading && 'active') }, index.h("div", { key: '46c014c57c7b7aaf6f91cf6987f0aa8c16689b42' }), index.h("div", { key: 'a85c595f48215b5f400c6f69dd84447649c2c693' })), index.h("div", { key: 'b74cb5e6630b1b4abdee266fc1341392da488ecb', class: cn.cn('lds-ripple-loading', this.isLoading && 'active') }, "Processing ..."))), index.h("input", { key: '39add573de99d4e402f1d0fa887ad5755cbcf1d1', class: "qr-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.qrCodeKeyDown, onBlur: () => this.input.focus(), autocomplete: "off", disabled: disableInput, placeholder: "", autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))))))));
143
+ } }), texts.confirmNotInvoiced))))), index.h("div", { key: 'b74163dfd1bfada8535f135985d8ce0c9f154670', class: cn.cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, index.h("div", { key: '34f790b72367dc01f3ffd27ab942f8047fcdf3cf', id: "scan-invoice-step", class: cn.cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, index.h("div", { key: '446982f39168194a9a56fc86c7c7dd839c667e94', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, index.h("div", { key: '8c28eafc04adb0c3943dd736f652ea159658367c', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, index.h("svg", { key: 'a7a98fc85906a57c709da365fc4efd9f982282f4', fill: "#3071a9", height: "100px", width: "100px", version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", stroke: "#ffffff" }, index.h("g", { key: 'f9cbfec564f6682f34a689425f227bec41e082b7', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), index.h("g", { key: '66c0e1bdafaf1eb0247a30ac1f3a7109f47a168b', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("g", { key: '6cc2cc96df5207295619dc1307c2de966a48b59d', id: "SVGRepo_iconCarrier" }, index.h("g", { key: 'afedc5c6465fcff9f48345291bfb4318a905c013' }, index.h("g", { key: 'c34bdf5648f76b07e87444cb641a574868c9a327' }, index.h("path", { key: '4c884464ed129d08e9e55e310f95c02c14e3f6b9', d: "M354.338,34.205h-61.71c-3.354-9.93-12.752-17.102-23.8-17.102h-17.547C243.359,6.451,230.813,0,217.521,0 s-25.839,6.451-33.76,17.102h-17.547c-11.048,0-20.446,7.172-23.8,17.102H80.701c-18.566,0-33.67,15.105-33.67,33.67v359.148 c0,18.566,15.105,33.67,33.67,33.67h171.023c4.427,0,8.017-3.589,8.017-8.017c0-4.427-3.589-8.017-8.017-8.017H80.701 c-9.725,0-17.637-7.912-17.637-17.637V67.875c0-9.725,7.912-17.637,17.637-17.637h60.394v26.188c0,4.427,3.589,8.017,8.017,8.017 H285.93c4.427,0,8.017-3.589,8.017-8.017V50.238h60.391c9.725,0,17.637,7.912,17.637,17.637v230.881 c0,4.427,3.589,8.017,8.017,8.017c4.427,0,8.017-3.589,8.017-8.017V67.875C388.008,49.309,372.904,34.205,354.338,34.205z M277.914,68.409H157.129V42.252c0-0.011,0.001-0.02,0.001-0.031c0-0.005-0.001-0.011-0.001-0.015 c0.009-5.004,4.08-9.071,9.085-9.071h21.846c2.854,0,5.493-1.517,6.929-3.985c4.781-8.213,13.204-13.117,22.532-13.117 s17.751,4.904,22.532,13.117c1.435,2.467,4.075,3.985,6.929,3.985h21.846c4.999,0,9.067,4.059,9.085,9.055 c0,0.011-0.001,0.02-0.001,0.031c0,0.021,0.003,0.041,0.003,0.062V68.409z" }))), index.h("g", { key: '12afe6335adfb0c2dad77db92f2235678d704543' }, index.h("g", { key: 'b58403cdd31ef10bfc134ff0c471502c59c16f7b' }, index.h("path", { key: 'e7eb94f117455903c6ab931567ceeca44ba10256', d: "M251.722,410.455H97.269V84.443h17.64c4.427,0,8.017-3.589,8.017-8.017s-3.589-8.017-8.017-8.017H89.253 c-4.427,0-8.017,3.589-8.017,8.017v342.046c0,4.427,3.589,8.017,8.017,8.017h162.47c4.427,0,8.017-3.589,8.017-8.017 C259.739,414.044,256.15,410.455,251.722,410.455z" }))), index.h("g", { key: 'a977c62ea68b6373769c026855dc8a4da84e22a6' }, index.h("g", { key: '878b1c3a4f90504bb964dc03619afeaaf2e820b6' }, index.h("path", { key: '3efb5a597236dfcb70a972f90ff93d7ac04b9a0b', d: "M345.787,68.409h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.637v214.311 c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017V76.426C353.804,71.999,350.214,68.409,345.787,68.409z" }))), index.h("g", { key: '9a246407a23df8cae8a2fc02c4ca8af51746316a' }, index.h("g", { key: '6b3d0d3fb1d41281f8581495539d471787124267' }, index.h("path", { key: 'b0f52f41515292bb3923575ee0ba46570ce9d9a8', d: "M371.44,324.944c-51.572,0-93.528,41.956-93.528,93.528S319.869,512,371.44,512s93.528-41.956,93.528-93.528 S423.012,324.944,371.44,324.944z M371.44,495.967c-42.731,0-77.495-34.764-77.495-77.495s34.764-77.495,77.495-77.495 s77.495,34.764,77.495,77.495S414.172,495.967,371.44,495.967z" }))), index.h("g", { key: '8a5d953c8e749662709eb677cd5726d77e642212' }, index.h("g", { key: '0984d6f1879e798d3d206403bb6fef1bb0a2d516' }, index.h("path", { key: 'ba9e7188d3af075911a380b90b7151747aa223c3', d: "M217.607,34.205h-0.086c-4.427,0-7.974,3.589-7.974,8.017c0,4.427,3.631,8.017,8.059,8.017 c4.427,0,8.017-3.589,8.017-8.017C225.624,37.794,222.035,34.205,217.607,34.205z" }))), index.h("g", { key: 'd63b7f69c9408edfb813207090bc48fe2f68077b' }, index.h("g", { key: '389d0485fb4b6258c5ea865eb3a1802761fca983' }, index.h("path", { key: '89c4dac4cb4af126f2280b3259eff28b0f4d608c', d: "M419.865,387.15c-3.13-3.131-8.207-3.131-11.337,0l-54.19,54.19l-28.536-28.536c-3.131-3.131-8.207-3.131-11.337,0 c-3.131,3.131-3.131,8.207,0,11.337l34.205,34.205c1.565,1.565,3.617,2.348,5.668,2.348s4.103-0.782,5.668-2.348l59.858-59.858 C422.995,395.356,422.995,390.28,419.865,387.15z" }))), index.h("g", { key: '6a4c35796ca14efb4df7b6646926037bc7d6caff' }, index.h("g", { key: '8ee77bef21eda33760f726d9f9e0a50539c42de5' }, index.h("path", { key: 'e0efd338df732f3bda6e1e7eaf8e507dddea8666', d: "M182.781,177.309v-32.338c11.295,1.934,18.171,7.688,18.171,11.889c0,4.427,3.589,8.017,8.017,8.017 s8.017-3.589,8.017-8.017c0-14.171-14.492-25.621-34.205-28.092v-1.036c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 v1.036c-19.713,2.47-34.205,13.92-34.205,28.092c0,20.074,18.829,27.788,34.205,32.461v32.338 c-11.295-1.934-18.171-7.688-18.171-11.889c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 c0,14.171,14.492,25.621,34.205,28.092v1.036c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-1.036 c19.713-2.47,34.205-13.92,34.205-28.092C216.985,189.697,198.157,181.982,182.781,177.309z M166.747,172.411 c-13.524-4.713-18.171-8.963-18.171-15.551c0-2.535,2.236-5.335,6.134-7.68c3.294-1.982,7.473-3.415,12.037-4.198V172.411z M194.818,217.45c-3.294,1.982-7.473,3.415-12.037,4.198v-27.429c13.524,4.713,18.171,8.963,18.171,15.551 C200.952,212.306,198.716,215.105,194.818,217.45z" }))), index.h("g", { key: 'f2c63ce29a370df79d4b3d3423fc4a19e81aa453' }, index.h("g", { key: '4d94d8d7967fb496b9dd5c6357a03878b0730ea7' }, index.h("path", { key: 'a1bff2a143f0d83e7d49c86304b9a9da92339bae', d: "M294.48,136.818h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,136.818,294.48,136.818z" }))), index.h("g", { key: '41a0726c0a5734b0346cb4b267e22f208f657ded' }, index.h("g", { key: '25e2d3dc14c4fd8f9a3358b56b97811474d001b0' }, index.h("path", { key: 'b23c5bd17211aa10253e2d6d228d3ea15c9450e6', d: "M277.378,171.023h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h25.653 c4.427,0,8.017-3.589,8.017-8.017S281.805,171.023,277.378,171.023z" }))), index.h("g", { key: 'faa32b63b35ad414b233471242c4ef789dded9fe' }, index.h("g", { key: '6a375b4b3abe3220e7380de5007f850b87e288ab' }, index.h("path", { key: '7226e245625c1789c03273f668c7afb13d20da83', d: "M294.48,205.228h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,205.228,294.48,205.228z" }))), index.h("g", { key: '2e7d78e5086c0083b70e62a6cee9f1a6d6f32fcb' }, index.h("g", { key: '63d91f0be2f5a2f55dfb12c731d1e8784952833d' }, index.h("path", { key: '1f62c9709e80ffb4d0a278a5651bc10a60ac4c88', d: "M157.662,282.188H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,282.188,157.662,282.188z" }))), index.h("g", { key: '5330cbb034f3ca8bcb302e649b93e738d76936bf' }, index.h("g", { key: 'cff3ef6ac4db629e307bf210cf54f9f3a95078ae' }, index.h("path", { key: '9e504732e603a0c59ac84056b557c48df14762e1', d: "M157.662,350.597H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,350.597,157.662,350.597z" }))), index.h("g", { key: '86cb33c866ae14433e8277a8b02f57f547cd643c' }, index.h("g", { key: '02a5acc2f1c654d58ebee448eaf7d4155742abd2' }, index.h("path", { key: 'c4769f5ce4a90902f73b1658d1143ab42a423c00', d: "M157.662,316.393H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,316.393,157.662,316.393z" }))), index.h("g", { key: '02ef9cc91ceda2cf4bc370596c4baf25efa6eb60' }, index.h("g", { key: '3539387cbe4e0d8f16e1ebccabeaa1b087529bad' }, index.h("path", { key: 'd7dcd551530535db686cbd0563a34380b1f9aa36', d: "M294.48,282.188H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,282.188,294.48,282.188z" }))), index.h("g", { key: '8595194f3aaac4dac51f03380afab164f389187d' }, index.h("g", { key: '3a1215fdd0b0bfde4c2bbe6099ade455cf2bed51' }, index.h("path", { key: 'a6c2598415826e0561aab2ef14e9aa13d035025c', d: "M268.827,350.597h-76.96c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h76.96 c4.427,0,8.017-3.589,8.017-8.017S273.254,350.597,268.827,350.597z" }))), index.h("g", { key: 'a7bb2dbcfaf106eec747f247e6d79773ef3f3e7a' }, index.h("g", { key: '24baa3a1ae8c998f7ab69de766c48c9e4dc97b24' }, index.h("path", { key: '5e10dde8ce3c657410c7eed8d5f476f86ee47283', d: "M294.48,316.393H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,316.393,294.48,316.393z" }))))), index.h("div", { key: 'd5a81966d94c2d03fc6fa5874588b23222d488d0' }, texts.scanTheInvoice)), index.h("div", { key: 'a199ee75b32f576b2bf0b1bebbdf58912299ddb9', style: { position: 'absolute' }, class: "loading-wrapper" }, index.h("div", { key: '3b19f6f053d4d67f1f49602f8dbc44e544d283da', class: cn.cn('lds-ripple', this.isLoading && 'active') }, index.h("div", { key: 'a8a9ee0e218a4850a78050bda6da143d3b899602' }), index.h("div", { key: '588365dbd0343f057bf44582f820ef2c44a89980' })), index.h("div", { key: '0fef4546cb43dbcdb356a0cdc7971bf38700a398', class: cn.cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), index.h("input", { key: '421147f0eb93612d7f56a3c9c9f0b62756e3c291', dir: "ltr", class: "qr-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.qrCodeKeyDown, onBlur: () => this.input.focus(), autocomplete: "off", disabled: disableInput, placeholder: "", autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))))))));
133
144
  }
134
145
  get el() { return index.getElement(this); }
135
146
  static get watchers() { return {
147
+ "language": ["changeLanguage"],
136
148
  "isLoading": ["onIsLoadingChange"],
137
149
  "canceledItems": ["changeInternalCanceledItem"],
138
150
  "unInvoicedByBrokerName": ["changeConfirmUnInvoicedTBPVehicles"],
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
9
+ const index = require('./index-846c93d2.js');
10
10
  const cn = require('./cn-f559f9e5.js');
11
11
 
12
12
  const formInputCss = "*,: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}.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)}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.-z-10{z-index:-10}.mb-\\[4px\\]{margin-bottom:4px}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-y-full{--tw-translate-y:-100%;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))}.flex-col{flex-direction:column}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity,1))!important}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.pb-\\[20px\\]{padding-bottom:20px}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.focus\\:border-slate-600:focus{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.disabled\\:opacity-75:disabled{opacity:.75}";
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
9
+ const index = require('./index-846c93d2.js');
10
10
  const index_esm = require('./index.esm-c628daeb.js');
11
11
 
12
12
  class FormHook {
@@ -0,0 +1,153 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ 'use strict';
6
+
7
+ require('./index-846c93d2.js');
8
+ const index_esm = require('./index.esm-c628daeb.js');
9
+
10
+ const errorsSchema = index_esm.create$3({
11
+ noServiceAvailable: index_esm.create$6().required(),
12
+ wrongResponseFormat: index_esm.create$6().required(),
13
+ });
14
+
15
+ const warrantySchema = index_esm.create$3({
16
+ authorized: index_esm.create$6().required(),
17
+ unauthorized: index_esm.create$6().required(),
18
+ activeWarranty: index_esm.create$6().required(),
19
+ notActiveWarranty: index_esm.create$6().required(),
20
+ notInvoiced: index_esm.create$6().required(),
21
+ from: index_esm.create$6().required(),
22
+ to: index_esm.create$6().required(),
23
+ pendingSSC: index_esm.create$6().required(),
24
+ noPendingSSC: index_esm.create$6().required(),
25
+ checkingTMC: index_esm.create$6().required(),
26
+ sscCampings: index_esm.create$6().required(),
27
+ sscTableCode: index_esm.create$6().required(),
28
+ sscTableDescription: index_esm.create$6().required(),
29
+ sscTableRepairStatus: index_esm.create$6().required(),
30
+ sscTableOPCode: index_esm.create$6().required(),
31
+ sscTablePartNumber: index_esm.create$6().required(),
32
+ });
33
+
34
+ const accessoriesSchema = index_esm.create$3({
35
+ vehicleAccessories: index_esm.create$6().required(),
36
+ noData: index_esm.create$6().required(),
37
+ partNumber: index_esm.create$6().required(),
38
+ description: index_esm.create$6().required(),
39
+ image: index_esm.create$6().required(),
40
+ expand: index_esm.create$6().required(),
41
+ });
42
+
43
+ const dynamicClaimSchema = index_esm.create$3({
44
+ serviceType: index_esm.create$6().required(),
45
+ activationDate: index_esm.create$6().required(),
46
+ expireDate: index_esm.create$6().required(),
47
+ claimAt: index_esm.create$6().required(),
48
+ redeemingDealer: index_esm.create$6().required(),
49
+ invoiceNumber: index_esm.create$6().required(),
50
+ wip: index_esm.create$6().required(),
51
+ menuCode: index_esm.create$6().required(),
52
+ claim: index_esm.create$6().required(),
53
+ processed: index_esm.create$6().required(),
54
+ expired: index_esm.create$6().required(),
55
+ cancelled: index_esm.create$6().required(),
56
+ pending: index_esm.create$6().required(),
57
+ warning: index_esm.create$6().required(),
58
+ });
59
+
60
+ const specificationSchema = index_esm.create$3({
61
+ vehicleSpecification: index_esm.create$6().required(),
62
+ noData: index_esm.create$6().required(),
63
+ model: index_esm.create$6().required(),
64
+ variant: index_esm.create$6().required(),
65
+ katashiki: index_esm.create$6().required(),
66
+ modelYear: index_esm.create$6().required(),
67
+ sfx: index_esm.create$6().required(),
68
+ });
69
+
70
+ const dynamicRedeemSchema = index_esm.create$3({
71
+ serviceType: index_esm.create$6().required(),
72
+ name: index_esm.create$6().required(),
73
+ activationDate: index_esm.create$6().required(),
74
+ expireDate: index_esm.create$6().required(),
75
+ menuCode: index_esm.create$6().required(),
76
+ scanTheInvoice: index_esm.create$6().required(),
77
+ processing: index_esm.create$6().required(),
78
+ warning: index_esm.create$6().required(),
79
+ skipServicesWarning: index_esm.create$6().required(),
80
+ confirmSkipServices: index_esm.create$6().required(),
81
+ notInvoiced: index_esm.create$6().required(),
82
+ confirmNotInvoiced: index_esm.create$6().required(),
83
+ claimAt: index_esm.create$6().required(),
84
+ redeemingDealer: index_esm.create$6().required(),
85
+ invoiceNumber: index_esm.create$6().required(),
86
+ wip: index_esm.create$6().required(),
87
+ claim: index_esm.create$6().required(),
88
+ processed: index_esm.create$6().required(),
89
+ expired: index_esm.create$6().required(),
90
+ cancelled: index_esm.create$6().required(),
91
+ pending: index_esm.create$6().required(),
92
+ });
93
+
94
+ const ServiceHistorySchema = index_esm.create$3({
95
+ serviceHistory: index_esm.create$6().required(),
96
+ noData: index_esm.create$6().required(),
97
+ branch: index_esm.create$6().required(),
98
+ dealer: index_esm.create$6().required(),
99
+ invoiceNumber: index_esm.create$6().required(),
100
+ date: index_esm.create$6().required(),
101
+ serviceType: index_esm.create$6().required(),
102
+ odometer: index_esm.create$6().required(),
103
+ });
104
+
105
+ const paintThicknessSchema = index_esm.create$3({
106
+ paintThickness: index_esm.create$6().required(),
107
+ noData: index_esm.create$6().required(),
108
+ part: index_esm.create$6().required(),
109
+ left: index_esm.create$6().required(),
110
+ right: index_esm.create$6().required(),
111
+ noImageGroups: index_esm.create$6().required(),
112
+ expand: index_esm.create$6().required(),
113
+ });
114
+
115
+ const vehicleLookupSchema = index_esm.create$3({
116
+ warranty: warrantySchema,
117
+ accessories: accessoriesSchema,
118
+ dynamicClaim: dynamicClaimSchema,
119
+ dynamicRedeem: dynamicRedeemSchema,
120
+ specification: specificationSchema,
121
+ serviceHistory: ServiceHistorySchema,
122
+ paintThickness: paintThicknessSchema,
123
+ });
124
+
125
+ const ARABIC_JSON_FILE = 'ar.json';
126
+ const ENGLISH_JSON_FILE = 'en.json';
127
+ const KURDISH_JSON_FILE = 'ku.json';
128
+ const languageMapper = {
129
+ ar: ARABIC_JSON_FILE,
130
+ en: ENGLISH_JSON_FILE,
131
+ ku: KURDISH_JSON_FILE,
132
+ };
133
+ const localeSchema = index_esm.create$3({
134
+ errors: errorsSchema,
135
+ lang: index_esm.create$6().required(),
136
+ language: index_esm.create$6().required(),
137
+ direction: index_esm.create$6().required(),
138
+ vehicleLookup: vehicleLookupSchema,
139
+ });
140
+
141
+ const cachedLocales = {};
142
+ const getLocaleLanguage = async (fileKey) => {
143
+ const languageFile = languageMapper[fileKey] || languageMapper.en;
144
+ if (cachedLocales[languageFile])
145
+ return await cachedLocales[languageFile];
146
+ let localeResponse;
147
+ localeResponse = fetch('https://cdn.jsdelivr.net/npm/adp-web-components@latest/dist/locales/' + languageFile).then(res => res.json());
148
+ cachedLocales[languageFile] = localeResponse;
149
+ return await localeResponse;
150
+ };
151
+
152
+ exports.getLocaleLanguage = getLocaleLanguage;
153
+ exports.localeSchema = localeSchema;
@@ -35,12 +35,6 @@ var __export = (target, all) => {
35
35
  for (var name in all)
36
36
  __defProp(target, name, { get: all[name], enumerable: true });
37
37
  };
38
- var Build = {
39
- isDev: false,
40
- isBrowser: true,
41
- isServer: false,
42
- isTesting: false
43
- };
44
38
  var hostRefs = /* @__PURE__ */ new WeakMap();
45
39
  var getHostRef = (ref) => hostRefs.get(ref);
46
40
  var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
@@ -1613,7 +1607,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1613
1607
  // src/runtime/nonce.ts
1614
1608
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1615
1609
 
1616
- exports.Build = Build;
1617
1610
  exports.Host = Host;
1618
1611
  exports.bootstrapLazy = bootstrapLazy;
1619
1612
  exports.createEvent = createEvent;
@@ -6,13 +6,13 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
9
+ const index = require('./index-846c93d2.js');
10
10
  const appGlobals = require('./app-globals-6d543be0.js');
11
11
 
12
12
  const defineCustomElements = async (win, options) => {
13
13
  if (typeof window === 'undefined') return undefined;
14
14
  await appGlobals.globalScripts();
15
- return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"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"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[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"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"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"]}]]],["form-input.cjs",[[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"]}]]],["dynamic-redeem.cjs",[[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"]}]]],["dynamic-claim_6.cjs",[[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"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"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],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
15
+ return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[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"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"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"]}]]],["form-input.cjs",[[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"]}]]],["dynamic-redeem.cjs",[[1,"dynamic-redeem",{"vin":[1],"item":[16],"language":[1],"canceledItems":[16],"unInvoicedByBrokerName":[1,"un-invoiced-by-broker-name"],"handleScanner":[16],"handleQrChanges":[16],"loadingStateChange":[16],"locale":[32],"isLoading":[32],"internalVin":[32],"isOpened":[32],"internalItem":[32],"confirmServiceCancellation":[32],"internalCanceledItem":[32],"confirmUnInvoicedTBPVehicles":[32],"quite":[64],"getQrValue":[64]},null,{"language":["changeLanguage"],"isLoading":["onIsLoadingChange"],"canceledItems":["changeInternalCanceledItem"],"unInvoicedByBrokerName":["changeConfirmUnInvoicedTBPVehicles"],"vin":["changeInternalVin"],"item":["changeInternalItem"]}]]],["dynamic-claim_6.cjs",[[1,"dynamic-claim",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"isIdle":[32],"popupClasses":[32],"isLoading":[32],"externalVin":[32],"errorMessage":[32],"activePopupIndex":[32],"vehicleInformation":[32],"setMockData":[64],"setData":[64],"fetchData":[64],"completeClaim":[64]},null,{"language":["changeLanguage"],"isLoading":["onLoadingChange"],"vehicleInformation":["resetProgressBar"],"popupClasses":["windowScrollListener"]}],[1,"paint-thickness",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"service-history",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-accessories",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-specification",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"warranty-details",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"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],"showRecaptcha":[32],"errorMessage":[32],"unInvoicedByBrokerName":[32],"vehicleInformation":[32],"checkingUnauthorizedSSC":[32],"recaptchaRes":[32],"headers":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
16
16
  };
17
17
 
18
18
  exports.setNonce = index.setNonce;
@@ -6,10 +6,10 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
10
- const Loading = require('./Loading-df2a9144.js');
9
+ const index = require('./index-846c93d2.js');
10
+ const Loading = require('./Loading-6f4f0127.js');
11
11
  const cn = require('./cn-f559f9e5.js');
12
- const partInformation = require('./partInformation-07651204.js');
12
+ const partInformation = require('./partInformation-2b4e0593.js');
13
13
  const general = require('./general-a1e72036.js');
14
14
 
15
15
  const manufacturerLookupCss = "*,: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}.capitalize{text-transform:capitalize}.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}";
@@ -61,7 +61,7 @@ const ManufacturerLookup = class {
61
61
  const partResponse = isPartNumberRequest ? await partInformation.getPartInformation(this, { scopedTimeoutRef, partNumber, mockData }, headers) : newData;
62
62
  if (this.networkTimeoutRef === scopedTimeoutRef) {
63
63
  if (!partResponse)
64
- throw new Error('Wrong response format');
64
+ throw new Error('wrongResponseFormat');
65
65
  this.handleSettingData(partResponse);
66
66
  }
67
67
  this.errorMessage = null;
@@ -109,7 +109,7 @@ const ManufacturerLookup = class {
109
109
  ]
110
110
  : [];
111
111
  const displayedManufacturerData = manufacturerData.filter(part => !hiddenFields.includes(part.key));
112
- return (index.h(index.Host, { key: '1ad38e17ff3255b89145ba040254f198974deb53' }, index.h("div", { key: 'b0c5cc452c93236ad41e2431bf18541db67827d0', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'ceffa481201dc0b881fa583f43c7da445f8e9cc8' }, index.h(Loading.Loading, { key: '16bdf498e39fe381050ea33dac6d00df4b3ae05f', isLoading: this.state.includes('loading') }), index.h("div", { key: '51222801ac0728fcde2472ec74022c16e1157ce9', 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: 'cc6965c0ade12609bb6f9a61c250a550f4d70007', class: "py-[16px]" }, index.h("div", { key: 'fc6558de2bc351f09a04b7547dd690fcfcfc7ec3', 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: '985204509c072b21dc94b2a3005fea81d712b30d' }, index.h("div", { key: '42ce83c26e55f8d6eb00455820f67670f44b712d', class: "flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '35ff95092d996eda5d81e68e5d80db32588b77ea', 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: '8f825747cb1ccce7575ea097a34dfb4944993a9a', class: "px-[30px] py-[10px] flex flex-col gap-[15px]" }, index.h("div", { key: '94ced9aec06e6c09e942366e3271a6d895f4b68b', class: "grid grid-cols-3 gap-[50px]" }, displayedManufacturerData.map(({ label, value, key }) => (index.h("div", { key: key, 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))))))))))))));
112
+ return (index.h(index.Host, { key: '79d45cdb049f56792e372e9b96f62d2df0534eb4' }, index.h("div", { key: '877c5b8ec818a2baf92c96b1d2f3845dbd5a886b', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'c24fa76841914d26ca2f3d13ae647e951a2fcd19' }, index.h(Loading.Loading, { key: '590a32c46ada073e6d4ceb135e98448474a42531', isLoading: this.state.includes('loading') }), index.h("div", { key: '6122c974fc58c825c17c362d2c2d83911632c597', 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: '1476c9667c1617c2fef4ced6f1b63b487364066f', class: "py-[16px]" }, index.h("div", { key: '9e6c8a8236d8b52f92d911c783df94a041629e4d', 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: 'b6189310ca79c9a907494289b552b9a69d88c53a' }, index.h("div", { key: '25428cc62564ca32ac39dacfc932c40680de4cc5', class: "flex mt-[12px] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '04d08bb695cfa1711fb44ab6558a0f2e1b7420c6', 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: '58f10900275b2846700d8bfbcdfcb772806994cf', class: "px-[30px] py-[10px] flex flex-col gap-[15px]" }, index.h("div", { key: '0e768c9b5298764125e12df2cf22e00d104debcb', class: "grid grid-cols-3 gap-[50px]" }, displayedManufacturerData.map(({ label, value, key }) => (index.h("div", { key: key, 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))))))))))))));
113
113
  }
114
114
  get el() { return index.getElement(this); }
115
115
  static get watchers() { return {
@@ -10,7 +10,7 @@ const getPartInformation = async (component, generalProps, headers = {}) => {
10
10
  const handleResult = (newPartInformation) => {
11
11
  if (networkTimeoutRef === scopedTimeoutRef) {
12
12
  if (!newPartInformation && partNumber)
13
- throw new Error(notAvailableMessage || 'Wrong response format');
13
+ throw new Error(notAvailableMessage || 'wrongResponseFormat');
14
14
  if (loadedResponse)
15
15
  loadedResponse(newPartInformation);
16
16
  if (middlewareCallback)
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-d2dc29e0.js');
9
+ const index = require('./index-846c93d2.js');
10
10
  const appGlobals = require('./app-globals-6d543be0.js');
11
11
 
12
12
  /*
@@ -23,7 +23,7 @@ var patchBrowser = () => {
23
23
 
24
24
  patchBrowser().then(async (options) => {
25
25
  await appGlobals.globalScripts();
26
- return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"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"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[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"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"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"]}]]],["form-input.cjs",[[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"]}]]],["dynamic-redeem.cjs",[[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"]}]]],["dynamic-claim_6.cjs",[[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"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"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],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
26
+ return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[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"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"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"]}]]],["form-input.cjs",[[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"]}]]],["dynamic-redeem.cjs",[[1,"dynamic-redeem",{"vin":[1],"item":[16],"language":[1],"canceledItems":[16],"unInvoicedByBrokerName":[1,"un-invoiced-by-broker-name"],"handleScanner":[16],"handleQrChanges":[16],"loadingStateChange":[16],"locale":[32],"isLoading":[32],"internalVin":[32],"isOpened":[32],"internalItem":[32],"confirmServiceCancellation":[32],"internalCanceledItem":[32],"confirmUnInvoicedTBPVehicles":[32],"quite":[64],"getQrValue":[64]},null,{"language":["changeLanguage"],"isLoading":["onIsLoadingChange"],"canceledItems":["changeInternalCanceledItem"],"unInvoicedByBrokerName":["changeConfirmUnInvoicedTBPVehicles"],"vin":["changeInternalVin"],"item":["changeInternalItem"]}]]],["dynamic-claim_6.cjs",[[1,"dynamic-claim",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"isIdle":[32],"popupClasses":[32],"isLoading":[32],"externalVin":[32],"errorMessage":[32],"activePopupIndex":[32],"vehicleInformation":[32],"setMockData":[64],"setData":[64],"fetchData":[64],"completeClaim":[64]},null,{"language":["changeLanguage"],"isLoading":["onLoadingChange"],"vehicleInformation":["resetProgressBar"],"popupClasses":["windowScrollListener"]}],[1,"paint-thickness",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"service-history",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-accessories",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-specification",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"warranty-details",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"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],"showRecaptcha":[32],"errorMessage":[32],"unInvoicedByBrokerName":[32],"vehicleInformation":[32],"checkingUnauthorizedSSC":[32],"recaptchaRes":[32],"headers":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
27
27
  });
28
28
 
29
29
  exports.setNonce = index.setNonce;