adp-web-components 0.3.13 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{add-icon-BaoMAIgg.js → add-icon-BklgM02f.js} +1 -1
- package/dist/cjs/{app-globals-DBRBLgev.js → app-globals-XGpRBTr6.js} +1 -1
- package/dist/cjs/{arrow-icon-CJX1aUJ8.js → arrow-icon-yMlETDbD.js} +1 -1
- package/dist/cjs/{arrow-up-icon-B3Z5Myqt.js → arrow-up-icon-BLo1aQC2.js} +1 -1
- package/dist/cjs/{form-dialog_13.cjs.entry.js → branch-slot-dropdown_15.cjs.entry.js} +578 -41
- package/dist/cjs/{calendar-days-icon-CsHz2cgV.js → calendar-days-icon-Cf14ROXV.js} +1 -1
- package/dist/cjs/{check-icon-CqTKjw2o.js → check-icon-DaQxP2EY.js} +1 -1
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +11 -11
- package/dist/cjs/{decode-time-offset-DOSaziv5.js → decode-time-offset-DOUImlif.js} +1 -1
- package/dist/cjs/flexible-container.cjs.entry.js +4 -4
- package/dist/cjs/form-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-date-picker.cjs.entry.js +8 -8
- package/dist/cjs/{form-error-message-K-KI154V.js → form-error-message-BtLdHgxO.js} +1 -1
- package/dist/cjs/{form-input-PYkIVe7J.js → form-input-BBY_3Qk7.js} +8 -6
- package/dist/cjs/{form-input-label-uhneFYXO.js → form-input-label-B4lkF89K.js} +1 -1
- package/dist/cjs/form-input_7.cjs.entry.js +26 -26
- package/dist/cjs/form-switch.cjs.entry.js +6 -6
- package/dist/cjs/form-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/{functions-Bu1AQDD2.js → functions-BHYWCotp.js} +5 -11
- package/dist/cjs/general-form.cjs.entry.js +11 -11
- package/dist/cjs/general-inquiry-form.cjs.entry.js +11 -11
- package/dist/cjs/{get-language-from-url-p2OXldYh.js → get-language-from-url-DwOt9DVH.js} +5 -1
- package/dist/cjs/{get-local-language-BR0p0bBg.js → get-local-language-BSOLV9z2.js} +7 -3
- package/dist/cjs/{get-mock-files-Dljv5P4k.js → get-mock-files-Dv8XsTW8.js} +2 -2
- package/dist/cjs/{index-Bi6W8dMN.js → index-BdHAYIvO.js} +16 -0
- package/dist/cjs/information-table.cjs.entry.js +2 -2
- package/dist/cjs/{loader-icon-By94sKO7.js → loader-icon-aY56OHXW.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +4 -4
- package/dist/cjs/{mappers-DF2WCWpn.js → mappers-BlH-TAo7.js} +27 -5
- package/dist/cjs/{material-card-BqsZgRVE.js → material-card-D1UQcy6U.js} +1 -1
- package/dist/cjs/part-lookup.cjs.entry.js +3 -3
- package/dist/cjs/{qr-code-scan-B-8WHa22.js → qr-code-scan-CtKK6wLL.js} +1 -1
- package/dist/cjs/service-booking-form.cjs.entry.js +11 -11
- package/dist/cjs/shift-accordion.cjs.entry.js +2 -2
- package/dist/cjs/shift-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/shift-components.cjs.js +3 -3
- package/dist/cjs/shift-slider.cjs.entry.js +2 -2
- package/dist/cjs/shift-switch.cjs.entry.js +3 -3
- package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/shift-tabs_2.cjs.entry.js +13 -13
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +11 -11
- package/dist/cjs/test-drive-form.cjs.entry.js +11 -11
- package/dist/cjs/{triangle-alert-CN15U99s.js → triangle-alert-BjQBwsRv.js} +1 -1
- package/dist/cjs/{validation-jJwLyk27.js → validation-5ZUxalyW.js} +3 -1
- package/dist/cjs/{vehicle-accessories_7.cjs.entry.js → vehicle-accessories_8.cjs.entry.js} +418 -19
- package/dist/cjs/{vehicle-info-layout-sV6altzn.js → vehicle-info-layout-CRpL8UMY.js} +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +9 -5
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +7 -7
- package/dist/cjs/{get-custom-classes-for-portal-NNOxAU3P.js → white-loader-CveXuRsH.js} +15 -15
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/components/empty.css +1 -1
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/flexible-container.js +2 -2
- package/dist/collection/components/components/loading-spinner.js +1 -1
- package/dist/collection/components/components/shift-accordion.js +1 -1
- package/dist/collection/components/components/shift-checkbox.js +1 -1
- package/dist/collection/components/components/shift-portal.css +1 -1
- package/dist/collection/components/components/shift-select-dropdown.css +1 -1
- package/dist/collection/components/components/shift-select-dropdown.js +2 -2
- package/dist/collection/components/components/shift-select.css +1 -1
- package/dist/collection/components/components/shift-select.js +3 -3
- package/dist/collection/components/components/shift-slider.js +1 -1
- package/dist/collection/components/components/shift-switch.js +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.js +2 -2
- package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -0
- package/dist/collection/components/form-elements/branch-slot-dropdown.js +405 -0
- package/dist/collection/components/form-elements/branch-slot-picker.css +1 -0
- package/dist/collection/components/form-elements/branch-slot-picker.js +921 -0
- package/dist/collection/components/form-elements/form-checkbox.js +1 -1
- package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
- package/dist/collection/components/form-elements/form-dialog.js +1 -1
- package/dist/collection/components/form-elements/form-file.js +22 -4
- package/dist/collection/components/form-elements/form-input.js +2 -2
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-picker-input.js +2 -2
- package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
- package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
- package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
- package/dist/collection/components/form-elements/form-stepper.js +1 -1
- package/dist/collection/components/form-elements/form-structure-error.js +1 -1
- package/dist/collection/components/form-elements/form-submit.js +2 -2
- package/dist/collection/components/form-elements/form-switch.js +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +2 -2
- package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
- package/dist/collection/components/form-elements/form-vin-input.js +2 -2
- package/dist/collection/components/forms/defaults/mappers.js +23 -1
- package/dist/collection/components/forms/defaults/validation.js +2 -1
- package/dist/collection/components/forms/general-form.js +2 -2
- package/dist/collection/components/forms/general-inquiry.js +2 -2
- package/dist/collection/components/forms/service-booking.js +2 -2
- package/dist/collection/components/forms/ssc-lookup.js +2 -2
- package/dist/collection/components/forms/test-drive.js +2 -2
- package/dist/collection/components/forms/vehicle-quotation.js +2 -2
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
- package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
- package/dist/collection/components/vehicle-lookup/components/CoverageTimeline.js +317 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +5 -5
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +7 -7
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +6 -2
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +467 -0
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/features/form-hook/form-hook.js +4 -0
- package/dist/collection/features/form-hook/functions.js +2 -8
- package/dist/collection/features/form-hook/inputs/form-input.js +7 -5
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.js +1 -0
- package/dist/collection/locale-mapper.js +5 -1
- package/dist/collection/locales/vehicleLookup/warrantyTimeline/type.js +31 -0
- package/dist/collection/templates/vehicle-lookup/prototype-assets/extended-warranty/adp-logo.svg +11 -0
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +96 -1
- package/dist/components/branch-slot-dropdown.d.ts +11 -0
- package/dist/components/branch-slot-dropdown.js +5 -0
- package/dist/components/branch-slot-picker.d.ts +11 -0
- package/dist/components/branch-slot-picker.js +5 -0
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/flexible-container.js +1 -1
- package/dist/components/form-checkbox.js +1 -1
- package/dist/components/form-date-picker.js +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-file.js +1 -1
- package/dist/components/form-input-preview.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-phone-number.js +1 -1
- package/dist/components/form-picker-input.js +1 -1
- package/dist/components/form-select.js +1 -1
- package/dist/components/form-shadow-input.js +1 -1
- package/dist/components/form-stepper-control.js +1 -1
- package/dist/components/form-stepper-submit.js +1 -1
- package/dist/components/form-stepper.js +1 -1
- package/dist/components/form-structure-error.js +1 -1
- package/dist/components/form-structure.js +1 -1
- package/dist/components/form-submit.js +1 -1
- package/dist/components/form-switch.js +1 -1
- package/dist/components/form-text-area.js +1 -1
- package/dist/components/form-time-picker.js +1 -1
- package/dist/components/form-vin-input.js +1 -1
- package/dist/components/general-form.js +1 -1
- package/dist/components/general-inquiry-form.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/information-table.js +1 -1
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/manufacturer-part-lookup.js +1 -1
- package/dist/components/{p-CKrwCtec.js → p--qz4ecXR.js} +1 -1
- package/dist/components/{p-BMxw31OW.js → p-3xgnJUhD.js} +1 -1
- package/dist/components/{p-DJ0awYVE.js → p-87NLGlyb.js} +1 -1
- package/dist/components/{p-dRP9cgZF.js → p-B2FtamaW.js} +1 -1
- package/dist/components/{p-Cl-rntc3.js → p-B47kSZHb.js} +1 -1
- package/dist/components/p-B7gfOpxv.js +5 -0
- package/dist/components/{p-CjByjVT0.js → p-B83lw3YO.js} +1 -1
- package/dist/components/p-B9ClwHPb.js +5 -0
- package/dist/components/p-B9_-Tb0H.js +5 -0
- package/dist/components/{p-CtyIp56a.js → p-BAtXT_Mt.js} +1 -1
- package/dist/components/p-BGX0qdUG.js +5 -0
- package/dist/components/{p-Hlqj6HsH.js → p-BPnD6Cqq.js} +1 -1
- package/dist/components/{p-BNs9PHd8.js → p-BQC1g-wS.js} +1 -1
- package/dist/components/p-B__72-PA.js +5 -0
- package/dist/components/{p-Wv20cFTm.js → p-BaKmifzr.js} +1 -1
- package/dist/components/{p-CRJSM0nN.js → p-BcDVkdxZ.js} +1 -1
- package/dist/components/{p-D-0CfzDk.js → p-ByA_B82T.js} +1 -1
- package/dist/components/p-C0JoH_yH.js +5 -0
- package/dist/components/{p-BjLQXN9e.js → p-C2RnTSH-.js} +1 -1
- package/dist/components/{p-B3Vlmu9F.js → p-C4ud82ie.js} +1 -1
- package/dist/components/p-CCuYl9VQ.js +5 -0
- package/dist/components/{p-BIeJEFM6.js → p-CDQ5F3Oe.js} +1 -1
- package/dist/components/{p-ubqjXh5U.js → p-CGJ8ndBw.js} +1 -1
- package/dist/components/p-CNcA_RyS.js +5 -0
- package/dist/components/{p-BcRom3sV.js → p-C_ZtLgwx.js} +1 -1
- package/dist/components/{p-BHYsBcpG.js → p-Cq13CFua.js} +1 -1
- package/dist/components/p-CzVOOo8C.js +5 -0
- package/dist/components/{p-B42vuL_p.js → p-D-6PSzhd.js} +1 -1
- package/dist/components/{p-DBErZTaY.js → p-D2H3RzIC.js} +1 -1
- package/dist/components/{p-CMgPnaDZ.js → p-DHaTQ9vT.js} +1 -1
- package/dist/components/{p-8EOK_QhL.js → p-DQGcS-zL.js} +1 -1
- package/dist/components/p-DQopO8HS.js +5 -0
- package/dist/components/p-DTk3bhGl.js +5 -0
- package/dist/components/p-Dal_X4-W.js +5 -0
- package/dist/components/{p-CoAe_PpX.js → p-DdB_zKQz.js} +1 -1
- package/dist/components/{p-BP6R1nYk.js → p-Dhi7g1w3.js} +1 -1
- package/dist/components/p-Dr_ggnvT.js +5 -0
- package/dist/components/{p-C55Gk63d.js → p-Dx0NcxCM.js} +1 -1
- package/dist/components/{p-50EIzP4j.js → p-HT-TmIJD.js} +1 -1
- package/dist/components/{p-BFAzCUQY.js → p-ZTI11kto.js} +1 -1
- package/dist/components/{p-DbAAihIH.js → p-a5fTeexp.js} +1 -1
- package/dist/components/{p-BDlZ35Dv.js → p-bOkg1-34.js} +1 -1
- package/dist/components/{p-DWGSY0dp.js → p-gzdpekMI.js} +1 -1
- package/dist/components/{p-DNZ31iYw.js → p-pIanEonc.js} +1 -1
- package/dist/components/{p-BDHTK4yJ.js → p-qGX3WTkQ.js} +1 -1
- package/dist/components/{p-CnZZ3ASF.js → p-qs0MTheD.js} +1 -1
- package/dist/components/{p-CD1XArUc.js → p-txgHrQYx.js} +1 -1
- package/dist/components/{p-BsgLxjfx.js → p-v_TjAHaO.js} +1 -1
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/shift-accordion.js +1 -1
- package/dist/components/shift-checkbox.js +1 -1
- package/dist/components/shift-portal.js +1 -1
- package/dist/components/shift-select-dropdown.js +1 -1
- package/dist/components/shift-select.js +1 -1
- package/dist/components/shift-slider.js +1 -1
- package/dist/components/shift-switch.js +1 -1
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.js +1 -1
- package/dist/components/ssc-lookup-form.js +1 -1
- package/dist/components/test-drive-form.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-claimable-items.js +1 -1
- package/dist/components/vehicle-item-claim-form.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-paint-thickness.js +1 -1
- package/dist/components/vehicle-quotation-form.js +1 -1
- package/dist/components/vehicle-sale-information.js +1 -1
- package/dist/components/vehicle-service-history.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.js +1 -1
- package/dist/components/vehicle-warranty-timeline.d.ts +11 -0
- package/dist/components/vehicle-warranty-timeline.js +5 -0
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/{add-icon-DxQVyX6U.js → add-icon-DHh6DJXR.js} +1 -1
- package/dist/esm/{app-globals-ci3rJxmu.js → app-globals-CusTGK9D.js} +1 -1
- package/dist/esm/{arrow-icon-DRTeN2D5.js → arrow-icon-DziuNOTp.js} +1 -1
- package/dist/esm/{arrow-up-icon-FAYFxG6c.js → arrow-up-icon-Dw_d-rG9.js} +1 -1
- package/dist/esm/{form-dialog_13.entry.js → branch-slot-dropdown_15.entry.js} +575 -40
- package/dist/esm/{calendar-days-icon-BOy0a_W-.js → calendar-days-icon-CnASOv7M.js} +1 -1
- package/dist/esm/{check-icon-BYK1ESZG.js → check-icon-BZQF4tzH.js} +1 -1
- package/dist/esm/dead-stock-lookup_3.entry.js +11 -11
- package/dist/esm/{decode-time-offset-ChO_PV6l.js → decode-time-offset-Cib1aJfV.js} +1 -1
- package/dist/esm/flexible-container.entry.js +4 -4
- package/dist/esm/form-checkbox.entry.js +6 -6
- package/dist/esm/form-date-picker.entry.js +8 -8
- package/dist/esm/{form-error-message-YvMHko71.js → form-error-message-DWl6p6Dz.js} +1 -1
- package/dist/esm/{form-input-DAgayhNz.js → form-input-B8SwfkAd.js} +8 -6
- package/dist/esm/{form-input-label-cuvgzRcH.js → form-input-label-6blOw1BN.js} +1 -1
- package/dist/esm/form-input_7.entry.js +25 -25
- package/dist/esm/form-switch.entry.js +6 -6
- package/dist/esm/form-time-picker.entry.js +9 -9
- package/dist/esm/{functions-DHzedl_R.js → functions-BObezuTv.js} +5 -11
- package/dist/esm/general-form.entry.js +11 -11
- package/dist/esm/general-inquiry-form.entry.js +11 -11
- package/dist/esm/{get-language-from-url-U4hZ4dwn.js → get-language-from-url-fV-K15uy.js} +5 -1
- package/dist/esm/{get-local-language-TRD6vPH7.js → get-local-language-DcxL5hdi.js} +7 -3
- package/dist/esm/{get-mock-files-K2mWecRb.js → get-mock-files-IEjS5G9N.js} +2 -2
- package/dist/esm/{index-Cg4V9l26.js → index-CteZTPhq.js} +16 -1
- package/dist/esm/information-table.entry.js +2 -2
- package/dist/esm/{loader-icon-B2ls1yXl.js → loader-icon-BvAmA41s.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/loading-spinner.entry.js +2 -2
- package/dist/esm/manufacturer-part-lookup.entry.js +4 -4
- package/dist/esm/{mappers-CeTQZn37.js → mappers-9IKbvPiR.js} +27 -5
- package/dist/esm/{material-card-BMtefyp-.js → material-card-jbQd-0as.js} +1 -1
- package/dist/esm/part-lookup.entry.js +3 -3
- package/dist/esm/{qr-code-scan-CktgNBSD.js → qr-code-scan-B1nViqZl.js} +1 -1
- package/dist/esm/service-booking-form.entry.js +11 -11
- package/dist/esm/shift-accordion.entry.js +2 -2
- package/dist/esm/shift-checkbox.entry.js +4 -4
- package/dist/esm/shift-components.js +4 -4
- package/dist/esm/shift-slider.entry.js +2 -2
- package/dist/esm/shift-switch.entry.js +3 -3
- package/dist/esm/shift-tab-content.entry.js +2 -2
- package/dist/esm/shift-tabs_2.entry.js +13 -13
- package/dist/esm/ssc-lookup-form.entry.js +11 -11
- package/dist/esm/test-drive-form.entry.js +11 -11
- package/dist/esm/{triangle-alert-D4H9aWiT.js → triangle-alert-Brtqhx2d.js} +1 -1
- package/dist/esm/{validation-oieVWBn1.js → validation-lB1iHxfZ.js} +3 -2
- package/dist/esm/{vehicle-accessories_7.entry.js → vehicle-accessories_8.entry.js} +418 -20
- package/dist/esm/{vehicle-info-layout-DQ12Civq.js → vehicle-info-layout-Dmx94GLp.js} +1 -1
- package/dist/esm/vehicle-lookup.entry.js +9 -5
- package/dist/esm/vehicle-quotation-form.entry.js +7 -7
- package/dist/esm/{get-custom-classes-for-portal-C4LvwyrX.js → white-loader-B3tJFuNO.js} +15 -15
- package/dist/integration-manifest.json +66 -2
- package/dist/locales/vehicleLookup/warrantyTimeline/ar.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/en.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/ku.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/ru.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/type.ts +29 -0
- package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +19 -1
- package/dist/mocks/generated/edge-cases/vehicle-lookup.json +57 -0
- package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +27 -2
- package/dist/shift-components/{p-960fedbb.entry.js → p-088c8e4c.entry.js} +1 -1
- package/dist/shift-components/{p-3fcb1657.entry.js → p-12f36d97.entry.js} +1 -1
- package/dist/shift-components/p-17862b0b.entry.js +5 -0
- package/dist/shift-components/p-187cbdf5.entry.js +5 -0
- package/dist/shift-components/{p-fa39d151.entry.js → p-1c7c9c13.entry.js} +1 -1
- package/dist/shift-components/{p-7a41a739.entry.js → p-28e29ce7.entry.js} +1 -1
- package/dist/shift-components/p-383342be.entry.js +5 -0
- package/dist/shift-components/{p-fe7ece41.entry.js → p-3dcba301.entry.js} +1 -1
- package/dist/shift-components/{p-6b82a9b3.entry.js → p-5ba85e5c.entry.js} +1 -1
- package/dist/shift-components/{p-031f2ae6.entry.js → p-65beafcc.entry.js} +1 -1
- package/dist/shift-components/{p-22648595.entry.js → p-7cc6806c.entry.js} +1 -1
- package/dist/shift-components/{p-332ebda4.entry.js → p-7f44f655.entry.js} +1 -1
- package/dist/shift-components/{p-61ecc144.entry.js → p-868d554f.entry.js} +1 -1
- package/dist/shift-components/{p-a4086c90.entry.js → p-880c103a.entry.js} +1 -1
- package/dist/shift-components/{p-0dd7911f.entry.js → p-902a40c4.entry.js} +1 -1
- package/dist/shift-components/{p-10511716.entry.js → p-99886c58.entry.js} +1 -1
- package/dist/shift-components/{p-B8RCucpl.js → p-B9kqtQjS.js} +1 -1
- package/dist/shift-components/p-BTNA9XsD.js +5 -0
- package/dist/shift-components/{p-CiA8HlYO.js → p-C4NpWwNE.js} +1 -1
- package/dist/shift-components/p-C582V9TT.js +5 -0
- package/dist/shift-components/{p-BaC5C1YJ.js → p-C8PvXL-3.js} +1 -1
- package/dist/shift-components/{p-BLdwm9KB.js → p-CMMsmKvs.js} +1 -1
- package/dist/shift-components/p-C_QDvFTV.js +5 -0
- package/dist/shift-components/{p-BpCf2ue6.js → p-Ccwtsrgg.js} +1 -1
- package/dist/shift-components/p-CteZTPhq.js +6 -0
- package/dist/shift-components/{p-BG5y01yj.js → p-D1ioFMhR.js} +1 -1
- package/dist/shift-components/{p-FFH7sR1n.js → p-D7cqTTll.js} +1 -1
- package/dist/shift-components/p-D9Xf90VX.js +5 -0
- package/dist/shift-components/p-DWoutohJ.js +5 -0
- package/dist/shift-components/{p-BtLpOQVM.js → p-DtD7FZCG.js} +1 -1
- package/dist/shift-components/{p-CC1CaPP4.js → p-Dyo77aS3.js} +1 -1
- package/dist/shift-components/p-DzV_ls5o.js +5 -0
- package/dist/shift-components/p-HI9vdFQP.js +5 -0
- package/dist/shift-components/{p-08Pl1Pmo.js → p-MzYTUgsB.js} +1 -1
- package/dist/shift-components/{p-DwFWMVcD.js → p-OlAbjfKx.js} +1 -1
- package/dist/shift-components/{p-981d1f44.entry.js → p-b675fb6b.entry.js} +1 -1
- package/dist/shift-components/p-b8084ca2.entry.js +5 -0
- package/dist/shift-components/p-bad65a42.entry.js +5 -0
- package/dist/shift-components/{p-2f904561.entry.js → p-bb13232d.entry.js} +1 -1
- package/dist/shift-components/{p-CtUQMviL.js → p-bfwabdVa.js} +1 -1
- package/dist/shift-components/p-c4cf0a18.entry.js +5 -0
- package/dist/shift-components/{p-46e5146f.entry.js → p-e2868220.entry.js} +1 -1
- package/dist/shift-components/p-e7a99998.entry.js +5 -0
- package/dist/shift-components/{p-e979caa9.entry.js → p-ec3e0cce.entry.js} +1 -1
- package/dist/shift-components/{p-23df4ed2.entry.js → p-ee623097.entry.js} +1 -1
- package/dist/shift-components/{p-d33c83ac.entry.js → p-f9b8d43c.entry.js} +1 -1
- package/dist/shift-components/p-hABirfUj.js +5 -0
- package/dist/shift-components/{p-CRd5RAng.js → p-oFzLYYzz.js} +1 -1
- package/dist/shift-components/{p-Dvl1mJ6N.js → p-oQAUbfw7.js} +1 -1
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/stencil-docs.json +8462 -6793
- package/dist/types/components/form-elements/branch-slot-dropdown.d.ts +48 -0
- package/dist/types/components/form-elements/branch-slot-picker.d.ts +128 -0
- package/dist/types/components/form-elements/form-file.d.ts +1 -0
- package/dist/types/components/forms/defaults/mappers.d.ts +16 -0
- package/dist/types/components/forms/defaults/validation.d.ts +2 -0
- package/dist/types/components/vehicle-lookup/components/CoverageTimeline.d.ts +13 -0
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +3 -0
- package/dist/types/components/vehicle-lookup/vehicle-warranty-timeline.d.ts +46 -0
- package/dist/types/components.d.ts +452 -4
- package/dist/types/features/multi-lingual/types.d.ts +4 -4
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +4 -0
- package/dist/types/locale-mapper.d.ts +2 -1
- package/dist/types/locales/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +6 -6
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +50 -0
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +10 -10
- package/package.json +1 -1
- package/dist/components/p-B8g3fLoh.js +0 -5
- package/dist/components/p-BshR1DsJ.js +0 -5
- package/dist/components/p-C24AOawm.js +0 -5
- package/dist/components/p-CK6WFXQF.js +0 -5
- package/dist/components/p-CLkGfAsm.js +0 -5
- package/dist/components/p-ClDpIRF9.js +0 -5
- package/dist/components/p-CvcaE6Ss.js +0 -5
- package/dist/components/p-DlG98nFs.js +0 -5
- package/dist/components/p-Dv_BQG7D.js +0 -5
- package/dist/components/p-G9UmKW9m.js +0 -5
- package/dist/shift-components/p-0578b913.entry.js +0 -5
- package/dist/shift-components/p-1500556f.entry.js +0 -5
- package/dist/shift-components/p-214259ae.entry.js +0 -5
- package/dist/shift-components/p-9c950549.entry.js +0 -5
- package/dist/shift-components/p-BBmr0kTe.js +0 -5
- package/dist/shift-components/p-BVDXHvth.js +0 -5
- package/dist/shift-components/p-BY1wHcOT.js +0 -5
- package/dist/shift-components/p-BuurMgGN.js +0 -5
- package/dist/shift-components/p-Cg4V9l26.js +0 -6
- package/dist/shift-components/p-D2XgNV12.js +0 -5
- package/dist/shift-components/p-DlBduQTw.js +0 -5
- package/dist/shift-components/p-a55ceb19.entry.js +0 -5
- package/dist/shift-components/p-b611f72e.entry.js +0 -5
- package/dist/shift-components/p-bc966aa0.entry.js +0 -5
- package/dist/shift-components/p-rsylYLbj.js +0 -5
- package/dist/shift-components/p-yhCrSkom.js +0 -5
|
@@ -100,7 +100,29 @@ export const getFormMappers = (extraMappers = {}) => (Object.assign({ submit: ({
|
|
|
100
100
|
return options;
|
|
101
101
|
};
|
|
102
102
|
return h("form-select", Object.assign({ key: props === null || props === void 0 ? void 0 : props.name }, props, { clearable: true, searchable: true, fetcher: fetcher, language: language }));
|
|
103
|
-
}, date: ({ props }) => h("form-picker-input", Object.assign({ type: "date" }, props, { icon: h(CalendarDaysIcon, null) })),
|
|
103
|
+
}, date: ({ props }) => h("form-picker-input", Object.assign({ type: "date" }, props, { icon: h(CalendarDaysIcon, null) })),
|
|
104
|
+
/**
|
|
105
|
+
* Branch-aware booking slot. Unlike `time` below — which builds a fixed ladder
|
|
106
|
+
* from min/max/span and is therefore identical at every branch on every day —
|
|
107
|
+
* this asks the branch's own calendar what is actually open.
|
|
108
|
+
*
|
|
109
|
+
* The branch comes from the `companyBranchId` field's selected option, whose
|
|
110
|
+
* `meta` is the whole branch record, so company / department / brand need no
|
|
111
|
+
* extra configuration. Department resolves against the branch's own list
|
|
112
|
+
* rather than being hardcoded: asking a branch for a department it does not
|
|
113
|
+
* have returns an empty calendar.
|
|
114
|
+
*/
|
|
115
|
+
bookingSlot: ({ form, language, props }) => {
|
|
116
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
117
|
+
form.addWatcher('companyBranchId');
|
|
118
|
+
const branchValue = form === null || form === void 0 ? void 0 : form.getValue('companyBranchId');
|
|
119
|
+
const branch = (_b = (_a = form.context['companyBranchIdList']) === null || _a === void 0 ? void 0 : _a.find(item => item.value === branchValue)) === null || _b === void 0 ? void 0 : _b.meta;
|
|
120
|
+
const departments = ((_c = branch === null || branch === void 0 ? void 0 : branch.Departments) !== null && _c !== void 0 ? _c : []).map(d => d.IntegrationId).filter(Boolean);
|
|
121
|
+
const brands = ((_d = branch === null || branch === void 0 ? void 0 : branch.Brands) !== null && _d !== void 0 ? _d : []).map(b => b.IntegrationId).filter(Boolean);
|
|
122
|
+
const preference = (_e = props === null || props === void 0 ? void 0 : props.departmentPreference) !== null && _e !== void 0 ? _e : ['showroom'];
|
|
123
|
+
const departmentId = (_g = (_f = preference.find(d => departments.includes(d))) !== null && _f !== void 0 ? _f : departments[0]) !== null && _g !== void 0 ? _g : '';
|
|
124
|
+
return (h("branch-slot-picker", Object.assign({}, props, { form: form, key: props === null || props === void 0 ? void 0 : props.name, language: language, calendarApi: props === null || props === void 0 ? void 0 : props.calendarApi, companyId: (_h = branch === null || branch === void 0 ? void 0 : branch.CompanyIntegrationId) !== null && _h !== void 0 ? _h : '', branchId: (_j = branch === null || branch === void 0 ? void 0 : branch.IntegrationId) !== null && _j !== void 0 ? _j : '', departmentId: (_k = props === null || props === void 0 ? void 0 : props.departmentId) !== null && _k !== void 0 ? _k : departmentId, brandId: (_m = (_l = props === null || props === void 0 ? void 0 : props.brandId) !== null && _l !== void 0 ? _l : brands[0]) !== null && _m !== void 0 ? _m : '', isDisabled: !branch })));
|
|
125
|
+
}, time: ({ language, props }) => {
|
|
104
126
|
const fetcher = async () => {
|
|
105
127
|
const options = [];
|
|
106
128
|
if (Array.isArray(props.span) && Array.isArray(props.min) && Array.isArray(props.max) && props.format) {
|
|
@@ -9,10 +9,11 @@ export const format = (name) => `${name}-format`;
|
|
|
9
9
|
export const require = (name) => `${name}-require`;
|
|
10
10
|
export const size = (name) => `${name}-size`;
|
|
11
11
|
export const max = (name) => `${name}-max`;
|
|
12
|
+
export const upload = (name) => `${name}-upload`;
|
|
12
13
|
export const placeholder = (name) => `${name}-placeholder`;
|
|
13
14
|
export const meta = (name) => ({ label: label(name), placeholder: placeholder(name) });
|
|
14
15
|
export const condition = (name) => `$${name}Required`;
|
|
15
|
-
export const y = { label, format, require, condition, placeholder, meta, size, max };
|
|
16
|
+
export const y = { label, format, require, condition, placeholder, meta, size, max, upload };
|
|
16
17
|
export const getFormValidations = (extraFields = {}) => {
|
|
17
18
|
return object(Object.assign({ name: string()
|
|
18
19
|
.meta(meta('name'))
|
|
@@ -56,9 +56,9 @@ export class GeneralForm {
|
|
|
56
56
|
// #endregion
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '1be845ed3fa3f4cc1c4ff9c2e06392e9f11da4a0', translate: "no" }, h("div", { key: '9ffb0fecdf89877da95449fcd647d4f84a52a504', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: '0a862414b469b41717d1f241aa83b0cdb6002c94', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '82a3f53d3caf9403e8ac4fc3c3a891a3b77e7193', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
60
60
|
'opacity-0': this.structureRendered,
|
|
61
|
-
}) }, h(LoaderIcon, { key: '
|
|
61
|
+
}) }, h(LoaderIcon, { key: '2b5dd20e03e4d8558263d56b719a25f6ae701f79', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: 'cb3ae4f796f7af6a53fe03a0d0f564623e567cb8', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: '7f402cadc9cfe8cbd0f7b54c7d9fd9b4f058ca36', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: 'd26a6f04c81cdec67a2df3d03182552827ed4f11' }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "general-form"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,9 +73,9 @@ export class GeneralInquiryForm {
|
|
|
73
73
|
// #endregion
|
|
74
74
|
render() {
|
|
75
75
|
var _a, _b;
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'fa005e69fd60797c37f6649d1ceb8444226b71d0', translate: "no" }, h("div", { key: '2da84b92a59b362d2bf02dd088f8b7dd1eeccf86', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: '8dd42d66509e25e1b466ee82671f6795436f878d', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: 'f9c0ac9894302a72cfad303491373ecd20177509', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
77
77
|
'opacity-0': this.structureRendered,
|
|
78
|
-
}) }, h(LoaderIcon, { key: '
|
|
78
|
+
}) }, h(LoaderIcon, { key: '6db14e9a6dcc3f1030b4f286d2a71b7aff34d5ec', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '9fdab3152f0fcdf41c794398e95054cae033813e', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'be55d489c01384ff4de9072cbeb15c45cb9c127b', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '49fe1feef887370348072fb24cbf2bbe4fcd681b' }))))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "general-inquiry-form"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,9 +56,9 @@ export class ServiceBookingForm {
|
|
|
56
56
|
// #endregion
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '486b406ef2f022eb3829a358d6b6d2f59d07509a', translate: "no" }, h("div", { key: '5de110c026bdfcf4fd830e5f084daefd08ad36ee', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: '2f0a5929178730837143c1511752de7f9a801cda', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: 'beaa0206e238416d01a9f176eba1168eb006914b', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
60
60
|
'opacity-0': this.structureRendered,
|
|
61
|
-
}) }, h(LoaderIcon, { key: '
|
|
61
|
+
}) }, h(LoaderIcon, { key: '25e7099be0ce45ee8021e7df4974a3cae5cbd007', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '0e8efe3d2a9be547fb93b12e6cb629abf357cf02', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'd53d11abc1220b357c1a701375474399c4e9d146', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: 'c01472bf7ae0c332a5b81963164f4ddafb9a3e1f' }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "service-booking-form"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,9 +67,9 @@ export class SSCLookupForm {
|
|
|
67
67
|
// #endregion
|
|
68
68
|
render() {
|
|
69
69
|
var _a, _b;
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '1a466ccb60eeb0a22817e0a866d5b2ff38a43007', translate: "no" }, h("div", { key: '88a26e8e8adbe45587bffbce95725b77d1c9cf32', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: 'cd6a38ae4b2a98710f22854752402c096668b2d9', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '169beb837517ba21f4a41a1deb48c779ae88af20', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
71
71
|
'opacity-0': this.structureRendered,
|
|
72
|
-
}) }, h(LoaderIcon, { key: '
|
|
72
|
+
}) }, h(LoaderIcon, { key: '3356ddab60bfce913198a8c2cf065d7923b924ff', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '3534484d4f1e919ce693570387d87859655b472b', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'b20e4be525063cf523dbdf04fb2ee348f99cec21', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '27a34c78cf16a951fa806b00c33526b61ac7c1ea' }))))))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "ssc-lookup-form"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,9 +56,9 @@ export class TestDriveForm {
|
|
|
56
56
|
// #endregion
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '663aa1c3859c5948fd76496ec55a6bd919677181', translate: "no" }, h("div", { key: '61dbe61597292dcc9594b248d4fc21d4e1720ff1', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: 'cc66f07bc4ce7a301557b1bf1ac518855a09c7f7', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: 'ca83163cece3da96278595224530fbf6938604df', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
60
60
|
'opacity-0': this.structureRendered,
|
|
61
|
-
}) }, h(LoaderIcon, { key: '
|
|
61
|
+
}) }, h(LoaderIcon, { key: '7776d39989a00f16592376cabb15122a413f993e', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: 'a18c6291d275b0db481efc0faee316fa936f5a8c', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: '7faa011ec69f1f7709eb080e879a396a171ca06b', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '3c1c90565eb6b214f6cf69d4be0ac1a538ccf7d6' }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "test-drive-form"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,9 +144,9 @@ export class VehicleQuotationForm {
|
|
|
144
144
|
// #endregion
|
|
145
145
|
render() {
|
|
146
146
|
var _a, _b;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '2c984017e3f8e77b821d139eb43a85368a753472', translate: "no" }, h("div", { key: 'c7113c72a28ba44cb14a2bd50565779370794b3b', part: `shift-form vehicle-quotation-${(_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme}` }, h("div", { key: '49ab8ae6cc89c36794ab725b3d97b2b78f462560', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '0bb79a61bc381cb7168f8aea5c9229c876ba31d4', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
148
148
|
'opacity-0': this.structureRendered,
|
|
149
|
-
}) }, h(LoaderIcon, { key: '
|
|
149
|
+
}) }, h(LoaderIcon, { key: 'bbad1dfb2f94521545600b7b47142ed8703e86da', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '922ea7621d3fca2d030f0a4c7a86473d3f1f1097', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'e7856ed894c5e1b537ced7f3e0e16977bce8ef70', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: vehicleQuotationElements, successMessage: this.locale['Form submitted successfully.'] }, h("slot", { key: 'b4d282a102fba0669922de2491ed6a861ee7d1a1' }))))))));
|
|
150
150
|
}
|
|
151
151
|
static get is() { return "vehicle-quotation-form"; }
|
|
152
152
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*,: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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.\!pointer-events-none{pointer-events:none!important}.collapse{visibility:collapse}.absolute{position:absolute}.\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.hidden{display:none}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.origin-left{transform-origin:left}.rotate-0{--tw-rotate:0deg}.rotate-0,.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))}.cursor-default{cursor:default}.\!overflow-hidden{overflow:hidden!important}.rounded-\[4px\]{border-radius:4px}.border{border-width:1px}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{border-style:none!important;overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:inherit!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;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))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.dead-stock-item{border:1px solid #d6d8dc;border-radius:6px;overflow:hidden}.dead-stock-item>.button{align-items:center;display:flex;gap:50px;height:50px;justify-content:space-between;padding:0 16px;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.dead-stock-item>.button.cursor-default{cursor:default}.dead-stock-item>.button.bg-slate-100{background-color:#f1f5f9}.dead-stock-item .header{flex-shrink:0;font-size:20px;font-weight:700;text-align:start}.dead-stock-item .icon-container{align-items:center;display:flex;flex-shrink:0;height:30px;justify-content:center;transform:rotate(180deg);transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:30px}.dead-stock-item .icon-container.rotate-0{transform:rotate(0deg)}.dead-stock-item .dead-stock-table{border-collapse:collapse;overflow:auto;padding:20px;width:100%}.dead-stock-item .dead-stock-table-header{border-bottom:1px solid #d6d8dc;padding:20px 10px;text-align:start;white-space:nowrap}.dead-stock-item .dead-stock-table-row{border-bottom:1px solid #d6d8dc;transition-duration:.1s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dead-stock-item .dead-stock-table-row:last-child{border:none}.dead-stock-item .dead-stock-table-row:hover{background-color:#f1f5f9}.dead-stock-item .dead-stock-table-row td{padding:20px 10px;text-align:start;white-space:nowrap}@keyframes showAfterDelay{0%{opacity:0}99.9%{opacity:0}to{opacity:1}}.show-after-delay{animation:showAfterDelay .5s forwards;opacity:0}.vehicle-info-container{background-color:#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);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;position:relative;text-align:center}.vehicle-info-header-action{align-items:center;display:flex;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.static{position:static}.flex-col{flex-direction:column}.gap-\[16px\]{gap:16px}.p-\[16px\]{padding:16px}.pb-\[16px\]{padding-bottom:16px}.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)}.\!h-auto{height:auto!important}.w-full{width:100%}.min-w-full{min-width:100%}.resize{resize:both}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.\!duration-0{transition-duration:0s!important}.\!duration-500{transition-duration:.5s!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.table{display:table}.flex-1{flex:1 1 0%}.h-\[200px\]{height:200px}.items-center{align-items:center}.justify-center{justify-content:center}.text-\[26px\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.mx-auto{margin-left:auto;margin-right:auto}.me-2{margin-inline-end:.5rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\[32px\]{margin-top:32px}.inline-flex{display:inline-flex}.h-\[50px\]{height:50px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.flex-wrap{flex-wrap:wrap}.items-stretch{align-items:stretch}.gap-\[8px\]{gap:8px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.p-\[2px\]{padding:2px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[green\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\[orange\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\[red\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.me-1{margin-inline-end:.25rem}.mb-\[12px\]{margin-bottom:12px}.w-\[500px\]{width:500px}.max-w-\[250px\]{max-width:250px}.max-w-\[96vw\]{max-width:96vw}.shrink-0{flex-shrink:0}.gap-2{gap:.5rem}.gap-\[32px\]{gap:32px}.rounded-md{border-radius:.375rem}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.py-\[12px\]{padding-bottom:12px}.pt-\[12px\],.py-\[12px\]{padding-top:12px}.pt-\[32px\]{padding-top:32px}.pt-\[8px\]{padding-top:8px}.text-center{text-align:center}.text-\[20px\]{font-size:20px}.text-xl{font-size:1.25rem;line-height:1.75rem}.even\:bg-slate-100:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\:bg-sky-100\/50:hover{background-color:rgba(224,242,254,.5)}.\!w-full{width:100%!important}.translate-x-\[-200\%\]{--tw-translate-x:-200%}.translate-x-\[-200\%\],.translate-y-\[200\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[200\%\]{--tw-translate-y:200%}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\[\&_\*\]\:\!pointer-events-none *{pointer-events:none!important}.my-auto{margin-bottom:auto;margin-top:auto}.grid{display:grid}.size-\[20px\]{height:20px;width:20px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.place-items-center{place-items:center}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.bg-slate-200\/70{background-color:rgba(226,232,240,.7)}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[6px\]{padding-left:6px;padding-right:6px}.px-\[8px\]{padding-left:8px;padding-right:8px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[6px\]{padding-bottom:6px;padding-top:6px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-\[13px\]{font-size:13px}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-sky-200:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.hover\:bg-slate-200\/70:hover{background-color:rgba(226,232,240,.7)}
|
|
1
|
+
*,: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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;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-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--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;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.\!pointer-events-none{pointer-events:none!important}.collapse{visibility:collapse}.absolute{position:absolute}.\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.hidden{display:none}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.origin-left{transform-origin:left}.rotate-0{--tw-rotate:0deg}.rotate-0,.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))}.cursor-default{cursor:default}.\!overflow-hidden{overflow:hidden!important}.rounded-\[4px\]{border-radius:4px}.border{border-width:1px}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{border-style:none!important;overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:inherit!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;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))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.dead-stock-item{border:1px solid #d6d8dc;border-radius:6px;overflow:hidden}.dead-stock-item>.button{align-items:center;display:flex;gap:50px;height:50px;justify-content:space-between;padding:0 16px;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.dead-stock-item>.button.cursor-default{cursor:default}.dead-stock-item>.button.bg-slate-100{background-color:#f1f5f9}.dead-stock-item .header{flex-shrink:0;font-size:20px;font-weight:700;text-align:start}.dead-stock-item .icon-container{align-items:center;display:flex;flex-shrink:0;height:30px;justify-content:center;transform:rotate(180deg);transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:30px}.dead-stock-item .icon-container.rotate-0{transform:rotate(0deg)}.dead-stock-item .dead-stock-table{border-collapse:collapse;overflow:auto;padding:20px;width:100%}.dead-stock-item .dead-stock-table-header{border-bottom:1px solid #d6d8dc;padding:20px 10px;text-align:start;white-space:nowrap}.dead-stock-item .dead-stock-table-row{border-bottom:1px solid #d6d8dc;transition-duration:.1s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dead-stock-item .dead-stock-table-row:last-child{border:none}.dead-stock-item .dead-stock-table-row:hover{background-color:#f1f5f9}.dead-stock-item .dead-stock-table-row td{padding:20px 10px;text-align:start;white-space:nowrap}@keyframes showAfterDelay{0%{opacity:0}99.9%{opacity:0}to{opacity:1}}.show-after-delay{animation:showAfterDelay .5s forwards;opacity:0}.vehicle-info-container{background-color:#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);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;position:relative;text-align:center}.vehicle-info-header-action{align-items:center;display:flex;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.static{position:static}.h-\[200px\]{height:200px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.text-\[26px\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.flex-col{flex-direction:column}.gap-\[16px\]{gap:16px}.p-\[16px\]{padding:16px}.pb-\[16px\]{padding-bottom:16px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.mx-auto{margin-left:auto;margin-right:auto}.me-2{margin-inline-end:.5rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\[32px\]{margin-top:32px}.inline-flex{display:inline-flex}.h-\[50px\]{height:50px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.flex-wrap{flex-wrap:wrap}.items-stretch{align-items:stretch}.gap-\[8px\]{gap:8px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.p-\[2px\]{padding:2px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[green\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\[orange\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\[red\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.me-1{margin-inline-end:.25rem}.mb-\[12px\]{margin-bottom:12px}.w-\[500px\]{width:500px}.max-w-\[250px\]{max-width:250px}.max-w-\[96vw\]{max-width:96vw}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.gap-2{gap:.5rem}.gap-\[32px\]{gap:32px}.rounded-md{border-radius:.375rem}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.py-\[12px\]{padding-bottom:12px}.pt-\[12px\],.py-\[12px\]{padding-top:12px}.pt-\[32px\]{padding-top:32px}.pt-\[8px\]{padding-top:8px}.text-center{text-align:center}.text-\[20px\]{font-size:20px}.text-xl{font-size:1.25rem;line-height:1.75rem}.even\:bg-slate-100:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\:bg-sky-100\/50:hover{background-color:rgba(224,242,254,.5)}.\!w-full{width:100%!important}.translate-x-\[-200\%\]{--tw-translate-x:-200%}.translate-x-\[-200\%\],.translate-y-\[200\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[200\%\]{--tw-translate-y:200%}.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)}.\!duration-0{transition-duration:0s!important}.\[\&_\*\]\:\!pointer-events-none *{pointer-events:none!important}.my-auto{margin-bottom:auto;margin-top:auto}.table{display:table}.grid{display:grid}.size-\[20px\]{height:20px;width:20px}.size-\[32px\]{height:32px;width:32px}.size-full{height:100%;width:100%}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.place-items-center{place-items:center}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.bg-slate-200\/70{background-color:rgba(226,232,240,.7)}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[6px\]{padding-left:6px;padding-right:6px}.px-\[8px\]{padding-left:8px;padding-right:8px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[6px\]{padding-bottom:6px;padding-top:6px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-\[13px\]{font-size:13px}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-sky-200:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.hover\:bg-slate-200\/70:hover{background-color:rgba(226,232,240,.7)}.resize{resize:both}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\!transition-none{transition-property:none!important}.\!duration-500{transition-duration:.5s!important}
|
|
@@ -90,11 +90,11 @@ export class DeadStockLookup {
|
|
|
90
90
|
// #endregion
|
|
91
91
|
render() {
|
|
92
92
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '74b4fc29a9986943665af0f7f136be74979c4aea', translate: "no" }, h(VehicleInfoLayout, { key: '290ace608519c6d0536d53ea8ce63d1ce5fb5e6a', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_a = this.partLookup) === null || _a === void 0 ? void 0 : _a.partNumber, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("div", { key: 'c11ac608e6f4ffcf1e6e23a3fb55a0de8d7b0a7a', class: "p-[16px]" }, h("div", { key: '22ffae05ccecd0a8874035b27afbc45e37bd39fe', class: "pb-[16px]" }, h(DeadStockItem, { locale: this.locale, key: "first-dead-stock", toggleAccordion: this.toggleAccordion, isOpened: !this.isLoading && ((_c = (_b = this.partLookup) === null || _b === void 0 ? void 0 : _b.deadStock) === null || _c === void 0 ? void 0 : _c.length) > 0 ? this.openedAccordions.includes((_e = (_d = this.partLookup) === null || _d === void 0 ? void 0 : _d.deadStock[0]) === null || _e === void 0 ? void 0 : _e.companyName) : false, item: ((_g = (_f = this.partLookup) === null || _f === void 0 ? void 0 : _f.deadStock) === null || _g === void 0 ? void 0 : _g.length) > 0
|
|
94
94
|
? (_h = this.partLookup) === null || _h === void 0 ? void 0 : _h.deadStock[0]
|
|
95
95
|
: { companyName: !!this.partLookup && !((_j = this.partLookup) === null || _j === void 0 ? void 0 : _j.deadStock) ? this.locale.sharedLocales.noData : '' }, icon: (!this.partLookup && !((_k = this.partLookup) === null || _k === void 0 ? void 0 : _k.deadStock) && h("div", null)) ||
|
|
96
96
|
(!!this.partLookup && !((_l = this.partLookup) === null || _l === void 0 ? void 0 : _l.deadStock) && h(EmptyTableIcon, null)) ||
|
|
97
|
-
(!!this.partLookup && !!((_m = this.partLookup) === null || _m === void 0 ? void 0 : _m.deadStock) && h(ArrowUpIcon, null)) })), h("flexible-container", { key: '
|
|
97
|
+
(!!this.partLookup && !!((_m = this.partLookup) === null || _m === void 0 ? void 0 : _m.deadStock) && h(ArrowUpIcon, null)) })), h("flexible-container", { key: 'd4eccc2426c09bfc24fb64265d2870035562d2c5', isOpened: this.newItemsHasBeenRendered }, h("div", { key: 'a0d41eff543ac4b038b68e6f426f2d5f9127dda0', class: "flex flex-col gap-[16px]" }, ((_p = (_o = this.partLookup) === null || _o === void 0 ? void 0 : _o.deadStock) === null || _p === void 0 ? void 0 : _p.length) > 1 &&
|
|
98
98
|
((_q = this.partLookup) === null || _q === void 0 ? void 0 : _q.deadStock.slice(1).map(deadStock => (h(DeadStockItem, { item: deadStock, locale: this.locale, icon: h(ArrowUpIcon, null), toggleAccordion: this.toggleAccordion, isOpened: this.openedAccordions.includes(deadStock === null || deadStock === void 0 ? void 0 : deadStock.companyName) }))))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "dead-stock-lookup"; }
|
|
@@ -117,9 +117,9 @@ export class DistributorLookup {
|
|
|
117
117
|
: this.locale.notAvailable))),
|
|
118
118
|
}))
|
|
119
119
|
: [];
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'fa28412e936b1420a16a7739a925e2e128e855bf', translate: "no" }, h(VehicleInfoLayout, { key: 'f95a9a435d48738879751d92c0ac67e10ad6d80b', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_p = this.partLookup) === null || _p === void 0 ? void 0 : _p.partNumber, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("div", { key: 'd61f673d0225543b026785cc4a8652f981a9f2d0', class: "p-[16px]" }, h("div", { key: '0287769cf90cbc98b5f5d77470a016a51fe15a3e' }, h("flexible-container", { key: '96a9d5873eb03394fd9cd7e729fc7e6b809c25ba' }, h("div", { key: '3b4e43120cd5e1781d101f5b73f1281564d959db', class: "flex [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, displayedFields.map(({ label, value, values }) => values ? (h(MaterialCard, { title: label, minWidth: "250px" }, h(MaterialCardChildren, { class: "flex flex-wrap gap-[8px] p-[2px]" }, values
|
|
121
121
|
.filter(x => x.body)
|
|
122
|
-
.map(x => (h("span", { class: "inline-flex items-center bg-red-50 text-red-800 font-medium px-3 text-[16px] py-1 me-2 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body))))))) : (h(MaterialCard, { desc: (value === null || value === void 0 ? void 0 : value.toString()) || '', title: label, minWidth: "250px" }))))), h("div", { key: '
|
|
122
|
+
.map(x => (h("span", { class: "inline-flex items-center bg-red-50 text-red-800 font-medium px-3 text-[16px] py-1 me-2 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body))))))) : (h(MaterialCard, { desc: (value === null || value === void 0 ? void 0 : value.toString()) || '', title: label, minWidth: "250px" }))))), h("div", { key: '20b3977c0ed41a6ab2fef83533108334649b29a2', class: "mt-[32px] mx-auto w-fit max-w-full" }, h("div", { key: 'afcd10f591aff5605970861ff7723c2a9205e15b', class: "bg-[#f6f6f6] h-[50px] flex items-center justify-center px-[16px] font-bold text-[18px]" }, this.locale.distributorStock), h("div", { key: '76014d31348659f366c836e60037ccb8a987bea7', class: "overflow-x-auto" }, h("information-table", { key: '93590f16303d1ad351b18a5c1afaf854ef1b37f0', isLoading: this.isLoading, rows: rows, headers: tableHeaders })))), h("manufacturer-part-lookup", { key: '333a339d95078236a3d7a62c297ec1224b366ba7', standAlone: false, isDev: this.isDev, partLookup: this.partLookup, logId: (_q = this.partLookup) === null || _q === void 0 ? void 0 : _q.logId, closeManufacturerPartLookup: this.isLoading, manufacturerPartLookupTitle: this.manufacturerPartLookupTitle, manufacturerPartLookupEndpoint: this.manufacturerPartLookupEndpoint })))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "distributor-lookup"; }
|
|
125
125
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class ManufacturerPartLookup {
|
|
|
118
118
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
119
119
|
const { formController } = this.form;
|
|
120
120
|
const isComponentOpened = (!!((_a = this === null || this === void 0 ? void 0 : this.partLookup) === null || _a === void 0 ? void 0 : _a.showManufacturerPartLookup) && !this.closeManufacturerPartLookup) || this.standAlone;
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '772a732691654afac371f01ee071c5dd8a317a91', translate: "no" }, h("flexible-container", { key: 'ab63a73185ca8bbc4841e9b80723ee233d2b24ae', isOpened: isComponentOpened }, h("div", { key: '4b036be10de8f4c588dad27cddf0c69d9c283942', class: "w-full max-w-[96vw] mx-auto pt-[32px]" }, h("div", { key: '3c07ba7e9afc9ba8c2ad97e023a2f885bf2be96c', class: "bg-[#f6f6f6] rounded-md p-[16px]" }, h("div", { key: '16aa77d9cb9f6b4759ae079bd474486514a0220b', class: "flex items-center mb-[12px] justify-center px-[16px] font-bold text-[18px]" }, this.manufacturerPartLookupTitle), h("form", Object.assign({ key: '223a5791a80c14b166f830b0b940315fba3de0dc', class: "relative manufacturer-form flex flex-col items-center gap-[32px] pt-[8px] pb-[16px]", dir: this.locale.sharedLocales.direction }, formController), h("div", { key: '74369ce239b089d732b3d1d173b88b255ccc49df', class: "flex gap-2" }, h("form-input", { form: this.form, name: "partNumber", isLoading: this.isLoading, key: this.locale.sharedLocales.lang, staticValue: ((_b = this.partLookup) === null || _b === void 0 ? void 0 : _b.partNumber) || undefined }), h("form-input", { inputProps: { type: 'number', min: 1 }, name: "quantity", isLoading: this.isLoading, key: this.locale.sharedLocales.lang, form: this.form }), h("form-select", { clearable: true, form: this.form, name: "orderType", isLoading: this.isLoading, fetcher: manufacturerOrderTypesFetcher, key: this.locale.sharedLocales.lang, language: this.locale.sharedLocales.language })), h("form-submit", { key: this.locale.sharedLocales.lang, isLoading: this.isLoading, form: this.form })), h("flexible-container", { key: 'a64948635e30b89dd23d9bb6c52fcb9981f3f126', isOpened: !!this.manufacturerResponse && !this.isLoading }, h("div", { key: '4d69d3a00d7cd5da5859f2fc30d13d8824129a3b', class: "flex flex-col items-center pt-[12px]" }, h("div", { key: '32d6abea96fd7a2f818ee96b7faf836b54d4b946', class: cn('text-center text-[20px] font-semibold py-[12px]') }, !((_d = (_c = this.manufacturerResponse) === null || _c === void 0 ? void 0 : _c.manufacturerResult) === null || _d === void 0 ? void 0 : _d.length) && (((_e = this.manufacturerResponse) === null || _e === void 0 ? void 0 : _e.message) || this.locale.RequestFailed), !!((_g = (_f = this.manufacturerResponse) === null || _f === void 0 ? void 0 : _f.manufacturerResult) === null || _g === void 0 ? void 0 : _g.length) && (h("div", { key: '452fcb82138a4937ae3aa87d975e1fbd72ecb24c', class: "bg-white rounded-lg border w-[500px]" }, (_h = this.manufacturerResponse) === null || _h === void 0 ? void 0 : _h.manufacturerResult.map(({ key, value }) => (h("div", { key: `${key}-${value}`, class: "flex even:bg-slate-100 hover:bg-sky-100/50 border-b w-full text-xl text-center" }, h("div", { class: "text-center flex items-center flex-1 max-w-[250px] shrink-0 justify-center py-[10px] px-[16px] border-r" }, key), h("div", { class: "text-center flex items-center flex-1 shrink-0 justify-center py-[10px] px-[16px] border-l" }, value))))))))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "manufacturer-part-lookup"; }
|
|
124
124
|
static get encapsulation() { return "shadow"; }
|