adp-web-components 0.0.67 → 0.0.69

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 (151) hide show
  1. package/dist/cjs/contact-us-form.cjs.entry.js +4 -4
  2. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +4 -4
  3. package/dist/cjs/dynamic-claim_6.cjs.entry.js +32 -22
  4. package/dist/cjs/dynamic-redeem.cjs.entry.js +51 -24
  5. package/dist/cjs/form-dialog_8.cjs.entry.js +21 -21
  6. package/dist/cjs/{get-local-language-ec0e41e0.js → get-local-language-5cc019a9.js} +9 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
  9. package/dist/cjs/part-lookup.cjs.entry.js +2 -2
  10. package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
  11. package/dist/cjs/shift-components.cjs.js +1 -1
  12. package/dist/cjs/vehicle-lookup.cjs.entry.js +2 -2
  13. package/dist/collection/components/components/loading-spinner.css +1 -1
  14. package/dist/collection/components/components/loading-spinner.js +1 -1
  15. package/dist/collection/components/form-elements/form-dialog.css +1 -1
  16. package/dist/collection/components/form-elements/form-dialog.js +3 -3
  17. package/dist/collection/components/form-elements/form-input.css +1 -1
  18. package/dist/collection/components/form-elements/form-input.js +1 -1
  19. package/dist/collection/components/form-elements/form-select.css +1 -1
  20. package/dist/collection/components/form-elements/form-select.js +3 -3
  21. package/dist/collection/components/form-elements/form-shadow-input.css +1 -1
  22. package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
  23. package/dist/collection/components/form-elements/form-structure-error.css +1 -1
  24. package/dist/collection/components/form-elements/form-structure-error.js +1 -1
  25. package/dist/collection/components/form-elements/form-structure.css +1 -1
  26. package/dist/collection/components/form-elements/form-submit.css +1 -1
  27. package/dist/collection/components/form-elements/form-submit.js +2 -2
  28. package/dist/collection/components/form-elements/form-text-area.css +1 -1
  29. package/dist/collection/components/form-elements/form-text-area.js +1 -1
  30. package/dist/collection/components/forms/contact-us/form.css +1 -1
  31. package/dist/collection/components/forms/contact-us-form.js +2 -2
  32. package/dist/collection/components/forms/service-booking/form.css +1 -1
  33. package/dist/collection/components/forms/service-booking-form.js +2 -2
  34. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  35. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  36. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  37. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  38. package/dist/collection/components/vehicle-lookup/assets/activationRequired.svg +11 -0
  39. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -1
  40. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +79 -5
  41. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -1
  42. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +70 -24
  43. package/dist/collection/components/vehicle-lookup/paint-thickness.css +1 -1
  44. package/dist/collection/components/vehicle-lookup/paint-thickness.js +3 -3
  45. package/dist/collection/components/vehicle-lookup/service-history.css +1 -1
  46. package/dist/collection/components/vehicle-lookup/service-history.js +1 -1
  47. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  48. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +3 -3
  49. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +1 -1
  50. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  51. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +2 -2
  52. package/dist/collection/components/vehicle-lookup/warranty-details.css +1 -1
  53. package/dist/collection/components/vehicle-lookup/warranty-details.js +1 -1
  54. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +4 -1
  55. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +4 -0
  56. package/dist/collection/templates/vehicle-lookup/mock-data.js +79 -15
  57. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +11 -11
  58. package/dist/components/contact-us-form.js +1 -1
  59. package/dist/components/dead-stock-lookup.js +1 -1
  60. package/dist/components/distributor-lookup.js +1 -1
  61. package/dist/components/dynamic-claim.js +1 -1
  62. package/dist/components/dynamic-redeem.js +1 -1
  63. package/dist/components/form-dialog.js +1 -1
  64. package/dist/components/form-input.js +1 -1
  65. package/dist/components/form-select.js +1 -1
  66. package/dist/components/form-shadow-input.js +1 -1
  67. package/dist/components/form-structure-error.js +1 -1
  68. package/dist/components/form-structure.js +1 -1
  69. package/dist/components/form-submit.js +1 -1
  70. package/dist/components/form-text-area.js +1 -1
  71. package/dist/components/loading-spinner.js +1 -1
  72. package/dist/components/manufacturer-lookup.js +1 -1
  73. package/dist/components/p-15a768b2.js +5 -0
  74. package/dist/components/{p-bacd1638.js → p-164ed4f3.js} +1 -1
  75. package/dist/components/p-43349fdf.js +5 -0
  76. package/dist/components/p-4358b73a.js +5 -0
  77. package/dist/components/{p-6e3ab655.js → p-52da919c.js} +1 -1
  78. package/dist/components/p-63467911.js +5 -0
  79. package/dist/components/{p-e2158fc6.js → p-63b6ce69.js} +1 -1
  80. package/dist/components/{p-1e9e4abd.js → p-68ff89dd.js} +1 -1
  81. package/dist/components/{p-cb600b18.js → p-6fdcf269.js} +1 -1
  82. package/dist/components/p-727a82d6.js +5 -0
  83. package/dist/components/{p-810e84ab.js → p-773a63ed.js} +1 -1
  84. package/dist/components/p-86a96f7b.js +5 -0
  85. package/dist/components/p-8f9ed52e.js +5 -0
  86. package/dist/components/p-91c7647e.js +5 -0
  87. package/dist/components/p-985ed64b.js +5 -0
  88. package/dist/components/p-a9bb0eae.js +5 -0
  89. package/dist/components/{p-cefc0575.js → p-b716c436.js} +1 -1
  90. package/dist/components/{p-c526513b.js → p-defeb871.js} +1 -1
  91. package/dist/components/{p-a2c14be5.js → p-e9871380.js} +1 -1
  92. package/dist/components/{p-a57338da.js → p-f9d37c2b.js} +1 -1
  93. package/dist/components/paint-thickness.js +1 -1
  94. package/dist/components/part-lookup.js +1 -1
  95. package/dist/components/service-booking-form.js +1 -1
  96. package/dist/components/service-history.js +1 -1
  97. package/dist/components/vehicle-accessories.js +1 -1
  98. package/dist/components/vehicle-lookup.js +1 -1
  99. package/dist/components/vehicle-specification.js +1 -1
  100. package/dist/components/warranty-details.js +1 -1
  101. package/dist/esm/contact-us-form.entry.js +4 -4
  102. package/dist/esm/dead-stock-lookup_3.entry.js +4 -4
  103. package/dist/esm/dynamic-claim_6.entry.js +32 -22
  104. package/dist/esm/dynamic-redeem.entry.js +51 -24
  105. package/dist/esm/form-dialog_8.entry.js +21 -21
  106. package/dist/esm/{get-local-language-98c26a89.js → get-local-language-a8d30f9f.js} +9 -2
  107. package/dist/esm/loader.js +1 -1
  108. package/dist/esm/loading-spinner.entry.js +2 -2
  109. package/dist/esm/part-lookup.entry.js +2 -2
  110. package/dist/esm/service-booking-form.entry.js +4 -4
  111. package/dist/esm/shift-components.js +1 -1
  112. package/dist/esm/vehicle-lookup.entry.js +2 -2
  113. package/dist/locales/ar.json +11 -3
  114. package/dist/locales/en.json +11 -3
  115. package/dist/locales/ku.json +11 -3
  116. package/dist/locales/ru.json +11 -3
  117. package/dist/shift-components/p-0e963dd5.entry.js +5 -0
  118. package/dist/shift-components/{p-c06844c1.js → p-0f1b26fb.js} +1 -1
  119. package/dist/shift-components/{p-da1511a0.entry.js → p-1a8169b2.entry.js} +1 -1
  120. package/dist/shift-components/{p-8830682d.entry.js → p-31b6b224.entry.js} +1 -1
  121. package/dist/shift-components/p-51e48301.entry.js +5 -0
  122. package/dist/shift-components/{p-65a5ebdf.entry.js → p-5a9e863c.entry.js} +1 -1
  123. package/dist/shift-components/{p-014f3fba.entry.js → p-72a8ed28.entry.js} +1 -1
  124. package/dist/shift-components/p-834895e7.entry.js +5 -0
  125. package/dist/shift-components/p-aa7cb388.entry.js +5 -0
  126. package/dist/shift-components/p-bea72869.entry.js +5 -0
  127. package/dist/shift-components/shift-components.esm.js +1 -1
  128. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +3 -1
  129. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +4 -3
  130. package/dist/types/components.d.ts +7 -0
  131. package/dist/types/global/types/locales/index.d.ts +16 -2
  132. package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +8 -2
  133. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +8 -0
  134. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +16 -2
  135. package/dist/types/global/types/vehicle-information.d.ts +21 -22
  136. package/package.json +1 -1
  137. package/dist/components/p-00d97183.js +0 -5
  138. package/dist/components/p-1f001d39.js +0 -5
  139. package/dist/components/p-1fe65d6e.js +0 -5
  140. package/dist/components/p-3f19382d.js +0 -5
  141. package/dist/components/p-5b4b3060.js +0 -5
  142. package/dist/components/p-5d3cc3c1.js +0 -5
  143. package/dist/components/p-6055174a.js +0 -5
  144. package/dist/components/p-73a5d441.js +0 -5
  145. package/dist/components/p-927296bb.js +0 -5
  146. package/dist/components/p-ceea200f.js +0 -5
  147. package/dist/shift-components/p-0739b7d7.entry.js +0 -5
  148. package/dist/shift-components/p-46878289.entry.js +0 -5
  149. package/dist/shift-components/p-62c8eed3.entry.js +0 -5
  150. package/dist/shift-components/p-87f8fbb3.entry.js +0 -5
  151. package/dist/shift-components/p-f68052c1.entry.js +0 -5
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-cac905b0.js';
6
6
  import { c as cn } from './cn-cc419b94.js';
7
- import { l as localeSchema, g as getLocaleLanguage } from './get-local-language-98c26a89.js';
7
+ import { l as localeSchema, g as getLocaleLanguage } from './get-local-language-a8d30f9f.js';
8
8
 
9
- 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;font-family:Arial;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}.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)}.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}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.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))}.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-\\[16px\\]{padding-bottom:16px;padding-top:16px}.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}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-700{transition-duration:.7s!important}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}";
9
+ 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;font-family:Arial;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 .dynamic-redeem-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;transition:.35s;width:100%}.dynamic-claim-processor .dynamic-redeem-input:focus{border-bottom-color:#3071a9;transform:scale(1.1) translateY(-10px)}.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}.dynamic-claim-button{align-items:center;border:none;border-radius:5px;color:#fff;cursor:pointer;display:flex;font-weight:700;gap:3px;justify-content:center;justify-self:center;outline:none;padding:0 10px 0 0;transition:.3s;width:350px}.dynamic-claim-button.disabled{stroke:#d5d5d5!important;border-color:#d5d5d5;color:#d5d5d5!important;pointer-events:none}.dynamic-claim-button.disabled circle{fill:#d5d5d5!important}.dynamic-claim-button svg{transition:.2s}.claim-button{stroke:#27ae60;fill:#27ae60;background-color:transparent;border:1px solid #27ae60;color:#27ae60}.claim-button circle{fill:#2ecc71}.claim-button:hover{stroke:#fff;fill:#fff;background-color:#2ecc71;color:#fff}.claim-button:hover circle{fill:#fff}.claim-button:active{background-color:#27ae60}.claim-button:active svg{transform:scale(125%)}.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-\\[16px\\]{padding-bottom:16px;padding-top:16px}.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-700{transition-duration:.7s!important}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.mt-14{margin-top:3.5rem}.gap-2{gap:.5rem}.font-semibold{font-weight:600}.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}";
10
10
  const DynamicRedeemStyle0 = dynamicRedeemCss;
11
11
 
12
12
  const DynamicRedeem = class {
@@ -18,22 +18,40 @@ const DynamicRedeem = class {
18
18
  await new Promise(r => setTimeout(r, 500));
19
19
  this.canceledItems = [];
20
20
  this.unInvoicedByBrokerName = null;
21
- this.input.value = '';
21
+ this.invoiceInput.value = '';
22
22
  this.isLoading = false;
23
- this.input.readOnly = false;
23
+ this.invoiceInput.readOnly = false;
24
24
  };
25
- this.qrCodeKeyDown = async (event) => {
26
- if (event.key === 'Enter') {
25
+ this.inputKeyDown = async (event) => {
26
+ this.readyToClaim = false;
27
+ const invoice = this.invoiceInput.value;
28
+ const jobInput = this.el.shadowRoot.querySelector('.dynamic-claim-processor #job-input');
29
+ const job = jobInput === null || jobInput === void 0 ? void 0 : jobInput.value;
30
+ if (this.claimViaBarcodeScanner) {
31
+ if (invoice.trim().length > 0)
32
+ this.readyToClaim = true;
33
+ }
34
+ else {
35
+ if (invoice.trim().length > 0 && job.trim().length > 0)
36
+ this.readyToClaim = true;
37
+ }
38
+ if (event === null || event.key === 'Enter') {
27
39
  if (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles)
28
40
  return;
29
- event.preventDefault();
41
+ if (event !== null)
42
+ event.preventDefault();
30
43
  if (!(this === null || this === void 0 ? void 0 : this.handleScanner))
31
44
  return;
32
- const inputValue = this.input.value;
33
- this.input.value = '';
45
+ if (!this.readyToClaim)
46
+ return;
47
+ this.invoiceInput.value = '';
48
+ if (jobInput) {
49
+ jobInput.value = '';
50
+ jobInput.readOnly = true;
51
+ }
34
52
  this.isLoading = true;
35
- this.input.readOnly = true;
36
- this.handleScanner(inputValue, null);
53
+ this.invoiceInput.readOnly = true;
54
+ this.handleScanner(invoice, job);
37
55
  }
38
56
  };
39
57
  this.onValueChanges = (event) => {
@@ -50,6 +68,7 @@ const DynamicRedeem = class {
50
68
  this.handleScanner = undefined;
51
69
  this.handleQrChanges = undefined;
52
70
  this.loadingStateChange = undefined;
71
+ this.claimViaBarcodeScanner = true;
53
72
  this.locale = localeSchema.getDefault();
54
73
  this.isLoading = false;
55
74
  this.internalVin = '';
@@ -58,6 +77,7 @@ const DynamicRedeem = class {
58
77
  this.confirmServiceCancellation = false;
59
78
  this.internalCanceledItem = null;
60
79
  this.confirmUnInvoicedTBPVehicles = false;
80
+ this.readyToClaim = false;
61
81
  }
62
82
  async componentWillLoad() {
63
83
  await this.changeLanguage(this.language);
@@ -70,7 +90,7 @@ const DynamicRedeem = class {
70
90
  this.loadingStateChange(newValue);
71
91
  }
72
92
  async componentDidLoad() {
73
- this.input = this.el.shadowRoot.querySelector('.dynamic-claim-processor .qr-input');
93
+ this.invoiceInput = this.el.shadowRoot.querySelector('.dynamic-claim-processor #invoice-input');
74
94
  this.dynamicClaimProcessor = this.el.shadowRoot.querySelector('.dynamic-claim-processor');
75
95
  if (this.unInvoicedByBrokerName === null) {
76
96
  this.confirmUnInvoicedTBPVehicles = true;
@@ -79,11 +99,11 @@ const DynamicRedeem = class {
79
99
  this.confirmUnInvoicedTBPVehicles = false;
80
100
  }
81
101
  }
82
- focusInput() {
83
- setTimeout(() => {
84
- this.input.focus();
85
- }, 100);
86
- }
102
+ //private focusInput() {
103
+ // setTimeout(() => {
104
+ // this.invoiceInput.focus();
105
+ // }, 100);
106
+ //}
87
107
  async changeInternalCanceledItem(newInternalCanceledItem) {
88
108
  this.internalCanceledItem = newInternalCanceledItem;
89
109
  if (this.internalCanceledItem.length > 0) {
@@ -112,7 +132,7 @@ const DynamicRedeem = class {
112
132
  this.closeModalListenerRef = (event) => event.key === 'Escape' && this.quite();
113
133
  window.addEventListener('keydown', this.closeModalListenerRef);
114
134
  await new Promise(r => setTimeout(r, 300));
115
- this.input.focus();
135
+ this.invoiceInput.focus();
116
136
  }
117
137
  else {
118
138
  window.removeEventListener('keydown', this.closeModalListenerRef);
@@ -123,19 +143,26 @@ const DynamicRedeem = class {
123
143
  this.closeModal();
124
144
  }
125
145
  async getQrValue() {
126
- return this.input.value;
146
+ return this.invoiceInput.value;
127
147
  }
128
148
  render() {
129
149
  var _a, _b, _c, _d, _e;
130
150
  const texts = this.locale.vehicleLookup.dynamicRedeem;
131
151
  const disableInput = !this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles;
132
- if (!disableInput)
133
- this.focusInput();
134
- return (h(Host, { key: 'e0d844b0e4317e264a37830c0ce51075e18104f9' }, h("div", { key: 'ba4fbdc20ee12c6e0ec202cbfc1942c23209cfee', dir: this.locale.direction, class: cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, h("svg", { key: 'c8cda750d458a585193ab22586de6af2752d623f', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'f83af1d3f988285418cf60b9994979478a38e6ca', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '488d68a2948be497a9ce73a25188f4c4b1b1c71c', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '6adced92516d08ff727ef2886288e0f824e3ff94', id: "SVGRepo_iconCarrier" }, h("path", { key: '2521c67ce13d567ce02f6f7cece674b063d70451', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '7e2f96c55444d9d3dc6ef1f6d28be595c035fdb6', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '721f67410534e173e6872bc2177d164f16dfe4b4', class: "dynamic-claim-processor-wrapper" }, h("div", { key: '0924b42dce4c6539f53cd718989188b562280e47', class: "dynamic-claim-processor-info-box" }, h("div", { key: 'b85b2e05364fdcb5626f36168438957ae7541b1b', class: "dynamic-claim-processor-info-box-header" }, h("strong", { key: 'b15c5a693550be1df2f2bcecb6a25645fe8547c7', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), h("div", { key: '79c95c22fba7c360aa2102d38804c5b2319e6223', class: "dynamic-claim-processor-info-box-body" }, h("table", { key: '8d1a8bf7427dc4cef04624101aaa17e500635b8f', class: "border-separate" }, h("tr", { key: '477cc19767ea334f242baa0075e612b58f6a4407' }, h("th", { key: 'a4a39c2b83811669866bb7605045e52af46696a0' }, texts.serviceType), h("td", { key: 'a5a012bdc61cd520c393c33ce2986b83d3e623e8' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), h("th", { key: 'e1b02ec887c8e0cb010c8a0d76ebccc190c85c55' }, texts.name), h("td", { key: 'dccdab44ddb5fbd685ff7b2a08d1b7831044d641' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), h("tr", { key: 'f6567d47c7b10205771a6aa28a9a3731d9ee105f' }, h("th", { key: '9a980c2b1388603c64190baf18b81b6f4d936a78' }, texts.activationDate), h("td", { key: 'fe4887b0299fcaf6763fe1b1d9db119d3fabc542' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), h("th", { key: '5f00fe4954bce002029ab089447de2e171ce9e0f' }, texts.expireDate), h("td", { key: 'c7947afe3625997a1155efe5adbdf70d5fae3eee' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), h("tr", { key: 'abeedd723e72530ce5cb464663d6a2d500345819' }, h("th", { key: 'a1080c278293b311fa9112ecd85b71b9642652de' }, texts.packageCode), h("td", { key: 'a03b9369d908a49db0e057183242dcac9929797e' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.packageCode))))), h("div", { key: '3172080054cf912c1ea5d2098909e59e7243004a', 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 && (h("div", { key: '40c34de4eff3eed04ff1907044b31cf7c3e8550b', class: "admonition warning" }, h("p", { key: 'dfee458d8eaa6765ce1f33aa9522f15a37a56748', class: "admonition-title" }, texts.warning), h("div", { key: '1024c7a00845a77d520a9508ee009e76bfdd2c3e', style: { padding: '0 30px' } }, h("p", { key: '9d7e150217032f4fb3a24ac55696682890bf96bc', class: "my-4" }, texts.skipServicesWarning), h("ul", { key: '9e9efe45cbff382a97d6abd601355c5373d53976', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (h("li", { id: name }, name)))), h("div", { key: '94497bbd9e974a345a525bb358b375e0b2dca7f0', class: "cancel-confirmation-box" }, h("label", { key: '1536482e9b88f2c6ccb1ea8a0e0ca88ecc00183e' }, h("input", { key: 'cfb7b1147c28f4e6ba89c0b8df50c093ee022bca', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
152
+ //if (!disableInput) this.focusInput();
153
+ return (h(Host, { key: '4d60172a6013d0dc71cda1ecff2af7ee56999d98' }, h("div", { key: 'ee4d7ebc30cbd32c38ada31652073db477f5de7b', dir: this.locale.direction, class: cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, h("svg", { key: '8ff2dba24e125c0aaecf43b86f56f582d0b8425d', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '6779128720c389b18c7e76da122741b97b970c9f', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: 'ff0b520e4532867ef066c88cb3e2491b2dfe1031', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '3a337281cf3a3994e8ce4c8a0b1d0e5de6088ee2', id: "SVGRepo_iconCarrier" }, h("path", { key: 'a4ade0f5dbe8f4f12c83e777489e32d88bf2f0ba', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'eab68a4254b076c22d858a074b3a823370af3a34', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: 'c0996774f2a092d359f40154d6ca0edd225d51ff', class: "dynamic-claim-processor-wrapper" }, h("div", { key: 'ad0cf0bd115728a8d2754a97021ca1af59b5e794', class: "dynamic-claim-processor-info-box" }, h("div", { key: 'ecf2fd2f53fb3d582faebeff08f718bd1f00ed07', class: "dynamic-claim-processor-info-box-header" }, h("strong", { key: '7cbc88851b0429bcb5a03bce3ac599199efd40cc', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), h("div", { key: '4b3ad1abb833c17fffe3227d5ce9b78fb04412ef', class: "dynamic-claim-processor-info-box-body" }, h("table", { key: '64741cde13d9c0bf749f7644da50c780429af41a', class: "border-separate" }, h("tr", { key: '810ef70655160f21ef3bdda2d4dc61601e25c186' }, h("th", { key: 'f057ca7ec2d4e8565f1178a1c150a7e9d3feb48d' }, texts.serviceType), h("td", { key: 'c608ddda77454c995a78efcd2db9c53c8c4480f1' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), h("th", { key: 'd75604f069dbd59514b283548dfadce867a142cb' }, texts.name), h("td", { key: '9dd9063fc7544d41008e003916f2a80a35d3a620' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), h("tr", { key: '488f835542dbfc6769b373e8c01b92c7f66f8bfa' }, h("th", { key: 'f76e0e1867d1680af53eb81f6cd591a13b838be0' }, texts.activationDate), h("td", { key: 'ea653220f16251d372fb69dc0b8eba9ec493ed07' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), h("th", { key: 'f8d42a220a21e5fcc6ef4549c8fe17ef7791df93' }, texts.expireDate), h("td", { key: 'bef1bb1762fea7a50a2e5497173e1c64af6a79be' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), h("tr", { key: '57e11bdab34524ad4ca2bc6c4090b525ec901dce' }, h("th", { key: 'b88c84c904c2ec02e1762f4b93123f599f9faf4e' }, texts.packageCode), h("td", { key: 'd11603da2024d5b382dd583a19835c267ca152c5' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.packageCode))))), h("div", { key: '250b2a97fc560a998862e0ffcfef140fb88aa09a', 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 && (h("div", { key: 'a6d150e0cb4e6de7e160e63ca57a0e96618fdb56', class: "admonition warning" }, h("p", { key: 'bfa6ba56795a1db6d98c51e6342ac18047c0642d', class: "admonition-title" }, texts.warning), h("div", { key: '6fff50141cd975180efdbd05774055872508153d', style: { padding: '0 30px' } }, h("p", { key: '39e6cba7ebaa2d5f2d29263a86f97c6de7028008', class: "my-4" }, texts.skipServicesWarning), h("ul", { key: '05253fc130b2cd5a3db727c36aab131db22f85de', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (h("li", { id: name }, name)))), h("div", { key: '64c0d0ba5e0dd0d581906fd02dd98abdcedffa94', class: "cancel-confirmation-box" }, h("label", { key: 'dc8ebbf8dfe159a23758d72b7d6355e779cfbe38' }, h("input", { key: '58b57933dc18b797d42df1ec5edc26adb3d7c69c', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
135
154
  this.confirmServiceCancellation = !this.confirmServiceCancellation;
136
- } }), texts.confirmSkipServices))))), this.unInvoicedByBrokerName && (h("div", { key: '8d97cd8a35e88fcc85fd1d00a8409c8fd82d031b', class: "admonition warning" }, h("p", { key: '3ed9e0f9f2866c477614b01007cc4feacf99a4ca', class: "admonition-title" }, texts.warning), h("div", { key: '3451dbc457fc978d507385adf5dfdb01b0175009', style: { padding: '0 30px' } }, h("p", { key: 'de73b929494a06be5143c1f46f0e6c7b3db11a36', class: "my-4" }, texts.notInvoiced), h("div", { key: 'c32c2c8ad8b949333c7df86185c90727466ec60f' }, h("strong", { key: '4ac001dbc3f364b17e783dd1594b00dcc0a1bb08' }, this.unInvoicedByBrokerName)), h("div", { key: '3fbbb8fbff1d30b74658d04abcf5835f55715688', class: "cancel-confirmation-box" }, h("label", { key: 'f9464dd6e7bb2a072d916e4f10c3884ed37cf6ed' }, h("input", { key: 'c3ee2712aa9178340e7c140436f47da526e4abdf', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
155
+ } }), texts.confirmSkipServices))))), this.unInvoicedByBrokerName && (h("div", { key: '6d5747deb2a99f1d8340362eb7b080861567168d', class: "admonition warning" }, h("p", { key: 'c5450b5cc85b89c591c114cd35dc45ba1a7c7c7a', class: "admonition-title" }, texts.warning), h("div", { key: '1f3c8f061d4c76e89668b2336737af5efb4876a5', style: { padding: '0 30px' } }, h("p", { key: '5557d2ede8bdbc5576fb9669060ae89e109fd213', class: "my-4" }, texts.notInvoiced), h("div", { key: '2cbca9a32cf33c70244b8f6ecf38fc02215e5144' }, h("strong", { key: '886129a7f93c5875f4200ba40a853a303a99c884' }, this.unInvoicedByBrokerName)), h("div", { key: '87e1b94580cba995828d0a16d1d3721023073a24', class: "cancel-confirmation-box" }, h("label", { key: '554563728e88cb15e892d37d079781a0fbdb7d6f' }, h("input", { key: '1718688c8422d38c012631c2f07aa3530bdfe9b0', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
137
156
  this.confirmUnInvoicedTBPVehicles = !this.confirmUnInvoicedTBPVehicles;
138
- } }), texts.confirmNotInvoiced))))), h("div", { key: '821faf9bfbddd4f50f0bf396507ffdb7b0e3cab0', class: cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, h("div", { key: '78413adc13f3c156c974f2417a216cb56087d655', id: "scan-invoice-step", class: cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, h("div", { key: 'd45af4438b59e60b2dddf9dd5afc10d1bc4148cf', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, h("div", { key: 'ecc6268ff406e2f24f8607f543181deb5d1839ac', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, h("svg", { key: '532b61a75f28bb579138b0a202f7cba449d780ae', 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" }, h("g", { key: 'daa3975309fd91dce3248a8070b7b8b31e0690a7', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '370681f41cd861d96d927760e2eca7e064643a5c', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '0847203aa4c2cd364591a886d1f2d807f997b299', id: "SVGRepo_iconCarrier" }, h("g", { key: 'a9e08fe3afc29d1fe8e0c8bf0721737bf876218d' }, h("g", { key: '874920849210214ed3ad49ec69b23f3a08c02077' }, h("path", { key: 'bfecf6678153308bed83ed1a57a9c88f47956cd9', 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" }))), h("g", { key: '08ad3808320bfaafa69d611b5e29ad855227e5b0' }, h("g", { key: '56903a15dfa21cdd0482f2050e405500449a4be2' }, h("path", { key: 'da5417d111c63d797cd3a67b38cf4e26e6311230', 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" }))), h("g", { key: '8b1cd57b2abb9fa2784340c321923d1084d3fccc' }, h("g", { key: '70b8af1599ed9e94a953772575ce2ec7ac512b23' }, h("path", { key: 'a1dcdc0b333734e25e2a155a17bccfc358891b01', 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" }))), h("g", { key: '2ffeb43c221ff260b402fc2f05c5b19680d1ff1b' }, h("g", { key: '7214a57491ecd75634c78bda3b0220e23af3c98c' }, h("path", { key: '857f6017ea6dc40705b8e67f58d63044ab9f1c1d', 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" }))), h("g", { key: 'd4ea4508ec46a07d259700715a5ab5591b508430' }, h("g", { key: '51e15f602a16bb434fbd69eefb56f2765267ecc5' }, h("path", { key: '9abdb5a7daa2044f7d67eef5b92d419a98409b0f', 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" }))), h("g", { key: '4ee0bbe16eef0aba2ca6950d6a613dbadfebf54c' }, h("g", { key: '47e9a1ea270f79c4704bc7931bad60eb68abefb4' }, h("path", { key: '9275167a390e99a774a4056e28c9fd327515e7d0', 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" }))), h("g", { key: 'a86ec73fa2d5e3ac6f30c634881ebc0a2b30e9f1' }, h("g", { key: '2ed9739ab2ba775171de2ea2af270341263c28fa' }, h("path", { key: '6f592dab17f3a0471a78455559aa376943f55563', 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" }))), h("g", { key: 'ad897f92cd8d839f9ac3e5f42b224ee957969dbd' }, h("g", { key: 'deaf3ddf8aa33242b9d19064bbf1018279e0771d' }, h("path", { key: 'be138c186d53896ccf883641a41ef6575a280a67', 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" }))), h("g", { key: 'e162c84c1c898d2ed7bf0c5791a8412b818fbb07' }, h("g", { key: 'f3c570c215184e54282289d71385fabbe9975368' }, h("path", { key: '40ab4e266f68b5818577cf120def387889e68e29', 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" }))), h("g", { key: '656e8ccb1fcca5aae7203da2cb299209a53c4148' }, h("g", { key: 'f9c880a2f152240fe379f4fd739bcd2027fa596b' }, h("path", { key: '477cbd38c2229b1fd71200569bf688bd0d5f4026', 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" }))), h("g", { key: 'd829745ff43023da73604fddbff260129d6af660' }, h("g", { key: '35d2509cf11382a68e947cc17806cf2706c1004e' }, h("path", { key: '53ca280148ca51d9cc8a7172960c8ce6502aa610', 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" }))), h("g", { key: 'e180b47ec583ad8394b093fc1e94791976145393' }, h("g", { key: 'e7200ead61cdd52e9406aa2b6a5818fd09c0377b' }, h("path", { key: 'b97814950c1ce523ea0f4eb8e815763ac1e752c5', 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" }))), h("g", { key: '2a6f5458c17b89391224ad0628c7f81bd6e8ccf8' }, h("g", { key: 'bb84c507da293a1d8241bc09621ccf6281c6ea3d' }, h("path", { key: '50d5442da21afd895f1271c181e502aae8badaae', 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" }))), h("g", { key: 'bcd4327b5495ffbf89de7345501b10fe18ef9b8b' }, h("g", { key: '25ef1f9edce98ed03892a75e8e21369a0871cdfe' }, h("path", { key: 'c7b449ce4802cc63fb5756fca2afc96fd94678c2', 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" }))), h("g", { key: '42fc29d803053b777c657dacb9aeabf9ab07459d' }, h("g", { key: '9035a1e11f035c4b0d783273b07c31843b866cf0' }, h("path", { key: '8fdc1c0a5d3f43a85aa824ddb33f666b0be88047', 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" }))), h("g", { key: 'd6551a040af58c7e18ce8a71f38f9c880a37189d' }, h("g", { key: 'f061b01d5dd6e25e48645db832c3010333e9868f' }, h("path", { key: '46325705118928cb95773dae7bb5da06c6f68c26', 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" }))))), h("div", { key: '06d93f55087140c1a9255345910f6a739939c3d2' }, texts.scanTheInvoice)), h("div", { key: '0d1a5952637234aed79814da6de8a56410a0f41c', style: { position: 'absolute' }, class: "loading-wrapper" }, h("div", { key: '396f23b7f8977c3d6987c9ccebfc9d724f6b834d', class: cn('lds-ripple', this.isLoading && 'active') }, h("div", { key: 'eebcd02796b198be2ea3adb767e798cf965f82af' }), h("div", { key: '57d88e3bfbf70c0a3288006bb28495f9ba812e4b' })), h("div", { key: '32bc28591c12ce7e2cc3d20a3e7b3a411dbc13bf', class: cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), h("input", { key: '1133485562f5b9152dda014ce1b31d2d5eb73a2c', 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' } }))))))));
157
+ } }), texts.confirmNotInvoiced))))), h("div", { key: 'c96700389a81ee363383113d5f8b8c69b79352b6', class: cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, h("div", { key: '6ad97f6174cf7e16dc584ce6540e020b19a3b158', id: "scan-invoice-step", class: cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, h("div", { key: '0d41d5b39e1b1c27846e2443e1e616e461ab1dc8', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, h("div", { key: '5ef357a2c9301aa36c281c7710a3d75e94963081', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, h("svg", { key: '41bd7b2d90ec47116c5879ce397e886612629e9c', 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" }, h("g", { key: '20a83be3a8cc360b52ed9a13ac8e33a7110c607d', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: 'a7bd15a4f27f28cf8b90d46c73b5c3bf8b48af79', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '285a269c105ddeb4e53730515a43b7b13f60ff44', id: "SVGRepo_iconCarrier" }, h("g", { key: '40605bc7c8fe22777e7f56d789e0163eb4579376' }, h("g", { key: 'a527709d745bcbf2eabeeae2d7dc81234584a9d1' }, h("path", { key: '2666e63ed8f4742b7e27db5a7245fd035b141155', 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" }))), h("g", { key: '04d501526125a167536feed5835f1148b06d794b' }, h("g", { key: '281fb58302aa092d3336a6485c98fd95ea4bb2dd' }, h("path", { key: '75b156f4ad99296493a1c01c209f9d3db7a66b15', 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" }))), h("g", { key: 'c1bdfd5520d6be59831a0f77cbd4d75548c4adc7' }, h("g", { key: 'ab1442832aa8204288fe75b6d71c30b5a1c8e95a' }, h("path", { key: '2676d59b6fef93a89a004b371fb68ffdbae63153', 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" }))), h("g", { key: '8f5216814ec4b6a657d0bf1ebe4cb280e316c3f8' }, h("g", { key: '9c80d23a992fe08d055ff276c7ec998fcfaa6bdc' }, h("path", { key: 'eef67d679498e2f952cb4980b7909f4ed4ef3b05', 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" }))), h("g", { key: '7a3472f30aeb04dc4ae854bee2f757c3a8d338e6' }, h("g", { key: '5a27bb7efced32d0673d9f1a42414514791db7e2' }, h("path", { key: '247a16bd17464644cc5d9497ea6dfdc4924f648e', 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" }))), h("g", { key: '5c3b360dbd045815b18c648de967b8673124aa87' }, h("g", { key: 'c1ae89e22f84c0263fc0886330419ddff9512e6b' }, h("path", { key: '6029668aa197369aaa8ac58b69f832bb97048a97', 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" }))), h("g", { key: 'e160bd89d9941777abdf0cc29c55bdd65ed0ed39' }, h("g", { key: 'f3600db2f453bc697b73db9c456ded02f5e8d1ac' }, h("path", { key: '677e4b6b97f44cffad4c037e0c6de02be558dde7', 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" }))), h("g", { key: '89601709a1ed50a2556af187707382895ffdce55' }, h("g", { key: '133cadb048f1a6ed1f827416047079dd2c5ae603' }, h("path", { key: 'a879a396bed5b9f5b48d3df029db495c5721b7d1', 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" }))), h("g", { key: '2ff645720d47fd80dda0f432d9df79f16a7203b8' }, h("g", { key: 'ac1a768fd4409b9842508e899d2d8677ec62ce38' }, h("path", { key: 'c078af945cfa4e75c494697221f93217ab5dabc0', 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" }))), h("g", { key: '56203096574fe37ac7ec3703a50585be50bc6a45' }, h("g", { key: '960d8cbaab33dcf72109fd794bea4603fddb695f' }, h("path", { key: '6b021521a42bdebc26c7961d1dac1e86afedc5ec', 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" }))), h("g", { key: 'd7a98ea4584391309669a9f8c0c8716c59291487' }, h("g", { key: '2ef3d5f7f1e20306fa1b03efd568ae184d4708fb' }, h("path", { key: '9bd52b763eb1a7fcd0fe4f2c5e1c2388644db507', 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" }))), h("g", { key: '123e567af0fdd76f59cd0409fe6fbb4ca51a886c' }, h("g", { key: '2715a0cf355743e6e769f32512b1e888163f4bee' }, h("path", { key: '5f47a2d0f34d4f1482a6803c8c03684cc289effc', 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" }))), h("g", { key: '42858584f446cf31dd2de54d06b6e16b834c5f7e' }, h("g", { key: '380d8f5b43e56ee62c84aba6cc835dd14cd3b995' }, h("path", { key: '19824fe2904b036b45dac7dddb0fb81a64d54971', 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" }))), h("g", { key: 'aae5aae6ba93a927bdf852c375e269b232ac3c5d' }, h("g", { key: 'c9b211451577cbf8b0f37ab6bd0eb918c0582c6e' }, h("path", { key: '063e6463c6453f7c127014ec17002b626a5a31dc', 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" }))), h("g", { key: '072b6685d6e6b050baca3132c8f07176f91e9eb1' }, h("g", { key: 'c91aa0b81e47b154f2453dcda33a9aa2f55bac45' }, h("path", { key: 'd1ffba37dd5c4f9b9bffe361bb1aeaf963928af4', 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" }))), h("g", { key: '0b7a52501d3dabd204c1684409d09a4bcc1a5184' }, h("g", { key: '228cca2ab86b50e3d79f9bb4cd418cbe8123da13' }, h("path", { key: 'a311a551375db58a0afbf385b4007ebc00bf4816', 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" }))))), h("div", { key: '752286ef491f385dedb700e48559406a186699ff' }, this.claimViaBarcodeScanner ? texts.scanTheInvoice : texts.enterServiceInfo)), h("div", { key: 'daf5fc280bdbcb0246d9a248ccf7c81cfad07524', style: { position: 'absolute' }, class: "loading-wrapper" }, h("div", { key: '378329570ab4e8f96168ce951f257d36b5574af9', class: cn('lds-ripple', this.isLoading && 'active') }, h("div", { key: 'f94c13012a198a7df314e18f57c3c598b9fa97c0' }), h("div", { key: 'cbcc01083df79f160f1b966aa961909e58287801' })), h("div", { key: '337d318a9d67dd7d09dae37a0a06fed1fb0b0a68', class: cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), h("div", { key: '4fdcfcdb6c0b5782ce31fa9a8178cfaeb97ef2a0', style: { display: 'flex', flexDirection: 'row', gap: '50px', padding: '0 75px' } }, h("input", { key: '9778e5dfb109932aaaeef9955d95e461d6ff4ecc', id: "invoice-input", dir: "ltr", class: "dynamic-redeem-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.inputKeyDown, onBlur: () => {
158
+ if (this.claimViaBarcodeScanner) {
159
+ this.invoiceInput.focus();
160
+ }
161
+ }, autocomplete: "off", disabled: disableInput, placeholder: texts.invoice, autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }), !(this === null || this === void 0 ? void 0 : this.claimViaBarcodeScanner) && (h("input", { key: '31f33b3a7ed834e1f5adf0e77634f491c20b0e84', id: "job-input", dir: "ltr", class: "dynamic-redeem-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.inputKeyDown, autocomplete: "off", disabled: disableInput, placeholder: texts.jobNumber, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))), h("div", { key: 'e7bab4f86c533d6f6c0d09797ce38daa9b6f8670', style: { marginTop: '55px' } }, !(this === null || this === void 0 ? void 0 : this.claimViaBarcodeScanner) && (h("button", { key: 'da67dcf78321fd6285da897f3f93b6335e3c6274', onClick: () => {
162
+ if (this.readyToClaim) {
163
+ this.inputKeyDown(null);
164
+ }
165
+ }, class: cn('claim-button', 'dynamic-claim-button', !(this === null || this === void 0 ? void 0 : this.readyToClaim) && 'disabled') }, h("svg", { key: 'd684c12ad6929d46f650c6a8433de50139b1066b', width: "30px", height: "30px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '459d9fc141404ee3f0724990dbb44203308afec6', "stroke-width": "0" }), h("g", { key: '5578d6a3de3022223e96d4375271b3230c5cc4ca', "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '3dd4e9b3894797634b56ce47030ba2071d77a1a8' }, h("circle", { key: '66f26677f915400f7566936d03ccc0e9f3b5b3b7', cx: "12", cy: "12", r: "8", "fill-opacity": "0.24" }), h("path", { key: 'c6a4a665886acab805cf53a1875d7bb33d834ed0', d: "M8.5 11L11.3939 13.8939C11.4525 13.9525 11.5475 13.9525 11.6061 13.8939L19.5 6", "stroke-width": "1.2" }))), h("span", { key: '933a30b17bdc99eb5545dc0925245c9d276f1ce1' }, texts.claim)))))))))));
139
166
  }
140
167
  get el() { return getElement(this); }
141
168
  static get watchers() { return {