@onereach/ui-components 4.3.3-beta.2627.0 → 4.3.3-beta.2629.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.
Files changed (558) hide show
  1. package/dist/bundled/v2/{OrDateTimePickerMonthSelect-11e7596d.js → OrDateTimePickerMonthSelect-e20fd8dc.js} +3 -4
  2. package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +4 -8
  3. package/dist/bundled/v2/components/OrButton/OrButton.js +1 -1
  4. package/dist/bundled/v2/components/OrButtonV2/OrButton.js +1 -1
  5. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +3 -4
  6. package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +1 -7
  7. package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +3 -4
  8. package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +3 -4
  9. package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -4
  10. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +3 -4
  11. package/dist/bundled/v2/components/OrCode/OrCode.js +197 -263
  12. package/dist/bundled/v2/components/OrCode/index.js +2 -2
  13. package/dist/bundled/v2/components/OrCode/lang.js +2 -2
  14. package/dist/bundled/v2/components/OrCode/theme.js +1 -1
  15. package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +4 -6
  16. package/dist/bundled/v2/components/OrColorPicker/utils/defultPalette.js +1 -2
  17. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +4 -5
  18. package/dist/bundled/v2/components/OrConfirm/index.js +1 -1
  19. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -5
  20. package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
  21. package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
  22. package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
  23. package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
  24. package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
  25. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +4 -5
  26. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -4
  27. package/dist/bundled/v2/components/OrList/OrList.js +4 -5
  28. package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +5 -11
  29. package/dist/bundled/v2/components/OrModal/OrModal.js +20 -101
  30. package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +3 -4
  31. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +3 -4
  32. package/dist/bundled/v2/components/OrPassword/OrPassword.js +3 -4
  33. package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +4 -8
  34. package/dist/bundled/v2/components/OrRadio/OrRadio.js +3 -4
  35. package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.js +3 -4
  36. package/dist/bundled/v2/components/OrSearch/OrSearch.js +3 -4
  37. package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +4 -8
  38. package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +3 -4
  39. package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +3 -4
  40. package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +3 -4
  41. package/dist/bundled/v2/components/OrTabs/OrTabs.js +4 -5
  42. package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +4 -8
  43. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +4 -5
  44. package/dist/bundled/v2/components/OrToast/OrToast.js +1 -1
  45. package/dist/bundled/v2/components/OrToast/composable/useToast.js +5 -10
  46. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +1 -1
  47. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +3 -6
  48. package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +5 -10
  49. package/dist/bundled/v2/components/index.js +6 -6
  50. package/dist/bundled/v2/hooks/useElevation.js +1 -2
  51. package/dist/bundled/v2/hooks/useOverflow.js +4 -5
  52. package/dist/bundled/v2/hooks/useToggle.js +1 -2
  53. package/dist/bundled/{v3/index-e0b25cea.js → v2/index-6976c52a.js} +715 -1229
  54. package/dist/bundled/v2/index.js +6 -6
  55. package/dist/bundled/{v3/lang-973a418e.js → v2/lang-02d2bb2d.js} +196 -275
  56. package/dist/bundled/v2/utils/functions/color.js +1 -2
  57. package/dist/bundled/v2/utils/functions/flattenDeep.js +1 -2
  58. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-4d344331.js → OrBottomSheet.vue_vue_type_script_lang-1e5544b0.js} +5 -9
  59. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d3f43900.js → OrCardCollection.vue_vue_type_script_lang-7a2e1332.js} +5 -6
  60. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-53ff464f.js → OrCardCollection.vue_vue_type_script_lang-7d15b872.js} +3 -3
  61. package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-188ca513.js → OrCarousel.vue_vue_type_script_lang-6976844a.js} +1 -7
  62. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-ba11d80f.js → OrCheckbox.vue_vue_type_script_lang-11b16d93.js} +3 -4
  63. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-75c6053a.js → OrCheckbox.vue_vue_type_script_lang-1cf06290.js} +3 -4
  64. package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-528dd4d5.js → OrCheckboxTree.vue_vue_type_script_lang-4042ef27.js} +4 -5
  65. package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-211e03a1.js → OrChips.vue_vue_type_script_lang-d4bb44eb.js} +2 -4
  66. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ea34c576.js → OrCode.vue_vue_type_script_lang-5397df6a.js} +199 -265
  67. package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-45b18baf.js → OrCollapse.vue_vue_type_script_lang-5137ca99.js} +4 -6
  68. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-cb05ea27.js → OrConfirm.vue_vue_type_script_lang-5ee20884.js} +6 -7
  69. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-64d9dd5f.js → OrConfirm.vue_vue_type_script_lang-89febea7.js} +7 -8
  70. package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-2dec05d3.js → OrDatePicker.vue_vue_type_script_lang-8c1c9c3e.js} +3 -3
  71. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-6fd7c75e.js → OrDateTimePicker.vue_vue_type_script_lang-8ff54abd.js} +3 -5
  72. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-365d6597.js → OrDateTimePicker.vue_vue_type_script_lang-cba80c1c.js} +3 -3
  73. package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c42a6517.js → OrDateTimePickerMonthSelect-a9634fe9.js} +5 -6
  74. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-fb99a3ea.js → OrIconButton.vue_vue_type_script_lang-96cb5b59.js} +3 -4
  75. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-e30d0a1f.js → OrIconButton.vue_vue_type_script_lang-c2534846.js} +1 -1
  76. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-aee9bc3b.js → OrInlineInput.vue_vue_type_script_lang-a8c0670a.js} +1 -1
  77. package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-869c7772.js → OrInlineTextEdit.vue_vue_type_script_lang-45987769.js} +5 -6
  78. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-82570af3.js → OrInlineTextarea.vue_vue_type_script_lang-03708ef8.js} +1 -1
  79. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-4067879f.js → OrInput.vue_vue_type_script_lang-ad995b35.js} +1 -1
  80. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-75e02556.js → OrInput.vue_vue_type_script_lang-f9fef480.js} +1 -1
  81. package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-47bafed1.js → OrList.vue_vue_type_script_lang-2c7537cc.js} +6 -7
  82. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-006e0106.js → OrListOfInputs.vue_vue_type_script_lang-009f62a5.js} +3 -3
  83. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-50c154c4.js → OrMenu.vue_vue_type_script_lang-d3ea7d1e.js} +6 -12
  84. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-08019fc7.js → OrModal.vue_vue_type_script_lang-07955a9f.js} +2 -2
  85. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-ae842e5b.js → OrModal.vue_vue_type_script_lang-c53617ae.js} +21 -102
  86. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-81fca13f.js → OrNotification.vue_vue_type_script_lang-5a62577f.js} +1 -1
  87. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-cf2e272c.js → OrNotification.vue_vue_type_script_lang-efb05bb2.js} +1 -1
  88. package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-55c5ea8f.js → OrNumberInput.vue_vue_type_script_lang-1d469d1f.js} +4 -5
  89. package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-fe2d0395.js → OrOverflowMenu.vue_vue_type_script_lang-ba50133f.js} +5 -6
  90. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a1b05723.js → OrPagination.vue_vue_type_script_lang-60000de8.js} +1 -1
  91. package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-1f5d2a91.js → OrPassword.vue_vue_type_script_lang-37f52611.js} +5 -6
  92. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-f159bc50.js → OrPopover.vue_vue_type_script_lang-65598970.js} +5 -9
  93. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-e1617a0e.js → OrRadio.vue_vue_type_script_lang-cc11200c.js} +3 -4
  94. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0d161f08.js → OrSearch.vue_vue_type_script_lang-2726e332.js} +1 -1
  95. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-7ac93e50.js → OrSearch.vue_vue_type_script_lang-bcb935c3.js} +5 -6
  96. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-ed0d9fe7.js → OrSegmentedControl.vue_vue_type_script_lang-d1b4694c.js} +1 -3
  97. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9ebf93f2.js → OrSelect.vue_vue_type_script_lang-c232523a.js} +8 -12
  98. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-29a48259.js → OrSelect.vue_vue_type_script_lang-c82d8f58.js} +4 -8
  99. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-e2579a69.js → OrSidebar.vue_vue_type_script_lang-0f22b364.js} +4 -5
  100. package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-d230260e.js → OrStepper.vue_vue_type_script_lang-975a4df6.js} +1 -1
  101. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-c986f062.js → OrSwitch.vue_vue_type_script_lang-1c079a74.js} +3 -4
  102. package/dist/bundled/v3/{OrTabHeaderItem.vue_vue_type_script_lang-29f331ec.js → OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js} +3 -4
  103. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-5836b8bd.js → OrTabs.vue_vue_type_script_lang-06a89286.js} +5 -6
  104. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b6d7c643.js → OrTabs.vue_vue_type_script_lang-ff032e95.js} +5 -9
  105. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-32301d9c.js → OrTag.vue_vue_type_script_lang-e3ba4ecb.js} +1 -1
  106. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-048cb245.js → OrTextarea.vue_vue_type_script_lang-1236e04a.js} +1 -1
  107. package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-dad835c3.js → OrTextbox.vue_vue_type_script_lang-812f302d.js} +6 -7
  108. package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-7e1bbe0e.js → OrTimePicker.vue_vue_type_script_lang-34c2901e.js} +2 -2
  109. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-0a4977d5.js → OrToastContainer.vue_vue_type_script_lang-16a49a54.js} +3 -6
  110. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-9ec302b4.js → OrTooltip.vue_vue_type_script_lang-cd7c37c3.js} +1 -1
  111. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +4 -8
  112. package/dist/bundled/v3/components/OrAvatar/index.js +1 -1
  113. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +2 -2
  114. package/dist/bundled/v3/components/OrAvatarV3/index.js +1 -1
  115. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +3 -3
  116. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -2
  117. package/dist/bundled/v3/components/OrButton/OrButton.js +1 -1
  118. package/dist/bundled/v3/components/OrButtonV2/OrButton.js +3 -3
  119. package/dist/bundled/v3/components/OrButtonV2/index.js +2 -2
  120. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +6 -6
  121. package/dist/bundled/v3/components/OrCardCollection/index.js +5 -5
  122. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +10 -10
  123. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +9 -9
  124. package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +2 -2
  125. package/dist/bundled/v3/components/OrCarousel/index.js +1 -1
  126. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +4 -8
  127. package/dist/bundled/v3/components/OrCheckbox/index.js +1 -1
  128. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +5 -6
  129. package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +2 -2
  130. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
  131. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
  132. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +3 -5
  133. package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -1
  134. package/dist/bundled/v3/components/OrChip/OrChip.js +3 -5
  135. package/dist/bundled/v3/components/OrChip/index.js +1 -1
  136. package/dist/bundled/v3/components/OrChips/OrChips.js +3 -3
  137. package/dist/bundled/v3/components/OrChips/index.js +2 -2
  138. package/dist/bundled/v3/components/OrCode/OrCode.js +6 -6
  139. package/dist/bundled/v3/components/OrCode/index.js +5 -5
  140. package/dist/bundled/v3/components/OrCode/lang.js +2 -2
  141. package/dist/bundled/v3/components/OrCode/theme.js +1 -1
  142. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +2 -2
  143. package/dist/bundled/v3/components/OrCollapse/index.js +1 -1
  144. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -5
  145. package/dist/bundled/v3/components/OrColorPicker/index.js +1 -1
  146. package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +1 -2
  147. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +8 -8
  148. package/dist/bundled/v3/components/OrConfirm/index.js +7 -7
  149. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +9 -9
  150. package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -8
  151. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +9 -9
  152. package/dist/bundled/v3/components/OrDatePickerV3/index.js +8 -8
  153. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +5 -7
  154. package/dist/bundled/v3/components/OrDateTimePicker/index.js +3 -3
  155. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +9 -9
  156. package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +8 -8
  157. package/dist/bundled/v3/components/OrIcon/OrIcon.js +2 -6
  158. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +3 -3
  159. package/dist/bundled/v3/components/OrIconButtonV2/index.js +1 -1
  160. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +6 -6
  161. package/dist/bundled/v3/components/OrIconButtonV3/index.js +5 -5
  162. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -13
  163. package/dist/bundled/v3/components/OrInlineInputV3/index.js +6 -6
  164. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +12 -28
  165. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +3 -3
  166. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -13
  167. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +6 -6
  168. package/dist/bundled/v3/components/OrInput/OrInput.js +6 -12
  169. package/dist/bundled/v3/components/OrInput/index.js +2 -2
  170. package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -7
  171. package/dist/bundled/v3/components/OrInputV3/index.js +6 -6
  172. package/dist/bundled/v3/components/OrList/OrList.js +4 -4
  173. package/dist/bundled/v3/components/OrList/index.js +3 -3
  174. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +54 -63
  175. package/dist/bundled/v3/components/OrListOfInputs/index.js +6 -6
  176. package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +6 -8
  177. package/dist/bundled/v3/components/OrMenuV3/index.js +4 -4
  178. package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
  179. package/dist/bundled/v3/components/OrModal/index.js +2 -2
  180. package/dist/bundled/v3/components/OrModalV3/OrModal.js +7 -7
  181. package/dist/bundled/v3/components/OrModalV3/index.js +6 -6
  182. package/dist/bundled/v3/components/OrNotification/OrNotification.js +3 -3
  183. package/dist/bundled/v3/components/OrNotification/index.js +2 -2
  184. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +7 -7
  185. package/dist/bundled/v3/components/OrNotificationV3/index.js +6 -6
  186. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +4 -4
  187. package/dist/bundled/v3/components/OrNumberInput/index.js +3 -3
  188. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +4 -4
  189. package/dist/bundled/v3/components/OrOverflowMenu/index.js +3 -3
  190. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
  191. package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
  192. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +6 -6
  193. package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -5
  194. package/dist/bundled/v3/components/OrPassword/OrPassword.js +5 -5
  195. package/dist/bundled/v3/components/OrPassword/index.js +4 -4
  196. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +4 -4
  197. package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -3
  198. package/dist/bundled/v3/components/OrRadio/OrRadio.js +3 -5
  199. package/dist/bundled/v3/components/OrRadio/index.js +1 -1
  200. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +3 -4
  201. package/dist/bundled/v3/components/OrSearch/OrSearch.js +5 -5
  202. package/dist/bundled/v3/components/OrSearch/index.js +4 -4
  203. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -8
  204. package/dist/bundled/v3/components/OrSearchV3/index.js +7 -7
  205. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +2 -2
  206. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +1 -1
  207. package/dist/bundled/v3/components/OrSelect/OrSelect.js +4 -4
  208. package/dist/bundled/v3/components/OrSelect/index.js +3 -3
  209. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +10 -10
  210. package/dist/bundled/v3/components/OrSelectV3/index.js +9 -9
  211. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -7
  212. package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -6
  213. package/dist/bundled/v3/components/OrSlider/OrSlider.js +5 -17
  214. package/dist/bundled/v3/components/OrSlider/index.js +1 -1
  215. package/dist/bundled/v3/components/OrStepper/OrStepper.js +3 -3
  216. package/dist/bundled/v3/components/OrStepper/index.js +2 -2
  217. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +3 -5
  218. package/dist/bundled/v3/components/OrSwitch/index.js +1 -1
  219. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +3 -5
  220. package/dist/bundled/v3/components/OrTabHeaderItem/index.js +1 -1
  221. package/dist/bundled/v3/components/OrTabs/OrTabs.js +3 -3
  222. package/dist/bundled/v3/components/OrTabs/index.js +2 -2
  223. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -6
  224. package/dist/bundled/v3/components/OrTabsV3/index.js +5 -5
  225. package/dist/bundled/v3/components/OrTag/OrTag.js +3 -5
  226. package/dist/bundled/v3/components/OrTag/index.js +1 -1
  227. package/dist/bundled/v3/components/OrTagV3/OrTag.js +7 -7
  228. package/dist/bundled/v3/components/OrTagV3/index.js +6 -6
  229. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +6 -12
  230. package/dist/bundled/v3/components/OrTextarea/index.js +2 -2
  231. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +10 -22
  232. package/dist/bundled/v3/components/OrTextbox/index.js +3 -3
  233. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +7 -7
  234. package/dist/bundled/v3/components/OrTimePickerV3/index.js +6 -6
  235. package/dist/bundled/v3/components/OrToast/OrToast.js +3 -5
  236. package/dist/bundled/v3/components/OrToast/composable/useToast.js +5 -10
  237. package/dist/bundled/v3/components/OrToast/index.js +2 -2
  238. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +4 -4
  239. package/dist/bundled/v3/components/OrToastContainer/index.js +2 -2
  240. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -7
  241. package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -6
  242. package/dist/bundled/v3/components/OrToastV3/OrToast.js +6 -8
  243. package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +5 -10
  244. package/dist/bundled/v3/components/OrToastV3/index.js +6 -6
  245. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +2 -6
  246. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +5 -5
  247. package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -4
  248. package/dist/bundled/v3/components/index.js +66 -66
  249. package/dist/bundled/v3/hooks/useElevation.js +1 -2
  250. package/dist/bundled/v3/hooks/useOverflow.js +4 -5
  251. package/dist/bundled/v3/hooks/useToggle.js +1 -2
  252. package/dist/bundled/{v2/index-e0b25cea.js → v3/index-6976c52a.js} +715 -1229
  253. package/dist/bundled/v3/index.js +66 -66
  254. package/dist/bundled/{v2/lang-973a418e.js → v3/lang-02d2bb2d.js} +196 -275
  255. package/dist/bundled/v3/utils/functions/color.js +1 -2
  256. package/dist/bundled/v3/utils/functions/flattenDeep.js +1 -2
  257. package/dist/esm/v2/{OrAvatar-3df48865.js → OrAvatar-12b0e276.js} +1 -1
  258. package/dist/esm/v2/{OrBottomSheet-6b875223.js → OrBottomSheet-0938dbde.js} +5 -9
  259. package/dist/esm/v2/{OrButton-dbf0efe7.js → OrButton-4e532ddb.js} +1 -1
  260. package/dist/esm/v2/OrButton-549e8852.js +195 -0
  261. package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_styles.0-48c5883e.js +106 -0
  262. package/dist/esm/v2/{OrCardCollection-fe8a1a88.js → OrCardCollection-9bf513b7.js} +7 -8
  263. package/dist/esm/v2/{OrCardCollection-7a8cd067.js → OrCardCollection-ead1d063.js} +4 -4
  264. package/dist/esm/v2/{OrCarousel-5c2b2d10.js → OrCarousel-e0c2e387.js} +1 -7
  265. package/dist/esm/v2/{OrCheckbox-59332f84.js → OrCheckbox-60e4456b.js} +3 -4
  266. package/dist/esm/v2/{OrCheckbox-03e5eaff.js → OrCheckbox-7b98fc08.js} +3 -4
  267. package/dist/esm/v2/{OrCheckboxTree-df80d4ab.js → OrCheckboxTree-85f8ec89.js} +5 -6
  268. package/dist/esm/v2/{OrCode-0288dd2d.js → OrCode-e54e09f7.js} +7 -8
  269. package/dist/esm/v2/{OrCollapse-57c64292.js → OrCollapse-50e3914c.js} +4 -6
  270. package/dist/esm/v2/{OrColorPicker-ca470d10.js → OrColorPicker-fa92b4fa.js} +1 -2
  271. package/dist/esm/v2/{OrConfirm-b62d9ce4.js → OrConfirm-5d5dd9bc.js} +7 -8
  272. package/dist/esm/v2/{OrConfirm-09bb952d.js → OrConfirm-d1572223.js} +5 -6
  273. package/dist/esm/v2/{OrDatePicker-8603b729.js → OrDatePicker-ff4cebfb.js} +3 -3
  274. package/dist/esm/v2/{OrDateTimePicker-77ef1975.js → OrDateTimePicker-6e2853ec.js} +4 -4
  275. package/dist/esm/v2/{OrDateTimePicker-f270e639.js → OrDateTimePicker-da3d6d4d.js} +3 -3
  276. package/dist/esm/v2/{OrDateTimePickerMonthSelect-58303f9d.js → OrDateTimePickerMonthSelect-7803ed9e.js} +6 -7
  277. package/dist/esm/v2/{OrIconButton-e13b8108.js → OrIconButton-0ec2cda6.js} +2 -2
  278. package/dist/esm/v2/{OrIconButton-83608cbc.js → OrIconButton-23972f7d.js} +1 -1
  279. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-277ce06c.js +205 -0
  280. package/dist/esm/v2/{OrInlineInput-3ad8d3e5.js → OrInlineInput-7a60a995.js} +1 -1
  281. package/dist/esm/v2/{OrInlineTextEdit-a129aaf1.js → OrInlineTextEdit-9541b625.js} +7 -8
  282. package/dist/esm/v2/{OrInlineTextarea-968008cc.js → OrInlineTextarea-56d8f558.js} +1 -1
  283. package/dist/esm/v2/{OrInput-d73d9322.js → OrInput-884b6686.js} +1 -1
  284. package/dist/esm/v2/{OrInput-bc2371b6.js → OrInput-c005a759.js} +1 -1
  285. package/dist/esm/v2/{OrList-7de293f5.js → OrList-61c7b8ea.js} +7 -8
  286. package/dist/esm/v2/{OrListOfInputs-fa926159.js → OrListOfInputs-e1b09290.js} +5 -5
  287. package/dist/esm/v2/{OrMenu-2f823afc.js → OrMenu-55befbc8.js} +6 -12
  288. package/dist/esm/v2/{OrModal-4d570c2f.js → OrModal-b0a470f9.js} +2 -2
  289. package/dist/esm/v2/{OrModal-3f09ae47.js → OrModal-b9cfb8ec.js} +6 -7
  290. package/dist/esm/v2/{OrNotification-855e31ad.js → OrNotification-4497b02f.js} +1 -1
  291. package/dist/esm/v2/{OrNotification-bfa97981.js → OrNotification-fdb88eec.js} +3 -3
  292. package/dist/esm/v2/{OrNumberInput-5b1135df.js → OrNumberInput-eb0e7087.js} +4 -5
  293. package/dist/esm/v2/{OrOverflowMenu-13fac7a3.js → OrOverflowMenu-83540c76.js} +7 -8
  294. package/dist/esm/v2/{OrOverlay-2b61ec26.js → OrOverlay-b1609eef.js} +1 -1
  295. package/dist/esm/v2/{OrPagination-a333b8a2.js → OrPagination-67b30f14.js} +2 -2
  296. package/dist/esm/v2/{OrPassword-82877067.js → OrPassword-022e10fd.js} +8 -9
  297. package/dist/esm/v2/{OrPopover-d7fc7c17.js → OrPopover-c902e2fd.js} +6 -10
  298. package/dist/esm/v2/{OrRadio-f53c0944.js → OrRadio-514e8de8.js} +3 -4
  299. package/dist/esm/v2/{OrSearch-330e9af0.js → OrSearch-620d5d76.js} +7 -8
  300. package/dist/esm/v2/{OrSearch-d5202cd2.js → OrSearch-dea30353.js} +1 -1
  301. package/dist/esm/v2/{OrSelect-c5e6f9ee.js → OrSelect-7266296e.js} +9 -13
  302. package/dist/esm/v2/{OrSelect-22eea9cc.js → OrSelect-d887118b.js} +1 -1
  303. package/dist/esm/v2/{OrSidebar-00b1be87.js → OrSidebar-82a4c03f.js} +4 -5
  304. package/dist/esm/v2/{OrSidebarCollapseButton-ace90e38.js → OrSidebarCollapseButton-c41c688a.js} +1 -1
  305. package/dist/esm/v2/{OrStepper-2ae3fc21.js → OrStepper-b00f7531.js} +2 -2
  306. package/dist/esm/v2/{OrSwitch-e7fe2b86.js → OrSwitch-cd24ee40.js} +3 -4
  307. package/dist/esm/v2/{OrTabHeaderItem-46947417.js → OrTabHeaderItem-6a08756e.js} +3 -4
  308. package/dist/esm/v2/{OrTabs-1b314eeb.js → OrTabs-12138346.js} +5 -6
  309. package/dist/esm/v2/{OrTabs-c383bde4.js → OrTabs-a8008116.js} +6 -10
  310. package/dist/esm/v2/{OrTag-a36ef302.js → OrTag-213bc082.js} +1 -1
  311. package/dist/esm/v2/{OrTag-8ded4261.js → OrTag-6349049b.js} +1 -1
  312. package/dist/esm/v2/{OrTextarea-226ab7a2.js → OrTextarea-724a4d6f.js} +1 -1
  313. package/dist/esm/v2/{OrTextbox-90badc95.js → OrTextbox-0373bd6a.js} +9 -10
  314. package/dist/esm/v2/{OrTimePicker-fc6fa5ab.js → OrTimePicker-038ceb81.js} +2 -2
  315. package/dist/esm/v2/{OrToastContainer-2f530752.js → OrToastContainer-1625b803.js} +4 -4
  316. package/dist/esm/v2/{OrTooltip-6add8ee9.js → OrTooltip-b7290ed1.js} +1 -1
  317. package/dist/esm/{v3/color-40b7fe6b.js → v2/color-1f348774.js} +1 -2
  318. package/dist/esm/v2/components/index.js +66 -66
  319. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -2
  320. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
  321. package/dist/esm/v2/components/or-button/index.js +1 -1
  322. package/dist/esm/v2/components/or-button-v2/index.js +4 -4
  323. package/dist/esm/v2/components/or-card-collection/index.js +7 -7
  324. package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -10
  325. package/dist/esm/v2/components/or-carousel/index.js +1 -1
  326. package/dist/esm/v2/components/or-checkbox/index.js +1 -1
  327. package/dist/esm/v2/components/or-checkbox-group-v3/index.js +6 -7
  328. package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -3
  329. package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
  330. package/dist/esm/v2/components/or-code/index.js +5 -5
  331. package/dist/esm/v2/components/or-collapse/index.js +1 -1
  332. package/dist/esm/v2/components/or-color-picker/index.js +1 -1
  333. package/dist/esm/v2/components/or-confirm/index.js +8 -8
  334. package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
  335. package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -9
  336. package/dist/esm/v2/components/or-date-time-picker/index.js +5 -5
  337. package/dist/esm/v2/components/or-date-time-picker-v3/index.js +9 -9
  338. package/dist/esm/v2/components/or-icon-button-v2/index.js +2 -2
  339. package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
  340. package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
  341. package/dist/esm/v2/components/or-inline-text-edit/index.js +5 -5
  342. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
  343. package/dist/esm/v2/components/or-input/index.js +2 -2
  344. package/dist/esm/v2/components/or-input-v3/index.js +7 -7
  345. package/dist/esm/v2/components/or-list/index.js +5 -5
  346. package/dist/esm/v2/components/or-list-of-inputs/index.js +8 -8
  347. package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
  348. package/dist/esm/v2/components/or-modal/index.js +4 -4
  349. package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
  350. package/dist/esm/v2/components/or-notification/index.js +4 -4
  351. package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
  352. package/dist/esm/v2/components/or-number-input/index.js +3 -3
  353. package/dist/esm/v2/components/or-overflow-menu/index.js +5 -5
  354. package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
  355. package/dist/esm/v2/components/or-pagination-v3/index.js +6 -6
  356. package/dist/esm/v2/components/or-password/index.js +7 -7
  357. package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
  358. package/dist/esm/v2/components/or-radio/index.js +1 -1
  359. package/dist/esm/v2/components/or-radio-group-v3/index.js +3 -4
  360. package/dist/esm/v2/components/or-search/index.js +6 -6
  361. package/dist/esm/v2/components/or-search-v3/index.js +8 -8
  362. package/dist/esm/v2/components/or-select/index.js +2 -2
  363. package/dist/esm/v2/components/or-select-v3/index.js +11 -11
  364. package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -8
  365. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -7
  366. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
  367. package/dist/esm/v2/components/or-stepper/index.js +4 -4
  368. package/dist/esm/v2/components/or-switch/index.js +1 -1
  369. package/dist/esm/v2/components/or-tab-header-item/index.js +1 -1
  370. package/dist/esm/v2/components/or-tabs/index.js +2 -2
  371. package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
  372. package/dist/esm/v2/components/or-tag/index.js +2 -2
  373. package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
  374. package/dist/esm/v2/components/or-textarea/index.js +2 -2
  375. package/dist/esm/v2/components/or-textbox/index.js +6 -6
  376. package/dist/esm/v2/components/or-time-picker-v3/index.js +7 -7
  377. package/dist/esm/v2/components/or-toast/composable/index.js +1 -1
  378. package/dist/esm/v2/components/or-toast/index.js +5 -5
  379. package/dist/esm/v2/components/or-toast/or-toast-container/index.js +5 -5
  380. package/dist/esm/v2/components/or-toast-v3/composable/index.js +1 -1
  381. package/dist/esm/v2/components/or-toast-v3/index.js +8 -8
  382. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +8 -8
  383. package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
  384. package/dist/esm/v2/{flattenDeep-fe0af413.js → flattenDeep-e7a8b995.js} +1 -2
  385. package/dist/esm/v2/hooks/index.js +3 -3
  386. package/dist/esm/v2/index.js +67 -67
  387. package/dist/esm/v2/{types-8fffa58d.js → types-b674518e.js} +5 -8
  388. package/dist/esm/{v3/useElevation-b5a49746.js → v2/useElevation-df91fa50.js} +1 -2
  389. package/dist/esm/{v3/useOverflow-c856b7b7.js → v2/useOverflow-af6161c8.js} +4 -5
  390. package/dist/esm/{v3/useToast-a1332cc2.js → v2/useToast-0665462d.js} +5 -10
  391. package/dist/esm/{v3/useToast-b5ea5cb2.js → v2/useToast-4fbe0e5a.js} +5 -10
  392. package/dist/esm/{v3/useToggle-c04fc920.js → v2/useToggle-29e4d7c7.js} +1 -2
  393. package/dist/esm/v3/{OrAvatar-8a73221d.js → OrAvatar-14a5c5f0.js} +3 -7
  394. package/dist/esm/v3/{OrAvatar-3ccb5f60.js → OrAvatar-1ebca2e8.js} +1 -1
  395. package/dist/esm/v3/{OrBottomSheet-67a0d6b5.js → OrBottomSheet-6538d9c3.js} +5 -9
  396. package/dist/esm/v3/OrButton-f8b10d79.js +142 -0
  397. package/dist/esm/v3/OrButton-fca9019a.js +162 -0
  398. package/dist/esm/v3/{OrCardCollection-d217f7af.js → OrCardCollection-b7d73647.js} +4 -4
  399. package/dist/esm/v3/{OrCardCollection-d79dac85.js → OrCardCollection-ffbb9eda.js} +7 -8
  400. package/dist/esm/v3/{OrCarousel-4fb775f8.js → OrCarousel-03597740.js} +2 -8
  401. package/dist/esm/v3/{OrCheckbox-56d7b6eb.js → OrCheckbox-247ce27b.js} +4 -7
  402. package/dist/esm/v3/{OrCheckbox-ab457011.js → OrCheckbox-7efd5f26.js} +6 -11
  403. package/dist/esm/v3/{OrCheckboxTree-4a85b9b3.js → OrCheckboxTree-ed8b5f53.js} +5 -6
  404. package/dist/esm/v3/{OrChip-1b479371.js → OrChip-97a85e10.js} +2 -4
  405. package/dist/esm/v3/{OrChips-544a35b3.js → OrChips-64b86761.js} +2 -4
  406. package/dist/esm/v3/{OrCode-48281fc0.js → OrCode-6f2e4d99.js} +6 -7
  407. package/dist/esm/v3/{OrCollapse-2b31de04.js → OrCollapse-37a52e8f.js} +4 -6
  408. package/dist/esm/v3/{OrColorPicker-ffaaf14f.js → OrColorPicker-9a149e6b.js} +2 -5
  409. package/dist/esm/v3/{OrConfirm-e57bd854.js → OrConfirm-14cefbad.js} +5 -6
  410. package/dist/esm/v3/{OrConfirm-1a94bdea.js → OrConfirm-ab04201f.js} +7 -8
  411. package/dist/esm/v3/{OrDatePicker-2533a646.js → OrDatePicker-748c8f09.js} +3 -3
  412. package/dist/esm/v3/{OrDateTimePicker-2af19719.js → OrDateTimePicker-014f7819.js} +5 -9
  413. package/dist/esm/v3/{OrDateTimePicker-94776158.js → OrDateTimePicker-10f2eb69.js} +3 -3
  414. package/dist/esm/v3/{OrDateTimePickerMonthSelect-13300c6e.js → OrDateTimePickerMonthSelect-7e13dcca.js} +6 -7
  415. package/dist/esm/v3/{OrIcon-b566a871.js → OrIcon-925c5413.js} +3 -7
  416. package/dist/esm/v3/{OrIconButton-025fb2de.js → OrIconButton-46b3c1e2.js} +2 -2
  417. package/dist/esm/v3/OrIconButton-5387fd59.js +222 -0
  418. package/dist/esm/v3/{OrInlineInput-11ed65f7.js → OrInlineInput-63b1d245.js} +3 -7
  419. package/dist/esm/v3/{OrInlineTextEdit-4f4ecba4.js → OrInlineTextEdit-6f97629f.js} +14 -31
  420. package/dist/esm/v3/{OrInlineTextarea-05769204.js → OrInlineTextarea-d03f81c4.js} +3 -7
  421. package/dist/esm/v3/{OrInput-53a32706.js → OrInput-0dbd5a01.js} +4 -10
  422. package/dist/esm/v3/{OrInput-c7763e63.js → OrInput-cc1991ff.js} +1 -1
  423. package/dist/esm/v3/{OrList-0543a645.js → OrList-b8799cf4.js} +7 -8
  424. package/dist/esm/v3/{OrListOfInputs-2fc8087c.js → OrListOfInputs-16ba8358.js} +52 -61
  425. package/dist/esm/v3/{OrMenu-054e0d2e.js → OrMenu-03a8a492.js} +7 -15
  426. package/dist/esm/v3/{OrModal-0173d0ff.js → OrModal-28d273a8.js} +2 -2
  427. package/dist/esm/v3/{OrModal-c420594e.js → OrModal-e6513e8c.js} +5 -6
  428. package/dist/esm/v3/{OrNotification-26bdb1ca.js → OrNotification-16190cf5.js} +1 -1
  429. package/dist/esm/v3/{OrNotification-9a696585.js → OrNotification-4c56f7ea.js} +3 -3
  430. package/dist/esm/v3/{OrNumberInput-a80859d1.js → OrNumberInput-dca5e850.js} +4 -5
  431. package/dist/esm/v3/{OrOverflowMenu-4b2d2950.js → OrOverflowMenu-fe77e22c.js} +5 -6
  432. package/dist/esm/v3/{OrOverlay-bf72f582.js → OrOverlay-d63d39c3.js} +1 -1
  433. package/dist/esm/v3/{OrPagination-a7fa36ad.js → OrPagination-6bf44eec.js} +2 -2
  434. package/dist/esm/v3/{OrPassword-35c5775f.js → OrPassword-9c8a458d.js} +7 -8
  435. package/dist/esm/v3/{OrPopover-986f867f.js → OrPopover-e34e8f6c.js} +6 -10
  436. package/dist/esm/v3/{OrRadio-dfd0f0c9.js → OrRadio-c3ab11f2.js} +4 -7
  437. package/dist/esm/v3/{OrSearch-bb3a3acc.js → OrSearch-7277ebfd.js} +1 -1
  438. package/dist/esm/v3/{OrSearch-f4ad73db.js → OrSearch-c4caf04e.js} +6 -7
  439. package/dist/esm/v3/{OrSegmentedControl-359fbf3a.js → OrSegmentedControl-4587c7a9.js} +1 -3
  440. package/dist/esm/v3/{OrSelect-93b70fcc.js → OrSelect-9c7044f8.js} +9 -13
  441. package/dist/esm/v3/{OrSelect-6ff34196.js → OrSelect-d8a78242.js} +6 -10
  442. package/dist/esm/v3/{OrSidebar-fede2b0e.js → OrSidebar-0f4629bf.js} +4 -5
  443. package/dist/esm/v3/{OrSidebarCollapseButton-5c64c1b0.js → OrSidebarCollapseButton-a384cd37.js} +1 -1
  444. package/dist/esm/v3/{OrSlider-c3778aa7.js → OrSlider-80e0f2e6.js} +4 -16
  445. package/dist/esm/v3/{OrStepper-fedc1cca.js → OrStepper-3a586401.js} +2 -2
  446. package/dist/esm/v3/{OrSwitch-3fca7e24.js → OrSwitch-c333ee32.js} +4 -7
  447. package/dist/esm/v3/{OrTabHeaderItem-3bb0b711.js → OrTabHeaderItem-d668cc59.js} +4 -7
  448. package/dist/esm/v3/{OrTabs-b2bbc82a.js → OrTabs-9e29eeec.js} +6 -10
  449. package/dist/esm/v3/{OrTabs-35a376a3.js → OrTabs-d3812c11.js} +5 -6
  450. package/dist/esm/v3/{OrTag-930d11c3.js → OrTag-b508f25f.js} +1 -1
  451. package/dist/esm/v3/{OrTag-2d9eacf8.js → OrTag-e7adb078.js} +3 -5
  452. package/dist/esm/v3/{OrTextarea-f6722edc.js → OrTextarea-de1ecb0f.js} +4 -10
  453. package/dist/esm/v3/{OrTextbox-6e585202.js → OrTextbox-f7388a30.js} +14 -27
  454. package/dist/esm/v3/{OrTimePicker-cd206930.js → OrTimePicker-2fe3c573.js} +2 -2
  455. package/dist/esm/v3/{OrToastContainer-24839efd.js → OrToastContainer-94ba2803.js} +4 -6
  456. package/dist/esm/v3/{OrTooltip-89ce98e8.js → OrTooltip-618ce7c9.js} +2 -6
  457. package/dist/esm/v3/{OrTooltip-ace3359f.js → OrTooltip-e3c85390.js} +1 -1
  458. package/dist/esm/{v2/color-40b7fe6b.js → v3/color-1f348774.js} +1 -2
  459. package/dist/esm/v3/components/index.js +71 -71
  460. package/dist/esm/v3/components/or-avatar/index.js +3 -3
  461. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -2
  462. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
  463. package/dist/esm/v3/components/or-button/index.js +1 -1
  464. package/dist/esm/v3/components/or-button-v2/index.js +4 -4
  465. package/dist/esm/v3/components/or-card-collection/index.js +8 -8
  466. package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -10
  467. package/dist/esm/v3/components/or-carousel/index.js +3 -3
  468. package/dist/esm/v3/components/or-checkbox/index.js +3 -3
  469. package/dist/esm/v3/components/or-checkbox-group-v3/index.js +6 -7
  470. package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -3
  471. package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
  472. package/dist/esm/v3/components/or-chips/index.js +4 -4
  473. package/dist/esm/v3/components/or-chips/or-chip/index.js +3 -3
  474. package/dist/esm/v3/components/or-code/index.js +6 -6
  475. package/dist/esm/v3/components/or-collapse/index.js +1 -1
  476. package/dist/esm/v3/components/or-color-picker/index.js +1 -1
  477. package/dist/esm/v3/components/or-confirm/index.js +8 -8
  478. package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
  479. package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -9
  480. package/dist/esm/v3/components/or-date-time-picker/index.js +6 -6
  481. package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -9
  482. package/dist/esm/v3/components/or-icon/index.js +2 -2
  483. package/dist/esm/v3/components/or-icon-button-v2/index.js +3 -3
  484. package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
  485. package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
  486. package/dist/esm/v3/components/or-inline-text-edit/index.js +6 -6
  487. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
  488. package/dist/esm/v3/components/or-input/index.js +2 -2
  489. package/dist/esm/v3/components/or-input-v3/index.js +7 -7
  490. package/dist/esm/v3/components/or-list/index.js +5 -5
  491. package/dist/esm/v3/components/or-list-of-inputs/index.js +8 -8
  492. package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
  493. package/dist/esm/v3/components/or-modal/index.js +5 -5
  494. package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
  495. package/dist/esm/v3/components/or-notification/index.js +5 -5
  496. package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
  497. package/dist/esm/v3/components/or-number-input/index.js +3 -3
  498. package/dist/esm/v3/components/or-overflow-menu/index.js +5 -5
  499. package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
  500. package/dist/esm/v3/components/or-pagination-v3/index.js +6 -6
  501. package/dist/esm/v3/components/or-password/index.js +8 -8
  502. package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
  503. package/dist/esm/v3/components/or-radio/index.js +1 -1
  504. package/dist/esm/v3/components/or-radio-group-v3/index.js +3 -4
  505. package/dist/esm/v3/components/or-search/index.js +7 -7
  506. package/dist/esm/v3/components/or-search-v3/index.js +8 -8
  507. package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -1
  508. package/dist/esm/v3/components/or-select/index.js +6 -6
  509. package/dist/esm/v3/components/or-select-v3/index.js +11 -11
  510. package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -8
  511. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -7
  512. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
  513. package/dist/esm/v3/components/or-slider/index.js +3 -3
  514. package/dist/esm/v3/components/or-stepper/index.js +5 -5
  515. package/dist/esm/v3/components/or-switch/index.js +1 -1
  516. package/dist/esm/v3/components/or-tab-header-item/index.js +1 -1
  517. package/dist/esm/v3/components/or-tabs/index.js +2 -2
  518. package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
  519. package/dist/esm/v3/components/or-tag/index.js +4 -4
  520. package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
  521. package/dist/esm/v3/components/or-textarea/index.js +2 -2
  522. package/dist/esm/v3/components/or-textbox/index.js +7 -7
  523. package/dist/esm/v3/components/or-time-picker-v3/index.js +7 -7
  524. package/dist/esm/v3/components/or-toast/composable/index.js +1 -1
  525. package/dist/esm/v3/components/or-toast/index.js +6 -6
  526. package/dist/esm/v3/components/or-toast/or-toast-container/index.js +6 -6
  527. package/dist/esm/v3/components/or-toast-v3/composable/index.js +1 -1
  528. package/dist/esm/v3/components/or-toast-v3/index.js +8 -8
  529. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +8 -8
  530. package/dist/esm/v3/components/or-tooltip/index.js +1 -1
  531. package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
  532. package/dist/esm/v3/{flattenDeep-fe0af413.js → flattenDeep-e7a8b995.js} +1 -2
  533. package/dist/esm/v3/hooks/index.js +3 -3
  534. package/dist/esm/v3/index.js +72 -72
  535. package/dist/esm/v3/{types-b64c7e13.js → types-9034029d.js} +6 -11
  536. package/dist/esm/{v2/useElevation-b5a49746.js → v3/useElevation-df91fa50.js} +1 -2
  537. package/dist/esm/{v2/useOverflow-c856b7b7.js → v3/useOverflow-af6161c8.js} +4 -5
  538. package/dist/esm/{v2/useToast-a1332cc2.js → v3/useToast-0665462d.js} +5 -10
  539. package/dist/esm/{v2/useToast-b5ea5cb2.js → v3/useToast-4fbe0e5a.js} +5 -10
  540. package/dist/esm/{v2/useToggle-c04fc920.js → v3/useToggle-29e4d7c7.js} +1 -2
  541. package/package.json +6 -7
  542. package/dist/esm/v2/OrButton-b4a39652.js +0 -195
  543. package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_styles.0-83b5a752.js +0 -106
  544. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-20b054cc.js +0 -206
  545. package/dist/esm/v3/OrButton-49605f5c.js +0 -162
  546. package/dist/esm/v3/OrButton-d6834ea0.js +0 -142
  547. package/dist/esm/v3/OrIconButton-049a3bd2.js +0 -223
  548. /package/dist/bundled/v2/{index-1301ac7b.js → index-63e094a0.js} +0 -0
  549. /package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-8d7ce473.js → OrAvatar.vue_vue_type_script_lang-623c32a1.js} +0 -0
  550. /package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-2d5de9d4.js → OrAvatar.vue_vue_type_script_lang-6511e348.js} +0 -0
  551. /package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-4f44f547.js → OrButton.vue_vue_type_script_lang-da7f7ed0.js} +0 -0
  552. /package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-185d8d45.js → OrChip.vue_vue_type_script_lang-5a390853.js} +0 -0
  553. /package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-d8588b52.js → OrColorPicker.vue_vue_type_script_lang-3a799e23.js} +0 -0
  554. /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-86c7b93a.js → OrOverlay.vue_vue_type_script_lang-47004a50.js} +0 -0
  555. /package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-7234ab75.js → OrSlider.vue_vue_type_script_lang-45ecddbe.js} +0 -0
  556. /package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-4e98d8a0.js → OrTag.vue_vue_type_script_lang-621e9307.js} +0 -0
  557. /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-45713d6c.js → OrToastContainer.vue_vue_type_script_lang-70cc38be.js} +0 -0
  558. /package/dist/bundled/v3/{index-1301ac7b.js → index-63e094a0.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-e0b25cea.js';
2
- import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-973a418e.js';
1
+ import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-6976c52a.js';
2
+ import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-02d2bb2d.js';
3
3
  import { useElementHover } from '@vueuse/core';
4
4
  import { defineComponent, ref } from 'vue-demi';
5
5
  import script$3 from './components/OrTeleport/OrTeleport.js';
@@ -7,11 +7,11 @@ import { OrCodeLanguages } from './components/OrCode/constants.js';
7
7
  import theme from './components/OrCode/theme.js';
8
8
  import './components/OrIconButtonV2/OrIconButton.js';
9
9
  import './components/OrModal/OrModal.js';
10
- import { s as script$2 } from './OrModal.vue_vue_type_script_lang-ae842e5b.js';
10
+ import { s as script$2 } from './OrModal.vue_vue_type_script_lang-c53617ae.js';
11
11
  import './components/OrError/OrError.js';
12
12
  import './components/OrHint/OrHint.js';
13
13
  import './components/OrLabel/OrLabel.js';
14
- import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-fb99a3ea.js';
14
+ import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-96cb5b59.js';
15
15
  import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
16
16
  import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5d628c6c.js';
17
17
  import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-95601b40.js';
@@ -29,11 +29,10 @@ const toggleComment = target => {
29
29
  return config.line ? toggleLineComment(target) : config.block ? toggleBlockCommentByLine(target) : false;
30
30
  };
31
31
  function command(f, option) {
32
- return _ref => {
33
- let {
34
- state,
35
- dispatch
36
- } = _ref;
32
+ return ({
33
+ state,
34
+ dispatch
35
+ }) => {
37
36
  if (state.readOnly) return false;
38
37
  let tr = f(option, state);
39
38
  if (!tr) return false;
@@ -69,11 +68,10 @@ const SearchMargin = 50;
69
68
  Determines if the given range is block-commented in the given
70
69
  state.
71
70
  */
72
- function findBlockComment(state, _ref2, from, to) {
73
- let {
74
- open,
75
- close
76
- } = _ref2;
71
+ function findBlockComment(state, {
72
+ open,
73
+ close
74
+ }, from, to) {
77
75
  let textBefore = state.sliceDoc(from - SearchMargin, from);
78
76
  let textAfter = state.sliceDoc(to, to + SearchMargin);
79
77
  let spaceBefore = /\s*$/.exec(textBefore)[0].length,
@@ -130,8 +128,7 @@ function selectedLineRanges(state) {
130
128
  }
131
129
  // Performs toggle, comment and uncomment of block comments in
132
130
  // languages that support them.
133
- function changeBlockComment(option, state) {
134
- let ranges = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : state.selection.ranges;
131
+ function changeBlockComment(option, state, ranges = state.selection.ranges) {
135
132
  let tokens = ranges.map(r => getConfig(state, r.from).block);
136
133
  if (!tokens.every(c => c)) return null;
137
134
  let comments = ranges.map((r, i) => findBlockComment(state, tokens[i], r.from, r.to));
@@ -171,8 +168,7 @@ function changeBlockComment(option, state) {
171
168
  return null;
172
169
  }
173
170
  // Performs toggle, comment and uncomment of line comments.
174
- function changeLineComment(option, state) {
175
- let ranges = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : state.selection.ranges;
171
+ function changeLineComment(option, state, ranges = state.selection.ranges) {
176
172
  let lines = [];
177
173
  let prevLine = -1;
178
174
  for (let {
@@ -316,8 +312,7 @@ const historyField_ = /*@__PURE__*/StateField.define({
316
312
  /**
317
313
  Create a history extension with the given configuration.
318
314
  */
319
- function history() {
320
- let config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
315
+ function history(config = {}) {
321
316
  return [historyField_, historyConfig.of(config), EditorView.domEventHandlers({
322
317
  beforeinput(e, view) {
323
318
  let command = e.inputType == "historyUndo" ? undo : e.inputType == "historyRedo" ? redo : null;
@@ -328,11 +323,10 @@ function history() {
328
323
  })];
329
324
  }
330
325
  function cmd(side, selection) {
331
- return function (_ref3) {
332
- let {
333
- state,
334
- dispatch
335
- } = _ref3;
326
+ return function ({
327
+ state,
328
+ dispatch
329
+ }) {
336
330
  if (!selection && state.readOnly) return false;
337
331
  let historyState = state.field(historyField_, false);
338
332
  if (!historyState) return false;
@@ -496,9 +490,7 @@ function mapEvent(event, mapping, extraSelections) {
496
490
  }
497
491
  const joinableUserEvent = /^(input\.type|delete)($|\.)/;
498
492
  class HistoryState {
499
- constructor(done, undone) {
500
- let prevTime = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
501
- let prevUserEvent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
493
+ constructor(done, undone, prevTime = 0, prevUserEvent = undefined) {
502
494
  this.done = done;
503
495
  this.undone = undone;
504
496
  this.prevTime = prevTime;
@@ -603,11 +595,10 @@ function setSel(state, selection) {
603
595
  userEvent: "select"
604
596
  });
605
597
  }
606
- function moveSel(_ref4, how) {
607
- let {
608
- state,
609
- dispatch
610
- } = _ref4;
598
+ function moveSel({
599
+ state,
600
+ dispatch
601
+ }, how) {
611
602
  let selection = updateSel(state.selection, how);
612
603
  if (selection.eq(state.selection)) return false;
613
604
  dispatch(setSel(state, selection));
@@ -797,13 +788,10 @@ function toMatchingBracket(state, dispatch, extend) {
797
788
  Move the selection to the bracket matching the one it is currently
798
789
  on, if any.
799
790
  */
800
- const cursorMatchingBracket = _ref5 => {
801
- let {
802
- state,
803
- dispatch
804
- } = _ref5;
805
- return toMatchingBracket(state, dispatch, false);
806
- };
791
+ const cursorMatchingBracket = ({
792
+ state,
793
+ dispatch
794
+ }) => toMatchingBracket(state, dispatch, false);
807
795
  function extendSel(view, how) {
808
796
  let selection = updateSel(view.state.selection, range => {
809
797
  let head = how(range);
@@ -894,11 +882,10 @@ const selectLineEnd = view => extendSel(view, range => EditorSelection.cursor(vi
894
882
  /**
895
883
  Move the selection to the start of the document.
896
884
  */
897
- const cursorDocStart = _ref7 => {
898
- let {
899
- state,
900
- dispatch
901
- } = _ref7;
885
+ const cursorDocStart = ({
886
+ state,
887
+ dispatch
888
+ }) => {
902
889
  dispatch(setSel(state, {
903
890
  anchor: 0
904
891
  }));
@@ -907,11 +894,10 @@ const cursorDocStart = _ref7 => {
907
894
  /**
908
895
  Move the selection to the end of the document.
909
896
  */
910
- const cursorDocEnd = _ref8 => {
911
- let {
912
- state,
913
- dispatch
914
- } = _ref8;
897
+ const cursorDocEnd = ({
898
+ state,
899
+ dispatch
900
+ }) => {
915
901
  dispatch(setSel(state, {
916
902
  anchor: state.doc.length
917
903
  }));
@@ -920,11 +906,10 @@ const cursorDocEnd = _ref8 => {
920
906
  /**
921
907
  Move the selection head to the start of the document.
922
908
  */
923
- const selectDocStart = _ref9 => {
924
- let {
925
- state,
926
- dispatch
927
- } = _ref9;
909
+ const selectDocStart = ({
910
+ state,
911
+ dispatch
912
+ }) => {
928
913
  dispatch(setSel(state, {
929
914
  anchor: state.selection.main.anchor,
930
915
  head: 0
@@ -934,11 +919,10 @@ const selectDocStart = _ref9 => {
934
919
  /**
935
920
  Move the selection head to the end of the document.
936
921
  */
937
- const selectDocEnd = _ref10 => {
938
- let {
939
- state,
940
- dispatch
941
- } = _ref10;
922
+ const selectDocEnd = ({
923
+ state,
924
+ dispatch
925
+ }) => {
942
926
  dispatch(setSel(state, {
943
927
  anchor: state.selection.main.anchor,
944
928
  head: state.doc.length
@@ -948,11 +932,10 @@ const selectDocEnd = _ref10 => {
948
932
  /**
949
933
  Select the entire document.
950
934
  */
951
- const selectAll = _ref11 => {
952
- let {
953
- state,
954
- dispatch
955
- } = _ref11;
935
+ const selectAll = ({
936
+ state,
937
+ dispatch
938
+ }) => {
956
939
  dispatch(state.update({
957
940
  selection: {
958
941
  anchor: 0,
@@ -965,18 +948,14 @@ const selectAll = _ref11 => {
965
948
  /**
966
949
  Expand the selection to cover entire lines.
967
950
  */
968
- const selectLine = _ref12 => {
969
- let {
970
- state,
971
- dispatch
972
- } = _ref12;
973
- let ranges = selectedLineBlocks(state).map(_ref13 => {
974
- let {
975
- from,
976
- to
977
- } = _ref13;
978
- return EditorSelection.range(from, Math.min(to + 1, state.doc.length));
979
- });
951
+ const selectLine = ({
952
+ state,
953
+ dispatch
954
+ }) => {
955
+ let ranges = selectedLineBlocks(state).map(({
956
+ from,
957
+ to
958
+ }) => EditorSelection.range(from, Math.min(to + 1, state.doc.length)));
980
959
  dispatch(state.update({
981
960
  selection: EditorSelection.create(ranges),
982
961
  userEvent: "select"
@@ -989,11 +968,10 @@ selection. Note that this will only work insofar as the language
989
968
  [provider](https://codemirror.net/6/docs/ref/#language.language) you use builds up a full
990
969
  syntax tree.
991
970
  */
992
- const selectParentSyntax = _ref14 => {
993
- let {
994
- state,
995
- dispatch
996
- } = _ref14;
971
+ const selectParentSyntax = ({
972
+ state,
973
+ dispatch
974
+ }) => {
997
975
  let selection = updateSel(state.selection, range => {
998
976
  var _a;
999
977
  let context = syntaxTree(state).resolveInner(range.head, 1);
@@ -1008,11 +986,10 @@ Simplify the current selection. When multiple ranges are selected,
1008
986
  reduce it to its main range. Otherwise, if the selection is
1009
987
  non-empty, convert it to a cursor selection.
1010
988
  */
1011
- const simplifySelection = _ref15 => {
1012
- let {
1013
- state,
1014
- dispatch
1015
- } = _ref15;
989
+ const simplifySelection = ({
990
+ state,
991
+ dispatch
992
+ }) => {
1016
993
  let cur = state.selection,
1017
994
  selection = null;
1018
995
  if (cur.ranges.length > 1) selection = EditorSelection.create([cur.main]);else if (!cur.main.empty) selection = EditorSelection.create([EditorSelection.cursor(cur.main.head)]);
@@ -1151,11 +1128,10 @@ const deleteToLineStart = view => deleteBy(view, pos => {
1151
1128
  Replace each selection range with a line break, leaving the cursor
1152
1129
  on the line before the break.
1153
1130
  */
1154
- const splitLine = _ref17 => {
1155
- let {
1156
- state,
1157
- dispatch
1158
- } = _ref17;
1131
+ const splitLine = ({
1132
+ state,
1133
+ dispatch
1134
+ }) => {
1159
1135
  if (state.readOnly) return false;
1160
1136
  let changes = state.changeByRange(range => {
1161
1137
  return {
@@ -1176,11 +1152,10 @@ const splitLine = _ref17 => {
1176
1152
  /**
1177
1153
  Flip the characters before and after the cursor(s).
1178
1154
  */
1179
- const transposeChars = _ref18 => {
1180
- let {
1181
- state,
1182
- dispatch
1183
- } = _ref18;
1155
+ const transposeChars = ({
1156
+ state,
1157
+ dispatch
1158
+ }) => {
1184
1159
  if (state.readOnly) return false;
1185
1160
  let changes = state.changeByRange(range => {
1186
1161
  if (!range.empty || range.from == 0 || range.from == state.doc.length) return {
@@ -1268,23 +1243,17 @@ function moveLine(state, dispatch, forward) {
1268
1243
  /**
1269
1244
  Move the selected lines up one line.
1270
1245
  */
1271
- const moveLineUp = _ref19 => {
1272
- let {
1273
- state,
1274
- dispatch
1275
- } = _ref19;
1276
- return moveLine(state, dispatch, false);
1277
- };
1246
+ const moveLineUp = ({
1247
+ state,
1248
+ dispatch
1249
+ }) => moveLine(state, dispatch, false);
1278
1250
  /**
1279
1251
  Move the selected lines down one line.
1280
1252
  */
1281
- const moveLineDown = _ref20 => {
1282
- let {
1283
- state,
1284
- dispatch
1285
- } = _ref20;
1286
- return moveLine(state, dispatch, true);
1287
- };
1253
+ const moveLineDown = ({
1254
+ state,
1255
+ dispatch
1256
+ }) => moveLine(state, dispatch, true);
1288
1257
  function copyLine(state, dispatch, forward) {
1289
1258
  if (state.readOnly) return false;
1290
1259
  let changes = [];
@@ -1307,23 +1276,17 @@ function copyLine(state, dispatch, forward) {
1307
1276
  /**
1308
1277
  Create a copy of the selected lines. Keep the selection in the top copy.
1309
1278
  */
1310
- const copyLineUp = _ref21 => {
1311
- let {
1312
- state,
1313
- dispatch
1314
- } = _ref21;
1315
- return copyLine(state, dispatch, false);
1316
- };
1279
+ const copyLineUp = ({
1280
+ state,
1281
+ dispatch
1282
+ }) => copyLine(state, dispatch, false);
1317
1283
  /**
1318
1284
  Create a copy of the selected lines. Keep the selection in the bottom copy.
1319
1285
  */
1320
- const copyLineDown = _ref22 => {
1321
- let {
1322
- state,
1323
- dispatch
1324
- } = _ref22;
1325
- return copyLine(state, dispatch, true);
1326
- };
1286
+ const copyLineDown = ({
1287
+ state,
1288
+ dispatch
1289
+ }) => copyLine(state, dispatch, true);
1327
1290
  /**
1328
1291
  Delete selected lines.
1329
1292
  */
@@ -1332,11 +1295,10 @@ const deleteLine = view => {
1332
1295
  let {
1333
1296
  state
1334
1297
  } = view,
1335
- changes = state.changes(selectedLineBlocks(state).map(_ref23 => {
1336
- let {
1337
- from,
1338
- to
1339
- } = _ref23;
1298
+ changes = state.changes(selectedLineBlocks(state).map(({
1299
+ from,
1300
+ to
1301
+ }) => {
1340
1302
  if (from > 0) from--;else if (to < state.doc.length) to++;
1341
1303
  return {
1342
1304
  from,
@@ -1380,11 +1342,10 @@ Create a blank, indented line below the current line.
1380
1342
  */
1381
1343
  const insertBlankLine = /*@__PURE__*/newlineAndIndent(true);
1382
1344
  function newlineAndIndent(atEof) {
1383
- return _ref25 => {
1384
- let {
1385
- state,
1386
- dispatch
1387
- } = _ref25;
1345
+ return ({
1346
+ state,
1347
+ dispatch
1348
+ }) => {
1388
1349
  if (state.readOnly) return false;
1389
1350
  let changes = state.changeByRange(range => {
1390
1351
  let {
@@ -1447,11 +1408,10 @@ Auto-indent the selected lines. This uses the [indentation service
1447
1408
  facet](https://codemirror.net/6/docs/ref/#language.indentService) as source for auto-indent
1448
1409
  information.
1449
1410
  */
1450
- const indentSelection = _ref26 => {
1451
- let {
1452
- state,
1453
- dispatch
1454
- } = _ref26;
1411
+ const indentSelection = ({
1412
+ state,
1413
+ dispatch
1414
+ }) => {
1455
1415
  if (state.readOnly) return false;
1456
1416
  let updated = Object.create(null);
1457
1417
  let context = new IndentContext(state, {
@@ -1484,11 +1444,10 @@ const indentSelection = _ref26 => {
1484
1444
  Add a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation to all selected
1485
1445
  lines.
1486
1446
  */
1487
- const indentMore = _ref27 => {
1488
- let {
1489
- state,
1490
- dispatch
1491
- } = _ref27;
1447
+ const indentMore = ({
1448
+ state,
1449
+ dispatch
1450
+ }) => {
1492
1451
  if (state.readOnly) return false;
1493
1452
  dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1494
1453
  changes.push({
@@ -1504,11 +1463,10 @@ const indentMore = _ref27 => {
1504
1463
  Remove a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation from all
1505
1464
  selected lines.
1506
1465
  */
1507
- const indentLess = _ref28 => {
1508
- let {
1509
- state,
1510
- dispatch
1511
- } = _ref28;
1466
+ const indentLess = ({
1467
+ state,
1468
+ dispatch
1469
+ }) => {
1512
1470
  if (state.readOnly) return false;
1513
1471
  dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1514
1472
  let space = /^\s*/.exec(line.text)[0];
@@ -1880,11 +1838,7 @@ class SearchCursor {
1880
1838
  [`.normalize("NFKD")`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize)
1881
1839
  (when supported).
1882
1840
  */
1883
- constructor(text, query) {
1884
- let from = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
1885
- let to = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : text.length;
1886
- let normalize = arguments.length > 4 ? arguments[4] : undefined;
1887
- let test = arguments.length > 5 ? arguments[5] : undefined;
1841
+ constructor(text, query, from = 0, to = text.length, normalize, test) {
1888
1842
  this.test = test;
1889
1843
  /**
1890
1844
  The current match (only holds a meaningful value after
@@ -2006,9 +1960,7 @@ class RegExpCursor {
2006
1960
  document. `query` should be the raw pattern (as you'd pass it to
2007
1961
  `new RegExp`).
2008
1962
  */
2009
- constructor(text, query, options) {
2010
- let from = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
2011
- let to = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : text.length;
1963
+ constructor(text, query, options, from = 0, to = text.length) {
2012
1964
  this.text = text;
2013
1965
  this.to = to;
2014
1966
  this.curLine = "";
@@ -2253,6 +2205,9 @@ Supports line numbers, relative line offsets prefixed with `+` or
2253
2205
  `-`, document percentages suffixed with `%`, and an optional
2254
2206
  column position by adding `:` and a second number after the line
2255
2207
  number.
2208
+
2209
+ The dialog can be styled with the `panel.gotoLine` theme
2210
+ selector.
2256
2211
  */
2257
2212
  const gotoLine = view => {
2258
2213
  let panel = getPanel(view, createLineDialog);
@@ -2378,11 +2333,10 @@ const defaultTheme = /*@__PURE__*/EditorView.baseTheme({
2378
2333
  }
2379
2334
  });
2380
2335
  // Select the words around the cursors.
2381
- const selectWord = _ref => {
2382
- let {
2383
- state,
2384
- dispatch
2385
- } = _ref;
2336
+ const selectWord = ({
2337
+ state,
2338
+ dispatch
2339
+ }) => {
2386
2340
  let {
2387
2341
  selection
2388
2342
  } = state;
@@ -2422,11 +2376,10 @@ function findNextOccurrence(state, query) {
2422
2376
  Select next occurrence of the current selection. Expand selection
2423
2377
  to the surrounding word when the selection is empty.
2424
2378
  */
2425
- const selectNextOccurrence = _ref2 => {
2426
- let {
2427
- state,
2428
- dispatch
2429
- } = _ref2;
2379
+ const selectNextOccurrence = ({
2380
+ state,
2381
+ dispatch
2382
+ }) => {
2430
2383
  let {
2431
2384
  ranges
2432
2385
  } = state.selection;
@@ -2451,8 +2404,7 @@ const searchConfigFacet = /*@__PURE__*/Facet.define({
2451
2404
  caseSensitive: false,
2452
2405
  literal: false,
2453
2406
  wholeWord: false,
2454
- createPanel: view => new SearchPanel(view),
2455
- scrollToMatch: range => EditorView.scrollIntoView(range)
2407
+ createPanel: view => new SearchPanel(view)
2456
2408
  });
2457
2409
  }
2458
2410
  });
@@ -2495,9 +2447,7 @@ class SearchQuery {
2495
2447
  Get a search cursor for this query, searching through the given
2496
2448
  range in the given state.
2497
2449
  */
2498
- getCursor(state) {
2499
- let from = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
2500
- let to = arguments.length > 2 ? arguments[2] : undefined;
2450
+ getCursor(state, from = 0, to) {
2501
2451
  let st = state.doc ? state : EditorState.create({
2502
2452
  doc: state
2503
2453
  });
@@ -2658,11 +2608,10 @@ const searchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2658
2608
  let state = update.state.field(searchState);
2659
2609
  if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged) this.decorations = this.highlight(state);
2660
2610
  }
2661
- highlight(_ref3) {
2662
- let {
2663
- query,
2664
- panel
2665
- } = _ref3;
2611
+ highlight({
2612
+ query,
2613
+ panel
2614
+ }) {
2666
2615
  if (!panel || !query.spec.valid) return Decoration.none;
2667
2616
  let {
2668
2617
  view
@@ -2696,20 +2645,21 @@ selection to the first match after the current main selection.
2696
2645
  Will wrap around to the start of the document when it reaches the
2697
2646
  end.
2698
2647
  */
2699
- const findNext = /*@__PURE__*/searchCommand((view, _ref4) => {
2700
- let {
2701
- query
2702
- } = _ref4;
2648
+ const findNext = /*@__PURE__*/searchCommand((view, {
2649
+ query
2650
+ }) => {
2703
2651
  let {
2704
2652
  to
2705
2653
  } = view.state.selection.main;
2706
2654
  let next = query.nextMatch(view.state, to, to);
2707
2655
  if (!next) return false;
2708
- let selection = EditorSelection.single(next.from, next.to);
2709
- let config = view.state.facet(searchConfigFacet);
2710
2656
  view.dispatch({
2711
- selection,
2712
- effects: [announceMatch(view, next), config.scrollToMatch(selection.main)],
2657
+ selection: {
2658
+ anchor: next.from,
2659
+ head: next.to
2660
+ },
2661
+ scrollIntoView: true,
2662
+ effects: announceMatch(view, next),
2713
2663
  userEvent: "select.search"
2714
2664
  });
2715
2665
  return true;
@@ -2719,23 +2669,24 @@ Move the selection to the previous instance of the search query,
2719
2669
  before the current main selection. Will wrap past the start
2720
2670
  of the document to start searching at the end again.
2721
2671
  */
2722
- const findPrevious = /*@__PURE__*/searchCommand((view, _ref5) => {
2723
- let {
2724
- query
2725
- } = _ref5;
2672
+ const findPrevious = /*@__PURE__*/searchCommand((view, {
2673
+ query
2674
+ }) => {
2726
2675
  let {
2727
2676
  state
2728
2677
  } = view,
2729
2678
  {
2730
2679
  from
2731
2680
  } = state.selection.main;
2732
- let prev = query.prevMatch(state, from, from);
2733
- if (!prev) return false;
2734
- let selection = EditorSelection.single(prev.from, prev.to);
2735
- let config = view.state.facet(searchConfigFacet);
2681
+ let range = query.prevMatch(state, from, from);
2682
+ if (!range) return false;
2736
2683
  view.dispatch({
2737
- selection,
2738
- effects: [announceMatch(view, prev), config.scrollToMatch(selection.main)],
2684
+ selection: {
2685
+ anchor: range.from,
2686
+ head: range.to
2687
+ },
2688
+ scrollIntoView: true,
2689
+ effects: announceMatch(view, range),
2739
2690
  userEvent: "select.search"
2740
2691
  });
2741
2692
  return true;
@@ -2743,10 +2694,9 @@ const findPrevious = /*@__PURE__*/searchCommand((view, _ref5) => {
2743
2694
  /**
2744
2695
  Select all instances of the search query.
2745
2696
  */
2746
- const selectMatches = /*@__PURE__*/searchCommand((view, _ref6) => {
2747
- let {
2748
- query
2749
- } = _ref6;
2697
+ const selectMatches = /*@__PURE__*/searchCommand((view, {
2698
+ query
2699
+ }) => {
2750
2700
  let ranges = query.matchAll(view.state, 1000);
2751
2701
  if (!ranges || !ranges.length) return false;
2752
2702
  view.dispatch({
@@ -2758,11 +2708,10 @@ const selectMatches = /*@__PURE__*/searchCommand((view, _ref6) => {
2758
2708
  /**
2759
2709
  Select all instances of the currently selected text.
2760
2710
  */
2761
- const selectSelectionMatches = _ref7 => {
2762
- let {
2763
- state,
2764
- dispatch
2765
- } = _ref7;
2711
+ const selectSelectionMatches = ({
2712
+ state,
2713
+ dispatch
2714
+ }) => {
2766
2715
  let sel = state.selection;
2767
2716
  if (sel.ranges.length > 1 || sel.main.empty) return false;
2768
2717
  let {
@@ -2785,10 +2734,9 @@ const selectSelectionMatches = _ref7 => {
2785
2734
  /**
2786
2735
  Replace the current match of the search query.
2787
2736
  */
2788
- const replaceNext = /*@__PURE__*/searchCommand((view, _ref8) => {
2789
- let {
2790
- query
2791
- } = _ref8;
2737
+ const replaceNext = /*@__PURE__*/searchCommand((view, {
2738
+ query
2739
+ }) => {
2792
2740
  let {
2793
2741
  state
2794
2742
  } = view,
@@ -2802,7 +2750,7 @@ const replaceNext = /*@__PURE__*/searchCommand((view, _ref8) => {
2802
2750
  let changes = [],
2803
2751
  selection,
2804
2752
  replacement;
2805
- let effects = [];
2753
+ let announce = [];
2806
2754
  if (next.from == from && next.to == to) {
2807
2755
  replacement = state.toText(query.getReplacement(next));
2808
2756
  changes.push({
@@ -2811,18 +2759,21 @@ const replaceNext = /*@__PURE__*/searchCommand((view, _ref8) => {
2811
2759
  insert: replacement
2812
2760
  });
2813
2761
  next = query.nextMatch(state, next.from, next.to);
2814
- effects.push(EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
2762
+ announce.push(EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
2815
2763
  }
2816
2764
  if (next) {
2817
2765
  let off = changes.length == 0 || changes[0].from >= next.to ? 0 : next.to - next.from - replacement.length;
2818
- selection = EditorSelection.single(next.from - off, next.to - off);
2819
- effects.push(announceMatch(view, next));
2820
- effects.push(state.facet(searchConfigFacet).scrollToMatch(selection.main));
2766
+ selection = {
2767
+ anchor: next.from - off,
2768
+ head: next.to - off
2769
+ };
2770
+ announce.push(announceMatch(view, next));
2821
2771
  }
2822
2772
  view.dispatch({
2823
2773
  changes,
2824
2774
  selection,
2825
- effects,
2775
+ scrollIntoView: !!selection,
2776
+ effects: announce,
2826
2777
  userEvent: "input.replace"
2827
2778
  });
2828
2779
  return true;
@@ -2831,10 +2782,9 @@ const replaceNext = /*@__PURE__*/searchCommand((view, _ref8) => {
2831
2782
  Replace all instances of the search query with the given
2832
2783
  replacement.
2833
2784
  */
2834
- const replaceAll = /*@__PURE__*/searchCommand((view, _ref9) => {
2835
- let {
2836
- query
2837
- } = _ref9;
2785
+ const replaceAll = /*@__PURE__*/searchCommand((view, {
2786
+ query
2787
+ }) => {
2838
2788
  if (view.state.readOnly) return false;
2839
2789
  let changes = query.matchAll(view.state, 1e9).map(match => {
2840
2790
  let {
@@ -3068,11 +3018,10 @@ function phrase(view, phrase) {
3068
3018
  }
3069
3019
  const AnnounceMargin = 30;
3070
3020
  const Break = /[\s\.,:;?!]/;
3071
- function announceMatch(view, _ref10) {
3072
- let {
3073
- from,
3074
- to
3075
- } = _ref10;
3021
+ function announceMatch(view, {
3022
+ from,
3023
+ to
3024
+ }) {
3076
3025
  let line = view.state.doc.lineAt(from),
3077
3026
  lineEnd = view.state.doc.lineAt(to).to;
3078
3027
  let start = Math.max(line.from, from - AnnounceMargin),
@@ -3165,14 +3114,11 @@ class LintState {
3165
3114
  return new LintState(ranges, panel, findDiagnostic(ranges));
3166
3115
  }
3167
3116
  }
3168
- function findDiagnostic(diagnostics) {
3169
- let diagnostic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
3170
- let after = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
3117
+ function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
3171
3118
  let found = null;
3172
- diagnostics.between(after, 1e9, (from, to, _ref) => {
3173
- let {
3174
- spec
3175
- } = _ref;
3119
+ diagnostics.between(after, 1e9, (from, to, {
3120
+ spec
3121
+ }) => {
3176
3122
  if (diagnostic && spec.diagnostic != diagnostic) return;
3177
3123
  found = new SelectedDiagnostic(from, to, spec.diagnostic);
3178
3124
  return false;
@@ -3247,10 +3193,9 @@ function lintTooltip(view, pos, side) {
3247
3193
  let found = [],
3248
3194
  stackStart = 2e8,
3249
3195
  stackEnd = 0;
3250
- diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, _ref2) => {
3251
- let {
3252
- spec
3253
- } = _ref2;
3196
+ diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, {
3197
+ spec
3198
+ }) => {
3254
3199
  if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
3255
3200
  found.push(spec.diagnostic);
3256
3201
  stackStart = Math.min(from, stackStart);
@@ -3368,7 +3313,7 @@ const lintPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
3368
3313
  }
3369
3314
  update(update) {
3370
3315
  let config = update.state.facet(lintConfig);
3371
- if (update.docChanged || config != update.startState.facet(lintConfig) || config.needsRefresh && config.needsRefresh(update)) {
3316
+ if (update.docChanged || config != update.startState.facet(lintConfig)) {
3372
3317
  this.lintTime = Date.now() + config.delay;
3373
3318
  if (!this.set) {
3374
3319
  this.set = true;
@@ -3393,10 +3338,7 @@ const lintConfig = /*@__PURE__*/Facet.define({
3393
3338
  }, combineConfig(input.map(i => i.config), {
3394
3339
  delay: 750,
3395
3340
  markerFilter: null,
3396
- tooltipFilter: null,
3397
- needsRefresh: null
3398
- }, {
3399
- needsRefresh: (a, b) => !a ? b : !b ? a : u => a(u) || b(u)
3341
+ tooltipFilter: null
3400
3342
  }));
3401
3343
  },
3402
3344
  enables: lintPlugin
@@ -3425,14 +3367,11 @@ function renderDiagnostic(view, diagnostic, inPanel) {
3425
3367
  }, crelt("span", {
3426
3368
  class: "cm-diagnosticText"
3427
3369
  }, diagnostic.renderMessage ? diagnostic.renderMessage() : diagnostic.message), (_a = diagnostic.actions) === null || _a === void 0 ? void 0 : _a.map((action, i) => {
3428
- let fired = false,
3429
- click = e => {
3430
- e.preventDefault();
3431
- if (fired) return;
3432
- fired = true;
3433
- let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
3434
- if (found) action.apply(view, found.from, found.to);
3435
- };
3370
+ let click = e => {
3371
+ e.preventDefault();
3372
+ let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
3373
+ if (found) action.apply(view, found.from, found.to);
3374
+ };
3436
3375
  let {
3437
3376
  name
3438
3377
  } = action,
@@ -3547,10 +3486,9 @@ class LintPanel {
3547
3486
  let i = 0,
3548
3487
  needsSync = false,
3549
3488
  newSelectedItem = null;
3550
- diagnostics.between(0, this.view.state.doc.length, (_start, _end, _ref3) => {
3551
- let {
3552
- spec
3553
- } = _ref3;
3489
+ diagnostics.between(0, this.view.state.doc.length, (_start, _end, {
3490
+ spec
3491
+ }) => {
3554
3492
  let found = -1,
3555
3493
  item;
3556
3494
  for (let j = i; j < this.items.length; j++) if (this.items[j].diagnostic == spec.diagnostic) {
@@ -3599,11 +3537,10 @@ class LintPanel {
3599
3537
  sel: newSelectedItem.dom.getBoundingClientRect(),
3600
3538
  panel: this.list.getBoundingClientRect()
3601
3539
  }),
3602
- write: _ref4 => {
3603
- let {
3604
- sel,
3605
- panel
3606
- } = _ref4;
3540
+ write: ({
3541
+ sel,
3542
+ panel
3543
+ }) => {
3607
3544
  if (sel.top < panel.top) this.list.scrollTop -= panel.top - sel.top;else if (sel.bottom > panel.bottom) this.list.scrollTop += sel.bottom - panel.bottom;
3608
3545
  }
3609
3546
  });
@@ -3647,8 +3584,7 @@ class LintPanel {
3647
3584
  return new LintPanel(view);
3648
3585
  }
3649
3586
  }
3650
- function svg(content) {
3651
- let attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : `viewBox="0 0 40 40"`;
3587
+ function svg(content, attrs = `viewBox="0 0 40 40"`) {
3652
3588
  return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content)}</svg>')`;
3653
3589
  }
3654
3590
  function underline(color) {
@@ -3677,8 +3613,7 @@ const baseTheme = /*@__PURE__*/EditorView.baseTheme({
3677
3613
  backgroundColor: "#444",
3678
3614
  color: "white",
3679
3615
  borderRadius: "3px",
3680
- marginLeft: "8px",
3681
- cursor: "pointer"
3616
+ marginLeft: "8px"
3682
3617
  },
3683
3618
  ".cm-diagnosticSource": {
3684
3619
  fontSize: "70%",
@@ -3886,10 +3821,9 @@ var script = defineComponent({
3886
3821
  }
3887
3822
  },
3888
3823
  emits: ['update:modelValue', 'focus', 'blur'],
3889
- setup(props, _ref) {
3890
- let {
3891
- emit
3892
- } = _ref;
3824
+ setup(props, {
3825
+ emit
3826
+ }) {
3893
3827
  // editor config
3894
3828
  const root = ref();
3895
3829
  const target = ref();