@onereach/ui-components 5.0.2 → 5.1.0
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 +3 -2
- 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 +7 -3
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.vue.d.ts +16 -5
- package/dist/bundled/v2/components/OrLabelV3/props.d.ts +2 -1
- package/dist/bundled/v2/components/OrLabelV3/props.js +1 -0
- package/dist/bundled/v2/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrLabelV3/styles.js +14 -5
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +99 -25
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +23 -0
- package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +14 -4
- 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/index.js +1 -1
- package/dist/bundled/v2/directives/dropdown-close.js +0 -2
- package/dist/bundled/v2/directives/dropdown-open.js +1 -3
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ef25e74b.js → OrCardCollection.vue_vue_type_script_lang-32a5019d.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-eeb6b419.js → OrCheckbox.vue_vue_type_script_lang-38736023.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js → OrCheckboxGroup.vue_vue_type_script_lang-51bbd047.js} +2 -2
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js → OrCheckboxTree.vue_vue_type_script_lang-e67747a4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-aca7f503.js → OrCode.vue_vue_type_script_lang-1bf2766c.js} +1 -1
- package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js → OrCombinedInput.vue_vue_type_script_lang-230d4d9c.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2ca0f55a.js → OrConfirm.vue_vue_type_script_lang-d37994d8.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-86ca7af9.js → OrDatePicker.vue_vue_type_script_lang-f73b9f07.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-92429c31.js → OrDateTimePicker.vue_vue_type_script_lang-df504a2e.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-d9eef487.js → OrDateTimePickerPopoverHeader-eff1f44b.js} +1 -1
- package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-1c6844d6.js → OrFormGroup.vue_vue_type_script_lang-d67479fc.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-3927acb7.js → OrInput.vue_vue_type_script_lang-4a4bec95.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-3e11ab8a.js → OrLabel.vue_vue_type_script_lang-fcdfd80d.js} +6 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-48c2bc6b.js → OrRadio.vue_vue_type_script_lang-08ab2220.js} +1 -1
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js → OrRadioGroup.vue_vue_type_script_lang-d84948fc.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-787d1b44.js → OrSearch.vue_vue_type_script_lang-e055677e.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-932be22a.js → OrSelect.vue_vue_type_script_lang-19739ac1.js} +35 -8
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ee55263f.js → OrSwitch.vue_vue_type_script_lang-14b4ec0a.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-85c70a2a.js → OrTagInput.vue_vue_type_script_lang-972ba1bb.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-7562cca1.js → OrTextarea.vue_vue_type_script_lang-a7cfbe82.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-15702833.js → OrTimePicker.vue_vue_type_script_lang-e4274a52.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 +5 -4
- 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 +4 -3
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +12 -3
- package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/props.d.ts +2 -1
- package/dist/bundled/v3/components/OrLabelV3/props.js +1 -0
- package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrLabelV3/styles.js +14 -5
- 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 +66 -40
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +15 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +14 -4
- 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/index.js +21 -21
- package/dist/bundled/v3/directives/dropdown-close.js +0 -2
- package/dist/bundled/v3/directives/dropdown-open.js +1 -3
- package/dist/bundled/v3/index.js +22 -22
- package/dist/esm/v2/{OrCardCollection-16d7fede.js → OrCardCollection-35add276.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-db66b4ea.js → OrCheckbox-ae903071.js} +4 -3
- package/dist/esm/v2/{OrCheckboxGroup-a04f27fe.js → OrCheckboxGroup-74dc7c1d.js} +2 -2
- package/dist/esm/v2/{OrCheckboxTree-f48db82f.js → OrCheckboxTree-19f5d69b.js} +1 -1
- package/dist/esm/v2/{OrCode-c772c8f5.js → OrCode-c2675f47.js} +1 -1
- package/dist/esm/v2/{OrCombinedInput-45187323.js → OrCombinedInput-2639e3e1.js} +1 -1
- package/dist/esm/v2/{OrConfirm-389d7e31.js → OrConfirm-9f43fb6a.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-dab6a28b.js → OrDatePicker-29e3897a.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-b927b51a.js → OrDateTimePicker-5913e464.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-78b7ad39.js → OrDateTimePicker.vue_rollup-plugin-vue_script-e22f3b7b.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-1bd2a85f.js → OrDateTimePickerPopoverHeader-3a5c05ac.js} +1 -1
- package/dist/esm/v2/{OrFormGroup-29a514db.js → OrFormGroup-9000fcdf.js} +1 -1
- package/dist/esm/v2/{OrInput-57211a5b.js → OrInput-a6183a78.js} +3 -3
- package/dist/esm/v2/{OrLabel-63380256.js → OrLabel-4a3d8904.js} +18 -6
- package/dist/esm/v2/{OrRadio-b32dfbfe.js → OrRadio-0fc3ae14.js} +1 -1
- package/dist/esm/v2/{OrRadioGroup-d1c2e460.js → OrRadioGroup-1108883d.js} +2 -2
- package/dist/esm/v2/{OrSearch-95447225.js → OrSearch-15ecfbf0.js} +1 -1
- package/dist/esm/v2/{OrSelect-c92299c7.js → OrSelect-ee398af5.js} +115 -30
- package/dist/esm/v2/{OrSwitch-e49ce2d8.js → OrSwitch-a3da6bec.js} +1 -1
- package/dist/esm/v2/{OrTagInput-7c95be61.js → OrTagInput-adef254c.js} +1 -1
- package/dist/esm/v2/{OrTextarea-824f7048.js → OrTextarea-6fe8b65f.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-fe172ae6.js → OrTimePicker-9738c72f.js} +4 -4
- package/dist/esm/v2/components/index.js +23 -23
- 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 +16 -5
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-label-v3/props.d.ts +2 -1
- 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 +23 -0
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/styles.d.ts +3 -1
- 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/directives/index.js +1 -1
- package/dist/esm/v2/{dropdown-open-e1f90e0a.js → dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v2/index.js +23 -23
- package/dist/esm/v3/{OrCardCollection-a03fe4ee.js → OrCardCollection-e4a72381.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-09f62aab.js → OrCheckbox-a571fc90.js} +3 -2
- package/dist/esm/v3/{OrCheckboxGroup-6c054793.js → OrCheckboxGroup-7fe25d85.js} +2 -2
- package/dist/esm/v3/{OrCheckboxTree-bb32455e.js → OrCheckboxTree-bea23696.js} +1 -1
- package/dist/esm/v3/{OrCode-e0046019.js → OrCode-efdc9eee.js} +1 -1
- package/dist/esm/v3/{OrCombinedInput-2800ee8b.js → OrCombinedInput-6dd0f75d.js} +1 -1
- package/dist/esm/v3/{OrConfirm-fd33e48c.js → OrConfirm-fa35ffd0.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-dae900de.js → OrDatePicker-40e867e5.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-3d4aeabe.js → OrDateTimePicker-888a2f98.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-3c371f05.js → OrDateTimePickerPopoverHeader-8f0408b2.js} +1 -1
- package/dist/esm/v3/{OrFormGroup-9f581536.js → OrFormGroup-c4631ef0.js} +1 -1
- package/dist/esm/v3/{OrInput-41b40eee.js → OrInput-8463ca1d.js} +1 -1
- package/dist/esm/v3/{OrLabel-4da56db0.js → OrLabel-d4c46bb6.js} +19 -7
- package/dist/esm/v3/{OrRadio-7b722b16.js → OrRadio-48cd02a9.js} +1 -1
- package/dist/esm/v3/{OrRadioGroup-58c0214c.js → OrRadioGroup-82d10aa8.js} +2 -2
- package/dist/esm/v3/{OrSearch-e6f6573f.js → OrSearch-9c694c80.js} +1 -1
- package/dist/esm/v3/{OrSelect-db90c428.js → OrSelect-3a39f89e.js} +109 -46
- package/dist/esm/v3/{OrSwitch-a6efd081.js → OrSwitch-f4d9e196.js} +1 -1
- package/dist/esm/v3/{OrTagInput-f11a2d68.js → OrTagInput-8cc92992.js} +1 -1
- package/dist/esm/v3/{OrTextarea-6c471ccd.js → OrTextarea-f3412790.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-b1ff46c1.js → OrTimePicker-e3b5ef7f.js} +4 -4
- package/dist/esm/v3/components/index.js +22 -22
- 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 +12 -3
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-label-v3/props.d.ts +2 -1
- 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 +15 -0
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/styles.d.ts +3 -1
- 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/directives/index.js +1 -1
- package/dist/esm/v3/{dropdown-open-e1f90e0a.js → dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v3/index.js +22 -22
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -0
- package/src/components/or-input-v3/OrInput.vue +1 -0
- package/src/components/or-label-v3/OrLabel.vue +9 -5
- package/src/components/or-label-v3/props.ts +1 -0
- package/src/components/or-label-v3/styles.ts +16 -4
- package/src/components/or-select-v3/OrSelect.vue +90 -21
- package/src/components/or-select-v3/styles.ts +20 -3
- package/src/directives/dropdown-close.ts +0 -3
- package/src/directives/dropdown-open.ts +1 -4
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-a4f77733.js → OrDateTimePickerPopoverHeader-f3d67e5d.js} +0 -0
|
@@ -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-d4c46bb6.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-c4631ef0.js';
|
|
7
|
+
import { s as script$2 } from './OrRadio-48cd02a9.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-8463ca1d.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -1,26 +1,27 @@
|
|
|
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-06d651cf.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';
|
|
6
7
|
import '@onereach/styles/tailwind.config';
|
|
7
8
|
import 'tailwindcss/resolveConfig';
|
|
8
9
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
9
|
-
import { s as script$1 } from './OrCheckbox-
|
|
10
|
+
import { s as script$1 } from './OrCheckbox-a571fc90.js';
|
|
10
11
|
import { s as script$2 } from './OrError-c01d0c29.js';
|
|
11
12
|
import { s as script$3 } from './OrExpansionPanel-891154e6.js';
|
|
12
13
|
import { s as script$4 } from './OrHint-06ab89d7.js';
|
|
13
14
|
import { s as script$6 } from './OrIconButton-de8b6cd0.js';
|
|
14
15
|
import { s as script$5 } from './OrIcon-62793572.js';
|
|
15
16
|
import { s as script$8, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
16
|
-
import { s as script$7 } from './OrInput-
|
|
17
|
-
import { s as script$9 } from './OrLabel-
|
|
17
|
+
import { s as script$7 } from './OrInput-8463ca1d.js';
|
|
18
|
+
import { s as script$9 } from './OrLabel-d4c46bb6.js';
|
|
18
19
|
import { s as script$a } from './OrMenuItem-54062d59.js';
|
|
19
20
|
import { s as script$b } from './OrPopover-84f83a8c.js';
|
|
20
21
|
import { s as script$c } from './OrTag-9494f132.js';
|
|
21
22
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, withModifiers, createVNode, vShow } from 'vue';
|
|
22
23
|
|
|
23
|
-
const
|
|
24
|
+
const Select = [
|
|
24
25
|
// Layout
|
|
25
26
|
'layout-column',
|
|
26
27
|
// Spacing
|
|
@@ -28,14 +29,19 @@ const SelectRoot = [
|
|
|
28
29
|
const SelectControl = [
|
|
29
30
|
// Layout
|
|
30
31
|
'layout-row',
|
|
31
|
-
//
|
|
32
|
-
'
|
|
32
|
+
// Layout (empty)
|
|
33
|
+
'empty:hidden',
|
|
33
34
|
// Overflow
|
|
34
35
|
'overflow-hidden',
|
|
35
36
|
// Spacing
|
|
36
37
|
'gap-xs',
|
|
37
38
|
// Typography
|
|
38
39
|
'typography-inherit'];
|
|
40
|
+
const SelectSearchControl = [
|
|
41
|
+
// Layout
|
|
42
|
+
'grow',
|
|
43
|
+
// Spacing
|
|
44
|
+
'!mx-lg md:!-mx-sm+', '!my-sm md:!my-none'];
|
|
39
45
|
const SelectPlaceholder = [
|
|
40
46
|
// Theme
|
|
41
47
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
@@ -60,6 +66,11 @@ const SelectDropdownFlipped = [
|
|
|
60
66
|
'rounded-t-md',
|
|
61
67
|
// Theme
|
|
62
68
|
'!border-b-0'];
|
|
69
|
+
const SelectDropdownItem = [
|
|
70
|
+
// Typography
|
|
71
|
+
'!typography-body-2-regular',
|
|
72
|
+
// Typography (selected)
|
|
73
|
+
'selected:!typography-body-2-semibold'];
|
|
63
74
|
const SelectNoSearchResults = [
|
|
64
75
|
// Layout
|
|
65
76
|
'layout-row justify-center',
|
|
@@ -71,7 +82,6 @@ const SelectNoSearchResults = [
|
|
|
71
82
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
72
83
|
|
|
73
84
|
var script = defineComponent({
|
|
74
|
-
name: 'OrSelect',
|
|
75
85
|
components: {
|
|
76
86
|
OrCheckbox: script$1,
|
|
77
87
|
OrError: script$2,
|
|
@@ -123,6 +133,10 @@ var script = defineComponent({
|
|
|
123
133
|
type: String,
|
|
124
134
|
default: undefined
|
|
125
135
|
},
|
|
136
|
+
searchPlaceholder: {
|
|
137
|
+
type: String,
|
|
138
|
+
default: undefined
|
|
139
|
+
},
|
|
126
140
|
hint: {
|
|
127
141
|
type: String,
|
|
128
142
|
default: undefined
|
|
@@ -180,6 +194,7 @@ var script = defineComponent({
|
|
|
180
194
|
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
181
195
|
});
|
|
182
196
|
const control = ref();
|
|
197
|
+
const searchControl = ref();
|
|
183
198
|
const popover = ref();
|
|
184
199
|
const popoverRoot = computed(() => {
|
|
185
200
|
var _a;
|
|
@@ -190,13 +205,15 @@ var script = defineComponent({
|
|
|
190
205
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
191
206
|
});
|
|
192
207
|
// Styles
|
|
193
|
-
const rootStyles = computed(() => ['or-select-v3', ...
|
|
208
|
+
const rootStyles = computed(() => ['or-select-v3', ...Select]);
|
|
194
209
|
const controlStyles = computed(() => [...SelectControl]);
|
|
210
|
+
const searchControlStyles = computed(() => [...SelectSearchControl]);
|
|
195
211
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
196
212
|
const dropdownStyles = computed(() => {
|
|
197
213
|
var _a;
|
|
198
214
|
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
199
215
|
});
|
|
216
|
+
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
200
217
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
201
218
|
// State
|
|
202
219
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
@@ -213,7 +230,7 @@ var script = defineComponent({
|
|
|
213
230
|
const selection = computed(() => {
|
|
214
231
|
const modelValue = proxyModelValue.value;
|
|
215
232
|
if (Array.isArray(modelValue)) {
|
|
216
|
-
return modelValue.map(value => props.options.find(option => option.value === value));
|
|
233
|
+
return modelValue.map(value => props.options.find(option => option.value === value)).filter(value => !!value);
|
|
217
234
|
}
|
|
218
235
|
return props.options.find(option => option.value === modelValue);
|
|
219
236
|
});
|
|
@@ -273,22 +290,39 @@ var script = defineComponent({
|
|
|
273
290
|
proxyModelValue.value = modelValue.filter(value => value !== option.value);
|
|
274
291
|
}
|
|
275
292
|
}
|
|
293
|
+
function clearSearchControl() {
|
|
294
|
+
searchText.value = '';
|
|
295
|
+
}
|
|
276
296
|
const {
|
|
277
297
|
innerItems,
|
|
278
298
|
outerItems
|
|
279
299
|
} = useOverflow(control);
|
|
300
|
+
// Utils
|
|
301
|
+
const {
|
|
302
|
+
isDesktop,
|
|
303
|
+
isMobile
|
|
304
|
+
} = useResponsive();
|
|
305
|
+
// Effects
|
|
306
|
+
watch(searchControl, control => {
|
|
307
|
+
setTimeout(() => {
|
|
308
|
+
control === null || control === void 0 ? void 0 : control.focus();
|
|
309
|
+
});
|
|
310
|
+
});
|
|
280
311
|
return {
|
|
281
312
|
root,
|
|
282
313
|
inputBox,
|
|
283
314
|
inputBoxRoot,
|
|
284
315
|
control,
|
|
316
|
+
searchControl,
|
|
285
317
|
popover,
|
|
286
318
|
popoverRoot,
|
|
287
319
|
popoverState,
|
|
288
320
|
rootStyles,
|
|
289
321
|
controlStyles,
|
|
322
|
+
searchControlStyles,
|
|
290
323
|
placeholderStyles,
|
|
291
324
|
dropdownStyles,
|
|
325
|
+
dropdownItemStyles,
|
|
292
326
|
noSearchResultsStyles,
|
|
293
327
|
controlId,
|
|
294
328
|
proxyModelValue,
|
|
@@ -302,31 +336,40 @@ var script = defineComponent({
|
|
|
302
336
|
toggle,
|
|
303
337
|
close,
|
|
304
338
|
deselect,
|
|
339
|
+
clearSearchControl,
|
|
305
340
|
innerItems,
|
|
306
|
-
outerItems
|
|
341
|
+
outerItems,
|
|
342
|
+
isDesktop,
|
|
343
|
+
isMobile
|
|
307
344
|
};
|
|
308
345
|
}
|
|
309
346
|
});
|
|
310
347
|
|
|
311
348
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
312
|
-
const _hoisted_2 =
|
|
349
|
+
const _hoisted_2 = ["disabled"];
|
|
350
|
+
const _hoisted_3 = {
|
|
313
351
|
class: "truncate"
|
|
314
352
|
};
|
|
315
|
-
const
|
|
353
|
+
const _hoisted_4 = ["disabled"];
|
|
354
|
+
const _hoisted_5 = {
|
|
355
|
+
key: 2,
|
|
356
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
357
|
+
};
|
|
358
|
+
const _hoisted_6 = {
|
|
316
359
|
class: /*#__PURE__*/normalizeClass(['layout-inline-row', 'gap-sm'])
|
|
317
360
|
};
|
|
318
|
-
const
|
|
361
|
+
const _hoisted_7 = {
|
|
319
362
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
320
363
|
};
|
|
321
|
-
const
|
|
364
|
+
const _hoisted_8 = {
|
|
322
365
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
323
366
|
};
|
|
324
367
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
325
368
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
326
369
|
const _component_OrTag = resolveComponent("OrTag");
|
|
370
|
+
const _component_OrInput = resolveComponent("OrInput");
|
|
327
371
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
328
372
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
329
|
-
const _component_OrInput = resolveComponent("OrInput");
|
|
330
373
|
const _component_OrCheckbox = resolveComponent("OrCheckbox");
|
|
331
374
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
332
375
|
const _component_OrExpansionPanel = resolveComponent("OrExpansionPanel");
|
|
@@ -369,12 +412,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
369
412
|
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event))
|
|
370
413
|
}, [_ctx.multiple ? (openBlock(), createElementBlock(Fragment, {
|
|
371
414
|
key: 0
|
|
372
|
-
}, [_ctx.
|
|
415
|
+
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
373
416
|
key: 0,
|
|
374
417
|
model: _ctx.proxyModelValue
|
|
375
|
-
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection,
|
|
418
|
+
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
|
|
376
419
|
return openBlock(), createBlock(_component_OrTag, {
|
|
377
|
-
key:
|
|
420
|
+
key: option.value,
|
|
378
421
|
variant: 'reset',
|
|
379
422
|
disabled: _ctx.disabled || _ctx.readonly,
|
|
380
423
|
onReset: $event => _ctx.deselect(option)
|
|
@@ -383,25 +426,38 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
383
426
|
|
|
384
427
|
_: 2 /* DYNAMIC */
|
|
385
428
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
386
|
-
}), 128 /* KEYED_FRAGMENT */))]) : (openBlock(), createElementBlock("span", {
|
|
429
|
+
}), 128 /* KEYED_FRAGMENT */))]) : _ctx.popoverState === 'closed' || !_ctx.enableSearch ? (openBlock(), createElementBlock("span", {
|
|
387
430
|
key: 1,
|
|
388
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
389
|
-
|
|
431
|
+
class: normalizeClass(_ctx.placeholderStyles),
|
|
432
|
+
disabled: _ctx.disabled ? '' : null
|
|
433
|
+
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
390
434
|
key: 1
|
|
391
435
|
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
392
436
|
key: 0,
|
|
393
437
|
model: _ctx.proxyModelValue
|
|
394
|
-
}, () => [createElementVNode("span",
|
|
438
|
+
}, () => [createElementVNode("span", _hoisted_3, toDisplayString(_ctx.selection && _ctx.selection.label), 1 /* TEXT */)]) : _ctx.popoverState === 'closed' || !_ctx.enableSearch ? (openBlock(), createElementBlock("span", {
|
|
395
439
|
key: 1,
|
|
396
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
397
|
-
|
|
440
|
+
class: normalizeClass(_ctx.placeholderStyles),
|
|
441
|
+
disabled: _ctx.disabled ? '' : null
|
|
442
|
+
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_4)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), _ctx.multiple && _ctx.outerItems.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
398
443
|
key: 0
|
|
399
|
-
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true),
|
|
444
|
+
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isDesktop ? (openBlock(), createBlock(_component_OrInput, {
|
|
445
|
+
key: 1,
|
|
446
|
+
ref: "searchControl",
|
|
447
|
+
modelValue: _ctx.searchText,
|
|
448
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.searchText = $event),
|
|
449
|
+
class: normalizeClass([..._ctx.searchControlStyles, _ctx.isEmptyModelValue && 'md:!ml-none']),
|
|
450
|
+
type: 'search',
|
|
451
|
+
placeholder: _ctx.searchPlaceholder,
|
|
452
|
+
size: _ctx.size,
|
|
453
|
+
"disable-default-styles": true,
|
|
454
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"]))
|
|
455
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder", "size"])) : (openBlock(), createElementBlock("div", _hoisted_5)), createElementVNode("div", _hoisted_6, [_ctx.popoverState === 'closed' && !_ctx.isEmptyModelValue ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
400
456
|
key: 0,
|
|
401
457
|
icon: 'close',
|
|
402
458
|
color: 'inherit',
|
|
403
459
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
404
|
-
onClick: _cache[
|
|
460
|
+
onClick: _cache[4] || (_cache[4] = withModifiers($event => _ctx.$emit('update:modelValue', _ctx.multiple ? [] : undefined), ["stop"]))
|
|
405
461
|
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrIcon, {
|
|
406
462
|
icon: _ctx.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
407
463
|
variant: 'outlined'
|
|
@@ -412,17 +468,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
412
468
|
placement: 'bottom',
|
|
413
469
|
"full-width": true,
|
|
414
470
|
"custom-styles": _ctx.dropdownStyles,
|
|
415
|
-
"disable-default-styles": true
|
|
471
|
+
"disable-default-styles": true,
|
|
472
|
+
onClose: _cache[8] || (_cache[8] = $event => _ctx.clearSearchControl())
|
|
416
473
|
}, {
|
|
417
|
-
default: withCtx(() => [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrInput, {
|
|
474
|
+
default: withCtx(() => [_ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isMobile ? (openBlock(), createBlock(_component_OrInput, {
|
|
418
475
|
key: 0,
|
|
476
|
+
ref: "searchControl",
|
|
419
477
|
modelValue: _ctx.searchText,
|
|
420
|
-
"onUpdate:modelValue": _cache[
|
|
478
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.searchText = $event),
|
|
479
|
+
class: normalizeClass(_ctx.searchControlStyles),
|
|
421
480
|
type: 'search',
|
|
422
|
-
placeholder:
|
|
423
|
-
|
|
424
|
-
"disable-default-styles": true
|
|
425
|
-
}, null, 8 /* PROPS */, ["modelValue"])) : createCommentVNode("v-if", true), _ctx.resolvedSearchOptions.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
481
|
+
placeholder: _ctx.searchPlaceholder
|
|
482
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder"])) : createCommentVNode("v-if", true), _ctx.resolvedSearchOptions.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
426
483
|
key: 1
|
|
427
484
|
}, [_ctx.groupByFunction ? (openBlock(true), createElementBlock(Fragment, {
|
|
428
485
|
key: 0
|
|
@@ -435,25 +492,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
435
492
|
key: 0
|
|
436
493
|
}, renderList(group, (option, i) => {
|
|
437
494
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
438
|
-
key: i
|
|
495
|
+
key: i,
|
|
496
|
+
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
439
497
|
}, {
|
|
440
498
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
441
499
|
model: _ctx.proxyModelValue,
|
|
442
500
|
option: option
|
|
443
501
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
444
502
|
modelValue: _ctx.proxyModelValue,
|
|
445
|
-
"onUpdate:modelValue": _cache[
|
|
503
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.proxyModelValue = $event),
|
|
446
504
|
value: option.value,
|
|
447
505
|
label: option.label,
|
|
448
|
-
"label-variant": '
|
|
506
|
+
"label-variant": 'menu-item'
|
|
449
507
|
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
450
508
|
_: 2 /* DYNAMIC */
|
|
451
|
-
},
|
|
509
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected"]);
|
|
452
510
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
453
511
|
key: 1
|
|
454
512
|
}, renderList(group, (option, i) => {
|
|
455
513
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
456
514
|
key: i,
|
|
515
|
+
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
516
|
+
selected: _ctx.proxyModelValue === option.value,
|
|
457
517
|
onClick: withModifiers($event => {
|
|
458
518
|
_ctx.proxyModelValue = option.value;
|
|
459
519
|
_ctx.close();
|
|
@@ -465,7 +525,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
465
525
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
466
526
|
|
|
467
527
|
_: 2 /* DYNAMIC */
|
|
468
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
528
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "selected", "onClick"]);
|
|
469
529
|
}), 128 /* KEYED_FRAGMENT */))]),
|
|
470
530
|
|
|
471
531
|
_: 2 /* DYNAMIC */
|
|
@@ -476,14 +536,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
476
536
|
key: 0
|
|
477
537
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
478
538
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
479
|
-
key: i
|
|
539
|
+
key: i,
|
|
540
|
+
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
480
541
|
}, {
|
|
481
542
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
482
543
|
modelValue: _ctx.proxyModelValue,
|
|
483
|
-
"onUpdate:modelValue": _cache[
|
|
544
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.proxyModelValue = $event),
|
|
484
545
|
value: option.value,
|
|
485
546
|
label: option.label,
|
|
486
|
-
"label-variant": '
|
|
547
|
+
"label-variant": 'menu-item'
|
|
487
548
|
}, {
|
|
488
549
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
489
550
|
model: _ctx.proxyModelValue,
|
|
@@ -492,12 +553,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
492
553
|
_: 2 /* DYNAMIC */
|
|
493
554
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "value", "label"])]),
|
|
494
555
|
_: 2 /* DYNAMIC */
|
|
495
|
-
},
|
|
556
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected"]);
|
|
496
557
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
497
558
|
key: 1
|
|
498
559
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
499
560
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
500
561
|
key: i,
|
|
562
|
+
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
563
|
+
selected: _ctx.proxyModelValue === option.value,
|
|
501
564
|
onClick: withModifiers($event => {
|
|
502
565
|
_ctx.proxyModelValue = option.value;
|
|
503
566
|
_ctx.close();
|
|
@@ -509,7 +572,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
509
572
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
510
573
|
|
|
511
574
|
_: 2 /* DYNAMIC */
|
|
512
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
575
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "selected", "onClick"]);
|
|
513
576
|
}), 128 /* KEYED_FRAGMENT */))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("div", {
|
|
514
577
|
key: 2,
|
|
515
578
|
class: normalizeClass(_ctx.noSearchResultsStyles)
|
|
@@ -518,14 +581,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
518
581
|
_: 3 /* FORWARDED */
|
|
519
582
|
}, 8 /* PROPS */, ["trigger", "custom-styles"])]),
|
|
520
583
|
_: 3 /* FORWARDED */
|
|
521
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div",
|
|
584
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div", _hoisted_7, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
522
585
|
key: 0,
|
|
523
586
|
disabled: _ctx.disabled
|
|
524
587
|
}, {
|
|
525
588
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
526
589
|
|
|
527
590
|
_: 1 /* STABLE */
|
|
528
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
591
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_8, [createVNode(_component_OrError, {
|
|
529
592
|
disabled: _ctx.disabled
|
|
530
593
|
}, {
|
|
531
594
|
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-d4c46bb6.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-de8b6cd0.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-d4c46bb6.js';
|
|
13
13
|
import { s as script$6 } from './OrTags-cec632b8.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-d4c46bb6.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-06d651cf.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-8f0408b2.js';
|
|
8
|
+
import { a as script$4, b as script$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker-888a2f98.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-de8b6cd0.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-d4c46bb6.js';
|
|
15
15
|
import { s as script$c } from './OrPopover-84f83a8c.js';
|
|
16
16
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
17
17
|
|
|
@@ -7,25 +7,25 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
7
7
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-4a3c3e7b.js';
|
|
8
8
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-8c81a2d5.js';
|
|
10
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
10
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-e4a72381.js';
|
|
11
11
|
export { s as OrCardV3 } from '../OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-5666c954.js';
|
|
13
|
-
export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-
|
|
14
|
-
export { s as OrCheckboxTreeV3 } from '../OrCheckboxTree-
|
|
15
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-7fe25d85.js';
|
|
14
|
+
export { s as OrCheckboxTreeV3 } from '../OrCheckboxTree-bea23696.js';
|
|
15
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox-a571fc90.js';
|
|
16
16
|
export { s as OrChip } from '../OrChip-74e27265.js';
|
|
17
17
|
export { s as OrChips } from '../OrChips-348b13e4.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-0aadc737.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from '../OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from '../OrCode-efdc9eee.js';
|
|
20
20
|
export { s as OrCollapse } from '../OrCollapse-d7c0afae.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-252f482b.js';
|
|
22
|
-
export { s as OrCombinedInputV3 } from '../OrCombinedInput-
|
|
22
|
+
export { s as OrCombinedInputV3 } from '../OrCombinedInput-6dd0f75d.js';
|
|
23
23
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox-912a6254.js';
|
|
24
24
|
export { s as OrConfirm } from '../OrConfirm-97ab80b9.js';
|
|
25
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
26
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker-
|
|
25
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-fa35ffd0.js';
|
|
26
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker-40e867e5.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-4bfefbcd.js';
|
|
28
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from '../OrDateTimePicker-
|
|
28
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from '../OrDateTimePicker-888a2f98.js';
|
|
29
29
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
|
|
30
30
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
31
31
|
export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
|
|
@@ -33,7 +33,7 @@ export { s as OrErrorV3 } from '../OrError-c01d0c29.js';
|
|
|
33
33
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-891154e6.js';
|
|
34
34
|
export { F as FabColor, s as OrFabV3 } from '../OrFab-83cd7ed7.js';
|
|
35
35
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-052ede5f.js';
|
|
36
|
-
export { F as FormGroupDirection, s as OrFormGroupV3 } from '../OrFormGroup-
|
|
36
|
+
export { F as FormGroupDirection, s as OrFormGroupV3 } from '../OrFormGroup-c4631ef0.js';
|
|
37
37
|
export { s as OrHint } from '../OrHint-8822005b.js';
|
|
38
38
|
export { s as OrHintV3 } from '../OrHint-06ab89d7.js';
|
|
39
39
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-f7130a5c.js';
|
|
@@ -44,9 +44,9 @@ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-0b0
|
|
|
44
44
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-a3c4c7dc.js';
|
|
45
45
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-2c54367e.js';
|
|
46
46
|
export { s as OrInput } from '../OrInput-2c3111c2.js';
|
|
47
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
47
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-8463ca1d.js';
|
|
48
48
|
export { s as OrLabel } from '../OrLabel-a7d99df4.js';
|
|
49
|
-
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-
|
|
49
|
+
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-d4c46bb6.js';
|
|
50
50
|
export { L as LinkColor, s as OrLinkV3 } from '../OrLink-dcae31fb.js';
|
|
51
51
|
export { s as OrList } from '../OrList-aa7b5ef9.js';
|
|
52
52
|
export { s as OrListOfInputs } from '../OrListOfInputs-f8740785.js';
|
|
@@ -69,13 +69,13 @@ export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '..
|
|
|
69
69
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-a54a42c0.js';
|
|
70
70
|
export { s as OrRadio } from '../OrRadio-40bf2c87.js';
|
|
71
71
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
72
|
-
export { s as OrRadioGroupV3 } from '../OrRadioGroup-
|
|
73
|
-
export { s as OrRadioV3 } from '../OrRadio-
|
|
72
|
+
export { s as OrRadioGroupV3 } from '../OrRadioGroup-82d10aa8.js';
|
|
73
|
+
export { s as OrRadioV3 } from '../OrRadio-48cd02a9.js';
|
|
74
74
|
export { s as OrSearch } from '../OrSearch-2800e9bf.js';
|
|
75
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
75
|
+
export { s as OrSearchV3 } from '../OrSearch-9c694c80.js';
|
|
76
76
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-c8eb217d.js';
|
|
77
77
|
export { s as OrSelect } from '../OrSelect-9520d6e6.js';
|
|
78
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
78
|
+
export { s as OrSelectV3 } from '../OrSelect-3a39f89e.js';
|
|
79
79
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-aaf73310.js';
|
|
80
80
|
export { s as OrSidebarV3 } from '../OrSidebar-34492810.js';
|
|
81
81
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-f6f5ec80.js';
|
|
@@ -90,23 +90,23 @@ export { s as OrSlider } from '../OrSlider-b7bd588e.js';
|
|
|
90
90
|
export { s as OrSortingV3 } from '../OrSorting-dc01b9de.js';
|
|
91
91
|
export { s as OrStepper } from '../OrStepper-4943002c.js';
|
|
92
92
|
export { s as OrSwitch } from '../OrSwitch-fb864132.js';
|
|
93
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
93
|
+
export { s as OrSwitchV3 } from '../OrSwitch-f4d9e196.js';
|
|
94
94
|
export { s as OrTab } from '../OrTab-d8d4e871.js';
|
|
95
95
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-c2af7ca3.js';
|
|
96
96
|
export { s as OrTabV3 } from '../OrTab-2d567d8e.js';
|
|
97
97
|
export { s as OrTabs } from '../OrTabs-3da3ea89.js';
|
|
98
98
|
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-3fa4a344.js';
|
|
99
99
|
export { s as OrTag } from '../OrTag-1b3b1296.js';
|
|
100
|
-
export { s as OrTagInputV3 } from '../OrTagInput-
|
|
100
|
+
export { s as OrTagInputV3 } from '../OrTagInput-8cc92992.js';
|
|
101
101
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-9494f132.js';
|
|
102
102
|
export { s as OrTagsV3 } from '../OrTags-cec632b8.js';
|
|
103
103
|
export { s as OrTeleport } from '../OrTeleport.vue3-9bce0c02.js';
|
|
104
104
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
105
105
|
export { s as OrTextV3 } from '../OrText-d54c951d.js';
|
|
106
106
|
export { s as OrTextarea } from '../OrTextarea-7a753c1a.js';
|
|
107
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
107
|
+
export { s as OrTextareaV3 } from '../OrTextarea-f3412790.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-fe62c6c3.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from '../OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from '../OrTimePicker-e3b5ef7f.js';
|
|
110
110
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-d6f117e2.js';
|
|
111
111
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-05a9c81b.js';
|
|
112
112
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-93e80c1b.js';
|
|
@@ -144,8 +144,8 @@ import '../dom-aecadd9a.js';
|
|
|
144
144
|
import 'lodash/isElement';
|
|
145
145
|
import 'lodash/get';
|
|
146
146
|
import '@vueuse/math';
|
|
147
|
-
import '../dropdown-open-
|
|
148
|
-
import '../OrDateTimePickerPopoverHeader-
|
|
147
|
+
import '../dropdown-open-06d651cf.js';
|
|
148
|
+
import '../OrDateTimePickerPopoverHeader-8f0408b2.js';
|
|
149
149
|
import 'lodash/padStart';
|
|
150
150
|
import '@floating-ui/dom';
|
|
151
151
|
import '../useResponsive-a02e95b7.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-e4a72381.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-de8b6cd0.js';
|
|
4
4
|
import '../../OrIcon-62793572.js';
|
|
@@ -16,15 +16,15 @@ import '../../OrBottomSheet-20ba316c.js';
|
|
|
16
16
|
import '../../OrOverlay-99e696e8.js';
|
|
17
17
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
18
18
|
import '../../useTheme-e23d13c8.js';
|
|
19
|
-
import '../../OrSearch-
|
|
20
|
-
import '../../OrInput-
|
|
19
|
+
import '../../OrSearch-9c694c80.js';
|
|
20
|
+
import '../../OrInput-8463ca1d.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useProxyModelValue-940010d2.js';
|
|
23
23
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
24
24
|
import '../../OrError-c01d0c29.js';
|
|
25
25
|
import '../../OrHint-06ab89d7.js';
|
|
26
26
|
import '../../OrInputBox-912a6254.js';
|
|
27
|
-
import '../../OrLabel-
|
|
27
|
+
import '../../OrLabel-d4c46bb6.js';
|
|
28
28
|
import '../../OrLoader-b79022da.js';
|
|
29
29
|
import '../../style-inject.es-4c6f2515.js';
|
|
30
30
|
import '../../OrSorting-dc01b9de.js';
|