adp-web-components 0.1.89 → 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 +41 -34
- 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-BQEvU17H.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-DsQELiJS.js → get-local-language-DNAZjtmK.js} +1 -1
- package/dist/cjs/{get-mock-files-Ch_kovG_.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/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-checkbox.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 +2 -2
- package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
- 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 +15 -15
- package/dist/cjs/vehicle-lookup.cjs.entry.js +2 -2
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +5 -5
- 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/empty.css +1 -1
- 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/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 +135 -228
- 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.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/themes.css +1 -1
- 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.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +4 -4
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +8 -8
- 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-details.js +4 -4
- package/dist/collection/components/vin-extractor/vin-extractor.css +1 -1
- 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/manufacturer-lookup.js +1 -1
- package/dist/components/manufacturer-part-lookup.js +1 -1
- package/dist/components/{p-ArK8It5m.js → p--anxcjtN.js} +1 -1
- package/dist/components/p-7zVWuLAq.js +5 -0
- package/dist/components/p-B-Wb2O9M.js +5 -0
- package/dist/components/p-BM4tew8G.js +5 -0
- package/dist/components/p-BUS2YqxZ.js +5 -0
- package/dist/components/{p-DNtYvtOI.js → p-BV90NnNh.js} +1 -1
- package/dist/components/p-BX94Wv8p.js +5 -0
- package/dist/components/p-BXMyUNO3.js +5 -0
- package/dist/components/{p-u6pKoWLI.js → p-BXXhyo8T.js} +1 -1
- package/dist/components/{p-KjXwWDZQ.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-i1k5GlNe.js → p-Bu-zIHAI.js} +1 -1
- package/dist/components/p-BxnICZU9.js +5 -0
- package/dist/components/{p-DYLaj78t.js → p-C2hvMeLJ.js} +1 -1
- package/dist/components/{p-DBiBGgSi.js → p-C44H0Rnu.js} +1 -1
- package/dist/components/{p-CPU26qzy.js → p-CGyBRij0.js} +1 -1
- package/dist/components/p-CK23iS-3.js +5 -0
- 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-CYHdG6Qt.js → p-CSITVd7T.js} +1 -1
- package/dist/components/{p-DzOUDDc-.js → p-Ca4tNXFJ.js} +1 -1
- package/dist/components/{p-DX2CofC-.js → p-Cj5IMvmY.js} +1 -1
- package/dist/components/{p-BJMPwAS4.js → p-D0Kv9fuX.js} +1 -1
- package/dist/components/p-D7BV0VvA.js +5 -0
- package/dist/components/{p-w4ZaoqpI.js → p-DB8VkFjT.js} +1 -1
- package/dist/components/p-DHCNR72p.js +5 -0
- package/dist/components/{p-CVtvnaxh.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-CkpaEkN9.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-BYHZx5uv.js → p-c3X39K7X.js} +1 -1
- package/dist/components/{p-CtIGw5Py.js → p-hPoTeCL3.js} +1 -1
- package/dist/components/{p-o71PUaO_.js → 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-checkbox.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 +41 -34
- 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-B1v3Y3PD.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-MJAuQ90s.js → get-local-language-DkHdgkup.js} +1 -1
- package/dist/esm/{get-mock-files-UHBAgIbo.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/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-checkbox.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 +2 -2
- package/dist/esm/shift-tab-content.entry.js +2 -2
- package/dist/esm/shift-tabs_2.entry.js +10 -10
- 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 +15 -15
- package/dist/esm/vehicle-lookup.entry.js +2 -2
- package/dist/esm/vehicle-quotation-form.entry.js +5 -5
- 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-99992c2d.entry.js → p-141add0d.entry.js} +1 -1
- package/dist/shift-components/p-1dbffda3.entry.js +5 -0
- package/dist/shift-components/p-22d9da03.entry.js +5 -0
- 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-b8b6b722.entry.js → p-32f402bb.entry.js} +1 -1
- package/dist/shift-components/p-528b17c9.entry.js +5 -0
- package/dist/shift-components/{p-9f9d0aea.entry.js → p-56ed2239.entry.js} +1 -1
- package/dist/shift-components/{p-f66436ad.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-6dc0119d.entry.js +5 -0
- package/dist/shift-components/p-8a641004.entry.js +5 -0
- package/dist/shift-components/{p-c18fe44e.entry.js → p-8d733785.entry.js} +1 -1
- package/dist/shift-components/p-9f270488.entry.js +5 -0
- package/dist/shift-components/{p-jdZ57Y3w.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/shift-components/{p-KuiqTtK2.js → p-Di5DPSdR.js} +1 -1
- package/dist/shift-components/p-a7bb4ec2.entry.js +5 -0
- package/dist/shift-components/{p-8882ac0f.entry.js → p-a9a7db2b.entry.js} +1 -1
- package/dist/shift-components/p-b37bf318.entry.js +5 -0
- package/dist/shift-components/p-c0e734ef.entry.js +5 -0
- package/dist/shift-components/{p-DUiUHme5.js → p-c5JXmb7U.js} +1 -1
- package/dist/shift-components/p-d26301cf.entry.js +5 -0
- package/dist/shift-components/p-d7bcd6e3.entry.js +5 -0
- package/dist/shift-components/{p-e56bd484.entry.js → p-df8df3ab.entry.js} +1 -1
- 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-f199867c.entry.js +5 -0
- 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 +13 -13
- 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 -513
- package/dist/components/p-B6bE5CEN.js +0 -5
- package/dist/components/p-BkglssXx.js +0 -5
- package/dist/components/p-BmRMywlk.js +0 -5
- package/dist/components/p-C-kUF3QP.js +0 -5
- package/dist/components/p-CFTdmLbm.js +0 -5
- package/dist/components/p-CFhlz8IF.js +0 -5
- package/dist/components/p-CHWsC3aq.js +0 -5
- package/dist/components/p-CVuCTSsS.js +0 -5
- package/dist/components/p-CbbptSIU.js +0 -5
- package/dist/components/p-ClkayFkp.js +0 -5
- package/dist/components/p-CtMnPmGu.js +0 -5
- package/dist/components/p-DAHfTGDA.js +0 -5
- package/dist/components/p-DLdCqPsf.js +0 -5
- package/dist/components/p-DUVw6Tes.js +0 -5
- package/dist/components/p-DdYrGMrh.js +0 -5
- package/dist/components/p-DhzbL3P1.js +0 -5
- package/dist/components/p-DvHMZ9Hw.js +0 -5
- package/dist/components/p-ndgld65V.js +0 -5
- package/dist/components/p-nr2gMO4t.js +0 -5
- package/dist/components/p-oZ5plka6.js +0 -5
- package/dist/components/p-v06jfND4.js +0 -5
- package/dist/components/p-zIBheGW9.js +0 -5
- package/dist/esm/form-input_5.entry.js +0 -507
- package/dist/shift-components/p-0dae5673.entry.js +0 -5
- package/dist/shift-components/p-523a3324.entry.js +0 -5
- package/dist/shift-components/p-526cd30b.entry.js +0 -5
- package/dist/shift-components/p-802bed13.entry.js +0 -5
- package/dist/shift-components/p-82c6bb9d.entry.js +0 -5
- package/dist/shift-components/p-8a68034d.entry.js +0 -5
- package/dist/shift-components/p-95079e76.entry.js +0 -5
- package/dist/shift-components/p-a5d2b8a8.entry.js +0 -5
- package/dist/shift-components/p-abcc1645.entry.js +0 -5
- package/dist/shift-components/p-b6544b27.entry.js +0 -5
- package/dist/shift-components/p-bcaf164f.entry.js +0 -5
- package/dist/shift-components/p-c014a4e8.entry.js +0 -5
- package/dist/shift-components/p-d3f53eb3.entry.js +0 -5
- package/dist/shift-components/p-d722ae36.entry.js +0 -5
- package/dist/shift-components/p-d92f3e82.entry.js +0 -5
- package/dist/shift-components/p-da38699e.entry.js +0 -5
- package/dist/shift-components/p-fe99efa8.entry.js +0 -5
- package/dist/shift-components/p-veklgezh.js +0 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FormSelectItem } from 'components';
|
|
2
2
|
export declare class ShiftSelect {
|
|
3
|
-
name: string;
|
|
4
3
|
hasTick: boolean;
|
|
5
4
|
hasArrow: boolean;
|
|
5
|
+
gap: number;
|
|
6
6
|
searchValue: string;
|
|
7
|
+
name: string;
|
|
7
8
|
isError?: boolean;
|
|
8
|
-
searchable: boolean;
|
|
9
9
|
isLoading?: boolean;
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
disableInput?: boolean;
|
|
@@ -13,31 +13,31 @@ export declare class ShiftSelect {
|
|
|
13
13
|
noSelectionText?: string;
|
|
14
14
|
selectedValue: string;
|
|
15
15
|
clearable?: boolean;
|
|
16
|
+
searchable?: boolean;
|
|
16
17
|
options: FormSelectItem[];
|
|
17
18
|
reverseOptions?: boolean;
|
|
18
19
|
forceOpenUpwards?: boolean;
|
|
19
20
|
fetchingErrorText?: string | boolean;
|
|
20
21
|
handleSelection: (option: FormSelectItem) => void;
|
|
21
22
|
onSelection?: (newSelection: FormSelectItem) => void;
|
|
22
|
-
renderOption?: (option: FormSelectItem, isSelected:
|
|
23
|
-
fullRenderOption?: (option: FormSelectItem, isSelected: any, handleSelection: any) => any;
|
|
23
|
+
renderOption?: (option: FormSelectItem, isSelected: boolean) => any;
|
|
24
24
|
updateContext: (newValues: Partial<{
|
|
25
25
|
isOpen: boolean;
|
|
26
26
|
searchValue: string;
|
|
27
27
|
selectedValue: string;
|
|
28
28
|
}>) => void;
|
|
29
|
-
|
|
29
|
+
fullRenderOption?: (option: FormSelectItem, isSelected: boolean, handleSelection: (option: FormSelectItem) => void) => any;
|
|
30
|
+
dropdownAncestorClasses: string;
|
|
30
31
|
el: HTMLElement;
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
|
|
32
|
+
private dropdownEl;
|
|
33
|
+
private boundKeyDown;
|
|
34
|
+
setDropdownRef: (el: HTMLElement | null) => void;
|
|
34
35
|
toggleDropdown: () => void;
|
|
36
|
+
openDropdown: () => void;
|
|
35
37
|
componentDidLoad(): Promise<void>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
private getDropdownEl;
|
|
40
|
-
adjustDropdownPosition(): void;
|
|
38
|
+
private getInputEl;
|
|
39
|
+
private isInputInView;
|
|
40
|
+
adjustDropdownPosition: () => void;
|
|
41
41
|
handleKeyDown(event: KeyboardEvent): void;
|
|
42
42
|
closeDropdown: (event: MouseEvent) => void;
|
|
43
43
|
disconnectedCallback(): Promise<void>;
|
|
@@ -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;
|