adp-web-components 0.1.90 → 0.1.91
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 +9 -9
- package/dist/cjs/flexible-container.cjs.entry.js +1 -1
- package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/form-dialog_13.cjs.entry.js +40 -33
- package/dist/cjs/form-input_6.cjs.entry.js +482 -0
- package/dist/cjs/form-switch.cjs.entry.js +2 -2
- package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/{functions-jAnYdz4C.js → functions-b8tFLJfq.js} +1 -1
- package/dist/cjs/general-form.cjs.entry.js +5 -5
- package/dist/cjs/general-inquiry-form.cjs.entry.js +5 -5
- package/dist/cjs/{get-local-language-BxK3igjO.js → get-local-language-DNAZjtmK.js} +1 -1
- package/dist/cjs/{get-mock-files-CWi9lQMF.js → get-mock-files-B3F99_oV.js} +1 -1
- package/dist/cjs/information-table.cjs.entry.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 +3 -3
- package/dist/cjs/part-lookup.cjs.entry.js +2 -2
- package/dist/cjs/service-booking-form.cjs.entry.js +5 -5
- package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-select-dropdown.cjs.entry.js +51 -0
- package/dist/cjs/shift-slider.cjs.entry.js +1 -1
- package/dist/cjs/shift-switch.cjs.entry.js +1 -1
- package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/shift-tabs_2.cjs.entry.js +12 -12
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +5 -5
- package/dist/cjs/test-drive-form.cjs.entry.js +5 -5
- package/dist/cjs/tick-icon-5nsAUzj6.js +12 -0
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +22 -22
- package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +4 -4
- package/dist/cjs/{white-loader-D6sR0fOI.js → white-loader-Ca6EPcsj.js} +0 -4
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/shift-accordion.css +1 -1
- package/dist/collection/components/components/shift-portal.css +1 -0
- package/dist/collection/components/components/shift-portal.js +124 -0
- package/dist/collection/components/components/shift-select-dropdown.css +1 -0
- package/dist/collection/components/components/shift-select-dropdown.js +355 -0
- package/dist/collection/components/components/shift-select.css +1 -1
- package/dist/collection/components/components/shift-select.js +143 -79
- 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.css +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/components/shift-tabs.js +2 -2
- 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 +3 -3
- package/dist/collection/components/form-elements/form-file.js +2 -2
- 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-phone-number.js +7 -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/style.css +1 -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.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +4 -4
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +8 -8
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +4 -4
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/global/lib/get-custom-classes-for-portal.js +41 -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/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-CcR--p-p.js → p--anxcjtN.js} +1 -1
- package/dist/components/p-7zVWuLAq.js +5 -0
- package/dist/components/{p-B-KpLSbA.js → p-8XSbLgc1.js} +1 -1
- package/dist/components/p-B-Wb2O9M.js +5 -0
- package/dist/components/{p-CCvUIDt9.js → p-BM4tew8G.js} +1 -1
- package/dist/components/p-BUS2YqxZ.js +5 -0
- package/dist/components/p-BX94Wv8p.js +5 -0
- package/dist/components/p-BXMyUNO3.js +5 -0
- package/dist/components/{p-DhNrxZ6k.js → p-BXXhyo8T.js} +1 -1
- package/dist/components/{p-HRm5x1o2.js → p-BaAv91r7.js} +1 -1
- package/dist/components/p-BkQCx7i0.js +5 -0
- package/dist/components/p-BqR8Ws-B.js +5 -0
- package/dist/components/{p-CuDeTJj9.js → p-Bu-zIHAI.js} +1 -1
- package/dist/components/p-BxnICZU9.js +5 -0
- package/dist/components/{p-ZTF1sGMh.js → p-C2hvMeLJ.js} +1 -1
- package/dist/components/{p-CDeTeDky.js → p-C44H0Rnu.js} +1 -1
- package/dist/components/{p-DvlQxKJJ.js → p-CGyBRij0.js} +1 -1
- package/dist/components/{p-BhXBxSjl.js → p-CK23iS-3.js} +1 -1
- package/dist/components/p-CMcJt0YF.js +5 -0
- package/dist/components/p-CNZcXdUu.js +5 -0
- package/dist/components/p-CPXxiK6w.js +5 -0
- package/dist/components/p-CR6lda7Y.js +5 -0
- package/dist/components/{p-gQa4vA1k.js → p-CSITVd7T.js} +1 -1
- package/dist/components/{p-KlUIwQJ_.js → p-Ca4tNXFJ.js} +1 -1
- package/dist/components/{p-C2TKHZzS.js → p-Cj5IMvmY.js} +1 -1
- package/dist/components/{p-M0HuC36n.js → p-D0Kv9fuX.js} +1 -1
- package/dist/components/p-D7BV0VvA.js +5 -0
- package/dist/components/{p-xzfC1mEW.js → p-DB8VkFjT.js} +1 -1
- package/dist/components/p-DHCNR72p.js +5 -0
- package/dist/components/{p-BleLoSFT.js → p-DbZXHOdd.js} +1 -1
- package/dist/components/p-Dh4Zl2o6.js +5 -0
- package/dist/components/p-Dsdar5Wr.js +5 -0
- package/dist/components/p-Mcvs6zfL.js +5 -0
- package/dist/components/p-UPh8uhqc.js +5 -0
- package/dist/components/{p-CqAjszb5.js → p-VbjDlhNs.js} +1 -1
- package/dist/components/p-XpRw_7oy.js +5 -0
- package/dist/components/p-ZtVXd0tH.js +5 -0
- package/dist/components/{p-D0N_FNtH.js → p-c3X39K7X.js} +1 -1
- package/dist/components/{p--MdrO_Yj.js → p-hPoTeCL3.js} +1 -1
- package/dist/{shift-components/p-C8BPFKv6.js → components/p-iv-7fJhX.js} +1 -1
- package/dist/components/p-ydh-g5_d.js +5 -0
- 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.d.ts +11 -0
- package/dist/components/shift-portal.js +5 -0
- package/dist/components/shift-select-dropdown.d.ts +11 -0
- package/dist/components/shift-select-dropdown.js +5 -0
- 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/vin-extractor.js +1 -1
- package/dist/esm/dead-stock-lookup_3.entry.js +9 -9
- package/dist/esm/flexible-container.entry.js +1 -1
- package/dist/esm/form-checkbox.entry.js +2 -2
- package/dist/esm/form-date-picker.entry.js +5 -5
- package/dist/esm/form-dialog_13.entry.js +40 -33
- package/dist/esm/form-input_6.entry.js +475 -0
- package/dist/esm/form-switch.entry.js +2 -2
- package/dist/esm/form-time-picker.entry.js +6 -6
- package/dist/esm/{functions-DKwin2fu.js → functions-ChlnhZY4.js} +1 -1
- package/dist/esm/general-form.entry.js +5 -5
- package/dist/esm/general-inquiry-form.entry.js +5 -5
- package/dist/esm/{get-local-language-B6OQwKt3.js → get-local-language-DkHdgkup.js} +1 -1
- package/dist/esm/{get-mock-files-DUcQpWY7.js → get-mock-files-BsX01omE.js} +1 -1
- package/dist/esm/information-table.entry.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 +3 -3
- package/dist/esm/part-lookup.entry.js +2 -2
- package/dist/esm/service-booking-form.entry.js +5 -5
- package/dist/esm/shift-accordion.entry.js +1 -1
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-select-dropdown.entry.js +49 -0
- package/dist/esm/shift-slider.entry.js +1 -1
- package/dist/esm/shift-switch.entry.js +1 -1
- package/dist/esm/shift-tab-content.entry.js +2 -2
- package/dist/esm/shift-tabs_2.entry.js +12 -12
- package/dist/esm/ssc-lookup-form.entry.js +5 -5
- package/dist/esm/test-drive-form.entry.js +5 -5
- package/dist/esm/tick-icon-Dbjn6jAI.js +10 -0
- package/dist/esm/vehicle-accessories_7.entry.js +22 -22
- package/dist/esm/vehicle-lookup.entry.js +3 -3
- package/dist/esm/vehicle-quotation-form.entry.js +4 -4
- package/dist/esm/{white-loader-DG6pqLQw.js → white-loader-r3AUTEZM.js} +1 -4
- package/dist/shift-components/p-0680a239.entry.js +5 -0
- package/dist/shift-components/{p-eaa82150.entry.js → p-141add0d.entry.js} +1 -1
- package/dist/shift-components/p-1dbffda3.entry.js +5 -0
- package/dist/shift-components/{p-8d7d4f02.entry.js → p-22d9da03.entry.js} +1 -1
- package/dist/shift-components/p-2ca566ae.entry.js +5 -0
- package/dist/shift-components/p-2cc056e3.entry.js +5 -0
- package/dist/shift-components/{p-207b99b7.entry.js → p-32f402bb.entry.js} +1 -1
- package/dist/shift-components/p-528b17c9.entry.js +5 -0
- package/dist/shift-components/{p-181297ed.entry.js → p-56ed2239.entry.js} +1 -1
- package/dist/shift-components/{p-3e4f8b76.entry.js → p-5d8a2df9.entry.js} +1 -1
- package/dist/shift-components/p-675dd4e6.entry.js +5 -0
- package/dist/shift-components/p-679edab6.entry.js +5 -0
- package/dist/shift-components/{p-f6f9027f.entry.js → p-6dc0119d.entry.js} +1 -1
- package/dist/shift-components/{p-719830c5.entry.js → p-8a641004.entry.js} +1 -1
- package/dist/shift-components/{p-c18fe44e.entry.js → p-8d733785.entry.js} +1 -1
- package/dist/shift-components/{p-0f253654.entry.js → p-9f270488.entry.js} +1 -1
- package/dist/shift-components/{p-ty40OgxQ.js → p-BMKSfYIH.js} +1 -1
- package/dist/shift-components/p-CqxKslQ7.js +5 -0
- package/dist/shift-components/p-Cu7M4VEk.js +5 -0
- package/dist/{components/p-BXWeNvni.js → shift-components/p-Di5DPSdR.js} +1 -1
- package/dist/shift-components/{p-6a54500d.entry.js → p-a4abc248.entry.js} +1 -1
- package/dist/shift-components/p-a7bb4ec2.entry.js +5 -0
- package/dist/shift-components/{p-e4b1cb27.entry.js → p-a9a7db2b.entry.js} +1 -1
- package/dist/shift-components/p-b37bf318.entry.js +5 -0
- package/dist/shift-components/{p-3fd7130f.entry.js → p-c0e734ef.entry.js} +1 -1
- package/dist/shift-components/{p-BUPWGDdh.js → p-c5JXmb7U.js} +1 -1
- package/dist/shift-components/{p-094117b5.entry.js → p-d26301cf.entry.js} +1 -1
- package/dist/shift-components/p-d7bcd6e3.entry.js +5 -0
- package/dist/shift-components/{p-e3252106.entry.js → p-e6ab3eb6.entry.js} +1 -1
- package/dist/shift-components/p-ed19150f.entry.js +5 -0
- package/dist/shift-components/{p-8ae5a142.entry.js → p-f199867c.entry.js} +1 -1
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/shift-portal.d.ts +11 -0
- package/dist/types/components/components/shift-select-dropdown.d.ts +21 -0
- package/dist/types/components/components/shift-select.d.ts +14 -6
- package/dist/types/components.d.ts +147 -7
- package/dist/types/global/lib/get-custom-classes-for-portal.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/form-input_5.cjs.entry.js +0 -356
- package/dist/components/p-B-6qrVN5.js +0 -5
- package/dist/components/p-BDS4tMtl.js +0 -5
- package/dist/components/p-B_GsW5gj.js +0 -5
- package/dist/components/p-BijbzFqK.js +0 -5
- package/dist/components/p-BoXLj5Sx.js +0 -5
- package/dist/components/p-C0iTgzqW.js +0 -5
- package/dist/components/p-C6PUuTdZ.js +0 -5
- package/dist/components/p-CAjnP9Em.js +0 -5
- package/dist/components/p-COyWDKsm.js +0 -5
- package/dist/components/p-CPC6I4bN.js +0 -5
- package/dist/components/p-Cc5bEW1y.js +0 -5
- package/dist/components/p-Cdy1k8Jg.js +0 -5
- package/dist/components/p-CwNsvZoc.js +0 -5
- package/dist/components/p-DFML4lRf.js +0 -5
- package/dist/components/p-DMiOfsyB.js +0 -5
- package/dist/components/p-DOKvJzb3.js +0 -5
- package/dist/components/p-DYrPubR0.js +0 -5
- package/dist/components/p-DvWM8h6e.js +0 -5
- package/dist/components/p-HD89nX1a.js +0 -5
- package/dist/components/p-TQjm9ABk.js +0 -5
- package/dist/esm/form-input_5.entry.js +0 -350
- package/dist/shift-components/p-0c068f99.entry.js +0 -5
- package/dist/shift-components/p-419ade1e.entry.js +0 -5
- package/dist/shift-components/p-83608e3c.entry.js +0 -5
- package/dist/shift-components/p-95cfdd86.entry.js +0 -5
- package/dist/shift-components/p-9a4fe253.entry.js +0 -5
- package/dist/shift-components/p-9eb23b70.entry.js +0 -5
- package/dist/shift-components/p-aca192aa.entry.js +0 -5
- package/dist/shift-components/p-c16f6c70.entry.js +0 -5
- package/dist/shift-components/p-d3316249.entry.js +0 -5
- package/dist/shift-components/p-db4f67a2.entry.js +0 -5
- package/dist/shift-components/p-veklgezh.js +0 -5
|
@@ -728,6 +728,20 @@ export namespace Components {
|
|
|
728
728
|
"name": string;
|
|
729
729
|
"onChange"?: (event: Event) => void;
|
|
730
730
|
}
|
|
731
|
+
interface ShiftPortal {
|
|
732
|
+
/**
|
|
733
|
+
* @default {}
|
|
734
|
+
*/
|
|
735
|
+
"componentProps": Record<string, any>;
|
|
736
|
+
/**
|
|
737
|
+
* @default ''
|
|
738
|
+
*/
|
|
739
|
+
"inheritedClasses": string;
|
|
740
|
+
/**
|
|
741
|
+
* @default ''
|
|
742
|
+
*/
|
|
743
|
+
"tag": string;
|
|
744
|
+
}
|
|
731
745
|
interface ShiftSelect {
|
|
732
746
|
/**
|
|
733
747
|
* @default false
|
|
@@ -739,7 +753,11 @@ export namespace Components {
|
|
|
739
753
|
* @default false
|
|
740
754
|
*/
|
|
741
755
|
"forceOpenUpwards"?: boolean;
|
|
742
|
-
"fullRenderOption"?: (option: FormSelectItem, isSelected, handleSelection) => any;
|
|
756
|
+
"fullRenderOption"?: (option: FormSelectItem, isSelected: boolean, handleSelection: (option: FormSelectItem) => void) => any;
|
|
757
|
+
/**
|
|
758
|
+
* @default 8
|
|
759
|
+
*/
|
|
760
|
+
"gap": number;
|
|
743
761
|
"handleSelection": (option: FormSelectItem) => void;
|
|
744
762
|
/**
|
|
745
763
|
* @default true
|
|
@@ -755,6 +773,9 @@ export namespace Components {
|
|
|
755
773
|
* @default false
|
|
756
774
|
*/
|
|
757
775
|
"isOpen": boolean;
|
|
776
|
+
/**
|
|
777
|
+
* @default ''
|
|
778
|
+
*/
|
|
758
779
|
"name": string;
|
|
759
780
|
"noSelectionText"?: string;
|
|
760
781
|
"onSelection"?: (newSelection: FormSelectItem) => void;
|
|
@@ -763,7 +784,7 @@ export namespace Components {
|
|
|
763
784
|
*/
|
|
764
785
|
"options": FormSelectItem[];
|
|
765
786
|
"placeholder"?: string;
|
|
766
|
-
"renderOption"?: (option: FormSelectItem, isSelected) => any;
|
|
787
|
+
"renderOption"?: (option: FormSelectItem, isSelected: boolean) => any;
|
|
767
788
|
/**
|
|
768
789
|
* @default false
|
|
769
790
|
*/
|
|
@@ -772,13 +793,53 @@ export namespace Components {
|
|
|
772
793
|
* @default ''
|
|
773
794
|
*/
|
|
774
795
|
"searchValue": string;
|
|
775
|
-
|
|
796
|
+
/**
|
|
797
|
+
* @default false
|
|
798
|
+
*/
|
|
799
|
+
"searchable"?: boolean;
|
|
776
800
|
/**
|
|
777
801
|
* @default ''
|
|
778
802
|
*/
|
|
779
803
|
"selectedValue": string;
|
|
780
804
|
"updateContext": (newValues: Partial<{ isOpen: boolean; searchValue: string; selectedValue: string }>) => void;
|
|
781
805
|
}
|
|
806
|
+
interface ShiftSelectDropdown {
|
|
807
|
+
"fetchingErrorText"?: string | boolean;
|
|
808
|
+
"fullRenderOption"?: (option: FormSelectItem, isSelected: boolean, handleSelection: (option: FormSelectItem) => void) => any;
|
|
809
|
+
"handleSelection": (option: FormSelectItem) => void;
|
|
810
|
+
/**
|
|
811
|
+
* @default true
|
|
812
|
+
*/
|
|
813
|
+
"hasArrow": boolean;
|
|
814
|
+
/**
|
|
815
|
+
* @default true
|
|
816
|
+
*/
|
|
817
|
+
"hasTick": boolean;
|
|
818
|
+
"isLoading"?: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* @default false
|
|
821
|
+
*/
|
|
822
|
+
"isOpen": boolean;
|
|
823
|
+
/**
|
|
824
|
+
* @default ''
|
|
825
|
+
*/
|
|
826
|
+
"name"?: string;
|
|
827
|
+
"noSelectionText"?: string;
|
|
828
|
+
/**
|
|
829
|
+
* @default []
|
|
830
|
+
*/
|
|
831
|
+
"options": FormSelectItem[];
|
|
832
|
+
"renderOption"?: (option: FormSelectItem, isSelected: boolean) => any;
|
|
833
|
+
/**
|
|
834
|
+
* @default false
|
|
835
|
+
*/
|
|
836
|
+
"reverseOptions": boolean;
|
|
837
|
+
/**
|
|
838
|
+
* @default ''
|
|
839
|
+
*/
|
|
840
|
+
"selectedValue": string;
|
|
841
|
+
"setElementRef"?: (el: HTMLElement | null) => void;
|
|
842
|
+
}
|
|
782
843
|
interface ShiftSlider {
|
|
783
844
|
"activeIndex": number;
|
|
784
845
|
"components": (() => Node)[];
|
|
@@ -1497,12 +1558,24 @@ declare global {
|
|
|
1497
1558
|
prototype: HTMLShiftCheckboxElement;
|
|
1498
1559
|
new (): HTMLShiftCheckboxElement;
|
|
1499
1560
|
};
|
|
1561
|
+
interface HTMLShiftPortalElement extends Components.ShiftPortal, HTMLStencilElement {
|
|
1562
|
+
}
|
|
1563
|
+
var HTMLShiftPortalElement: {
|
|
1564
|
+
prototype: HTMLShiftPortalElement;
|
|
1565
|
+
new (): HTMLShiftPortalElement;
|
|
1566
|
+
};
|
|
1500
1567
|
interface HTMLShiftSelectElement extends Components.ShiftSelect, HTMLStencilElement {
|
|
1501
1568
|
}
|
|
1502
1569
|
var HTMLShiftSelectElement: {
|
|
1503
1570
|
prototype: HTMLShiftSelectElement;
|
|
1504
1571
|
new (): HTMLShiftSelectElement;
|
|
1505
1572
|
};
|
|
1573
|
+
interface HTMLShiftSelectDropdownElement extends Components.ShiftSelectDropdown, HTMLStencilElement {
|
|
1574
|
+
}
|
|
1575
|
+
var HTMLShiftSelectDropdownElement: {
|
|
1576
|
+
prototype: HTMLShiftSelectDropdownElement;
|
|
1577
|
+
new (): HTMLShiftSelectDropdownElement;
|
|
1578
|
+
};
|
|
1506
1579
|
interface HTMLShiftSliderElement extends Components.ShiftSlider, HTMLStencilElement {
|
|
1507
1580
|
}
|
|
1508
1581
|
var HTMLShiftSliderElement: {
|
|
@@ -1639,7 +1712,9 @@ declare global {
|
|
|
1639
1712
|
"service-booking-form": HTMLServiceBookingFormElement;
|
|
1640
1713
|
"shift-accordion": HTMLShiftAccordionElement;
|
|
1641
1714
|
"shift-checkbox": HTMLShiftCheckboxElement;
|
|
1715
|
+
"shift-portal": HTMLShiftPortalElement;
|
|
1642
1716
|
"shift-select": HTMLShiftSelectElement;
|
|
1717
|
+
"shift-select-dropdown": HTMLShiftSelectDropdownElement;
|
|
1643
1718
|
"shift-slider": HTMLShiftSliderElement;
|
|
1644
1719
|
"shift-switch": HTMLShiftSwitchElement;
|
|
1645
1720
|
"shift-tab-content": HTMLShiftTabContentElement;
|
|
@@ -2314,6 +2389,20 @@ declare namespace LocalJSX {
|
|
|
2314
2389
|
"name"?: string;
|
|
2315
2390
|
"onChange"?: (event: Event) => void;
|
|
2316
2391
|
}
|
|
2392
|
+
interface ShiftPortal {
|
|
2393
|
+
/**
|
|
2394
|
+
* @default {}
|
|
2395
|
+
*/
|
|
2396
|
+
"componentProps"?: Record<string, any>;
|
|
2397
|
+
/**
|
|
2398
|
+
* @default ''
|
|
2399
|
+
*/
|
|
2400
|
+
"inheritedClasses"?: string;
|
|
2401
|
+
/**
|
|
2402
|
+
* @default ''
|
|
2403
|
+
*/
|
|
2404
|
+
"tag"?: string;
|
|
2405
|
+
}
|
|
2317
2406
|
interface ShiftSelect {
|
|
2318
2407
|
/**
|
|
2319
2408
|
* @default false
|
|
@@ -2325,8 +2414,12 @@ declare namespace LocalJSX {
|
|
|
2325
2414
|
* @default false
|
|
2326
2415
|
*/
|
|
2327
2416
|
"forceOpenUpwards"?: boolean;
|
|
2328
|
-
"fullRenderOption"?: (option: FormSelectItem, isSelected, handleSelection) => any;
|
|
2329
|
-
|
|
2417
|
+
"fullRenderOption"?: (option: FormSelectItem, isSelected: boolean, handleSelection: (option: FormSelectItem) => void) => any;
|
|
2418
|
+
/**
|
|
2419
|
+
* @default 8
|
|
2420
|
+
*/
|
|
2421
|
+
"gap"?: number;
|
|
2422
|
+
"handleSelection": (option: FormSelectItem) => void;
|
|
2330
2423
|
/**
|
|
2331
2424
|
* @default true
|
|
2332
2425
|
*/
|
|
@@ -2341,6 +2434,9 @@ declare namespace LocalJSX {
|
|
|
2341
2434
|
* @default false
|
|
2342
2435
|
*/
|
|
2343
2436
|
"isOpen"?: boolean;
|
|
2437
|
+
/**
|
|
2438
|
+
* @default ''
|
|
2439
|
+
*/
|
|
2344
2440
|
"name"?: string;
|
|
2345
2441
|
"noSelectionText"?: string;
|
|
2346
2442
|
"onSelection"?: (newSelection: FormSelectItem) => void;
|
|
@@ -2349,7 +2445,7 @@ declare namespace LocalJSX {
|
|
|
2349
2445
|
*/
|
|
2350
2446
|
"options"?: FormSelectItem[];
|
|
2351
2447
|
"placeholder"?: string;
|
|
2352
|
-
"renderOption"?: (option: FormSelectItem, isSelected) => any;
|
|
2448
|
+
"renderOption"?: (option: FormSelectItem, isSelected: boolean) => any;
|
|
2353
2449
|
/**
|
|
2354
2450
|
* @default false
|
|
2355
2451
|
*/
|
|
@@ -2358,12 +2454,52 @@ declare namespace LocalJSX {
|
|
|
2358
2454
|
* @default ''
|
|
2359
2455
|
*/
|
|
2360
2456
|
"searchValue"?: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* @default false
|
|
2459
|
+
*/
|
|
2361
2460
|
"searchable"?: boolean;
|
|
2362
2461
|
/**
|
|
2363
2462
|
* @default ''
|
|
2364
2463
|
*/
|
|
2365
2464
|
"selectedValue"?: string;
|
|
2366
|
-
"updateContext"
|
|
2465
|
+
"updateContext": (newValues: Partial<{ isOpen: boolean; searchValue: string; selectedValue: string }>) => void;
|
|
2466
|
+
}
|
|
2467
|
+
interface ShiftSelectDropdown {
|
|
2468
|
+
"fetchingErrorText"?: string | boolean;
|
|
2469
|
+
"fullRenderOption"?: (option: FormSelectItem, isSelected: boolean, handleSelection: (option: FormSelectItem) => void) => any;
|
|
2470
|
+
"handleSelection": (option: FormSelectItem) => void;
|
|
2471
|
+
/**
|
|
2472
|
+
* @default true
|
|
2473
|
+
*/
|
|
2474
|
+
"hasArrow"?: boolean;
|
|
2475
|
+
/**
|
|
2476
|
+
* @default true
|
|
2477
|
+
*/
|
|
2478
|
+
"hasTick"?: boolean;
|
|
2479
|
+
"isLoading"?: boolean;
|
|
2480
|
+
/**
|
|
2481
|
+
* @default false
|
|
2482
|
+
*/
|
|
2483
|
+
"isOpen"?: boolean;
|
|
2484
|
+
/**
|
|
2485
|
+
* @default ''
|
|
2486
|
+
*/
|
|
2487
|
+
"name"?: string;
|
|
2488
|
+
"noSelectionText"?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* @default []
|
|
2491
|
+
*/
|
|
2492
|
+
"options"?: FormSelectItem[];
|
|
2493
|
+
"renderOption"?: (option: FormSelectItem, isSelected: boolean) => any;
|
|
2494
|
+
/**
|
|
2495
|
+
* @default false
|
|
2496
|
+
*/
|
|
2497
|
+
"reverseOptions"?: boolean;
|
|
2498
|
+
/**
|
|
2499
|
+
* @default ''
|
|
2500
|
+
*/
|
|
2501
|
+
"selectedValue"?: string;
|
|
2502
|
+
"setElementRef"?: (el: HTMLElement | null) => void;
|
|
2367
2503
|
}
|
|
2368
2504
|
interface ShiftSlider {
|
|
2369
2505
|
"activeIndex"?: number;
|
|
@@ -2870,7 +3006,9 @@ declare namespace LocalJSX {
|
|
|
2870
3006
|
"service-booking-form": ServiceBookingForm;
|
|
2871
3007
|
"shift-accordion": ShiftAccordion;
|
|
2872
3008
|
"shift-checkbox": ShiftCheckbox;
|
|
3009
|
+
"shift-portal": ShiftPortal;
|
|
2873
3010
|
"shift-select": ShiftSelect;
|
|
3011
|
+
"shift-select-dropdown": ShiftSelectDropdown;
|
|
2874
3012
|
"shift-slider": ShiftSlider;
|
|
2875
3013
|
"shift-switch": ShiftSwitch;
|
|
2876
3014
|
"shift-tab-content": ShiftTabContent;
|
|
@@ -2927,7 +3065,9 @@ declare module "@stencil/core" {
|
|
|
2927
3065
|
"service-booking-form": LocalJSX.ServiceBookingForm & JSXBase.HTMLAttributes<HTMLServiceBookingFormElement>;
|
|
2928
3066
|
"shift-accordion": LocalJSX.ShiftAccordion & JSXBase.HTMLAttributes<HTMLShiftAccordionElement>;
|
|
2929
3067
|
"shift-checkbox": LocalJSX.ShiftCheckbox & JSXBase.HTMLAttributes<HTMLShiftCheckboxElement>;
|
|
3068
|
+
"shift-portal": LocalJSX.ShiftPortal & JSXBase.HTMLAttributes<HTMLShiftPortalElement>;
|
|
2930
3069
|
"shift-select": LocalJSX.ShiftSelect & JSXBase.HTMLAttributes<HTMLShiftSelectElement>;
|
|
3070
|
+
"shift-select-dropdown": LocalJSX.ShiftSelectDropdown & JSXBase.HTMLAttributes<HTMLShiftSelectDropdownElement>;
|
|
2931
3071
|
"shift-slider": LocalJSX.ShiftSlider & JSXBase.HTMLAttributes<HTMLShiftSliderElement>;
|
|
2932
3072
|
"shift-switch": LocalJSX.ShiftSwitch & JSXBase.HTMLAttributes<HTMLShiftSwitchElement>;
|
|
2933
3073
|
"shift-tab-content": LocalJSX.ShiftTabContent & JSXBase.HTMLAttributes<HTMLShiftTabContentElement>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getCustomClassesForPortal(element: any): string;
|