yc-design-vue 2.1.8 → 2.1.9

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 (242) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Alert/index.vue.js +2 -2
  4. package/es/Avatar/Avatar.vue.js +1 -1
  5. package/es/BackTop/index.vue.js +1 -1
  6. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  7. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  8. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
  9. package/es/Calendar/Calendar.vue.js +2 -2
  10. package/es/Carousel/CarouselArrow.vue.js +1 -1
  11. package/es/Cascader/CascaderIcon.vue.js +2 -2
  12. package/es/Cascader/CascaderOption.vue.js +1 -1
  13. package/es/Checkbox/Checkbox.vue.js +2 -2
  14. package/es/Collapse/CollapseItem.vue.js +2 -2
  15. package/es/ColorPicker/ColorInput.vue.js +73 -69
  16. package/es/ColorPicker/index.css +1 -1
  17. package/es/Drawer/Drawer.vue.js +2 -2
  18. package/es/Dropdown/DropdownButton.vue.js +1 -1
  19. package/es/Dropdown/Dsubmenu.vue.js +1 -1
  20. package/es/Empty/index.vue.js +1 -1
  21. package/es/Image/Image.vue.js +1 -1
  22. package/es/Image/ImagePreview.vue.js +1 -1
  23. package/es/Image/ImagePreviewArrow.vue.js +1 -1
  24. package/es/Image/ImagePreviewToolbar.vue.js +7 -7
  25. package/es/Input/Input.vue.js +2 -2
  26. package/es/Input/InputGroup.vue.d.ts +17 -0
  27. package/es/Input/InputGroup.vue.js +18 -0
  28. package/es/Input/InputGroup.vue3.js +5 -0
  29. package/es/Input/InputSuffix.vue.js +2 -2
  30. package/es/Input/index.css +1 -1
  31. package/es/Input/index.d.ts +20 -0
  32. package/es/Input/index.js +5 -0
  33. package/es/InputNumber/InputOperaBtn.vue.js +1 -1
  34. package/es/InputTag/index.vue.js +2 -2
  35. package/es/Layout/LayoutSider.vue.js +1 -1
  36. package/es/Link/index.vue.js +1 -1
  37. package/es/Menu/Menu.vue.js +1 -1
  38. package/es/Menu/MenuEllipsis.vue.js +1 -1
  39. package/es/Menu/SubMenu.vue.js +1 -1
  40. package/es/Message/Message.vue.js +2 -2
  41. package/es/Modal/Modal.vue.js +2 -2
  42. package/es/Notification/Notification.vue.js +2 -2
  43. package/es/PageHeader/index.vue.js +2 -2
  44. package/es/Pagination/PaginationItem.vue.js +1 -1
  45. package/es/Progress/ProgressCircle.vue.js +1 -1
  46. package/es/Radio/Radio.vue.js +2 -2
  47. package/es/Rate/index.vue.js +1 -1
  48. package/es/ResizeBox/index.vue.js +1 -1
  49. package/es/Select/SelectIcon.vue.js +2 -2
  50. package/es/Spin/index.vue.js +1 -1
  51. package/es/Split/index.vue.js +1 -1
  52. package/es/Steps/Step.vue.js +1 -1
  53. package/es/Tabs/TabButton.vue.js +2 -2
  54. package/es/Tabs/Tabs.vue.js +1 -1
  55. package/es/Tag/index.vue.js +2 -2
  56. package/es/Textarea/index.vue.js +2 -2
  57. package/es/TimePicker/TimePicker.vue.js +2 -2
  58. package/es/TimePicker/TimePickerPanel.vue.js +2 -1
  59. package/es/Transfer/Transfer.vue.js +1 -1
  60. package/es/Transfer/TransferPanel.vue.js +2 -2
  61. package/es/Trigger/index.vue.js +1 -1
  62. package/es/Typography/TypographyBase.vue.js +3 -3
  63. package/es/Upload/UploadButton.vue.js +1 -1
  64. package/es/Upload/UploadDrag.vue.js +1 -1
  65. package/es/Upload/UploadFileList.vue2.js +2 -2
  66. package/es/Upload/UploadPictureCard.vue2.js +1 -1
  67. package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
  68. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  69. package/es/_shared/constants/index.js +1 -1
  70. package/es/_shared/icons/IconArrowDown.vue.js +1 -1
  71. package/es/_shared/icons/IconArrowRight.vue.js +1 -1
  72. package/es/_shared/icons/IconCheck.vue.js +1 -1
  73. package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  74. package/es/_shared/icons/IconClose.vue.js +1 -1
  75. package/es/_shared/icons/IconCopy.vue.js +28 -1
  76. package/es/_shared/icons/IconCopy.vue2.js +1 -28
  77. package/es/_shared/icons/IconDelete.vue2.js +1 -1
  78. package/es/_shared/icons/IconDragDot.vue.js +1 -1
  79. package/es/_shared/icons/IconEdit.vue.js +28 -1
  80. package/es/_shared/icons/IconEdit.vue2.js +1 -28
  81. package/es/_shared/icons/IconEmpty.vue.js +1 -1
  82. package/es/_shared/icons/IconError.vue.js +1 -1
  83. package/es/_shared/icons/IconExclamation.vue2.js +1 -1
  84. package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
  85. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
  86. package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
  87. package/es/_shared/icons/IconFile.vue2.js +1 -1
  88. package/es/_shared/icons/IconFullScreen.vue.js +28 -1
  89. package/es/_shared/icons/IconFullScreen.vue2.js +1 -28
  90. package/es/_shared/icons/IconImageClose.vue.js +1 -1
  91. package/es/_shared/icons/IconInfo.vue.js +1 -1
  92. package/es/_shared/icons/IconInfoLine.vue.js +1 -1
  93. package/es/_shared/icons/IconLink.vue.js +1 -1
  94. package/es/_shared/icons/IconLoading.vue.js +1 -1
  95. package/es/_shared/icons/IconMenuFold.vue.js +1 -1
  96. package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
  97. package/es/_shared/icons/IconMinus.vue2.js +1 -1
  98. package/es/_shared/icons/IconMore.vue.js +1 -1
  99. package/es/_shared/icons/IconOriginSize.vue.js +34 -1
  100. package/es/_shared/icons/IconOriginSize.vue2.js +1 -34
  101. package/es/_shared/icons/IconPlus.vue.js +1 -1
  102. package/es/_shared/icons/IconRight.vue.js +1 -1
  103. package/es/_shared/icons/IconRotateLeft.vue.js +28 -1
  104. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -28
  105. package/es/_shared/icons/IconRotateRight.vue.js +28 -1
  106. package/es/_shared/icons/IconRotateRight.vue2.js +1 -28
  107. package/es/_shared/icons/IconSearch.vue2.js +1 -1
  108. package/es/_shared/icons/IconSeparator.vue.js +28 -1
  109. package/es/_shared/icons/IconSeparator.vue2.js +1 -28
  110. package/es/_shared/icons/IconStar.vue.js +1 -1
  111. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  112. package/es/_shared/icons/IconTime.vue.js +1 -1
  113. package/es/_shared/icons/IconToTop.vue.js +1 -1
  114. package/es/_shared/icons/IconUpload.vue2.js +1 -1
  115. package/es/_shared/icons/IconWarning.vue.js +1 -1
  116. package/es/_shared/icons/IconZoomIn.vue.js +28 -1
  117. package/es/_shared/icons/IconZoomIn.vue2.js +1 -28
  118. package/es/_shared/icons/IconZoomOut.vue.js +28 -1
  119. package/es/_shared/icons/IconZoomOut.vue2.js +1 -28
  120. package/es/index.js +3 -0
  121. package/es/style.css +1 -1
  122. package/lib/Alert/index.vue.js +1 -1
  123. package/lib/Avatar/Avatar.vue.js +1 -1
  124. package/lib/BackTop/index.vue.js +1 -1
  125. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  126. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  127. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  128. package/lib/Calendar/Calendar.vue.js +1 -1
  129. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  130. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  131. package/lib/Cascader/CascaderOption.vue.js +1 -1
  132. package/lib/Checkbox/Checkbox.vue.js +1 -1
  133. package/lib/Collapse/CollapseItem.vue.js +1 -1
  134. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  135. package/lib/ColorPicker/index.css +1 -1
  136. package/lib/Drawer/Drawer.vue.js +1 -1
  137. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  138. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  139. package/lib/Empty/index.vue.js +1 -1
  140. package/lib/Image/Image.vue.js +1 -1
  141. package/lib/Image/ImagePreview.vue.js +1 -1
  142. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  143. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  144. package/lib/Input/Input.vue.js +1 -1
  145. package/lib/Input/InputGroup.vue.d.ts +17 -0
  146. package/lib/Input/InputGroup.vue.js +1 -0
  147. package/lib/Input/InputGroup.vue3.js +1 -0
  148. package/lib/Input/InputSuffix.vue.js +1 -1
  149. package/lib/Input/index.css +1 -1
  150. package/lib/Input/index.d.ts +20 -0
  151. package/lib/Input/index.js +1 -1
  152. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  153. package/lib/InputTag/index.vue.js +1 -1
  154. package/lib/Layout/LayoutSider.vue.js +1 -1
  155. package/lib/Link/index.vue.js +1 -1
  156. package/lib/Menu/Menu.vue.js +1 -1
  157. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  158. package/lib/Menu/SubMenu.vue.js +1 -1
  159. package/lib/Message/Message.vue.js +1 -1
  160. package/lib/Modal/Modal.vue.js +1 -1
  161. package/lib/Notification/Notification.vue.js +1 -1
  162. package/lib/PageHeader/index.vue.js +1 -1
  163. package/lib/Pagination/PaginationItem.vue.js +1 -1
  164. package/lib/Progress/ProgressCircle.vue.js +1 -1
  165. package/lib/Radio/Radio.vue.js +1 -1
  166. package/lib/Rate/index.vue.js +1 -1
  167. package/lib/ResizeBox/index.vue.js +1 -1
  168. package/lib/Select/SelectIcon.vue.js +1 -1
  169. package/lib/Spin/index.vue.js +1 -1
  170. package/lib/Split/index.vue.js +1 -1
  171. package/lib/Steps/Step.vue.js +1 -1
  172. package/lib/Tabs/TabButton.vue.js +1 -1
  173. package/lib/Tabs/Tabs.vue.js +1 -1
  174. package/lib/Tag/index.vue.js +1 -1
  175. package/lib/Textarea/index.vue.js +1 -1
  176. package/lib/TimePicker/TimePicker.vue.js +1 -1
  177. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  178. package/lib/Transfer/Transfer.vue.js +1 -1
  179. package/lib/Transfer/TransferPanel.vue.js +1 -1
  180. package/lib/Trigger/index.vue.js +1 -1
  181. package/lib/Typography/TypographyBase.vue.js +1 -1
  182. package/lib/Upload/UploadButton.vue.js +1 -1
  183. package/lib/Upload/UploadDrag.vue.js +1 -1
  184. package/lib/Upload/UploadFileList.vue2.js +1 -1
  185. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  186. package/lib/_shared/components/IconButton/index.vue.js +1 -0
  187. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  188. package/lib/_shared/constants/index.js +1 -1
  189. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  190. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  191. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  192. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  193. package/lib/_shared/icons/IconClose.vue.js +1 -1
  194. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  195. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  196. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  197. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  198. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  199. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  200. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  201. package/lib/_shared/icons/IconError.vue.js +1 -1
  202. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  203. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  204. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  205. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  206. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  207. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  208. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  209. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  210. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  211. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  212. package/lib/_shared/icons/IconLink.vue.js +1 -1
  213. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  214. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  215. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  216. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  217. package/lib/_shared/icons/IconMore.vue.js +1 -1
  218. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  219. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  220. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  221. package/lib/_shared/icons/IconRight.vue.js +1 -1
  222. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  223. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  224. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  225. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  226. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  227. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  228. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  229. package/lib/_shared/icons/IconStar.vue.js +1 -1
  230. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  231. package/lib/_shared/icons/IconTime.vue.js +1 -1
  232. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  233. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  234. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  235. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  236. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  237. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  238. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  239. package/lib/index.js +1 -1
  240. package/lib/style.css +1 -1
  241. package/package.json +1 -1
  242. package/lib/_shared/components/IconButton/index.vue2.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useSlots, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
4
+ /* empty css */
5
5
  import "../node_modules/b-tween/dist/b-tween.es.js";
6
6
  import "../node_modules/dayjs/dayjs.min.js";
7
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -10,7 +10,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
10
  import { valueToPx } from "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
@@ -11,7 +11,7 @@ import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
11
11
  import { isUndefined } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
@@ -10,7 +10,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
10
  import "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import Dropdown from "../Dropdown/index.js";
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
@@ -10,10 +10,10 @@ import "../_shared/utils/dom.js";
10
10
  import { isUndefined } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
- import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
16
+ import _sfc_main$1 from "../_shared/icons/IconSeparator.vue.js";
17
17
  const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
18
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  __name: "BreadcrumbSeparator",
@@ -10,8 +10,8 @@ import "../_shared/utils/dom.js";
10
10
  import { useControlValue } from "../_shared/utils/hooks.js";
11
11
  import { useI18n } from "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
14
- /* empty css */
13
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
2
2
  import useCascaderContext from "./hooks/useContext.js";
3
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
4
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
5
- /* empty css */
4
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
5
+ /* empty css */
6
6
  import "../node_modules/b-tween/dist/b-tween.es.js";
7
7
  import "../node_modules/dayjs/dayjs.min.js";
8
8
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -10,7 +10,7 @@ import { sleep } from "../_shared/utils/dom.js";
10
10
  import { isFunction } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -12,8 +12,8 @@ import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
14
  import useCheckboxContext from "./hooks/useContext.js";
15
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
16
- /* empty css */
15
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
16
+ /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
2
2
  import useCollapseContext from "./hooks/useContext.js";
3
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
4
+ /* empty css */
5
5
  import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
6
6
  /* empty css */
7
7
  import "../node_modules/b-tween/dist/b-tween.es.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, toRefs, ref, watch, createElementBlock, openBlock, createElementVNode, createVNode, unref, createBlock, createCommentVNode, withCtx, createTextVNode, Fragment } from "vue";
1
+ import { defineComponent, toRefs, ref, watch, createElementBlock, openBlock, createElementVNode, createVNode, unref, withCtx, createBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
2
2
  import { parseColor } from "../_shared/utils/color.js";
3
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
4
  import "../node_modules/dayjs/dayjs.min.js";
@@ -14,9 +14,10 @@ import { COLOR_PICKER_FORMAT_OPTIONS } from "../_shared/constants/index.js";
14
14
  import Select from "../Select/index.js";
15
15
  import Input from "../Input/index.js";
16
16
  import InputNumber from "../InputNumber/index.js";
17
+ import _sfc_main$1 from "../Input/InputGroup.vue.js";
18
+ /* empty css */
17
19
  const _hoisted_1 = { class: "yc-color-picker-input-wrapper" };
18
20
  const _hoisted_2 = { class: "yc-color-picker-format" };
19
- const _hoisted_3 = { class: "yc-color-picker-color" };
20
21
  const _sfc_main = /* @__PURE__ */ defineComponent({
21
22
  __name: "ColorInput",
22
23
  props: {
@@ -85,79 +86,82 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
86
  size: "mini"
86
87
  }, null, 8, ["modelValue", "options"])
87
88
  ]),
88
- createElementVNode("div", _hoisted_3, [
89
- format.value == "hex" ? (openBlock(), createBlock(unref(Input), {
90
- key: 0,
91
- modelValue: hex.value,
92
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hex.value = $event),
93
- "max-length": 6,
94
- disabled: _ctx.disabled,
95
- size: "mini",
96
- class: "hex-input",
97
- onBlur: _cache[2] || (_cache[2] = ($event) => handleSet("hex")),
98
- onPressEnter: _cache[3] || (_cache[3] = ($event) => handleSet("hex"))
99
- }, {
100
- prefix: withCtx(() => [..._cache[16] || (_cache[16] = [
101
- createTextVNode(" # ", -1)
102
- ])]),
103
- _: 1
104
- }, 8, ["modelValue", "disabled"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
105
- createVNode(unref(InputNumber), {
106
- modelValue: rgb.value.r,
107
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => rgb.value.r = $event),
108
- min: 0,
109
- max: 255,
110
- disabled: _ctx.disabled,
111
- size: "mini",
112
- class: "rgb-input",
113
- "hide-button": "",
114
- onBlur: _cache[5] || (_cache[5] = ($event) => handleSet("rgb")),
115
- onPressEnter: _cache[6] || (_cache[6] = ($event) => handleSet("rgb"))
116
- }, null, 8, ["modelValue", "disabled"]),
117
- createVNode(unref(InputNumber), {
118
- modelValue: rgb.value.g,
119
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => rgb.value.g = $event),
120
- min: 0,
121
- max: 255,
89
+ createVNode(unref(_sfc_main$1), { class: "yc-color-picker-color" }, {
90
+ default: withCtx(() => [
91
+ format.value == "hex" ? (openBlock(), createBlock(unref(Input), {
92
+ key: 0,
93
+ modelValue: hex.value,
94
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hex.value = $event),
95
+ "max-length": 6,
122
96
  disabled: _ctx.disabled,
123
97
  size: "mini",
124
- class: "rgb-input",
125
- "hide-button": "",
126
- onBlur: _cache[8] || (_cache[8] = ($event) => handleSet("rgb")),
127
- onPressEnter: _cache[9] || (_cache[9] = ($event) => handleSet("rgb"))
128
- }, null, 8, ["modelValue", "disabled"]),
129
- createVNode(unref(InputNumber), {
130
- modelValue: rgb.value.b,
131
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => rgb.value.b = $event),
98
+ class: "hex-input",
99
+ onBlur: _cache[2] || (_cache[2] = ($event) => handleSet("hex")),
100
+ onPressEnter: _cache[3] || (_cache[3] = ($event) => handleSet("hex"))
101
+ }, {
102
+ prefix: withCtx(() => [..._cache[16] || (_cache[16] = [
103
+ createTextVNode(" # ", -1)
104
+ ])]),
105
+ _: 1
106
+ }, 8, ["modelValue", "disabled"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
107
+ createVNode(unref(InputNumber), {
108
+ modelValue: rgb.value.r,
109
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => rgb.value.r = $event),
110
+ min: 0,
111
+ max: 255,
112
+ disabled: _ctx.disabled,
113
+ size: "mini",
114
+ class: "rgb-input",
115
+ "hide-button": "",
116
+ onBlur: _cache[5] || (_cache[5] = ($event) => handleSet("rgb")),
117
+ onPressEnter: _cache[6] || (_cache[6] = ($event) => handleSet("rgb"))
118
+ }, null, 8, ["modelValue", "disabled"]),
119
+ createVNode(unref(InputNumber), {
120
+ modelValue: rgb.value.g,
121
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => rgb.value.g = $event),
122
+ min: 0,
123
+ max: 255,
124
+ disabled: _ctx.disabled,
125
+ size: "mini",
126
+ class: "rgb-input",
127
+ "hide-button": "",
128
+ onBlur: _cache[8] || (_cache[8] = ($event) => handleSet("rgb")),
129
+ onPressEnter: _cache[9] || (_cache[9] = ($event) => handleSet("rgb"))
130
+ }, null, 8, ["modelValue", "disabled"]),
131
+ createVNode(unref(InputNumber), {
132
+ modelValue: rgb.value.b,
133
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => rgb.value.b = $event),
134
+ min: 0,
135
+ max: 255,
136
+ disabled: _ctx.disabled,
137
+ class: "rgb-input",
138
+ size: "mini",
139
+ "hide-button": "",
140
+ onBlur: _cache[11] || (_cache[11] = ($event) => handleSet("rgb")),
141
+ onPressEnter: _cache[12] || (_cache[12] = ($event) => handleSet("rgb"))
142
+ }, null, 8, ["modelValue", "disabled"])
143
+ ], 64)),
144
+ !_ctx.disabledAlpha ? (openBlock(), createBlock(unref(InputNumber), {
145
+ key: 2,
146
+ modelValue: alpha.value,
147
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => alpha.value = $event),
132
148
  min: 0,
133
- max: 255,
149
+ max: 100,
134
150
  disabled: _ctx.disabled,
135
- class: "rgb-input",
136
151
  size: "mini",
137
152
  "hide-button": "",
138
- onBlur: _cache[11] || (_cache[11] = ($event) => handleSet("rgb")),
139
- onPressEnter: _cache[12] || (_cache[12] = ($event) => handleSet("rgb"))
140
- }, null, 8, ["modelValue", "disabled"])
141
- ], 64)),
142
- !_ctx.disabledAlpha ? (openBlock(), createBlock(unref(InputNumber), {
143
- key: 2,
144
- modelValue: alpha.value,
145
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => alpha.value = $event),
146
- min: 0,
147
- max: 100,
148
- disabled: _ctx.disabled,
149
- size: "mini",
150
- "hide-button": "",
151
- class: "alpha-input",
152
- onBlur: _cache[14] || (_cache[14] = ($event) => handleSet("alpha")),
153
- onPressEnter: _cache[15] || (_cache[15] = ($event) => handleSet("alpha"))
154
- }, {
155
- suffix: withCtx(() => [..._cache[17] || (_cache[17] = [
156
- createTextVNode(" % ", -1)
157
- ])]),
158
- _: 1
159
- }, 8, ["modelValue", "disabled"])) : createCommentVNode("", true)
160
- ])
153
+ class: "alpha-input",
154
+ onBlur: _cache[14] || (_cache[14] = ($event) => handleSet("alpha")),
155
+ onPressEnter: _cache[15] || (_cache[15] = ($event) => handleSet("alpha"))
156
+ }, {
157
+ suffix: withCtx(() => [..._cache[17] || (_cache[17] = [
158
+ createTextVNode(" % ", -1)
159
+ ])]),
160
+ _: 1
161
+ }, 8, ["modelValue", "disabled"])) : createCommentVNode("", true)
162
+ ]),
163
+ _: 1
164
+ })
161
165
  ]);
162
166
  };
163
167
  }
@@ -1 +1 @@
1
- .yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:var(--border-radius-small);box-shadow:0 8px 20px 0 rgba(0,0,0,0.1)}.yc-color-picker-panel .yc-color-picker-palette{overflow:hidden;position:relative;cursor:pointer;width:100%;height:178px;background-image:linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, rgba(255,255,255,0));border:1px solid var(--color-border-2);border-bottom:0}.yc-color-picker-panel .yc-color-picker-palette .yc-color-picker-handler{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:var(--border-radius-circle);background-color:transparent;transform:translate(-50%, -50%)}.yc-color-picker-panel .yc-color-picker-panel-control{padding:12px;display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper{display:flex;justify-content:space-between;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper:not(.yc-color-picker-preview)>div{display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:pointer;position:relative;width:182px;height:14px;border-radius:10px;border:1px solid var(--color-border-2);background-image:linear-gradient(90deg, #f00 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler{user-select:none;position:absolute;top:50%;transform:translate(-50%, -50%);width:16px;height:16px;border-radius:var(--border-radius-circle);border:1px solid var(--color-border-2)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::before{display:block;content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:8px;height:8px;background:currentColor;border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::after{display:block;content:'';width:100%;height:100%;background:var(--color-bg-white);border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar-bg{width:fit-content;height:fit-content;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:10px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-preview{width:40px;height:40px;border:1px solid var(--color-border-2);border-radius:var(--border-radius-medium)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper{display:flex;align-items:center;gap:20px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper{padding:0 6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper .yc-input-suffix{padding-left:0}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-format .yc-select{width:58px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color{flex:1;overflow:hidden;display:flex;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:first-child .yc-input-wrapper{border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer:last-child .yc-input-wrapper{border-right-color:var(--color-border-2);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper{border-radius:var(--border-radius-none);border-color:var(--color-border-2);border-right-color:transparent}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper:not(.yc-input-disabled):focus-within{border-radius:var(--border-radius-small);border-color:rgb(var(--primary-6))}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-outer .yc-input-wrapper .yc-input-prefix{padding-right:6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .yc-input-number .yc-input{text-align:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .rgb-input,.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .hex-input{flex:1}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .alpha-input{width:52px}.yc-color-picker-panel .yc-color-picker-panel-colors{padding:12px;border-top:1px solid var(--color-border-2);display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section{display:flex;flex-direction:column;gap:6px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-text{color:var(--color-text-1);font-weight:400;font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-empty{margin:6px 0 0 0;color:var(--color-text-3);font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list{display:flex;flex-wrap:wrap;gap:6px 4px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block{cursor:pointer;width:16px;height:16px;overflow:hidden;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:var(--border-radius-small);transition:transform ease-out 60ms}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block:hover{transform:scale(1.1)}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block .yc-color-picker-block{height:100%;width:100%}.yc-color-picker-panel-disabled{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-palette{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:not-allowed}.yc-color-picker{cursor:pointer;background-color:var(--color-fill-2);border-radius:var(--border-radius-small);display:inline-flex;align-items:center;gap:4px}.yc-color-picker:not(.yc-color-picker-disabled):hover{background-color:var(--color-fill-3)}.yc-color-picker .yc-color-picker-value{color:var(--color-text-1);font-weight:400}.yc-color-picker.yc-color-picker-disabled{cursor:not-allowed;background-color:var(--color-fill-2)}.yc-color-picker.yc-color-picker-disabled .yc-color-picker-value{color:var(--color-text-4)}.yc-color-picker-size-mini{height:24px;padding:4px;font-size:12px}.yc-color-picker-size-mini .yc-color-picker-preview{height:100%;width:calc(24px - 8px)}.yc-color-picker-size-small{height:28px;padding:3px 4px;font-size:14px}.yc-color-picker-size-small .yc-color-picker-preview{height:100%;width:calc(28px - 8px)}.yc-color-picker-size-medium{height:32px;padding:4px;font-size:14px}.yc-color-picker-size-medium .yc-color-picker-preview{height:100%;width:calc(32px - 8px)}.yc-color-picker-size-large{height:36px;padding:5px;font-size:14px}.yc-color-picker-size-large .yc-color-picker-preview{height:100%;width:calc(36px - 10px)}.yc-color-picker-format-popup-content .yc-select-option{font-size:12px;line-height:24px}
1
+ .yc-color-picker-panel{overflow:hidden;width:260px;background-color:var(--color-bg-1);border-radius:var(--border-radius-small);box-shadow:0 8px 20px 0 rgba(0,0,0,0.1)}.yc-color-picker-panel .yc-color-picker-palette{overflow:hidden;position:relative;cursor:pointer;width:100%;height:178px;background-image:linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, rgba(255,255,255,0));border:1px solid var(--color-border-2);border-bottom:0}.yc-color-picker-panel .yc-color-picker-palette .yc-color-picker-handler{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:var(--border-radius-circle);background-color:transparent;transform:translate(-50%, -50%)}.yc-color-picker-panel .yc-color-picker-panel-control{padding:12px;display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper{display:flex;justify-content:space-between;align-items:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper:not(.yc-color-picker-preview)>div{display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:pointer;position:relative;width:182px;height:14px;border-radius:10px;border:1px solid var(--color-border-2);background-image:linear-gradient(90deg, #f00 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler{user-select:none;position:absolute;top:50%;transform:translate(-50%, -50%);width:16px;height:16px;border-radius:var(--border-radius-circle);border:1px solid var(--color-border-2)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::before{display:block;content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:8px;height:8px;background:currentColor;border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar .yc-color-picker-control-bar-handler::after{display:block;content:'';width:100%;height:100%;background:var(--color-bg-white);border-radius:var(--border-radius-circle)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar-bg{width:fit-content;height:fit-content;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:10px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-preview{width:40px;height:40px;border:1px solid var(--color-border-2);border-radius:var(--border-radius-medium)}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper{display:flex;align-items:center;gap:20px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper{padding:0 6px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-input-outer .yc-input-wrapper .yc-input-suffix{padding-left:0}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-format .yc-select{width:58px}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color{flex:1;overflow:hidden}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .rgb-input,.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .hex-input{flex:1}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .rgb-input.rgb-input .yc-input,.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .hex-input.rgb-input .yc-input{text-align:center}.yc-color-picker-panel .yc-color-picker-panel-control .yc-color-picker-input-wrapper .yc-color-picker-color .alpha-input{width:52px}.yc-color-picker-panel .yc-color-picker-panel-colors{padding:12px;border-top:1px solid var(--color-border-2);display:flex;flex-direction:column;gap:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section{display:flex;flex-direction:column;gap:6px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-text{color:var(--color-text-1);font-weight:400;font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-empty{margin:6px 0 0 0;color:var(--color-text-3);font-size:12px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list{display:flex;flex-wrap:wrap;gap:6px 4px}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block{cursor:pointer;width:16px;height:16px;overflow:hidden;background-image:conic-gradient(rgba(0,0,0,0.06) 0 25%, transparent 0 50%, rgba(0,0,0,0.06) 0 75%, transparent 0);background-size:8px 8px;border-radius:var(--border-radius-small);transition:transform ease-out 60ms}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block:hover{transform:scale(1.1)}.yc-color-picker-panel .yc-color-picker-panel-colors .yc-color-picker-colors-section .yc-color-picker-colors-list .yc-color-picker-color-block .yc-color-picker-block{height:100%;width:100%}.yc-color-picker-panel-disabled{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-palette{cursor:not-allowed}.yc-color-picker-panel-disabled .yc-color-picker-panel-control .yc-color-picker-control-wrapper .yc-color-picker-control-bar{cursor:not-allowed}.yc-color-picker{cursor:pointer;background-color:var(--color-fill-2);border-radius:var(--border-radius-small);display:inline-flex;align-items:center;gap:4px}.yc-color-picker:not(.yc-color-picker-disabled):hover{background-color:var(--color-fill-3)}.yc-color-picker .yc-color-picker-value{color:var(--color-text-1);font-weight:400}.yc-color-picker.yc-color-picker-disabled{cursor:not-allowed;background-color:var(--color-fill-2)}.yc-color-picker.yc-color-picker-disabled .yc-color-picker-value{color:var(--color-text-4)}.yc-color-picker-size-mini{height:24px;padding:4px;font-size:12px}.yc-color-picker-size-mini .yc-color-picker-preview{height:100%;width:calc(24px - 8px)}.yc-color-picker-size-small{height:28px;padding:3px 4px;font-size:14px}.yc-color-picker-size-small .yc-color-picker-preview{height:100%;width:calc(28px - 8px)}.yc-color-picker-size-medium{height:32px;padding:4px;font-size:14px}.yc-color-picker-size-medium .yc-color-picker-preview{height:100%;width:calc(32px - 8px)}.yc-color-picker-size-large{height:36px;padding:5px;font-size:14px}.yc-color-picker-size-large .yc-color-picker-preview{height:100%;width:calc(36px - 10px)}.yc-color-picker-format-popup-content .yc-select-option{font-size:12px;line-height:24px}
@@ -12,8 +12,8 @@ import { useI18n } from "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
13
  import useModalClose from "../Modal/hooks/useModalClose.js";
14
14
  import Button from "../Button/index.js";
15
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
16
- /* empty css */
15
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
16
+ /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  const _hoisted_1 = { class: "yc-drawer-header" };
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$3 from "../_shared/icons/IconMore.vue.js";
@@ -12,7 +12,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
12
12
  import { useControlValue } from "../_shared/utils/hooks.js";
13
13
  import "../_shared/utils/locale.js";
14
14
  import "../_shared/utils/time.js";
15
- /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import { useI18n } from "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
@@ -10,7 +10,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
10
10
  import { useControlValue } from "../_shared/utils/hooks.js";
11
11
  import { useI18n } from "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
@@ -12,7 +12,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
12
12
  import { useControlValue } from "../_shared/utils/hooks.js";
13
13
  import "../_shared/utils/locale.js";
14
14
  import "../_shared/utils/time.js";
15
- /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -9,15 +9,15 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import { useI18n } from "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
16
- import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue2.js";
17
- import _sfc_main$4 from "../_shared/icons/IconRotateLeft.vue2.js";
18
- import _sfc_main$5 from "../_shared/icons/IconRotateRight.vue2.js";
19
- import _sfc_main$3 from "../_shared/icons/IconZoomIn.vue2.js";
20
- import _sfc_main$2 from "../_shared/icons/IconZoomOut.vue2.js";
15
+ import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue.js";
16
+ import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue.js";
17
+ import _sfc_main$4 from "../_shared/icons/IconRotateLeft.vue.js";
18
+ import _sfc_main$5 from "../_shared/icons/IconRotateRight.vue.js";
19
+ import _sfc_main$3 from "../_shared/icons/IconZoomIn.vue.js";
20
+ import _sfc_main$2 from "../_shared/icons/IconZoomOut.vue.js";
21
21
  import _sfc_main$7 from "./ImagePreviewAction.vue.js";
22
22
  /* empty css */
23
23
  const _hoisted_1 = {
@@ -12,8 +12,8 @@ import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
14
  import useLimitedInput from "./hooks/useLimitedInput.js";
15
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
16
- /* empty css */
15
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
16
+ /* empty css */
17
17
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
18
18
  /* empty css */
19
19
  /* empty css */
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,18 @@
1
+ import { defineComponent, createElementBlock, openBlock, renderSlot } from "vue";
2
+ const _hoisted_1 = { class: "yc-input-group" };
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ ...{
5
+ name: "InputGroup"
6
+ },
7
+ __name: "InputGroup",
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(), createElementBlock("div", _hoisted_1, [
11
+ renderSlot(_ctx.$slots, "default")
12
+ ]);
13
+ };
14
+ }
15
+ });
16
+ export {
17
+ _sfc_main as default
18
+ };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from "./InputGroup.vue.js";
2
+ /* empty css */
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
2
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
3
- /* empty css */
2
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
3
+ /* empty css */
4
4
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
5
5
  import "../node_modules/b-tween/dist/b-tween.es.js";
6
6
  import "../node_modules/dayjs/dayjs.min.js";
@@ -1 +1 @@
1
- .yc-input-outer{width:100%;display:inline-flex;align-items:center}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append,.yc-input-outer .yc-input-wrapper{flex-shrink:0;font-size:inherit}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append{overflow:hidden;height:100%;padding:0 12px;color:var(--color-text-1);font-weight:400;white-space:nowrap;background-color:var(--color-fill-2);display:flex;align-items:center}.yc-input-outer .yc-input-prepend.yc-input-prepend,.yc-input-outer .yc-input-append.yc-input-prepend{border-right:1px solid var(--color-neutral-3);border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-input-outer .yc-input-prepend.yc-input-append,.yc-input-outer .yc-input-append.yc-input-append{border-left:1px solid var(--color-neutral-3);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-input-has-prepend .yc-input-wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.yc-input-has-append .yc-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.yc-input-error .yc-input-wrapper{background-color:var(--color-danger-light-1)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-input-disabled{cursor:not-allowed}.yc-input-disabled .yc-input-wrapper{cursor:not-allowed;border-color:transparent;background-color:var(--color-fill-2);color:var(--color-text-4)}.yc-input-disabled .yc-input-wrapper .yc-input-prefix,.yc-input-disabled .yc-input-wrapper .yc-input-suffix{color:inherit}.yc-input-disabled .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-4)}.yc-input-wrapper{flex:1;height:100%;width:100%;cursor:text;padding:0 12px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);font-size:inherit;font-weight:400;display:flex;align-items:center}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover .yc-input-clear-button{visibility:visible}.yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix,.yc-input-wrapper .yc-input{flex-shrink:0;color:inherit}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix{height:100%;color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-input-wrapper .yc-input-prefix .yc-input-word-limit,.yc-input-wrapper .yc-input-suffix .yc-input-word-limit{color:var(--color-text-3);font-size:12px}.yc-input-wrapper .yc-input-prefix .yc-icon-button,.yc-input-wrapper .yc-input-suffix .yc-icon-button{color:inherit}.yc-input-wrapper .yc-input-prefix.yc-input-prefix,.yc-input-wrapper .yc-input-suffix.yc-input-prefix{padding-right:12px}.yc-input-wrapper .yc-input-prefix.yc-input-suffix,.yc-input-wrapper .yc-input-suffix.yc-input-suffix{padding-left:12px}.yc-input-wrapper .yc-input-clear-button{visibility:hidden}.yc-input-wrapper .yc-input{flex:1;cursor:inherit;outline:none;border:none;border-radius:var(--border-radius-none);background-color:transparent;color:inherit}.yc-input-wrapper .yc-input::placeholder{color:var(--color-text-3)}.yc-input-size-mini{font-size:12px;height:24px}.yc-input-size-mini .yc-input-wrapper .yc-input{padding:1px 0;line-height:1.667}.yc-input-size-small{font-size:14px;height:28px}.yc-input-size-small .yc-input-wrapper .yc-input{padding:2px 0;line-height:1.5715}.yc-input-size-medium{font-size:14px;height:32px}.yc-input-size-medium .yc-input-wrapper .yc-input{padding:4px 0;line-height:1.5715}.yc-input-size-large{font-size:14px;height:36px}.yc-input-size-large .yc-input-wrapper .yc-input{padding:6px 0;line-height:1.5715}
1
+ .yc-input-outer{width:100%;display:inline-flex;align-items:center}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append,.yc-input-outer .yc-input-wrapper{flex-shrink:0;font-size:inherit}.yc-input-outer .yc-input-prepend,.yc-input-outer .yc-input-append{overflow:hidden;height:100%;padding:0 12px;color:var(--color-text-1);font-weight:400;white-space:nowrap;background-color:var(--color-fill-2);display:flex;align-items:center}.yc-input-outer .yc-input-prepend.yc-input-prepend,.yc-input-outer .yc-input-append.yc-input-prepend{border-right:1px solid var(--color-neutral-3);border-top-left-radius:2px;border-bottom-left-radius:2px}.yc-input-outer .yc-input-prepend.yc-input-append,.yc-input-outer .yc-input-append.yc-input-append{border-left:1px solid var(--color-neutral-3);border-top-right-radius:2px;border-bottom-right-radius:2px}.yc-input-has-prepend .yc-input-wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.yc-input-has-append .yc-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.yc-input-error .yc-input-wrapper{background-color:var(--color-danger-light-1)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.yc-input-error .yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-input-disabled{cursor:not-allowed}.yc-input-disabled .yc-input-wrapper{cursor:not-allowed;border-color:transparent;background-color:var(--color-fill-2);color:var(--color-text-4)}.yc-input-disabled .yc-input-wrapper .yc-input-prefix,.yc-input-disabled .yc-input-wrapper .yc-input-suffix{color:inherit}.yc-input-disabled .yc-input-wrapper .yc-input::placeholder{color:var(--color-text-4)}.yc-input-wrapper{flex:1;height:100%;width:100%;cursor:text;padding:0 12px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1);color:var(--color-text-1);font-size:inherit;font-weight:400;display:flex;align-items:center}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-input-wrapper:not(.yc-input-wrapper-disabled):hover .yc-input-clear-button{visibility:visible}.yc-input-wrapper:not(.yc-input-wrapper-disabled):focus-within{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix,.yc-input-wrapper .yc-input{flex-shrink:0;color:inherit}.yc-input-wrapper .yc-input-prefix,.yc-input-wrapper .yc-input-suffix{height:100%;color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-input-wrapper .yc-input-prefix .yc-input-word-limit,.yc-input-wrapper .yc-input-suffix .yc-input-word-limit{color:var(--color-text-3);font-size:12px}.yc-input-wrapper .yc-input-prefix .yc-icon-button,.yc-input-wrapper .yc-input-suffix .yc-icon-button{color:inherit}.yc-input-wrapper .yc-input-prefix.yc-input-prefix,.yc-input-wrapper .yc-input-suffix.yc-input-prefix{padding-right:12px}.yc-input-wrapper .yc-input-prefix.yc-input-suffix,.yc-input-wrapper .yc-input-suffix.yc-input-suffix{padding-left:12px}.yc-input-wrapper .yc-input-clear-button{visibility:hidden}.yc-input-wrapper .yc-input{flex:1;cursor:inherit;outline:none;border:none;border-radius:var(--border-radius-none);background-color:transparent;color:inherit}.yc-input-wrapper .yc-input::placeholder{color:var(--color-text-3)}.yc-input-size-mini{font-size:12px;height:24px}.yc-input-size-mini .yc-input-wrapper .yc-input{padding:1px 0;line-height:1.667}.yc-input-size-small{font-size:14px;height:28px}.yc-input-size-small .yc-input-wrapper .yc-input{padding:2px 0;line-height:1.5715}.yc-input-size-medium{font-size:14px;height:32px}.yc-input-size-medium .yc-input-wrapper .yc-input{padding:4px 0;line-height:1.5715}.yc-input-size-large{font-size:14px;height:36px}.yc-input-size-large .yc-input-wrapper .yc-input{padding:6px 0;line-height:1.5715}.yc-input-group{display:inline-flex;align-items:center}.yc-input-group .yc-input-outer .yc-input-wrapper{border-radius:0}.yc-input-group .yc-input-outer:not(:last-child) .yc-input-wrapper{border-right:1px solid var(--color-neutral-3)}.yc-input-group .yc-input-outer:not(:last-child):not(.yc-input-disabled) .yc-input-wrapper:focus-within{border-right-color:rgb(var(--primary-6))}.yc-input-group .yc-input-outer:not(:last-child):not(.yc-input-disabled).yc-input-error .yc-input-wrapper:focus-within{border-right-color:rgb(var(--danger-6))}.yc-input-group .yc-input-outer:first-child .yc-input-wrapper{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.yc-input-group .yc-input-outer:last-child .yc-input-wrapper{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.yc-input-group .yc-input-tag,.yc-input-group .yc-textarea-wrapper,.yc-input-group .yc-picker{border-radius:0}.yc-input-group .yc-input-tag:not(:last-child),.yc-input-group .yc-textarea-wrapper:not(:last-child),.yc-input-group .yc-picker:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus{border-right-color:rgb(var(--primary-6))}.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-input-tag:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group .yc-textarea-wrapper:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group .yc-picker:not(:last-child):not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus{border-right-color:rgb(var(--danger-6))}.yc-input-group .yc-input-tag:first-child,.yc-input-group .yc-textarea-wrapper:first-child,.yc-input-group .yc-picker:first-child{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.yc-input-group .yc-input-tag:last-child,.yc-input-group .yc-textarea-wrapper:last-child,.yc-input-group .yc-picker:last-child{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.yc-input-group>.yc-select:not(:last-child) .yc-input-outer .yc-input-wrapper,.yc-input-group .yc-cascader:not(:last-child) .yc-input-outer .yc-input-wrapper{border-radius:0}.yc-input-group>.yc-select:not(:last-child) .yc-input-outer .yc-input-wrapper,.yc-input-group .yc-cascader:not(:last-child) .yc-input-outer .yc-input-wrapper{border-right:1px solid var(--color-neutral-3)}.yc-input-group>.yc-select:not(:last-child) .yc-input-outer:not(.yc-input-disabled) .yc-input-wrapper:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-outer:not(.yc-input-disabled) .yc-input-wrapper:focus-within{border-right-color:rgb(var(--primary-6))}.yc-input-group>.yc-select:not(:last-child) .yc-input-outer:not(.yc-input-disabled).yc-input-error .yc-input-wrapper:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-outer:not(.yc-input-disabled).yc-input-error .yc-input-wrapper:focus-within{border-right-color:rgb(var(--danger-6))}.yc-input-group>.yc-select:not(:last-child) .yc-input-tag,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper,.yc-input-group>.yc-select:not(:last-child) .yc-picker,.yc-input-group .yc-cascader:not(:last-child) .yc-picker{border-radius:0;border-right:1px solid var(--color-neutral-3)}.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus{border-right-color:rgb(var(--primary-6))}.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-input-tag:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-textarea-wrapper:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group>.yc-select:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus,.yc-input-group .yc-cascader:not(:last-child) .yc-picker:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus{border-right-color:rgb(var(--danger-6))}.yc-input-group>.yc-select:first-child .yc-input-tag,.yc-input-group .yc-cascader:first-child .yc-input-tag,.yc-input-group>.yc-select:first-child .yc-textarea-wrapper,.yc-input-group .yc-cascader:first-child .yc-textarea-wrapper,.yc-input-group>.yc-select:first-child .yc-picker,.yc-input-group .yc-cascader:first-child .yc-picker,.yc-input-group>.yc-select:first-child .yc-input-outer.yc-input-wrapper,.yc-input-group .yc-cascader:first-child .yc-input-outer.yc-input-wrapper{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.yc-input-group>.yc-select:last-child .yc-input-tag,.yc-input-group .yc-cascader:last-child .yc-input-tag,.yc-input-group>.yc-select:last-child .yc-textarea-wrapper,.yc-input-group .yc-cascader:last-child .yc-textarea-wrapper,.yc-input-group>.yc-select:last-child .yc-picker,.yc-input-group .yc-cascader:last-child .yc-picker,.yc-input-group>.yc-select:last-child .yc-input-outer.yc-input-wrapper,.yc-input-group .yc-cascader:last-child .yc-input-outer.yc-input-wrapper{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.reset-base-input .yc-input-wrapper{border-right:1px solid var(--color-neutral-3)}.reset-base-input:not(.yc-input-disabled) .yc-input-wrapper:focus-within{border-right-color:rgb(var(--primary-6))}.reset-base-input:not(.yc-input-disabled).yc-input-error .yc-input-wrapper:focus-within{border-right-color:rgb(var(--danger-6))}.reset-senior-input{border-right:1px solid var(--color-neutral-3)}.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled):focus-within,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-focus{border-right-color:rgb(var(--primary-6))}.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error:focus-within,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error:focus-within,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error:focus-within,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-input-tag-error.yc-picker-focus,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-picker-error.yc-picker-focus,.reset-senior-input:not(.yc-input-tag-disabled):not(.yc-textarea-disabled).yc-textarea-error.yc-picker-focus{border-right-color:rgb(var(--danger-6))}.reset-first-border-radius{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.reset-last-border-radius{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}
@@ -1,5 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  import { default as _Input } from './Input.vue';
3
+ import { default as _InputGroup } from './InputGroup.vue';
3
4
  export type InputInstance = InstanceType<typeof _Input>;
4
5
  export * from './type';
5
6
  declare const Input: {
@@ -143,11 +144,30 @@ declare const Input: {
143
144
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
144
145
  $slots: any;
145
146
  }) & {
147
+ group: {
148
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
149
+ P: {};
150
+ B: {};
151
+ D: {};
152
+ C: {};
153
+ M: {};
154
+ Defaults: {};
155
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
156
+ __isFragment?: never;
157
+ __isTeleport?: never;
158
+ __isSuspense?: never;
159
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
160
+ $slots: {
161
+ default?(_: {}): any;
162
+ };
163
+ });
146
164
  install: (app: App) => void;
147
165
  };
166
+ export { _InputGroup as InputGroup };
148
167
  declare module 'vue' {
149
168
  interface GlobalComponents {
150
169
  YcInput: typeof Input;
170
+ YcInputGroup: typeof _InputGroup;
151
171
  }
152
172
  }
153
173
  export default Input;