@onereach/ui-components 5.0.2-beta.3149.0 → 5.0.2-beta.3150.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/OrBottomSheetV3/OrBottomSheet.js +9 -16
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +1 -4
- 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 +2 -2
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +2 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -2
- 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 +136 -24
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +12 -0
- package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +13 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bbea53fe.js → OrBottomSheet.vue_vue_type_script_lang-d6609a26.js} +8 -15
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ef25e74b.js → OrCardCollection.vue_vue_type_script_lang-c93da401.js} +3 -3
- 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-0e34e3c4.js} +3 -3
- 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-383e286f.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-86ca7af9.js → OrDatePicker.vue_vue_type_script_lang-ae3aabc6.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-92429c31.js → OrDateTimePicker.vue_vue_type_script_lang-911a50a3.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c7057468.js → OrDateTimePickerMonthSelect-47d89402.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/{OrIconButton.vue_vue_type_script_lang-06c23edb.js → OrIconButton.vue_vue_type_script_lang-da2a6044.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-beee5838.js → OrInlineInput.vue_vue_type_script_lang-8400fa8c.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8236c6c0.js → OrInlineTextarea.vue_vue_type_script_lang-d6a348da.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-3927acb7.js → OrInput.vue_vue_type_script_lang-ec80afeb.js} +2 -2
- 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/{OrMenu.vue_vue_type_script_lang-03f408d2.js → OrMenu.vue_vue_type_script_lang-6d3459d2.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a555737c.js → OrModal.vue_vue_type_script_lang-9db0be3b.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f56c5ef3.js → OrNotification.vue_vue_type_script_lang-01382876.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c24ee186.js → OrPagination.vue_vue_type_script_lang-4e054df4.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-0382ede2.js → OrPopover.vue_vue_type_script_lang-cc1ee134.js} +1 -1
- 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-12bbade9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-932be22a.js → OrSelect.vue_vue_type_script_lang-5428e5f8.js} +36 -11
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-47572822.js → OrSidebar.vue_vue_type_script_lang-a7103da5.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-dcae1408.js → OrSorting.vue_vue_type_script_lang-a43c7a38.js} +1 -1
- 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/{OrTabs.vue_vue_type_script_lang-fdefe747.js → OrTabs.vue_vue_type_script_lang-3831d139.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-86225135.js → OrTag.vue_vue_type_script_lang-206b5c7c.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-85c70a2a.js → OrTagInput.vue_vue_type_script_lang-00010fb4.js} +3 -3
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-9c1f4b76.js → OrTags.vue_vue_type_script_lang-de78876f.js} +2 -2
- 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-a3554386.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-4dceb6f6.js → OrTooltip.vue_vue_type_script_lang-215def44.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +1 -4
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +11 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -10
- 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 +8 -8
- package/dist/bundled/v3/components/OrCodeV3/index.js +7 -7
- 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 +8 -8
- package/dist/bundled/v3/components/OrConfirmV3/index.js +7 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +10 -10
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +9 -9
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +10 -10
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +9 -9
- 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/OrIconButtonV3/OrIconButton.js +5 -5
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +4 -4
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +6 -6
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +6 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -7
- package/dist/bundled/v3/components/OrInputV3/index.js +6 -6
- 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/OrMenuV3/OrMenu.js +4 -4
- package/dist/bundled/v3/components/OrMenuV3/index.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/index.js +5 -5
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/index.js +4 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +3 -3
- package/dist/bundled/v3/components/OrPopoverV3/index.js +2 -2
- 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 +8 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +97 -48
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +6 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +13 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +6 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/index.js +4 -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/OrTabsV3/OrTabs.js +5 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +9 -9
- package/dist/bundled/v3/components/OrTagInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +6 -6
- package/dist/bundled/v3/components/OrTagV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +7 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +6 -6
- 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 +8 -8
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +7 -7
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +5 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +4 -4
- package/dist/bundled/v3/components/OrToastV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +4 -4
- package/dist/bundled/v3/components/OrTooltipV3/index.js +3 -3
- package/dist/bundled/v3/components/index.js +38 -38
- 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 +39 -39
- package/dist/esm/v2/{OrBottomSheet-c20810b8.js → OrBottomSheet-a4ee4b0e.js} +8 -18
- package/dist/esm/v2/{OrCardCollection-16d7fede.js → OrCardCollection-10ae5e3a.js} +3 -3
- 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-65f78f9f.js} +3 -3
- package/dist/esm/v2/{OrCombinedInput-45187323.js → OrCombinedInput-2639e3e1.js} +1 -1
- package/dist/esm/v2/{OrConfirm-389d7e31.js → OrConfirm-d2ae622a.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-dab6a28b.js → OrDatePicker-3eef3059.js} +5 -5
- package/dist/esm/v2/{OrDateTimePicker-b927b51a.js → OrDateTimePicker-aeebd5ea.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-78b7ad39.js → OrDateTimePicker.vue_rollup-plugin-vue_script-5044ee23.js} +5 -5
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-1bd2a85f.js → OrDateTimePickerPopoverHeader-83eb5ad1.js} +4 -4
- package/dist/esm/v2/{OrFormGroup-29a514db.js → OrFormGroup-9000fcdf.js} +1 -1
- package/dist/esm/v2/{OrIconButton-667d8f83.js → OrIconButton-311050dc.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-9322b873.js → OrInlineInput-410e6e7d.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-60a9de36.js → OrInlineTextarea-be5970dd.js} +1 -1
- package/dist/esm/v2/{OrInput-57211a5b.js → OrInput-fbed0b61.js} +4 -4
- package/dist/esm/v2/{OrLabel-63380256.js → OrLabel-4a3d8904.js} +18 -6
- package/dist/esm/v2/{OrMenu-27a67132.js → OrMenu-e2f557c8.js} +1 -1
- package/dist/esm/v2/{OrModal-836db96a.js → OrModal-3dafa3ce.js} +1 -1
- package/dist/esm/v2/{OrNotification-512ed857.js → OrNotification-6df1f6f6.js} +1 -1
- package/dist/esm/v2/{OrPagination-4cf94f8d.js → OrPagination-f1e7aaa7.js} +2 -2
- package/dist/esm/v2/{OrPopover-66817adb.js → OrPopover-36e2fc9f.js} +1 -1
- 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-598dee09.js} +1 -1
- package/dist/esm/v2/{OrSelect-c92299c7.js → OrSelect-7dcb6eb1.js} +154 -33
- package/dist/esm/v2/{OrSidebar-18d20059.js → OrSidebar-0539d572.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-b490ff86.js → OrSidebarCollapseButton-8474d9c3.js} +1 -1
- package/dist/esm/v2/{OrSorting-501484aa.js → OrSorting-fad7928f.js} +2 -2
- package/dist/esm/v2/{OrSwitch-e49ce2d8.js → OrSwitch-a3da6bec.js} +1 -1
- package/dist/esm/v2/{OrTabs-8e1ffb33.js → OrTabs-0046e15b.js} +2 -2
- package/dist/esm/v2/{OrTag-7a14e88b.js → OrTag-d21ee9c1.js} +1 -1
- package/dist/esm/v2/{OrTagInput-7c95be61.js → OrTagInput-400f0605.js} +3 -3
- package/dist/esm/v2/{OrTags-b4de9652.js → OrTags-c1a44ef7.js} +2 -2
- package/dist/esm/v2/{OrTextarea-824f7048.js → OrTextarea-6fe8b65f.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-fe172ae6.js → OrTimePicker-b6c79be1.js} +6 -6
- package/dist/esm/v2/{OrTooltip-dbe9383a.js → OrTooltip-ec00d3ee.js} +1 -1
- package/dist/esm/v2/components/index.js +40 -40
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -10
- 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 +7 -7
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-input-v3/index.js +6 -6
- 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-menu-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v2/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +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 +7 -7
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +12 -0
- package/dist/esm/v2/components/or-select-v3/index.js +11 -11
- package/dist/esm/v2/components/or-select-v3/styles.d.ts +3 -1
- package/dist/esm/v2/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v2/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-input-v3/index.js +8 -8
- package/dist/esm/v2/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v2/directives/index.js +1 -1
- package/dist/esm/{v3/dropdown-open-e1f90e0a.js → v2/dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v2/index.js +40 -40
- package/dist/esm/v2/{types-186e4996.js → types-e481ff6f.js} +1 -1
- package/dist/esm/v3/{OrBottomSheet-20ba316c.js → OrBottomSheet-98aec82b.js} +8 -18
- package/dist/esm/v3/{OrCardCollection-a03fe4ee.js → OrCardCollection-7d647b53.js} +3 -3
- 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-fd372d76.js} +3 -3
- package/dist/esm/v3/{OrCombinedInput-2800ee8b.js → OrCombinedInput-6dd0f75d.js} +1 -1
- package/dist/esm/v3/{OrConfirm-fd33e48c.js → OrConfirm-de678c6c.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-dae900de.js → OrDatePicker-10c4e1ea.js} +5 -5
- package/dist/esm/v3/{OrDateTimePicker-3d4aeabe.js → OrDateTimePicker-044dd6fb.js} +5 -5
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-3c371f05.js → OrDateTimePickerPopoverHeader-ae493df9.js} +4 -4
- package/dist/esm/v3/{OrFormGroup-9f581536.js → OrFormGroup-c4631ef0.js} +1 -1
- package/dist/esm/v3/{OrIconButton-de8b6cd0.js → OrIconButton-65b1a004.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-0b0d790b.js → OrInlineInput-1d8b7ba7.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-2c54367e.js → OrInlineTextarea-384e66cd.js} +1 -1
- package/dist/esm/v3/{OrInput-41b40eee.js → OrInput-487c7632.js} +2 -2
- package/dist/esm/v3/{OrLabel-4da56db0.js → OrLabel-d4c46bb6.js} +19 -7
- package/dist/esm/v3/{OrMenu-cfe37204.js → OrMenu-7943ee1f.js} +1 -1
- package/dist/esm/v3/{OrModal-00a8822e.js → OrModal-fb598e97.js} +1 -1
- package/dist/esm/v3/{OrNotification-435b0faf.js → OrNotification-a1de8289.js} +1 -1
- package/dist/esm/v3/{OrPagination-9cecc690.js → OrPagination-0dd5c8f0.js} +2 -2
- package/dist/esm/v3/{OrPopover-84f83a8c.js → OrPopover-466a8297.js} +1 -1
- 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-998e4390.js} +1 -1
- package/dist/esm/v3/{OrSelect-db90c428.js → OrSelect-2af4a6eb.js} +135 -53
- package/dist/esm/v3/{OrSidebar-34492810.js → OrSidebar-d8e70813.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-f6f5ec80.js → OrSidebarCollapseButton-7a9f76cf.js} +1 -1
- package/dist/esm/v3/{OrSorting-dc01b9de.js → OrSorting-d5f3e077.js} +2 -2
- package/dist/esm/v3/{OrSwitch-a6efd081.js → OrSwitch-f4d9e196.js} +1 -1
- package/dist/esm/v3/{OrTabs-3fa4a344.js → OrTabs-83e4477c.js} +2 -2
- package/dist/esm/v3/{OrTag-9494f132.js → OrTag-8fede185.js} +1 -1
- package/dist/esm/v3/{OrTagInput-f11a2d68.js → OrTagInput-65e725b0.js} +3 -3
- package/dist/esm/v3/{OrTags-cec632b8.js → OrTags-5feb7c2d.js} +2 -2
- package/dist/esm/v3/{OrTextarea-6c471ccd.js → OrTextarea-f3412790.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-b1ff46c1.js → OrTimePicker-ef98ec36.js} +6 -6
- package/dist/esm/v3/{OrTooltip-16f99e83.js → OrTooltip-6802b717.js} +1 -1
- package/dist/esm/v3/components/index.js +39 -39
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -10
- 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 +7 -7
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- 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-menu-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v3/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/index.js +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 +7 -7
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +6 -0
- package/dist/esm/v3/components/or-select-v3/index.js +11 -11
- package/dist/esm/v3/components/or-select-v3/styles.d.ts +3 -1
- package/dist/esm/v3/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v3/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-input-v3/index.js +8 -8
- package/dist/esm/v3/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v3/directives/index.js +1 -1
- package/dist/esm/{v2/dropdown-open-e1f90e0a.js → v3/dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v3/index.js +39 -39
- package/dist/esm/v3/{types-93e80c1b.js → types-94be8310.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +7 -16
- package/src/components/or-bottom-sheet-v3/styles.ts +0 -6
- 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 +119 -28
- package/src/components/or-select-v3/styles.ts +19 -5
- package/src/directives/dropdown-close.ts +0 -3
- package/src/directives/dropdown-open.ts +1 -4
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-f013aba1.js → OrDateTimePickerMonthSelect-a3097661.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-a4f77733.js → OrDateTimePickerPopoverHeader-f3d67e5d.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-e8e86881.js → OrToastContainer.vue_vue_type_script_lang-64d27360.js} +0 -0
|
@@ -8,10 +8,10 @@ import 'tailwindcss/resolveConfig';
|
|
|
8
8
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
9
9
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
10
10
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
11
|
-
import { s as script$4 } from './OrIconButton-
|
|
11
|
+
import { s as script$4 } from './OrIconButton-65b1a004.js';
|
|
12
12
|
import { s as script$3 } from './OrIcon-62793572.js';
|
|
13
13
|
import { s as script$5, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
14
|
-
import { s as script$6 } from './OrLabel-
|
|
14
|
+
import { s as script$6 } from './OrLabel-d4c46bb6.js';
|
|
15
15
|
import { s as script$7 } from './OrLoader-b79022da.js';
|
|
16
16
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, Fragment, withModifiers, withDirectives, createElementVNode, mergeProps, vModelDynamic, createSlots, vShow } from 'vue';
|
|
17
17
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -5,23 +5,31 @@ var LabelVariant;
|
|
|
5
5
|
(function (LabelVariant) {
|
|
6
6
|
LabelVariant["Input"] = "input";
|
|
7
7
|
LabelVariant["Toggle"] = "toggle";
|
|
8
|
+
LabelVariant["MenuItem"] = "menu-item";
|
|
8
9
|
})(LabelVariant || (LabelVariant = {}));
|
|
9
10
|
|
|
10
|
-
const
|
|
11
|
+
const Label = [
|
|
11
12
|
// Layout
|
|
12
13
|
'layout-row justify-between',
|
|
13
14
|
// Spacing
|
|
14
15
|
'gap-sm'];
|
|
15
|
-
const
|
|
16
|
-
|
|
16
|
+
const LabelVariants = {
|
|
17
|
+
[LabelVariant.Input]: [
|
|
17
18
|
// Typography
|
|
18
19
|
'typography-caption-regular',
|
|
19
20
|
// Theme
|
|
20
21
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'],
|
|
21
|
-
|
|
22
|
+
[LabelVariant.Toggle]: [
|
|
22
23
|
// Typography
|
|
23
24
|
'typography-body-2-regular',
|
|
24
25
|
// 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
|
|
25
33
|
'theme-foreground-default', 'dark:theme-foreground-default-dark']
|
|
26
34
|
};
|
|
27
35
|
const LabelText = [
|
|
@@ -36,7 +44,6 @@ const LabelAddon = [
|
|
|
36
44
|
'whitespace-nowrap'];
|
|
37
45
|
|
|
38
46
|
var script = defineComponent({
|
|
39
|
-
name: 'OrLabel',
|
|
40
47
|
props: {
|
|
41
48
|
controlId: {
|
|
42
49
|
type: String,
|
|
@@ -46,6 +53,10 @@ var script = defineComponent({
|
|
|
46
53
|
type: String,
|
|
47
54
|
default: LabelVariant.Input
|
|
48
55
|
},
|
|
56
|
+
selected: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: false
|
|
59
|
+
},
|
|
49
60
|
required: {
|
|
50
61
|
type: Boolean,
|
|
51
62
|
default: false
|
|
@@ -60,7 +71,7 @@ var script = defineComponent({
|
|
|
60
71
|
// Refs
|
|
61
72
|
const root = ref();
|
|
62
73
|
// Styles
|
|
63
|
-
const rootStyles = computed(() => ['or-label-v3', ...
|
|
74
|
+
const rootStyles = computed(() => ['or-label-v3', ...Label, ...LabelVariants[props.variant]]);
|
|
64
75
|
const textStyles = computed(() => [...LabelText]);
|
|
65
76
|
const addonStyles = computed(() => [...LabelAddon]);
|
|
66
77
|
return {
|
|
@@ -72,12 +83,13 @@ var script = defineComponent({
|
|
|
72
83
|
}
|
|
73
84
|
});
|
|
74
85
|
|
|
75
|
-
const _hoisted_1 = ["disabled"];
|
|
86
|
+
const _hoisted_1 = ["selected", "disabled"];
|
|
76
87
|
const _hoisted_2 = ["for", "required", "disabled"];
|
|
77
88
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78
89
|
return openBlock(), createElementBlock("div", {
|
|
79
90
|
ref: "root",
|
|
80
91
|
class: normalizeClass(_ctx.rootStyles),
|
|
92
|
+
selected: _ctx.selected ? '' : null,
|
|
81
93
|
disabled: _ctx.disabled ? '' : null
|
|
82
94
|
}, [createElementVNode("label", {
|
|
83
95
|
class: normalizeClass(_ctx.textStyles),
|
|
@@ -3,7 +3,7 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { s as script$1, P as PopoverPlacement } from './OrPopover-
|
|
6
|
+
import { s as script$1, P as PopoverPlacement } from './OrPopover-466a8297.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, withModifiers, renderSlot } from 'vue';
|
|
8
8
|
|
|
9
9
|
const Menu = [
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { s as script$5 } from './OrOverlay-99e696e8.js';
|
|
7
7
|
import { openBlock, createElementBlock, normalizeClass, renderSlot, resolveComponent, createElementVNode, createVNode, withModifiers, createBlock, withCtx, mergeProps, createCommentVNode } from 'vue';
|
|
8
|
-
import { s as script$4 } from './OrIconButton-
|
|
8
|
+
import { s as script$4 } from './OrIconButton-65b1a004.js';
|
|
9
9
|
|
|
10
10
|
const ModalContent = [
|
|
11
11
|
// Overflow
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$2 } from './OrIconButton-
|
|
2
|
+
import { s as script$2 } from './OrIconButton-65b1a004.js';
|
|
3
3
|
import { s as script$1 } from './OrIcon-62793572.js';
|
|
4
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, renderSlot, createBlock, withModifiers, createCommentVNode } from 'vue';
|
|
5
5
|
|
|
@@ -7,8 +7,8 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import { s as script$1 } from './OrButton-4a3c3e7b.js';
|
|
8
8
|
import { s as script$2 } from './OrIcon-62793572.js';
|
|
9
9
|
import { s as script$4 } from './OrMenuItem-54062d59.js';
|
|
10
|
-
import { s as script$3 } from './OrMenu-
|
|
11
|
-
import './OrPopover-
|
|
10
|
+
import { s as script$3 } from './OrMenu-7943ee1f.js';
|
|
11
|
+
import './OrPopover-466a8297.js';
|
|
12
12
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
13
13
|
|
|
14
14
|
const PaginationRoot = [
|
|
@@ -6,7 +6,7 @@ import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
|
6
6
|
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
7
|
import '@onereach/styles/tailwind.config';
|
|
8
8
|
import 'tailwindcss/resolveConfig';
|
|
9
|
-
import { s as script$1 } from './OrBottomSheet-
|
|
9
|
+
import { s as script$1 } from './OrBottomSheet-98aec82b.js';
|
|
10
10
|
import { s as script$2 } from './OrTeleport.vue3-8099178c.js';
|
|
11
11
|
import { resolveComponent, openBlock, createBlock, withCtx, withDirectives, createElementVNode, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode, vShow } from 'vue';
|
|
12
12
|
|
|
@@ -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-487c7632.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -1,41 +1,45 @@
|
|
|
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
|
-
import { s as script$6 } from './OrIconButton-
|
|
14
|
+
import { s as script$6 } from './OrIconButton-65b1a004.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-487c7632.js';
|
|
18
|
+
import { s as script$9 } from './OrLabel-d4c46bb6.js';
|
|
18
19
|
import { s as script$a } from './OrMenuItem-54062d59.js';
|
|
19
|
-
import { s as script$b } from './OrPopover-
|
|
20
|
-
import { s as script$c } from './OrTag-
|
|
20
|
+
import { s as script$b } from './OrPopover-466a8297.js';
|
|
21
|
+
import { s as script$c } from './OrTag-8fede185.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
|
|
27
28
|
'gap-xs'];
|
|
28
29
|
const SelectControl = [
|
|
29
30
|
// Layout
|
|
30
|
-
'layout-row',
|
|
31
|
-
// Box
|
|
32
|
-
'w-full',
|
|
31
|
+
'layout-row grow',
|
|
33
32
|
// Overflow
|
|
34
33
|
'overflow-hidden',
|
|
35
34
|
// Spacing
|
|
36
35
|
'gap-xs',
|
|
37
36
|
// Typography
|
|
38
37
|
'typography-inherit'];
|
|
38
|
+
const SelectSearchControl = [
|
|
39
|
+
// Layout
|
|
40
|
+
'grow',
|
|
41
|
+
// Spacing
|
|
42
|
+
'!mx-lg md:!-mx-sm+', '!my-sm md:!my-none'];
|
|
39
43
|
const SelectPlaceholder = [
|
|
40
44
|
// Theme
|
|
41
45
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
@@ -60,6 +64,11 @@ const SelectDropdownFlipped = [
|
|
|
60
64
|
'rounded-t-md',
|
|
61
65
|
// Theme
|
|
62
66
|
'!border-b-0'];
|
|
67
|
+
const SelectDropdownItem = [
|
|
68
|
+
// Typography
|
|
69
|
+
'!typography-body-2-regular',
|
|
70
|
+
// Typography (selected)
|
|
71
|
+
'selected:!typography-body-2-semibold'];
|
|
63
72
|
const SelectNoSearchResults = [
|
|
64
73
|
// Layout
|
|
65
74
|
'layout-row justify-center',
|
|
@@ -71,7 +80,6 @@ const SelectNoSearchResults = [
|
|
|
71
80
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
72
81
|
|
|
73
82
|
var script = defineComponent({
|
|
74
|
-
name: 'OrSelect',
|
|
75
83
|
components: {
|
|
76
84
|
OrCheckbox: script$1,
|
|
77
85
|
OrError: script$2,
|
|
@@ -180,6 +188,7 @@ var script = defineComponent({
|
|
|
180
188
|
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
181
189
|
});
|
|
182
190
|
const control = ref();
|
|
191
|
+
const searchControl = ref();
|
|
183
192
|
const popover = ref();
|
|
184
193
|
const popoverRoot = computed(() => {
|
|
185
194
|
var _a;
|
|
@@ -190,13 +199,17 @@ var script = defineComponent({
|
|
|
190
199
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
191
200
|
});
|
|
192
201
|
// Styles
|
|
193
|
-
const rootStyles = computed(() => ['or-select-v3', ...
|
|
202
|
+
const rootStyles = computed(() => ['or-select-v3', ...Select]);
|
|
194
203
|
const controlStyles = computed(() => [...SelectControl]);
|
|
204
|
+
const searchControlStyles = computed(() => [...SelectSearchControl, '!visible' // Search control is always visible despite `useOverflow` effects
|
|
205
|
+
]);
|
|
206
|
+
|
|
195
207
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
196
208
|
const dropdownStyles = computed(() => {
|
|
197
209
|
var _a;
|
|
198
210
|
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
199
211
|
});
|
|
212
|
+
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
200
213
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
201
214
|
// State
|
|
202
215
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
@@ -213,7 +226,7 @@ var script = defineComponent({
|
|
|
213
226
|
const selection = computed(() => {
|
|
214
227
|
const modelValue = proxyModelValue.value;
|
|
215
228
|
if (Array.isArray(modelValue)) {
|
|
216
|
-
return modelValue.map(value => props.options.find(option => option.value === value));
|
|
229
|
+
return modelValue.map(value => props.options.find(option => option.value === value)).filter(value => !!value);
|
|
217
230
|
}
|
|
218
231
|
return props.options.find(option => option.value === modelValue);
|
|
219
232
|
});
|
|
@@ -273,22 +286,39 @@ var script = defineComponent({
|
|
|
273
286
|
proxyModelValue.value = modelValue.filter(value => value !== option.value);
|
|
274
287
|
}
|
|
275
288
|
}
|
|
289
|
+
function clearSearchControl() {
|
|
290
|
+
searchText.value = '';
|
|
291
|
+
}
|
|
276
292
|
const {
|
|
277
293
|
innerItems,
|
|
278
294
|
outerItems
|
|
279
295
|
} = useOverflow(control);
|
|
296
|
+
// Utils
|
|
297
|
+
const {
|
|
298
|
+
isDesktop,
|
|
299
|
+
isMobile
|
|
300
|
+
} = useResponsive();
|
|
301
|
+
// Effects
|
|
302
|
+
watch(searchControl, control => {
|
|
303
|
+
setTimeout(() => {
|
|
304
|
+
control === null || control === void 0 ? void 0 : control.focus();
|
|
305
|
+
});
|
|
306
|
+
});
|
|
280
307
|
return {
|
|
281
308
|
root,
|
|
282
309
|
inputBox,
|
|
283
310
|
inputBoxRoot,
|
|
284
311
|
control,
|
|
312
|
+
searchControl,
|
|
285
313
|
popover,
|
|
286
314
|
popoverRoot,
|
|
287
315
|
popoverState,
|
|
288
316
|
rootStyles,
|
|
289
317
|
controlStyles,
|
|
318
|
+
searchControlStyles,
|
|
290
319
|
placeholderStyles,
|
|
291
320
|
dropdownStyles,
|
|
321
|
+
dropdownItemStyles,
|
|
292
322
|
noSearchResultsStyles,
|
|
293
323
|
controlId,
|
|
294
324
|
proxyModelValue,
|
|
@@ -302,31 +332,36 @@ var script = defineComponent({
|
|
|
302
332
|
toggle,
|
|
303
333
|
close,
|
|
304
334
|
deselect,
|
|
335
|
+
clearSearchControl,
|
|
305
336
|
innerItems,
|
|
306
|
-
outerItems
|
|
337
|
+
outerItems,
|
|
338
|
+
isDesktop,
|
|
339
|
+
isMobile
|
|
307
340
|
};
|
|
308
341
|
}
|
|
309
342
|
});
|
|
310
343
|
|
|
311
344
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
312
|
-
const _hoisted_2 =
|
|
345
|
+
const _hoisted_2 = ["disabled"];
|
|
346
|
+
const _hoisted_3 = {
|
|
313
347
|
class: "truncate"
|
|
314
348
|
};
|
|
315
|
-
const
|
|
349
|
+
const _hoisted_4 = ["disabled"];
|
|
350
|
+
const _hoisted_5 = {
|
|
316
351
|
class: /*#__PURE__*/normalizeClass(['layout-inline-row', 'gap-sm'])
|
|
317
352
|
};
|
|
318
|
-
const
|
|
353
|
+
const _hoisted_6 = {
|
|
319
354
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
320
355
|
};
|
|
321
|
-
const
|
|
356
|
+
const _hoisted_7 = {
|
|
322
357
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
323
358
|
};
|
|
324
359
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
325
360
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
326
361
|
const _component_OrTag = resolveComponent("OrTag");
|
|
362
|
+
const _component_OrInput = resolveComponent("OrInput");
|
|
327
363
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
328
364
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
329
|
-
const _component_OrInput = resolveComponent("OrInput");
|
|
330
365
|
const _component_OrCheckbox = resolveComponent("OrCheckbox");
|
|
331
366
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
332
367
|
const _component_OrExpansionPanel = resolveComponent("OrExpansionPanel");
|
|
@@ -365,16 +400,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
365
400
|
class: normalizeClass(_ctx.controlStyles),
|
|
366
401
|
tabindex: !_ctx.disabled ? 0 : null,
|
|
367
402
|
disabled: _ctx.disabled,
|
|
368
|
-
onFocus: _cache[
|
|
369
|
-
onBlur: _cache[
|
|
403
|
+
onFocus: _cache[6] || (_cache[6] = $event => _ctx.$emit('focus', $event)),
|
|
404
|
+
onBlur: _cache[7] || (_cache[7] = $event => _ctx.$emit('blur', $event))
|
|
370
405
|
}, [_ctx.multiple ? (openBlock(), createElementBlock(Fragment, {
|
|
371
406
|
key: 0
|
|
372
|
-
}, [_ctx.
|
|
373
|
-
key: 0
|
|
407
|
+
}, [!_ctx.isEmptyModelValue ? (openBlock(), createElementBlock(Fragment, {
|
|
408
|
+
key: 0
|
|
409
|
+
}, [renderSlot(_ctx.$slots, "valueTemplate", {
|
|
374
410
|
model: _ctx.proxyModelValue
|
|
375
|
-
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection,
|
|
411
|
+
}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selection, option => {
|
|
376
412
|
return openBlock(), createBlock(_component_OrTag, {
|
|
377
|
-
key:
|
|
413
|
+
key: option.value,
|
|
378
414
|
variant: 'reset',
|
|
379
415
|
disabled: _ctx.disabled || _ctx.readonly,
|
|
380
416
|
onReset: $event => _ctx.deselect(option)
|
|
@@ -383,25 +419,64 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
383
419
|
|
|
384
420
|
_: 2 /* DYNAMIC */
|
|
385
421
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onReset"]);
|
|
386
|
-
}), 128 /* KEYED_FRAGMENT */))])
|
|
422
|
+
}), 128 /* KEYED_FRAGMENT */))]), _ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isDesktop ? (openBlock(), createBlock(_component_OrInput, {
|
|
423
|
+
key: 0,
|
|
424
|
+
ref: "searchControl",
|
|
425
|
+
modelValue: _ctx.searchText,
|
|
426
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchText = $event),
|
|
427
|
+
class: normalizeClass(_ctx.searchControlStyles),
|
|
428
|
+
type: 'search',
|
|
429
|
+
placeholder: _ctx.placeholder,
|
|
430
|
+
size: _ctx.size,
|
|
431
|
+
"disable-default-styles": true,
|
|
432
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"]))
|
|
433
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder", "size"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
434
|
+
key: 1
|
|
435
|
+
}, [_ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isDesktop ? (openBlock(), createBlock(_component_OrInput, {
|
|
436
|
+
key: 0,
|
|
437
|
+
ref: "searchControl",
|
|
438
|
+
modelValue: _ctx.searchText,
|
|
439
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.searchText = $event),
|
|
440
|
+
class: normalizeClass(_ctx.searchControlStyles),
|
|
441
|
+
type: 'search',
|
|
442
|
+
placeholder: _ctx.placeholder,
|
|
443
|
+
size: _ctx.size,
|
|
444
|
+
"disable-default-styles": true,
|
|
445
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"]))
|
|
446
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder", "size"])) : (openBlock(), createElementBlock("span", {
|
|
387
447
|
key: 1,
|
|
388
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
389
|
-
|
|
448
|
+
class: normalizeClass(_ctx.placeholderStyles),
|
|
449
|
+
disabled: _ctx.disabled ? '' : null
|
|
450
|
+
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
451
|
+
key: 1
|
|
452
|
+
}, [_ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isDesktop ? (openBlock(), createBlock(_component_OrInput, {
|
|
453
|
+
key: 0,
|
|
454
|
+
ref: "searchControl",
|
|
455
|
+
modelValue: _ctx.searchText,
|
|
456
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.searchText = $event),
|
|
457
|
+
class: normalizeClass(_ctx.searchControlStyles),
|
|
458
|
+
type: 'search',
|
|
459
|
+
placeholder: _ctx.placeholder,
|
|
460
|
+
size: _ctx.size,
|
|
461
|
+
"disable-default-styles": true,
|
|
462
|
+
onClick: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
463
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder", "size"])) : (openBlock(), createElementBlock(Fragment, {
|
|
390
464
|
key: 1
|
|
391
465
|
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
392
466
|
key: 0,
|
|
393
467
|
model: _ctx.proxyModelValue
|
|
394
|
-
}, () => [createElementVNode("span",
|
|
468
|
+
}, () => [createElementVNode("span", _hoisted_3, toDisplayString(_ctx.selection && _ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
|
|
395
469
|
key: 1,
|
|
396
|
-
class: normalizeClass(_ctx.placeholderStyles)
|
|
397
|
-
|
|
470
|
+
class: normalizeClass(_ctx.placeholderStyles),
|
|
471
|
+
disabled: _ctx.disabled ? '' : null
|
|
472
|
+
}, 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, {
|
|
398
473
|
key: 0
|
|
399
|
-
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), createElementVNode("div",
|
|
474
|
+
}, [createTextVNode(" +" + toDisplayString(_ctx.outerItems.length), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_5, [!_ctx.isEmptyModelValue && _ctx.popoverState === 'closed' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
400
475
|
key: 0,
|
|
401
476
|
icon: 'close',
|
|
402
477
|
color: 'inherit',
|
|
403
478
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
404
|
-
onClick: _cache[
|
|
479
|
+
onClick: _cache[8] || (_cache[8] = withModifiers($event => _ctx.$emit('update:modelValue', _ctx.multiple ? [] : undefined), ["stop"]))
|
|
405
480
|
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrIcon, {
|
|
406
481
|
icon: _ctx.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
407
482
|
variant: 'outlined'
|
|
@@ -412,17 +487,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
412
487
|
placement: 'bottom',
|
|
413
488
|
"full-width": true,
|
|
414
489
|
"custom-styles": _ctx.dropdownStyles,
|
|
415
|
-
"disable-default-styles": true
|
|
490
|
+
"disable-default-styles": true,
|
|
491
|
+
onClose: _cache[12] || (_cache[12] = $event => _ctx.clearSearchControl())
|
|
416
492
|
}, {
|
|
417
|
-
default: withCtx(() => [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrInput, {
|
|
493
|
+
default: withCtx(() => [_ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isMobile ? (openBlock(), createBlock(_component_OrInput, {
|
|
418
494
|
key: 0,
|
|
495
|
+
ref: "searchControl",
|
|
419
496
|
modelValue: _ctx.searchText,
|
|
420
|
-
"onUpdate:modelValue": _cache[
|
|
497
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => _ctx.searchText = $event),
|
|
498
|
+
class: normalizeClass(_ctx.searchControlStyles),
|
|
421
499
|
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, {
|
|
500
|
+
placeholder: _ctx.placeholder
|
|
501
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder"])) : createCommentVNode("v-if", true), _ctx.resolvedSearchOptions.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
426
502
|
key: 1
|
|
427
503
|
}, [_ctx.groupByFunction ? (openBlock(true), createElementBlock(Fragment, {
|
|
428
504
|
key: 0
|
|
@@ -435,25 +511,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
435
511
|
key: 0
|
|
436
512
|
}, renderList(group, (option, i) => {
|
|
437
513
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
438
|
-
key: i
|
|
514
|
+
key: i,
|
|
515
|
+
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
439
516
|
}, {
|
|
440
517
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
441
518
|
model: _ctx.proxyModelValue,
|
|
442
519
|
option: option
|
|
443
520
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
444
521
|
modelValue: _ctx.proxyModelValue,
|
|
445
|
-
"onUpdate:modelValue": _cache[
|
|
522
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => _ctx.proxyModelValue = $event),
|
|
446
523
|
value: option.value,
|
|
447
524
|
label: option.label,
|
|
448
|
-
"label-variant": '
|
|
525
|
+
"label-variant": 'menu-item'
|
|
449
526
|
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
450
527
|
_: 2 /* DYNAMIC */
|
|
451
|
-
},
|
|
528
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected"]);
|
|
452
529
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
453
530
|
key: 1
|
|
454
531
|
}, renderList(group, (option, i) => {
|
|
455
532
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
456
533
|
key: i,
|
|
534
|
+
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
535
|
+
selected: _ctx.proxyModelValue === option.value,
|
|
457
536
|
onClick: withModifiers($event => {
|
|
458
537
|
_ctx.proxyModelValue = option.value;
|
|
459
538
|
_ctx.close();
|
|
@@ -465,7 +544,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
465
544
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
466
545
|
|
|
467
546
|
_: 2 /* DYNAMIC */
|
|
468
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
547
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "selected", "onClick"]);
|
|
469
548
|
}), 128 /* KEYED_FRAGMENT */))]),
|
|
470
549
|
|
|
471
550
|
_: 2 /* DYNAMIC */
|
|
@@ -476,14 +555,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
476
555
|
key: 0
|
|
477
556
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
478
557
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
479
|
-
key: i
|
|
558
|
+
key: i,
|
|
559
|
+
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
480
560
|
}, {
|
|
481
561
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
482
562
|
modelValue: _ctx.proxyModelValue,
|
|
483
|
-
"onUpdate:modelValue": _cache[
|
|
563
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => _ctx.proxyModelValue = $event),
|
|
484
564
|
value: option.value,
|
|
485
565
|
label: option.label,
|
|
486
|
-
"label-variant": '
|
|
566
|
+
"label-variant": 'menu-item'
|
|
487
567
|
}, {
|
|
488
568
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
489
569
|
model: _ctx.proxyModelValue,
|
|
@@ -492,12 +572,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
492
572
|
_: 2 /* DYNAMIC */
|
|
493
573
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "value", "label"])]),
|
|
494
574
|
_: 2 /* DYNAMIC */
|
|
495
|
-
},
|
|
575
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected"]);
|
|
496
576
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
497
577
|
key: 1
|
|
498
578
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
499
579
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
500
580
|
key: i,
|
|
581
|
+
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
582
|
+
selected: _ctx.proxyModelValue === option.value,
|
|
501
583
|
onClick: withModifiers($event => {
|
|
502
584
|
_ctx.proxyModelValue = option.value;
|
|
503
585
|
_ctx.close();
|
|
@@ -509,7 +591,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
509
591
|
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])]),
|
|
510
592
|
|
|
511
593
|
_: 2 /* DYNAMIC */
|
|
512
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
594
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "selected", "onClick"]);
|
|
513
595
|
}), 128 /* KEYED_FRAGMENT */))], 64 /* STABLE_FRAGMENT */))], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("div", {
|
|
514
596
|
key: 2,
|
|
515
597
|
class: normalizeClass(_ctx.noSearchResultsStyles)
|
|
@@ -518,14 +600,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
518
600
|
_: 3 /* FORWARDED */
|
|
519
601
|
}, 8 /* PROPS */, ["trigger", "custom-styles"])]),
|
|
520
602
|
_: 3 /* FORWARDED */
|
|
521
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div",
|
|
603
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div", _hoisted_6, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
522
604
|
key: 0,
|
|
523
605
|
disabled: _ctx.disabled
|
|
524
606
|
}, {
|
|
525
607
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
526
608
|
|
|
527
609
|
_: 1 /* STABLE */
|
|
528
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
610
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_7, [createVNode(_component_OrError, {
|
|
529
611
|
disabled: _ctx.disabled
|
|
530
612
|
}, {
|
|
531
613
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
3
|
+
import { s as script$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-7a9f76cf.js';
|
|
4
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, createBlock, withDirectives, vShow } from 'vue';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|
package/dist/esm/v3/{OrSidebarCollapseButton-f6f5ec80.js → OrSidebarCollapseButton-7a9f76cf.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrIconButton-
|
|
2
|
+
import { s as script$1 } from './OrIconButton-65b1a004.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withModifiers } from 'vue';
|
|
4
4
|
|
|
5
5
|
var OrSidebarPlacement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, toRef, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrMenu-
|
|
3
|
-
import './OrPopover-
|
|
2
|
+
import { s as script$1 } from './OrMenu-7943ee1f.js';
|
|
3
|
+
import './OrPopover-466a8297.js';
|
|
4
4
|
import { s as script$2 } from './OrMenuItem-54062d59.js';
|
|
5
5
|
import { s as script$3 } from './OrButton-4a3c3e7b.js';
|
|
6
6
|
import { s as script$4 } from './OrIcon-62793572.js';
|
|
@@ -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';
|
|
@@ -5,8 +5,8 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { s as script$1 } from './OrIcon-62793572.js';
|
|
7
7
|
import { s as script$3 } from './OrMenuItem-54062d59.js';
|
|
8
|
-
import { s as script$2 } from './OrMenu-
|
|
9
|
-
import './OrPopover-
|
|
8
|
+
import { s as script$2 } from './OrMenu-7943ee1f.js';
|
|
9
|
+
import './OrPopover-466a8297.js';
|
|
10
10
|
import { s as script$4 } from './OrTab-2d567d8e.js';
|
|
11
11
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString, createVNode, createCommentVNode, renderSlot } from 'vue';
|
|
12
12
|
|