@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
|
@@ -1,42 +1,46 @@
|
|
|
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 { _ as __vue_component__$1 } from './OrCheckbox-
|
|
10
|
+
import { _ as __vue_component__$1 } from './OrCheckbox-ae903071.js';
|
|
10
11
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
11
12
|
import { _ as __vue_component__$3 } from './OrExpansionPanel-f1d8fcc9.js';
|
|
12
13
|
import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
13
|
-
import { _ as __vue_component__$6 } from './OrIconButton-
|
|
14
|
+
import { _ as __vue_component__$6 } from './OrIconButton-311050dc.js';
|
|
14
15
|
import { _ as __vue_component__$5 } from './OrIcon-d35a84d8.js';
|
|
15
16
|
import { _ as __vue_component__$8 } from './OrInputBox-7dc5b9e9.js';
|
|
16
17
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
17
|
-
import { _ as __vue_component__$7 } from './OrInput-
|
|
18
|
-
import { _ as __vue_component__$9 } from './OrLabel-
|
|
18
|
+
import { _ as __vue_component__$7 } from './OrInput-fbed0b61.js';
|
|
19
|
+
import { _ as __vue_component__$9 } from './OrLabel-4a3d8904.js';
|
|
19
20
|
import { _ as __vue_component__$a } from './OrMenuItem-c1c97ebe.js';
|
|
20
|
-
import { _ as __vue_component__$b } from './OrPopover-
|
|
21
|
-
import { _ as __vue_component__$c } from './OrTag-
|
|
21
|
+
import { _ as __vue_component__$b } from './OrPopover-36e2fc9f.js';
|
|
22
|
+
import { _ as __vue_component__$c } from './OrTag-d21ee9c1.js';
|
|
22
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
23
24
|
|
|
24
|
-
const
|
|
25
|
+
const Select = [
|
|
25
26
|
// Layout
|
|
26
27
|
'layout-column',
|
|
27
28
|
// Spacing
|
|
28
29
|
'gap-xs'];
|
|
29
30
|
const SelectControl = [
|
|
30
31
|
// Layout
|
|
31
|
-
'layout-row',
|
|
32
|
-
// Box
|
|
33
|
-
'w-full',
|
|
32
|
+
'layout-row grow',
|
|
34
33
|
// Overflow
|
|
35
34
|
'overflow-hidden',
|
|
36
35
|
// Spacing
|
|
37
36
|
'gap-xs',
|
|
38
37
|
// Typography
|
|
39
38
|
'typography-inherit'];
|
|
39
|
+
const SelectSearchControl = [
|
|
40
|
+
// Layout
|
|
41
|
+
'grow',
|
|
42
|
+
// Spacing
|
|
43
|
+
'!mx-lg md:!-mx-sm+', '!my-sm md:!my-none'];
|
|
40
44
|
const SelectPlaceholder = [
|
|
41
45
|
// Theme
|
|
42
46
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
@@ -61,6 +65,11 @@ const SelectDropdownFlipped = [
|
|
|
61
65
|
'rounded-t-md',
|
|
62
66
|
// Theme
|
|
63
67
|
'!border-b-0'];
|
|
68
|
+
const SelectDropdownItem = [
|
|
69
|
+
// Typography
|
|
70
|
+
'!typography-body-2-regular',
|
|
71
|
+
// Typography (selected)
|
|
72
|
+
'selected:!typography-body-2-semibold'];
|
|
64
73
|
const SelectNoSearchResults = [
|
|
65
74
|
// Layout
|
|
66
75
|
'layout-row justify-center',
|
|
@@ -72,7 +81,6 @@ const SelectNoSearchResults = [
|
|
|
72
81
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
73
82
|
|
|
74
83
|
var script = defineComponent({
|
|
75
|
-
name: 'OrSelect',
|
|
76
84
|
components: {
|
|
77
85
|
OrCheckbox: __vue_component__$1,
|
|
78
86
|
OrError: __vue_component__$2,
|
|
@@ -181,6 +189,7 @@ var script = defineComponent({
|
|
|
181
189
|
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
182
190
|
});
|
|
183
191
|
const control = ref();
|
|
192
|
+
const searchControl = ref();
|
|
184
193
|
const popover = ref();
|
|
185
194
|
const popoverRoot = computed(() => {
|
|
186
195
|
var _a;
|
|
@@ -191,13 +200,17 @@ var script = defineComponent({
|
|
|
191
200
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
192
201
|
});
|
|
193
202
|
// Styles
|
|
194
|
-
const rootStyles = computed(() => ['or-select-v3', ...
|
|
203
|
+
const rootStyles = computed(() => ['or-select-v3', ...Select]);
|
|
195
204
|
const controlStyles = computed(() => [...SelectControl]);
|
|
205
|
+
const searchControlStyles = computed(() => [...SelectSearchControl, '!visible' // Search control is always visible despite `useOverflow` effects
|
|
206
|
+
]);
|
|
207
|
+
|
|
196
208
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
197
209
|
const dropdownStyles = computed(() => {
|
|
198
210
|
var _a;
|
|
199
211
|
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
200
212
|
});
|
|
213
|
+
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
201
214
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
202
215
|
// State
|
|
203
216
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
@@ -214,7 +227,7 @@ var script = defineComponent({
|
|
|
214
227
|
const selection = computed(() => {
|
|
215
228
|
const modelValue = proxyModelValue.value;
|
|
216
229
|
if (Array.isArray(modelValue)) {
|
|
217
|
-
return modelValue.map(value => props.options.find(option => option.value === value));
|
|
230
|
+
return modelValue.map(value => props.options.find(option => option.value === value)).filter(value => !!value);
|
|
218
231
|
}
|
|
219
232
|
return props.options.find(option => option.value === modelValue);
|
|
220
233
|
});
|
|
@@ -274,22 +287,39 @@ var script = defineComponent({
|
|
|
274
287
|
proxyModelValue.value = modelValue.filter(value => value !== option.value);
|
|
275
288
|
}
|
|
276
289
|
}
|
|
290
|
+
function clearSearchControl() {
|
|
291
|
+
searchText.value = '';
|
|
292
|
+
}
|
|
277
293
|
const {
|
|
278
294
|
innerItems,
|
|
279
295
|
outerItems
|
|
280
296
|
} = useOverflow(control);
|
|
297
|
+
// Utils
|
|
298
|
+
const {
|
|
299
|
+
isDesktop,
|
|
300
|
+
isMobile
|
|
301
|
+
} = useResponsive();
|
|
302
|
+
// Effects
|
|
303
|
+
watch(searchControl, control => {
|
|
304
|
+
setTimeout(() => {
|
|
305
|
+
control === null || control === void 0 ? void 0 : control.focus();
|
|
306
|
+
});
|
|
307
|
+
});
|
|
281
308
|
return {
|
|
282
309
|
root,
|
|
283
310
|
inputBox,
|
|
284
311
|
inputBoxRoot,
|
|
285
312
|
control,
|
|
313
|
+
searchControl,
|
|
286
314
|
popover,
|
|
287
315
|
popoverRoot,
|
|
288
316
|
popoverState,
|
|
289
317
|
rootStyles,
|
|
290
318
|
controlStyles,
|
|
319
|
+
searchControlStyles,
|
|
291
320
|
placeholderStyles,
|
|
292
321
|
dropdownStyles,
|
|
322
|
+
dropdownItemStyles,
|
|
293
323
|
noSearchResultsStyles,
|
|
294
324
|
controlId,
|
|
295
325
|
proxyModelValue,
|
|
@@ -303,8 +333,11 @@ var script = defineComponent({
|
|
|
303
333
|
toggle,
|
|
304
334
|
close,
|
|
305
335
|
deselect,
|
|
336
|
+
clearSearchControl,
|
|
306
337
|
innerItems,
|
|
307
|
-
outerItems
|
|
338
|
+
outerItems,
|
|
339
|
+
isDesktop,
|
|
340
|
+
isMobile
|
|
308
341
|
};
|
|
309
342
|
}
|
|
310
343
|
});
|
|
@@ -371,10 +404,10 @@ var __vue_render__ = function () {
|
|
|
371
404
|
return _vm.$emit('blur', $event);
|
|
372
405
|
}
|
|
373
406
|
}
|
|
374
|
-
}, [_vm.multiple ? [_vm.
|
|
375
|
-
return _vm._l(_vm.selection, function (option
|
|
407
|
+
}, [_vm.multiple ? [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
408
|
+
return _vm._l(_vm.selection, function (option) {
|
|
376
409
|
return _c('OrTag', {
|
|
377
|
-
key:
|
|
410
|
+
key: option.value,
|
|
378
411
|
attrs: {
|
|
379
412
|
"variant": 'reset',
|
|
380
413
|
"disabled": _vm.disabled || _vm.readonly
|
|
@@ -388,19 +421,88 @@ var __vue_render__ = function () {
|
|
|
388
421
|
});
|
|
389
422
|
}, {
|
|
390
423
|
"model": _vm.proxyModelValue
|
|
424
|
+
}), _vm._v(" "), _vm.popoverState === 'open' && _vm.enableSearch && _vm.isDesktop ? [_c('OrInput', {
|
|
425
|
+
ref: "searchControl",
|
|
426
|
+
class: _vm.searchControlStyles,
|
|
427
|
+
attrs: {
|
|
428
|
+
"type": 'search',
|
|
429
|
+
"placeholder": _vm.placeholder,
|
|
430
|
+
"size": _vm.size,
|
|
431
|
+
"disable-default-styles": true
|
|
432
|
+
},
|
|
433
|
+
on: {
|
|
434
|
+
"click": function ($event) {
|
|
435
|
+
$event.stopPropagation();
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
model: {
|
|
439
|
+
value: _vm.searchText,
|
|
440
|
+
callback: function ($$v) {
|
|
441
|
+
_vm.searchText = $$v;
|
|
442
|
+
},
|
|
443
|
+
expression: "searchText"
|
|
444
|
+
}
|
|
445
|
+
})] : _vm._e()] : [_vm.popoverState === 'open' && _vm.enableSearch && _vm.isDesktop ? [_c('OrInput', {
|
|
446
|
+
ref: "searchControl",
|
|
447
|
+
class: _vm.searchControlStyles,
|
|
448
|
+
attrs: {
|
|
449
|
+
"type": 'search',
|
|
450
|
+
"placeholder": _vm.placeholder,
|
|
451
|
+
"size": _vm.size,
|
|
452
|
+
"disable-default-styles": true
|
|
453
|
+
},
|
|
454
|
+
on: {
|
|
455
|
+
"click": function ($event) {
|
|
456
|
+
$event.stopPropagation();
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
model: {
|
|
460
|
+
value: _vm.searchText,
|
|
461
|
+
callback: function ($$v) {
|
|
462
|
+
_vm.searchText = $$v;
|
|
463
|
+
},
|
|
464
|
+
expression: "searchText"
|
|
465
|
+
}
|
|
391
466
|
})] : [_c('span', {
|
|
392
|
-
class: _vm.placeholderStyles
|
|
393
|
-
|
|
467
|
+
class: _vm.placeholderStyles,
|
|
468
|
+
attrs: {
|
|
469
|
+
"disabled": _vm.disabled ? '' : null
|
|
470
|
+
}
|
|
471
|
+
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]]] : [_vm.popoverState === 'open' && _vm.enableSearch && _vm.isDesktop ? [_c('OrInput', {
|
|
472
|
+
ref: "searchControl",
|
|
473
|
+
class: _vm.searchControlStyles,
|
|
474
|
+
attrs: {
|
|
475
|
+
"type": 'search',
|
|
476
|
+
"placeholder": _vm.placeholder,
|
|
477
|
+
"size": _vm.size,
|
|
478
|
+
"disable-default-styles": true
|
|
479
|
+
},
|
|
480
|
+
on: {
|
|
481
|
+
"click": function ($event) {
|
|
482
|
+
$event.stopPropagation();
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
model: {
|
|
486
|
+
value: _vm.searchText,
|
|
487
|
+
callback: function ($$v) {
|
|
488
|
+
_vm.searchText = $$v;
|
|
489
|
+
},
|
|
490
|
+
expression: "searchText"
|
|
491
|
+
}
|
|
492
|
+
})] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
394
493
|
return [_c('span', {
|
|
395
494
|
staticClass: "truncate"
|
|
396
|
-
}, [_vm._v("\n
|
|
495
|
+
}, [_vm._v("\n " + _vm._s(_vm.selection && _vm.selection.label) + "\n ")])];
|
|
397
496
|
}, {
|
|
398
497
|
"model": _vm.proxyModelValue
|
|
399
498
|
})] : [_c('span', {
|
|
400
|
-
class: _vm.placeholderStyles
|
|
401
|
-
|
|
499
|
+
class: _vm.placeholderStyles,
|
|
500
|
+
attrs: {
|
|
501
|
+
"disabled": _vm.disabled ? '' : null
|
|
502
|
+
}
|
|
503
|
+
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]]]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
|
|
402
504
|
class: ['layout-inline-row', 'gap-sm']
|
|
403
|
-
}, [!_vm.
|
|
505
|
+
}, [!_vm.isEmptyModelValue && _vm.popoverState === 'closed' ? [_c('OrIconButton', {
|
|
404
506
|
attrs: {
|
|
405
507
|
"icon": 'close',
|
|
406
508
|
"color": 'inherit',
|
|
@@ -409,7 +511,7 @@ var __vue_render__ = function () {
|
|
|
409
511
|
on: {
|
|
410
512
|
"click": function ($event) {
|
|
411
513
|
$event.stopPropagation();
|
|
412
|
-
return _vm.$emit('update:modelValue', undefined);
|
|
514
|
+
return _vm.$emit('update:modelValue', _vm.multiple ? [] : undefined);
|
|
413
515
|
}
|
|
414
516
|
}
|
|
415
517
|
})] : _vm._e(), _vm._v(" "), _c('OrIcon', {
|
|
@@ -426,13 +528,18 @@ var __vue_render__ = function () {
|
|
|
426
528
|
"full-width": true,
|
|
427
529
|
"custom-styles": _vm.dropdownStyles,
|
|
428
530
|
"disable-default-styles": true
|
|
531
|
+
},
|
|
532
|
+
on: {
|
|
533
|
+
"close": function ($event) {
|
|
534
|
+
return _vm.clearSearchControl();
|
|
535
|
+
}
|
|
429
536
|
}
|
|
430
|
-
}, [_vm.enableSearch ? [_c('OrInput', {
|
|
537
|
+
}, [_vm.popoverState === 'open' && _vm.enableSearch && _vm.isMobile ? [_c('OrInput', {
|
|
538
|
+
ref: "searchControl",
|
|
539
|
+
class: _vm.searchControlStyles,
|
|
431
540
|
attrs: {
|
|
432
541
|
"type": 'search',
|
|
433
|
-
"placeholder":
|
|
434
|
-
"size": 's',
|
|
435
|
-
"disable-default-styles": true
|
|
542
|
+
"placeholder": _vm.placeholder
|
|
436
543
|
},
|
|
437
544
|
model: {
|
|
438
545
|
value: _vm.searchText,
|
|
@@ -449,13 +556,16 @@ var __vue_render__ = function () {
|
|
|
449
556
|
}
|
|
450
557
|
}, [_vm.multiple ? _vm._l(group, function (option, i) {
|
|
451
558
|
return _c('OrMenuItem', {
|
|
452
|
-
key: i
|
|
559
|
+
key: i,
|
|
560
|
+
attrs: {
|
|
561
|
+
"selected": _vm.proxyModelValue && _vm.proxyModelValue.includes(option.value)
|
|
562
|
+
}
|
|
453
563
|
}, [_vm._t("optionTemplate", function () {
|
|
454
564
|
return [_c('OrCheckbox', {
|
|
455
565
|
attrs: {
|
|
456
566
|
"value": option.value,
|
|
457
567
|
"label": option.label,
|
|
458
|
-
"label-variant": '
|
|
568
|
+
"label-variant": 'menu-item'
|
|
459
569
|
},
|
|
460
570
|
model: {
|
|
461
571
|
value: _vm.proxyModelValue,
|
|
@@ -472,6 +582,10 @@ var __vue_render__ = function () {
|
|
|
472
582
|
}) : _vm._l(group, function (option, i) {
|
|
473
583
|
return _c('OrMenuItem', {
|
|
474
584
|
key: i,
|
|
585
|
+
class: _vm.dropdownItemStyles,
|
|
586
|
+
attrs: {
|
|
587
|
+
"selected": _vm.proxyModelValue === option.value
|
|
588
|
+
},
|
|
475
589
|
on: {
|
|
476
590
|
"click": function ($event) {
|
|
477
591
|
$event.stopPropagation();
|
|
@@ -488,12 +602,15 @@ var __vue_render__ = function () {
|
|
|
488
602
|
})], 2);
|
|
489
603
|
}) : [_vm.multiple ? _vm._l(_vm.resolvedSearchOptions, function (option, i) {
|
|
490
604
|
return _c('OrMenuItem', {
|
|
491
|
-
key: i
|
|
605
|
+
key: i,
|
|
606
|
+
attrs: {
|
|
607
|
+
"selected": _vm.proxyModelValue && _vm.proxyModelValue.includes(option.value)
|
|
608
|
+
}
|
|
492
609
|
}, [_c('OrCheckbox', {
|
|
493
610
|
attrs: {
|
|
494
611
|
"value": option.value,
|
|
495
612
|
"label": option.label,
|
|
496
|
-
"label-variant": '
|
|
613
|
+
"label-variant": 'menu-item'
|
|
497
614
|
},
|
|
498
615
|
model: {
|
|
499
616
|
value: _vm.proxyModelValue,
|
|
@@ -509,6 +626,10 @@ var __vue_render__ = function () {
|
|
|
509
626
|
}) : _vm._l(_vm.resolvedSearchOptions, function (option, i) {
|
|
510
627
|
return _c('OrMenuItem', {
|
|
511
628
|
key: i,
|
|
629
|
+
class: _vm.dropdownItemStyles,
|
|
630
|
+
attrs: {
|
|
631
|
+
"selected": _vm.proxyModelValue === option.value
|
|
632
|
+
},
|
|
512
633
|
on: {
|
|
513
634
|
"click": function ($event) {
|
|
514
635
|
$event.stopPropagation();
|
|
@@ -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 { _ as __vue_component__$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
3
|
+
import { _ as __vue_component__$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-8474d9c3.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|
package/dist/esm/v2/{OrSidebarCollapseButton-b490ff86.js → OrSidebarCollapseButton-8474d9c3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-311050dc.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var OrSidebarPlacement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, toRef, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrMenu-
|
|
3
|
-
import './OrPopover-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrMenu-e2f557c8.js';
|
|
3
|
+
import './OrPopover-36e2fc9f.js';
|
|
4
4
|
import { _ as __vue_component__$2 } from './OrMenuItem-c1c97ebe.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrButton-a23ee9f0.js';
|
|
6
6
|
import { _ as __vue_component__$4 } from './OrIcon-d35a84d8.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 { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-
|
|
7
|
+
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-4a3d8904.js';
|
|
8
8
|
import { _ as __vue_component__$2 } from './OrLoader-b0c381f9.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -5,8 +5,8 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
7
7
|
import { _ as __vue_component__$3 } from './OrMenuItem-c1c97ebe.js';
|
|
8
|
-
import { _ as __vue_component__$2 } from './OrMenu-
|
|
9
|
-
import './OrPopover-
|
|
8
|
+
import { _ as __vue_component__$2 } from './OrMenu-e2f557c8.js';
|
|
9
|
+
import './OrPopover-36e2fc9f.js';
|
|
10
10
|
import { _ as __vue_component__$4 } from './OrTab-88036fe9.js';
|
|
11
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
12
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-311050dc.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|
|
@@ -7,11 +7,11 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$3 } from './OrIconButton-311050dc.js';
|
|
11
11
|
import { _ as __vue_component__$4 } from './OrInputBox-7dc5b9e9.js';
|
|
12
12
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
13
|
-
import { _ as __vue_component__$5 } from './OrLabel-
|
|
14
|
-
import { _ as __vue_component__$6 } from './OrTags-
|
|
13
|
+
import { _ as __vue_component__$5 } from './OrLabel-4a3d8904.js';
|
|
14
|
+
import { _ as __vue_component__$6 } from './OrTags-c1a44ef7.js';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
@@ -4,8 +4,8 @@ import '@vueuse/core';
|
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrButton-a23ee9f0.js';
|
|
7
|
-
import { _ as __vue_component__$2 } from './OrPopover-
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrTag-
|
|
7
|
+
import { _ as __vue_component__$2 } from './OrPopover-36e2fc9f.js';
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrTag-d21ee9c1.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
11
11
|
const Tags = [
|
|
@@ -9,7 +9,7 @@ import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrInputBox-7dc5b9e9.js';
|
|
11
11
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
12
|
-
import { _ as __vue_component__$4 } from './OrLabel-
|
|
12
|
+
import { _ as __vue_component__$4 } from './OrLabel-4a3d8904.js';
|
|
13
13
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
14
14
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
15
15
|
|
|
@@ -1,19 +1,19 @@
|
|
|
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 __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
8
|
-
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
7
|
+
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-83eb5ad1.js';
|
|
8
|
+
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-5044ee23.js';
|
|
9
9
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
11
|
-
import { _ as __vue_component__$9 } from './OrIconButton-
|
|
11
|
+
import { _ as __vue_component__$9 } from './OrIconButton-311050dc.js';
|
|
12
12
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$a } from './OrInputBox-7dc5b9e9.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
15
|
-
import { _ as __vue_component__$b } from './OrLabel-
|
|
16
|
-
import { _ as __vue_component__$c } from './OrPopover-
|
|
15
|
+
import { _ as __vue_component__$b } from './OrLabel-4a3d8904.js';
|
|
16
|
+
import { _ as __vue_component__$c } from './OrPopover-36e2fc9f.js';
|
|
17
17
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
18
|
|
|
19
19
|
const TimePicker = [
|
|
@@ -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 { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-
|
|
6
|
+
import { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-36e2fc9f.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
const TooltipRoot = [
|