@onereach/ui-components 4.18.2-beta.3122.0 → 4.18.2
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/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +2 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +3 -7
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.vue.d.ts +5 -16
- package/dist/bundled/v2/components/OrLabelV3/props.d.ts +1 -2
- package/dist/bundled/v2/components/OrLabelV3/props.js +0 -1
- package/dist/bundled/v2/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrLabelV3/styles.js +5 -14
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +24 -142
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +0 -14
- package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +1 -3
- package/dist/bundled/v2/components/OrSelectV3/styles.js +2 -12
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +2 -2
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/directives/dropdown-close.js +2 -0
- package/dist/bundled/v2/directives/dropdown-open.js +4 -0
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-cded1b7c.js → OrCardCollection.vue_vue_type_script_lang-bc4757dd.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-38736023.js → OrCheckbox.vue_vue_type_script_lang-eeb6b419.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-229fadef.js → OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js} +2 -2
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-92648e11.js → OrCheckboxTree.vue_vue_type_script_lang-120abecd.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-3cb3ae8e.js → OrCode.vue_vue_type_script_lang-f1380ecb.js} +1 -1
- package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-230d4d9c.js → OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-babc39a8.js → OrConfirm.vue_vue_type_script_lang-73aa938c.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-31d47bde.js → OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-d07bd111.js → OrDateTimePicker.vue_vue_type_script_lang-32107a94.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-ba83ac70.js → OrDateTimePickerPopoverHeader-dec42484.js} +1 -1
- package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-d67479fc.js → OrFormGroup.vue_vue_type_script_lang-1c6844d6.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-2ae62a50.js → OrInput.vue_vue_type_script_lang-d64bda8a.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-fcdfd80d.js → OrLabel.vue_vue_type_script_lang-3e11ab8a.js} +3 -6
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-08ab2220.js → OrRadio.vue_vue_type_script_lang-48c2bc6b.js} +1 -1
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-d84948fc.js → OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-9a6e8dcf.js → OrSearch.vue_vue_type_script_lang-07373511.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-0697221b.js → OrSelect.vue_vue_type_script_lang-9acc1912.js} +8 -36
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-14b4ec0a.js → OrSwitch.vue_vue_type_script_lang-ee55263f.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-29e3ea3a.js → OrTagInput.vue_vue_type_script_lang-6b584d66.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-a7cfbe82.js → OrTextarea.vue_vue_type_script_lang-7562cca1.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-72f4a4e6.js → OrTimePicker.vue_vue_type_script_lang-223d7bb1.js} +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +5 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +6 -6
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +5 -5
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +4 -5
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +3 -3
- package/dist/bundled/v3/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +3 -3
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +3 -3
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
- package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +3 -4
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +3 -12
- package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/props.d.ts +1 -2
- package/dist/bundled/v3/components/OrLabelV3/props.js +0 -1
- package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrLabelV3/styles.js +5 -14
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +5 -5
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +4 -4
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +3 -3
- package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +43 -93
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +0 -7
- package/dist/bundled/v3/components/OrSelectV3/index.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +1 -3
- package/dist/bundled/v3/components/OrSelectV3/styles.js +2 -12
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +3 -3
- package/dist/bundled/v3/components/OrSwitchV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +3 -3
- package/dist/bundled/v3/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +3 -3
- package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +2 -2
- package/dist/bundled/v3/components/index.js +21 -21
- package/dist/bundled/v3/directives/dropdown-close.js +2 -0
- package/dist/bundled/v3/directives/dropdown-open.js +4 -0
- package/dist/bundled/v3/index.js +22 -22
- package/dist/esm/v2/{OrCardCollection-8ecb1d0f.js → OrCardCollection-ca6d1e3c.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-ae903071.js → OrCheckbox-db66b4ea.js} +3 -4
- package/dist/esm/v2/{OrCheckboxGroup-7a933055.js → OrCheckboxGroup-eda833b1.js} +2 -2
- package/dist/esm/v2/{OrCheckboxTree-9e6af2f9.js → OrCheckboxTree-231ba2b1.js} +1 -1
- package/dist/esm/v2/{OrCode-00286c98.js → OrCode-996daa11.js} +1 -1
- package/dist/esm/v2/{OrCombinedInput-2639e3e1.js → OrCombinedInput-45187323.js} +1 -1
- package/dist/esm/v2/{OrConfirm-aa0f4e37.js → OrConfirm-e4f8c958.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-12fed728.js → OrDatePicker-20d1ed3e.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-f70fca37.js → OrDateTimePicker-42c99a26.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-a89539d7.js → OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-238b134e.js → OrDateTimePickerPopoverHeader-dd9de00f.js} +1 -1
- package/dist/esm/v2/{OrFormGroup-9000fcdf.js → OrFormGroup-29a514db.js} +1 -1
- package/dist/esm/v2/{OrInput-db5bfe4d.js → OrInput-a7e317b8.js} +3 -3
- package/dist/esm/v2/{OrLabel-4a3d8904.js → OrLabel-63380256.js} +6 -18
- package/dist/esm/v2/{OrRadio-0fc3ae14.js → OrRadio-b32dfbfe.js} +1 -1
- package/dist/esm/v2/{OrRadioGroup-1108883d.js → OrRadioGroup-d1c2e460.js} +2 -2
- package/dist/esm/v2/{OrSearch-96caffa0.js → OrSearch-7ad39657.js} +1 -1
- package/dist/esm/v2/{OrSelect-35379ddd.js → OrSelect-0bd57cba.js} +27 -156
- package/dist/esm/v2/{OrSwitch-a3da6bec.js → OrSwitch-e49ce2d8.js} +1 -1
- package/dist/esm/v2/{OrTagInput-90df4d39.js → OrTagInput-f2ddcc97.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6fe8b65f.js → OrTextarea-824f7048.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-079e4db8.js → OrTimePicker-9312df72.js} +4 -4
- package/dist/esm/v2/{OrToastContainer-d1a7b839.js → OrToastContainer-ecffc69f.js} +1 -1
- package/dist/esm/v2/components/index.js +27 -27
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +2 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +5 -16
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-label-v3/props.d.ts +1 -2
- package/dist/esm/v2/components/or-label-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -14
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/styles.d.ts +1 -3
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast/composable/index.js +1 -1
- package/dist/esm/v2/components/or-toast/index.js +2 -2
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/composable/index.js +1 -1
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v2/directives/index.js +1 -1
- package/dist/esm/v2/{dropdown-open-d6d66d32.js → dropdown-open-e1f90e0a.js} +6 -0
- package/dist/esm/v2/index.js +27 -27
- package/dist/esm/v2/{types-dab9146d.js → types-6792dff8.js} +1 -1
- package/dist/esm/v2/{useToast-b5ea5cb2.js → useToast-05a9c81b.js} +2 -2
- package/dist/esm/{v3/useToast-a1332cc2.js → v2/useToast-5aa9dc05.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-c1f348ce.js → OrCardCollection-0adc842d.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-a571fc90.js → OrCheckbox-09f62aab.js} +2 -3
- package/dist/esm/v3/{OrCheckboxGroup-93611f6e.js → OrCheckboxGroup-e0afc5c3.js} +2 -2
- package/dist/esm/v3/{OrCheckboxTree-3e6e5fd9.js → OrCheckboxTree-76f1b7ed.js} +1 -1
- package/dist/esm/v3/{OrCode-47ef126c.js → OrCode-a252b73f.js} +1 -1
- package/dist/esm/v3/{OrCombinedInput-6dd0f75d.js → OrCombinedInput-2800ee8b.js} +1 -1
- package/dist/esm/v3/{OrConfirm-7e6e4d18.js → OrConfirm-e3e225b3.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-896db2cd.js → OrDatePicker-6993440a.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-b7ceda4d.js → OrDateTimePicker-fd642cb1.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-1cfbd368.js → OrDateTimePickerPopoverHeader-ece5b2a7.js} +1 -1
- package/dist/esm/v3/{OrFormGroup-c4631ef0.js → OrFormGroup-9f581536.js} +1 -1
- package/dist/esm/v3/{OrInput-75cb55d1.js → OrInput-5ffebd41.js} +1 -1
- package/dist/esm/v3/{OrLabel-d4c46bb6.js → OrLabel-4da56db0.js} +7 -19
- package/dist/esm/v3/{OrRadio-48cd02a9.js → OrRadio-7b722b16.js} +1 -1
- package/dist/esm/v3/{OrRadioGroup-82d10aa8.js → OrRadioGroup-58c0214c.js} +2 -2
- package/dist/esm/v3/{OrSearch-4a2e8530.js → OrSearch-94019f8b.js} +1 -1
- package/dist/esm/v3/{OrSelect-10aae4fd.js → OrSelect-48f2374c.js} +47 -135
- package/dist/esm/v3/{OrSwitch-f4d9e196.js → OrSwitch-a6efd081.js} +1 -1
- package/dist/esm/v3/{OrTagInput-e47f0eb9.js → OrTagInput-9c53b28c.js} +1 -1
- package/dist/esm/v3/{OrTextarea-f3412790.js → OrTextarea-6c471ccd.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-5f3b9fd6.js → OrTimePicker-dc9a10d5.js} +4 -4
- package/dist/esm/v3/{OrToastContainer-1bba845b.js → OrToastContainer-d6f117e2.js} +1 -1
- package/dist/esm/v3/components/index.js +26 -26
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +2 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +3 -12
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-label-v3/props.d.ts +1 -2
- package/dist/esm/v3/components/or-label-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -7
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/styles.d.ts +1 -3
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast/composable/index.js +1 -1
- package/dist/esm/v3/components/or-toast/index.js +2 -2
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/composable/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v3/directives/index.js +1 -1
- package/dist/esm/v3/{dropdown-open-d6d66d32.js → dropdown-open-e1f90e0a.js} +6 -0
- package/dist/esm/v3/index.js +26 -26
- package/dist/esm/v3/{types-a369627d.js → types-a3038b68.js} +1 -1
- package/dist/esm/v3/{useToast-b5ea5cb2.js → useToast-05a9c81b.js} +2 -2
- package/dist/esm/{v2/useToast-a1332cc2.js → v3/useToast-5aa9dc05.js} +2 -2
- package/package.json +3 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +0 -1
- package/src/components/or-input-v3/OrInput.vue +0 -1
- package/src/components/or-label-v3/OrLabel.vue +5 -9
- package/src/components/or-label-v3/props.ts +0 -1
- package/src/components/or-label-v3/styles.ts +4 -16
- package/src/components/or-select-v3/OrSelect.vue +27 -123
- package/src/components/or-select-v3/styles.ts +1 -18
- package/src/components/or-toast/composable/useToast.ts +1 -1
- package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +38 -7
- package/src/components/or-toast-v3/composable/useToast.ts +1 -1
- package/src/directives/dropdown-close.ts +3 -0
- package/src/directives/dropdown-open.ts +6 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-9908babc.js → OrDateTimePickerPopoverHeader-03768809.js} +0 -0
|
@@ -5,31 +5,23 @@ var LabelVariant;
|
|
|
5
5
|
(function (LabelVariant) {
|
|
6
6
|
LabelVariant["Input"] = "input";
|
|
7
7
|
LabelVariant["Toggle"] = "toggle";
|
|
8
|
-
LabelVariant["MenuItem"] = "menu-item";
|
|
9
8
|
})(LabelVariant || (LabelVariant = {}));
|
|
10
9
|
|
|
11
|
-
const
|
|
10
|
+
const LabelRoot = [
|
|
12
11
|
// Layout
|
|
13
12
|
'layout-row justify-between',
|
|
14
13
|
// Spacing
|
|
15
14
|
'gap-sm'];
|
|
16
|
-
const
|
|
17
|
-
|
|
15
|
+
const LabelRootVariants = {
|
|
16
|
+
'input': [
|
|
18
17
|
// Typography
|
|
19
18
|
'typography-caption-regular',
|
|
20
19
|
// Theme
|
|
21
20
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'],
|
|
22
|
-
|
|
21
|
+
'toggle': [
|
|
23
22
|
// Typography
|
|
24
23
|
'typography-body-2-regular',
|
|
25
24
|
// Theme
|
|
26
|
-
'theme-foreground-default', 'dark:theme-foreground-default-dark'],
|
|
27
|
-
[LabelVariant.MenuItem]: [
|
|
28
|
-
// Typography
|
|
29
|
-
'typography-body-2-regular',
|
|
30
|
-
// Typography (selected)
|
|
31
|
-
'selected:typography-body-2-semibold',
|
|
32
|
-
// Theme
|
|
33
25
|
'theme-foreground-default', 'dark:theme-foreground-default-dark']
|
|
34
26
|
};
|
|
35
27
|
const LabelText = [
|
|
@@ -44,6 +36,7 @@ const LabelAddon = [
|
|
|
44
36
|
'whitespace-nowrap'];
|
|
45
37
|
|
|
46
38
|
var script = defineComponent({
|
|
39
|
+
name: 'OrLabel',
|
|
47
40
|
props: {
|
|
48
41
|
controlId: {
|
|
49
42
|
type: String,
|
|
@@ -53,10 +46,6 @@ var script = defineComponent({
|
|
|
53
46
|
type: String,
|
|
54
47
|
default: LabelVariant.Input
|
|
55
48
|
},
|
|
56
|
-
selected: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: false
|
|
59
|
-
},
|
|
60
49
|
required: {
|
|
61
50
|
type: Boolean,
|
|
62
51
|
default: false
|
|
@@ -71,7 +60,7 @@ var script = defineComponent({
|
|
|
71
60
|
// Refs
|
|
72
61
|
const root = ref();
|
|
73
62
|
// Styles
|
|
74
|
-
const rootStyles = computed(() => ['or-label-v3', ...
|
|
63
|
+
const rootStyles = computed(() => ['or-label-v3', ...LabelRoot, ...LabelRootVariants[props.variant]]);
|
|
75
64
|
const textStyles = computed(() => [...LabelText]);
|
|
76
65
|
const addonStyles = computed(() => [...LabelAddon]);
|
|
77
66
|
return {
|
|
@@ -83,13 +72,12 @@ var script = defineComponent({
|
|
|
83
72
|
}
|
|
84
73
|
});
|
|
85
74
|
|
|
86
|
-
const _hoisted_1 = ["
|
|
75
|
+
const _hoisted_1 = ["disabled"];
|
|
87
76
|
const _hoisted_2 = ["for", "required", "disabled"];
|
|
88
77
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
89
78
|
return openBlock(), createElementBlock("div", {
|
|
90
79
|
ref: "root",
|
|
91
80
|
class: normalizeClass(_ctx.rootStyles),
|
|
92
|
-
selected: _ctx.selected ? '' : null,
|
|
93
81
|
disabled: _ctx.disabled ? '' : null
|
|
94
82
|
}, [createElementVNode("label", {
|
|
95
83
|
class: normalizeClass(_ctx.textStyles),
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { s as script$1, L as LabelVariant } from './OrLabel-
|
|
7
|
+
import { s as script$1, L as LabelVariant } from './OrLabel-4da56db0.js';
|
|
8
8
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelRadio, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { s as script$1 } from './OrFormGroup-
|
|
7
|
-
import { s as script$2 } from './OrRadio-
|
|
6
|
+
import { s as script$1 } from './OrFormGroup-9f581536.js';
|
|
7
|
+
import { s as script$2 } from './OrRadio-7b722b16.js';
|
|
8
8
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
9
9
|
|
|
10
10
|
var script = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
3
|
+
import { s as script$1 } from './OrInput-5ffebd41.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, toRef, onMounted, watch } from 'vue-demi';
|
|
2
|
-
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
2
|
+
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
|
-
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
6
|
import '@onereach/styles/tailwind.config';
|
|
8
7
|
import 'tailwindcss/resolveConfig';
|
|
9
8
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
10
|
-
import { s as script$1 } from './OrCheckbox-
|
|
9
|
+
import { s as script$1 } from './OrCheckbox-09f62aab.js';
|
|
11
10
|
import { s as script$2 } from './OrError-c01d0c29.js';
|
|
12
11
|
import { s as script$3 } from './OrExpansionPanel-891154e6.js';
|
|
13
12
|
import { s as script$4 } from './OrHint-06ab89d7.js';
|
|
14
13
|
import { s as script$6 } from './OrIconButton-fe133b18.js';
|
|
15
14
|
import { s as script$5 } from './OrIcon-62793572.js';
|
|
16
15
|
import { s as script$8, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
17
|
-
import { s as script$7 } from './OrInput-
|
|
18
|
-
import { s as script$9 } from './OrLabel-
|
|
16
|
+
import { s as script$7 } from './OrInput-5ffebd41.js';
|
|
17
|
+
import { s as script$9 } from './OrLabel-4da56db0.js';
|
|
19
18
|
import { s as script$a } from './OrMenuItem-54062d59.js';
|
|
20
19
|
import { s as script$b } from './OrPopover-6d433297.js';
|
|
21
20
|
import { s as script$c } from './OrTag-499c45e1.js';
|
|
22
21
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, withModifiers, createVNode, vShow } from 'vue';
|
|
23
22
|
|
|
24
|
-
const
|
|
23
|
+
const SelectRoot = [
|
|
25
24
|
// Layout
|
|
26
25
|
'layout-column',
|
|
27
26
|
// Spacing
|
|
@@ -37,11 +36,6 @@ const SelectControl = [
|
|
|
37
36
|
'gap-xs',
|
|
38
37
|
// Typography
|
|
39
38
|
'typography-inherit'];
|
|
40
|
-
const SelectSearchControl = [
|
|
41
|
-
// Layout
|
|
42
|
-
'grow',
|
|
43
|
-
// Spacing
|
|
44
|
-
'!mx-lg md:!mx-none', '!my-sm md:!my-none'];
|
|
45
39
|
const SelectPlaceholder = [
|
|
46
40
|
// Theme
|
|
47
41
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
@@ -66,11 +60,6 @@ const SelectDropdownFlipped = [
|
|
|
66
60
|
'rounded-t-md',
|
|
67
61
|
// Theme
|
|
68
62
|
'!border-b-0'];
|
|
69
|
-
const SelectDropdownItem = [
|
|
70
|
-
// Typography
|
|
71
|
-
'!typography-body-2-regular',
|
|
72
|
-
// Typography (selected)
|
|
73
|
-
'selected:!typography-body-2-semibold'];
|
|
74
63
|
const SelectNoSearchResults = [
|
|
75
64
|
// Layout
|
|
76
65
|
'layout-row justify-center',
|
|
@@ -82,6 +71,7 @@ const SelectNoSearchResults = [
|
|
|
82
71
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
83
72
|
|
|
84
73
|
var script = defineComponent({
|
|
74
|
+
name: 'OrSelect',
|
|
85
75
|
components: {
|
|
86
76
|
OrCheckbox: script$1,
|
|
87
77
|
OrError: script$2,
|
|
@@ -190,8 +180,6 @@ var script = defineComponent({
|
|
|
190
180
|
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
191
181
|
});
|
|
192
182
|
const control = ref();
|
|
193
|
-
const searchControl = ref();
|
|
194
|
-
const mobileSearchControl = ref();
|
|
195
183
|
const popover = ref();
|
|
196
184
|
const popoverRoot = computed(() => {
|
|
197
185
|
var _a;
|
|
@@ -202,15 +190,13 @@ var script = defineComponent({
|
|
|
202
190
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
203
191
|
});
|
|
204
192
|
// Styles
|
|
205
|
-
const rootStyles = computed(() => ['or-select-v3', ...
|
|
193
|
+
const rootStyles = computed(() => ['or-select-v3', ...SelectRoot]);
|
|
206
194
|
const controlStyles = computed(() => [...SelectControl]);
|
|
207
|
-
const searchControlStyles = computed(() => [...SelectSearchControl]);
|
|
208
195
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
209
196
|
const dropdownStyles = computed(() => {
|
|
210
197
|
var _a;
|
|
211
198
|
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
212
199
|
});
|
|
213
|
-
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
214
200
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
215
201
|
// State
|
|
216
202
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
@@ -227,7 +213,7 @@ var script = defineComponent({
|
|
|
227
213
|
const selection = computed(() => {
|
|
228
214
|
const modelValue = proxyModelValue.value;
|
|
229
215
|
if (Array.isArray(modelValue)) {
|
|
230
|
-
return modelValue.map(value => props.options.find(option => option.value === value))
|
|
216
|
+
return modelValue.map(value => props.options.find(option => option.value === value));
|
|
231
217
|
}
|
|
232
218
|
return props.options.find(option => option.value === modelValue);
|
|
233
219
|
});
|
|
@@ -287,43 +273,22 @@ var script = defineComponent({
|
|
|
287
273
|
proxyModelValue.value = modelValue.filter(value => value !== option.value);
|
|
288
274
|
}
|
|
289
275
|
}
|
|
290
|
-
function focusSearchControl() {
|
|
291
|
-
setTimeout(() => {
|
|
292
|
-
var _a, _b;
|
|
293
|
-
if (isMobile.value) {
|
|
294
|
-
(_a = mobileSearchControl.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
295
|
-
} else {
|
|
296
|
-
(_b = searchControl.value) === null || _b === void 0 ? void 0 : _b.focus();
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
function clearSearchControl() {
|
|
301
|
-
searchText.value = '';
|
|
302
|
-
}
|
|
303
276
|
const {
|
|
304
277
|
innerItems,
|
|
305
278
|
outerItems
|
|
306
279
|
} = useOverflow(control);
|
|
307
|
-
// Utils
|
|
308
|
-
const {
|
|
309
|
-
isMobile
|
|
310
|
-
} = useResponsive();
|
|
311
280
|
return {
|
|
312
281
|
root,
|
|
313
282
|
inputBox,
|
|
314
283
|
inputBoxRoot,
|
|
315
284
|
control,
|
|
316
|
-
searchControl,
|
|
317
|
-
mobileSearchControl,
|
|
318
285
|
popover,
|
|
319
286
|
popoverRoot,
|
|
320
287
|
popoverState,
|
|
321
288
|
rootStyles,
|
|
322
289
|
controlStyles,
|
|
323
|
-
searchControlStyles,
|
|
324
290
|
placeholderStyles,
|
|
325
291
|
dropdownStyles,
|
|
326
|
-
dropdownItemStyles,
|
|
327
292
|
noSearchResultsStyles,
|
|
328
293
|
controlId,
|
|
329
294
|
proxyModelValue,
|
|
@@ -337,36 +302,31 @@ var script = defineComponent({
|
|
|
337
302
|
toggle,
|
|
338
303
|
close,
|
|
339
304
|
deselect,
|
|
340
|
-
focusSearchControl,
|
|
341
|
-
clearSearchControl,
|
|
342
305
|
innerItems,
|
|
343
|
-
outerItems
|
|
344
|
-
isMobile
|
|
306
|
+
outerItems
|
|
345
307
|
};
|
|
346
308
|
}
|
|
347
309
|
});
|
|
348
310
|
|
|
349
311
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
350
|
-
const _hoisted_2 =
|
|
351
|
-
const _hoisted_3 = {
|
|
312
|
+
const _hoisted_2 = {
|
|
352
313
|
class: "truncate"
|
|
353
314
|
};
|
|
354
|
-
const
|
|
355
|
-
const _hoisted_5 = {
|
|
315
|
+
const _hoisted_3 = {
|
|
356
316
|
class: /*#__PURE__*/normalizeClass(['layout-inline-row', 'gap-sm'])
|
|
357
317
|
};
|
|
358
|
-
const
|
|
318
|
+
const _hoisted_4 = {
|
|
359
319
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
360
320
|
};
|
|
361
|
-
const
|
|
321
|
+
const _hoisted_5 = {
|
|
362
322
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
363
323
|
};
|
|
364
324
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
365
325
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
366
326
|
const _component_OrTag = resolveComponent("OrTag");
|
|
367
|
-
const _component_OrInput = resolveComponent("OrInput");
|
|
368
327
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
369
328
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
329
|
+
const _component_OrInput = resolveComponent("OrInput");
|
|
370
330
|
const _component_OrCheckbox = resolveComponent("OrCheckbox");
|
|
371
331
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
372
332
|
const _component_OrExpansionPanel = resolveComponent("OrExpansionPanel");
|
|
@@ -405,17 +365,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
405
365
|
class: normalizeClass(_ctx.controlStyles),
|
|
406
366
|
tabindex: !_ctx.disabled ? 0 : null,
|
|
407
367
|
disabled: _ctx.disabled,
|
|
408
|
-
onFocus: _cache[
|
|
409
|
-
onBlur: _cache[
|
|
368
|
+
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
369
|
+
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
410
370
|
}, [_ctx.multiple ? (openBlock(), createElementBlock(Fragment, {
|
|
411
371
|
key: 0
|
|
412
|
-
}, [
|
|
413
|
-
key: 0
|
|
414
|
-
}, [renderSlot(_ctx.$slots, "valueTemplate", {
|
|
372
|
+
}, [_ctx.proxyModelValue && _ctx.proxyModelValue.length > 0 ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
373
|
+
key: 0,
|
|
415
374
|
model: _ctx.proxyModelValue
|
|
416
|
-
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
|
|
375
|
+
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, (option, i) => {
|
|
417
376
|
return openBlock(), createBlock(_component_OrTag, {
|
|
418
|
-
key:
|
|
377
|
+
key: i,
|
|
419
378
|
variant: 'reset',
|
|
420
379
|
disabled: _ctx.disabled || _ctx.readonly,
|
|
421
380
|
onReset: $event => _ctx.deselect(option)
|
|
@@ -424,64 +383,25 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
424
383
|
|
|
425
384
|
_: 2 /* DYNAMIC */
|
|
426
385
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
427
|
-
}), 128 /* KEYED_FRAGMENT */))])
|
|
428
|
-
key: 0,
|
|
429
|
-
ref: "searchControl",
|
|
430
|
-
modelValue: _ctx.searchText,
|
|
431
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchText = $event),
|
|
432
|
-
class: normalizeClass(_ctx.searchControlStyles),
|
|
433
|
-
type: 'search',
|
|
434
|
-
placeholder: 'Search',
|
|
435
|
-
size: _ctx.size,
|
|
436
|
-
"disable-default-styles": true,
|
|
437
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"]))
|
|
438
|
-
}, null, 8 /* PROPS */, ["modelValue", "class", "size"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
439
|
-
key: 1
|
|
440
|
-
}, [_ctx.popoverState === 'open' && _ctx.enableSearch ? (openBlock(), createBlock(_component_OrInput, {
|
|
441
|
-
key: 0,
|
|
442
|
-
ref: "searchControl",
|
|
443
|
-
modelValue: _ctx.searchText,
|
|
444
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.searchText = $event),
|
|
445
|
-
class: normalizeClass(_ctx.searchControlStyles),
|
|
446
|
-
type: 'search',
|
|
447
|
-
placeholder: 'Search',
|
|
448
|
-
size: _ctx.size,
|
|
449
|
-
"disable-default-styles": true,
|
|
450
|
-
onClick: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"]))
|
|
451
|
-
}, null, 8 /* PROPS */, ["modelValue", "class", "size"])) : (openBlock(), createElementBlock("span", {
|
|
386
|
+
}), 128 /* KEYED_FRAGMENT */))]) : (openBlock(), createElementBlock("span", {
|
|
452
387
|
key: 1,
|
|
453
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
454
|
-
|
|
455
|
-
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
456
|
-
key: 1
|
|
457
|
-
}, [_ctx.popoverState === 'open' && _ctx.enableSearch ? (openBlock(), createBlock(_component_OrInput, {
|
|
458
|
-
key: 0,
|
|
459
|
-
ref: "searchControl",
|
|
460
|
-
modelValue: _ctx.searchText,
|
|
461
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.searchText = $event),
|
|
462
|
-
class: normalizeClass(_ctx.searchControlStyles),
|
|
463
|
-
type: 'search',
|
|
464
|
-
placeholder: 'Search',
|
|
465
|
-
size: _ctx.size,
|
|
466
|
-
"disable-default-styles": true,
|
|
467
|
-
onClick: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
468
|
-
}, null, 8 /* PROPS */, ["modelValue", "class", "size"])) : (openBlock(), createElementBlock(Fragment, {
|
|
388
|
+
class: normalizeClass(_ctx.placeholderStyles)
|
|
389
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
469
390
|
key: 1
|
|
470
391
|
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
471
392
|
key: 0,
|
|
472
393
|
model: _ctx.proxyModelValue
|
|
473
|
-
}, () => [createElementVNode("span",
|
|
394
|
+
}, () => [createElementVNode("span", _hoisted_2, toDisplayString(_ctx.selection && _ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
|
|
474
395
|
key: 1,
|
|
475
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
476
|
-
|
|
477
|
-
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_4))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
396
|
+
class: normalizeClass(_ctx.placeholderStyles)
|
|
397
|
+
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))], 64 /* STABLE_FRAGMENT */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
478
398
|
key: 0
|
|
479
|
-
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), createElementVNode("div",
|
|
399
|
+
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3, [!_ctx.multiple && _ctx.proxyModelValue ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
480
400
|
key: 0,
|
|
481
401
|
icon: 'close',
|
|
482
402
|
color: 'inherit',
|
|
483
403
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
484
|
-
onClick: _cache[
|
|
404
|
+
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.$emit('update:modelValue', undefined), ["stop"]))
|
|
485
405
|
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrIcon, {
|
|
486
406
|
icon: _ctx.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
487
407
|
variant: 'outlined'
|
|
@@ -492,19 +412,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
492
412
|
placement: 'bottom',
|
|
493
413
|
"full-width": true,
|
|
494
414
|
"custom-styles": _ctx.dropdownStyles,
|
|
495
|
-
"disable-default-styles": true
|
|
496
|
-
onOpen: _cache[12] || (_cache[12] = $event => _ctx.focusSearchControl()),
|
|
497
|
-
onClose: _cache[13] || (_cache[13] = $event => _ctx.clearSearchControl())
|
|
415
|
+
"disable-default-styles": true
|
|
498
416
|
}, {
|
|
499
|
-
default: withCtx(() => [_ctx.
|
|
417
|
+
default: withCtx(() => [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrInput, {
|
|
500
418
|
key: 0,
|
|
501
|
-
ref: "mobileSearchControl",
|
|
502
419
|
modelValue: _ctx.searchText,
|
|
503
|
-
"onUpdate:modelValue": _cache[
|
|
504
|
-
class: normalizeClass(_ctx.searchControlStyles),
|
|
420
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.searchText = $event),
|
|
505
421
|
type: 'search',
|
|
506
|
-
placeholder: 'Search'
|
|
507
|
-
|
|
422
|
+
placeholder: 'Search',
|
|
423
|
+
size: 's',
|
|
424
|
+
"disable-default-styles": true
|
|
425
|
+
}, null, 8 /* PROPS */, ["modelValue"])) : createCommentVNode("v-if", true), _ctx.resolvedSearchOptions.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
508
426
|
key: 1
|
|
509
427
|
}, [_ctx.groupByFunction ? (openBlock(true), createElementBlock(Fragment, {
|
|
510
428
|
key: 0
|
|
@@ -517,28 +435,25 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
517
435
|
key: 0
|
|
518
436
|
}, renderList(group, (option, i) => {
|
|
519
437
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
520
|
-
key: i
|
|
521
|
-
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
438
|
+
key: i
|
|
522
439
|
}, {
|
|
523
440
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
524
441
|
model: _ctx.proxyModelValue,
|
|
525
442
|
option: option
|
|
526
443
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
527
444
|
modelValue: _ctx.proxyModelValue,
|
|
528
|
-
"onUpdate:modelValue": _cache[
|
|
445
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.proxyModelValue = $event),
|
|
529
446
|
value: option.value,
|
|
530
447
|
label: option.label,
|
|
531
|
-
"label-variant": '
|
|
448
|
+
"label-variant": 'input'
|
|
532
449
|
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
533
450
|
_: 2 /* DYNAMIC */
|
|
534
|
-
},
|
|
451
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
535
452
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
536
453
|
key: 1
|
|
537
454
|
}, renderList(group, (option, i) => {
|
|
538
455
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
539
456
|
key: i,
|
|
540
|
-
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
541
|
-
selected: _ctx.proxyModelValue === option.value,
|
|
542
457
|
onClick: withModifiers($event => {
|
|
543
458
|
_ctx.proxyModelValue = option.value;
|
|
544
459
|
_ctx.close();
|
|
@@ -550,7 +465,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
550
465
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
551
466
|
|
|
552
467
|
_: 2 /* DYNAMIC */
|
|
553
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["
|
|
468
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
554
469
|
}), 128 /* KEYED_FRAGMENT */))]),
|
|
555
470
|
|
|
556
471
|
_: 2 /* DYNAMIC */
|
|
@@ -561,15 +476,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
561
476
|
key: 0
|
|
562
477
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
563
478
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
564
|
-
key: i
|
|
565
|
-
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
479
|
+
key: i
|
|
566
480
|
}, {
|
|
567
481
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
568
482
|
modelValue: _ctx.proxyModelValue,
|
|
569
|
-
"onUpdate:modelValue": _cache[
|
|
483
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.proxyModelValue = $event),
|
|
570
484
|
value: option.value,
|
|
571
485
|
label: option.label,
|
|
572
|
-
"label-variant": '
|
|
486
|
+
"label-variant": 'input'
|
|
573
487
|
}, {
|
|
574
488
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
575
489
|
model: _ctx.proxyModelValue,
|
|
@@ -578,14 +492,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
578
492
|
_: 2 /* DYNAMIC */
|
|
579
493
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "value", "label"])]),
|
|
580
494
|
_: 2 /* DYNAMIC */
|
|
581
|
-
},
|
|
495
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
582
496
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
583
497
|
key: 1
|
|
584
498
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
585
499
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
586
500
|
key: i,
|
|
587
|
-
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
588
|
-
selected: _ctx.proxyModelValue === option.value,
|
|
589
501
|
onClick: withModifiers($event => {
|
|
590
502
|
_ctx.proxyModelValue = option.value;
|
|
591
503
|
_ctx.close();
|
|
@@ -597,7 +509,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
597
509
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
598
510
|
|
|
599
511
|
_: 2 /* DYNAMIC */
|
|
600
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["
|
|
512
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
601
513
|
}), 128 /* KEYED_FRAGMENT */))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("div", {
|
|
602
514
|
key: 2,
|
|
603
515
|
class: normalizeClass(_ctx.noSearchResultsStyles)
|
|
@@ -606,14 +518,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
606
518
|
_: 3 /* FORWARDED */
|
|
607
519
|
}, 8 /* PROPS */, ["trigger", "custom-styles"])]),
|
|
608
520
|
_: 3 /* FORWARDED */
|
|
609
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div",
|
|
521
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div", _hoisted_4, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
610
522
|
key: 0,
|
|
611
523
|
disabled: _ctx.disabled
|
|
612
524
|
}, {
|
|
613
525
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
614
526
|
|
|
615
527
|
_: 1 /* STABLE */
|
|
616
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
528
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_5, [createVNode(_component_OrError, {
|
|
617
529
|
disabled: _ctx.disabled
|
|
618
530
|
}, {
|
|
619
531
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { s as script$1, L as LabelVariant } from './OrLabel-
|
|
7
|
+
import { s as script$1, L as LabelVariant } from './OrLabel-4da56db0.js';
|
|
8
8
|
import { s as script$2 } from './OrLoader-b79022da.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -9,7 +9,7 @@ import { s as script$1 } from './OrError-c01d0c29.js';
|
|
|
9
9
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
10
10
|
import { s as script$3 } from './OrIconButton-fe133b18.js';
|
|
11
11
|
import { s as script$4, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
12
|
-
import { s as script$5 } from './OrLabel-
|
|
12
|
+
import { s as script$5 } from './OrLabel-4da56db0.js';
|
|
13
13
|
import { s as script$6 } from './OrTags-e56deb73.js';
|
|
14
14
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withModifiers, withDirectives, createElementVNode, mergeProps, withKeys, vModelDynamic, createSlots, vShow } from 'vue';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -8,7 +8,7 @@ import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34
|
|
|
8
8
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
9
9
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
10
10
|
import { s as script$3, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
11
|
-
import { s as script$4 } from './OrLabel-
|
|
11
|
+
import { s as script$4 } from './OrLabel-4da56db0.js';
|
|
12
12
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, createSlots, vShow } from 'vue';
|
|
13
13
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
14
14
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
|
-
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
2
|
+
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { b as script$1, d as script$2, e as script$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
8
|
-
import { a as script$4, b as script$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker-
|
|
7
|
+
import { b as script$1, d as script$2, e as script$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-ece5b2a7.js';
|
|
8
|
+
import { a as script$4, b as script$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker-fd642cb1.js';
|
|
9
9
|
import { s as script$6 } from './OrError-c01d0c29.js';
|
|
10
10
|
import { s as script$7 } from './OrHint-06ab89d7.js';
|
|
11
11
|
import { s as script$9 } from './OrIconButton-fe133b18.js';
|
|
12
12
|
import { s as script$8 } from './OrIcon-62793572.js';
|
|
13
13
|
import { s as script$a, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
14
|
-
import { s as script$b } from './OrLabel-
|
|
14
|
+
import { s as script$b } from './OrLabel-4da56db0.js';
|
|
15
15
|
import { s as script$c } from './OrPopover-6d433297.js';
|
|
16
16
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import './OrButton-130ad8d9.js';
|
|
|
2
2
|
import { s as script$3 } from './OrIconButton-287bb86a.js';
|
|
3
3
|
import { defineComponent, nextTick } from 'vue-demi';
|
|
4
4
|
import { s as script$2 } from './OrProgress-aa2ea84b.js';
|
|
5
|
-
import { c as ToastType, P as PositionsX, b as PositionsY, T as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-
|
|
5
|
+
import { c as ToastType, P as PositionsX, b as PositionsY, T as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-05a9c81b.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, createBlock, toDisplayString, createElementVNode, withModifiers, withCtx, normalizeClass, createVNode, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { s as script$4 } from './OrTeleport.vue3-9bce0c02.js';
|