adp-web-components 0.2.2 → 0.2.4
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/dead-stock-lookup_3.cjs.entry.js +2 -2
- package/dist/cjs/flexible-container.cjs.entry.js +1 -1
- package/dist/cjs/form-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/form-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/form-dialog_13.cjs.entry.js +56 -16
- package/dist/cjs/form-input_7.cjs.entry.js +7 -7
- package/dist/cjs/form-switch.cjs.entry.js +1 -1
- package/dist/cjs/form-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/{functions-BdvBUzsC.js → functions-DnUdWZE7.js} +1 -1
- package/dist/cjs/general-form.cjs.entry.js +3 -3
- package/dist/cjs/general-inquiry-form.cjs.entry.js +3 -3
- package/dist/cjs/{get-local-language-AMO6arFV.js → get-local-language-d1KUONiZ.js} +1 -1
- package/dist/cjs/{get-mock-files-BmG4h0sO.js → get-mock-files-DUVbI-Ch.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +1 -1
- package/dist/cjs/part-lookup.cjs.entry.js +1 -1
- package/dist/cjs/service-booking-form.cjs.entry.js +3 -3
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +3 -3
- package/dist/cjs/test-drive-form.cjs.entry.js +3 -3
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +2 -2
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +2 -2
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/loading-spinner.css +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.css +1 -1
- package/dist/collection/components/form-elements/form-dialog.css +1 -1
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/forms/defaults/style.css +1 -1
- package/dist/collection/components/vin-extractor/vin-extractor.css +1 -1
- package/dist/collection/components/vin-extractor/vin-extractor.js +62 -2
- 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/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-C0j86yOX.js → p-06PpSY0r.js} +1 -1
- package/dist/components/{p-B1X4y-t8.js → p-5xxH8tbS.js} +1 -1
- package/dist/components/{p-BgB0HKvQ.js → p-B2Fg3Wkk.js} +1 -1
- package/dist/components/{p-C5TxTW-3.js → p-BSh7B9I-.js} +1 -1
- package/dist/components/{p-uxEjAM7d.js → p-BUUxvYwf.js} +1 -1
- package/dist/components/{p-DAqGEY0o.js → p-BgIfefh1.js} +1 -1
- package/dist/components/{p-BaMt7aiD.js → p-Bj2ygQLZ.js} +1 -1
- package/dist/components/p-Bl19uBGg.js +5 -0
- package/dist/components/{p-D_cvXRSc.js → p-BqpPyNbD.js} +1 -1
- package/dist/components/{p-OkAI0c6H.js → p-Bu-8ctUJ.js} +1 -1
- package/dist/components/{p-3ViBaVS-.js → p-Bv4XbzaY.js} +1 -1
- package/dist/components/p-C2nWRsPn.js +5 -0
- package/dist/components/{p-Cf32sKRu.js → p-C3nraejK.js} +1 -1
- package/dist/components/{p-DcfjDmF9.js → p-C7PdL0Hc.js} +1 -1
- package/dist/components/{p-D_shrVdC.js → p-C96SIbfK.js} +1 -1
- package/dist/components/{p-BlmQNC8Q.js → p-CC9dQBaO.js} +1 -1
- package/dist/components/{p-EuJflAOm.js → p-CInhVQ4R.js} +1 -1
- package/dist/components/{p-Bq3jMnKE.js → p-CTNsc8c1.js} +1 -1
- package/dist/components/{p-DC-EzHUp.js → p-CWlrEXr8.js} +1 -1
- package/dist/components/{p-CFUn2vBb.js → p-CZWoTJUk.js} +1 -1
- package/dist/components/{p-DZ4pfzXN.js → p-CpYBh3fY.js} +1 -1
- package/dist/components/{p-GVVze530.js → p-CunTA0m-.js} +1 -1
- package/dist/components/{p-Dnzj_qIp.js → p-Cza3fX-G.js} +1 -1
- package/dist/components/{p-CSjMkIDX.js → p-D35slZhP.js} +1 -1
- package/dist/components/{p-CnmhhEYe.js → p-DF3mal9n.js} +1 -1
- package/dist/components/{p-D50EjCx6.js → p-DHEhIlaU.js} +1 -1
- package/dist/components/{p-CADvFpWY.js → p-DJKKHVxL.js} +1 -1
- package/dist/components/{p-BU7wbwT0.js → p-DLNOGwk-.js} +1 -1
- package/dist/components/{p-B-UOZqbq.js → p-DR2PKhri.js} +1 -1
- package/dist/components/{p-xpgSZr2d.js → p-DSqpW75U.js} +1 -1
- package/dist/components/{p-DnbKmpVc.js → p-DbkOsb73.js} +1 -1
- package/dist/components/{p-Dydbw3F7.js → p-DsfQrZ0F.js} +1 -1
- package/dist/components/{p-5eg99bw8.js → p-DwpWYY23.js} +1 -1
- package/dist/components/{p-DDcjXy0U.js → p-DzTvTOh6.js} +1 -1
- package/dist/components/p-EhlIBLUh.js +5 -0
- package/dist/components/{p-xelUyZe8.js → p-_0Sj1vUl.js} +1 -1
- package/dist/components/{p-DKfvoYvv.js → p-aAFnbh6j.js} +1 -1
- package/dist/components/p-ecmObcUU.js +5 -0
- package/dist/components/{p-wQZf5hHe.js → p-fNNKzU9J.js} +1 -1
- package/dist/components/{p-B20_3DOf.js → p-i1QyYId0.js} +1 -1
- package/dist/components/{p-BETPcTFQ.js → p-jVABRvhu.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-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-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/vin-extractor.js +1 -1
- package/dist/esm/dead-stock-lookup_3.entry.js +2 -2
- package/dist/esm/flexible-container.entry.js +1 -1
- package/dist/esm/form-checkbox.entry.js +1 -1
- package/dist/esm/form-date-picker.entry.js +1 -1
- package/dist/esm/form-dialog_13.entry.js +56 -16
- package/dist/esm/form-input_7.entry.js +7 -7
- package/dist/esm/form-switch.entry.js +1 -1
- package/dist/esm/form-time-picker.entry.js +1 -1
- package/dist/esm/{functions-BQE6JNaq.js → functions-BKI2r8xy.js} +1 -1
- package/dist/esm/general-form.entry.js +3 -3
- package/dist/esm/general-inquiry-form.entry.js +3 -3
- package/dist/esm/{get-local-language-DoL0BHe1.js → get-local-language-CE9dtbnG.js} +1 -1
- package/dist/esm/{get-mock-files-BTgqYRuE.js → get-mock-files-B0jARRLE.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/manufacturer-part-lookup.entry.js +1 -1
- package/dist/esm/part-lookup.entry.js +1 -1
- package/dist/esm/service-booking-form.entry.js +3 -3
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/ssc-lookup-form.entry.js +3 -3
- package/dist/esm/test-drive-form.entry.js +3 -3
- package/dist/esm/vehicle-accessories_7.entry.js +1 -1
- package/dist/esm/vehicle-lookup.entry.js +2 -2
- package/dist/esm/vehicle-quotation-form.entry.js +2 -2
- package/dist/shift-components/p-0d2d3382.entry.js +5 -0
- package/dist/shift-components/{p-ca4e0e03.entry.js → p-1019f74b.entry.js} +1 -1
- package/dist/shift-components/{p-dfd3981f.entry.js → p-20e7fc7b.entry.js} +1 -1
- package/dist/shift-components/{p-f132518f.entry.js → p-25b83116.entry.js} +1 -1
- package/dist/shift-components/{p-d7340805.entry.js → p-29e10aee.entry.js} +1 -1
- package/dist/shift-components/{p-48428b05.entry.js → p-34e97b7d.entry.js} +1 -1
- package/dist/shift-components/{p-96fcfb25.entry.js → p-37be59d6.entry.js} +1 -1
- package/dist/shift-components/{p-76709443.entry.js → p-486d4868.entry.js} +1 -1
- package/dist/shift-components/{p-65681d30.entry.js → p-665aaea0.entry.js} +1 -1
- package/dist/shift-components/{p-cf45477b.entry.js → p-66ca0eb4.entry.js} +1 -1
- package/dist/shift-components/{p-e59bbbd4.entry.js → p-6f4f7af1.entry.js} +1 -1
- package/dist/shift-components/{p-a332321b.entry.js → p-7280d047.entry.js} +1 -1
- package/dist/shift-components/{p-07c2b9e0.entry.js → p-82530aa2.entry.js} +1 -1
- package/dist/shift-components/p-928037fb.entry.js +5 -0
- package/dist/shift-components/{p-02df3bf4.entry.js → p-93d2f562.entry.js} +1 -1
- package/dist/shift-components/{p-DCg0cCd0.js → p-Di1J_F_v.js} +1 -1
- package/dist/shift-components/{p-CxV8_Lyy.js → p-DopVbhpg.js} +1 -1
- package/dist/shift-components/{p-8871202a.entry.js → p-cf9cd06c.entry.js} +1 -1
- package/dist/shift-components/{p-2e5b4a4f.entry.js → p-dd4a650f.entry.js} +1 -1
- package/dist/shift-components/p-edbd6386.entry.js +5 -0
- package/dist/shift-components/{p-222559ac.entry.js → p-f979c15d.entry.js} +1 -1
- package/dist/shift-components/{p-BTpY3KlV.js → p-g8gm2GR_.js} +1 -1
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/components/p-BQljL38D.js +0 -5
- package/dist/components/p-D7jVy5Zf.js +0 -5
- package/dist/components/p-DFHtjPOL.js +0 -5
- package/dist/components/p-TnK5rC34.js +0 -5
- package/dist/shift-components/p-53e560b8.entry.js +0 -5
- package/dist/shift-components/p-6833feb0.entry.js +0 -5
- package/dist/shift-components/p-859a2b79.entry.js +0 -5
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import{p as t,H as e,h as i,a as o}from"./index.js";import{c as r}from"./p-BK16Cn81.js";import{A as a}from"./p-uiE7emGF.js";import{A as n}from"./p-BlqCKH24.js";import{g as s}from"./p-C1xgsXlk.js";import{d as p}from"./p-D7jVy5Zf.js";import{d}from"./p-B1X4y-t8.js";const l=t(class extends e{constructor(){super(),this.__registerHost(),this.hasTick=!0,this.hasArrow=!0,this.gap=8,this.searchValue="",this.name="",this.isOpen=!1,this.direction="ltr",this.selectedValue="",this.clearable=!1,this.searchable=!1,this.options=[],this.reverseOptions=!1,this.forceOpenUpwards=!1,this.dropdownAncestorClasses="",this.dropdownEl=null,this.boundKeyDown=t=>this.handleKeyDown(t),this.setDropdownRef=t=>{this.dropdownEl=t},this.toggleDropdown=()=>{this.isOpen&&!this.searchable?this.updateContext({isOpen:!1}):this.openDropdown()},this.openDropdown=()=>{this.adjustDropdownPosition(),this.updateContext({isOpen:!0})},this.adjustDropdownPosition=()=>{const t=this.dropdownEl,e=this.getInputEl();if(!t||!e)return;const i=e.getBoundingClientRect();if(!this.isInputInView(i))return void this.updateContext({isOpen:!1});t.style.setProperty("--shift-select-width",`${i.width}px`);const o=t.offsetHeight,r=window.innerHeight-i.bottom-this.gap,a=this.forceOpenUpwards||r<o&&i.top-this.gap>r?i.top-o-this.gap:i.bottom+this.gap;t.style.setProperty("--shift-select-left",`${i.left}px`),t.style.setProperty("--shift-select-top",`${a}px`)},this.closeDropdown=t=>{const e=t.composedPath();e.includes(this.el)||this.dropdownEl&&e.includes(this.dropdownEl)||this.updateContext({isOpen:!1})},this.handleResize=()=>{this.isOpen&&this.adjustDropdownPosition()},this.handleScroll=t=>{if(!this.isOpen)return;const e=t.target;this.dropdownEl&&(this.dropdownEl===e||this.dropdownEl.contains(e))||this.adjustDropdownPosition()},this.onSearchInput=t=>{this.updateContext({searchValue:t.target.value,selectedValue:""})},this.clearInput=()=>{this.updateContext({searchValue:"",selectedValue:""}),this.el.getElementsByClassName("form-input-select")[0].focus(),this.isOpen||this.openDropdown()}}async componentDidLoad(){document.addEventListener("click",this.closeDropdown),document.addEventListener("keydown",this.boundKeyDown),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll,!0),this.dropdownAncestorClasses=`${this.name}-select ${s(this.el)}`}getInputEl(){return this.el.getElementsByClassName("form-input-select")[0]}isInputInView(t){return t.bottom>0&&t.top<window.innerHeight&&t.right>0&&t.left<window.innerWidth}handleKeyDown(t){this.isOpen&&"Escape"===t.key&&this.updateContext({isOpen:!1})}async disconnectedCallback(){document.removeEventListener("click",this.closeDropdown),document.removeEventListener("keydown",this.boundKeyDown),window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll,!0)}render(){const t=this.options.find((t=>this.selectedValue===t.value)),e={name:this.name,isOpen:this.isOpen,options:this.options,hasTick:this.hasTick,hasArrow:this.hasArrow,direction:this.direction,isLoading:this.isLoading,renderOption:this.renderOption,selectedValue:this.selectedValue,setElementRef:this.setDropdownRef,reverseOptions:this.reverseOptions,noSelectionText:this.noSelectionText,handleSelection:this.handleSelection,fullRenderOption:this.fullRenderOption,fetchingErrorText:this.fetchingErrorText};return i(o,{key:"a4366e9d07cfcffb68169ecf874eb24e951f24fa",translate:"no"},i("div",{key:"bd24e467794a27b5900101acde110abe8b6d0096",part:`${this.name}-container form-input-container`,class:r("form-input-container",{open:this.isOpen,disabled:this.disableInput,disableInput:this.disableInput})},i("slot",{key:"0d80724014a0e45ae5ef22db93539a1f0c2e2670"}),i("input",{key:"08c1eb3002a9a07c412372d020688dc2e7df0061",type:"text",disabled:this.disableInput,part:`${this.name}-input-select form-input-select`,value:this.searchable?this.searchValue:(null==t?void 0:t.label)||"",readOnly:!this.searchable,onInput:this.onSearchInput,onClick:this.toggleDropdown,placeholder:this.placeholder,class:r("form-input-style form-input-select",{"form-input-error-style":this.isError})}),i("div",{key:"c20b2852cf22a63000026fe9939beb0509c5e9bf",part:`${this.name}-select-icon-container form-input-select-icon-container`,class:r("form-input-select-icon-container cursor-pointer",{"pointer-events-none!":!((t||this.searchValue)&&this.clearable)})},(t||this.searchValue)&&this.clearable?i(n,{part:`${this.name}-cross-icon`,onClick:this.clearInput,class:"form-input-select-icon cross"}):this.hasArrow&&i(a,{part:`${this.name}-arrow-icon select-arrow`,class:"cursor-pointer form-input-select-icon pointer-events-none! arrow"})),!1,i("shift-portal",{key:"cfc786a0abe5cf63cf5a3b9f3fbaf29092141fb3",tag:"shift-select-dropdown",inheritedClasses:this.dropdownAncestorClasses,componentProps:e})))}get el(){return this}static get style(){return'*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.relative{position:relative}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.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}}.cursor-pointer{cursor:pointer}.resize{resize:both}.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)}.block{display:block}.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)}.hidden{display:none}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.left-0{left:0}.top-0{top:0}.flex{display:flex}.h-full{height:100%}.min-h-\\[150px\\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-0{transition-duration:0s!important}.\\!duration-500{transition-duration:.5s!important}.fixed{position:fixed}.bottom-4{bottom:1rem}.left-1\\/2{left:50%}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\\[22px\\]{height:22px;width:22px}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\\[100dvh\\]{height:100dvh}.h-\\[60px\\]{height:60px}.min-h-full{min-height:100%}.w-\\[100dvw\\]{width:100dvw}.w-\\[100px\\]{width:100px}.min-w-\\[140px\\]{min-width:140px}.-translate-x-1\\/2{--tw-translate-x:-50%;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))}.animate-spin{animation:spin 1s linear infinite}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/30{background-color:rgba(0,0,0,.3)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\\[16px\\]{padding:16px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\\[15px\\]{font-size:15px}.text-\\[18px\\]{font-size:18px}.font-medium{font-weight:500}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\\:bg-white\\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\\:relative{position:relative}.md\\:h-auto{height:auto}.md\\:w-\\[600px\\]{width:600px}.md\\:\\!translate-x-0{--tw-translate-x:0px!important;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))!important}.md\\:overflow-hidden{overflow:hidden}.md\\:rounded-lg{border-radius:.5rem}.md\\:border-none{border-style:none}.md\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\\:py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.md\\:text-\\[24px\\]{font-size:24px}.md\\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\\:\\!opacity-100{opacity:1!important}.md\\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\\:duration-300{transition-duration:.3s}.md\\:hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}.h-\\[200px\\]{height:200px}.text-\\[26px\\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.flex-col{flex-direction:column}.gap-\\[16px\\]{gap:16px}.pb-\\[16px\\]{padding-bottom:16px}.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}.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}.font-bold{font-weight:700}.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}.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}.py-\\[12px\\]{padding-bottom:12px}.pt-\\[12px\\],.py-\\[12px\\]{padding-top:12px}.pt-\\[32px\\]{padding-top:32px}.pt-\\[8px\\]{padding-top:8px}.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)}.\\!pointer-events-none{pointer-events:none!important}.\\!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}.table{display:table}.grid{display:grid}.size-\\[20px\\]{height:20px;width:20px}.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))}.place-items-center{place-items:center}.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)}.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)}'}},[260,"shift-select",{hasTick:[4,"has-tick"],hasArrow:[4,"has-arrow"],gap:[2],searchValue:[1,"search-value"],name:[1],isError:[4,"is-error"],isLoading:[4,"is-loading"],placeholder:[1],disableInput:[4,"disable-input"],isOpen:[4,"is-open"],noSelectionText:[1,"no-selection-text"],direction:[1],selectedValue:[1,"selected-value"],clearable:[4],searchable:[4],options:[16],reverseOptions:[4,"reverse-options"],forceOpenUpwards:[4,"force-open-upwards"],fetchingErrorText:[8,"fetching-error-text"],handleSelection:[16,"handle-selection"],onSelection:[16,"on-selection"],renderOption:[16,"render-option"],updateContext:[16,"update-context"],fullRenderOption:[16,"full-render-option"],dropdownAncestorClasses:[32]}]);function c(){"undefined"!=typeof customElements&&["shift-select","shift-portal","shift-select-dropdown"].forEach((t=>{switch(t){case"shift-select":customElements.get(t)||customElements.define(t,l);break;case"shift-portal":customElements.get(t)||p();break;case"shift-select-dropdown":customElements.get(t)||d()}}))}c();export{l as S,c as d}
|