yuyeon 0.3.4-rc.4 → 0.3.6-beta.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 (451) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +3963 -3707
  3. package/dist/yuyeon.umd.cjs +3 -3
  4. package/lib/abstract/items.js.map +1 -1
  5. package/lib/components/alert/YAlert.js +1 -2
  6. package/lib/components/alert/YAlert.js.map +1 -1
  7. package/lib/components/alert/index.js.map +1 -1
  8. package/lib/components/app/YApp.js +2 -2
  9. package/lib/components/app/YApp.js.map +1 -1
  10. package/lib/components/app/index.js.map +1 -1
  11. package/lib/components/badge/YBadge.js +7 -5
  12. package/lib/components/badge/YBadge.js.map +1 -1
  13. package/lib/components/badge/YBadge.scss +87 -86
  14. package/lib/components/badge/index.js.map +1 -1
  15. package/lib/components/bench/YBench.js +3 -4
  16. package/lib/components/bench/YBench.js.map +1 -1
  17. package/lib/components/bench/index.js.map +1 -1
  18. package/lib/components/button/YButton.js +1 -2
  19. package/lib/components/button/YButton.js.map +1 -1
  20. package/lib/components/button/index.js.map +1 -1
  21. package/lib/components/card/YCard.js.map +1 -1
  22. package/lib/components/card/YCard.scss +2 -2
  23. package/lib/components/card/YCardBody.js.map +1 -1
  24. package/lib/components/card/YCardFooter.js.map +1 -1
  25. package/lib/components/card/YCardHeader.js.map +1 -1
  26. package/lib/components/card/index.js.map +1 -1
  27. package/lib/components/checkbox/YCheckbox.js +1 -2
  28. package/lib/components/checkbox/YCheckbox.js.map +1 -1
  29. package/lib/components/checkbox/YInputCheckbox.js +1 -2
  30. package/lib/components/checkbox/YInputCheckbox.js.map +1 -1
  31. package/lib/components/checkbox/index.js.map +1 -1
  32. package/lib/components/chip/YChip.js +1 -2
  33. package/lib/components/chip/YChip.js.map +1 -1
  34. package/lib/components/chip/index.js.map +1 -1
  35. package/lib/components/date-picker/YDateCalendar.js +59 -54
  36. package/lib/components/date-picker/YDateCalendar.js.map +1 -1
  37. package/lib/components/date-picker/YDatePicker.js +24 -25
  38. package/lib/components/date-picker/YDatePicker.js.map +1 -1
  39. package/lib/components/date-picker/YDatePickerControl.js +19 -20
  40. package/lib/components/date-picker/YDatePickerControl.js.map +1 -1
  41. package/lib/components/date-picker/YMonthPicker.js +10 -11
  42. package/lib/components/date-picker/YMonthPicker.js.map +1 -1
  43. package/lib/components/date-picker/YYearPicker.js +11 -13
  44. package/lib/components/date-picker/YYearPicker.js.map +1 -1
  45. package/lib/components/date-picker/index.js.map +1 -1
  46. package/lib/components/default-provider/YDefaultProvider.js.map +1 -1
  47. package/lib/components/default-provider/index.js.map +1 -1
  48. package/lib/components/dialog/YDialog.js +32 -32
  49. package/lib/components/dialog/YDialog.js.map +1 -1
  50. package/lib/components/dialog/index.js.map +1 -1
  51. package/lib/components/divider/YDivider.js +5 -5
  52. package/lib/components/divider/YDivider.js.map +1 -1
  53. package/lib/components/divider/index.js.map +1 -1
  54. package/lib/components/draggable/YDraggable.js +10 -11
  55. package/lib/components/draggable/YDraggable.js.map +1 -1
  56. package/lib/components/draggable/index.js.map +1 -1
  57. package/lib/components/dropdown/YDropdown.js +16 -17
  58. package/lib/components/dropdown/YDropdown.js.map +1 -1
  59. package/lib/components/dropdown/index.js.map +1 -1
  60. package/lib/components/field-input/YFieldInput.js +39 -39
  61. package/lib/components/field-input/YFieldInput.js.map +1 -1
  62. package/lib/components/field-input/index.js.map +1 -1
  63. package/lib/components/form/YForm.js +12 -14
  64. package/lib/components/form/YForm.js.map +1 -1
  65. package/lib/components/form/index.js.map +1 -1
  66. package/lib/components/hover/YHover.js +9 -8
  67. package/lib/components/hover/YHover.js.map +1 -1
  68. package/lib/components/hover/index.js.map +1 -1
  69. package/lib/components/icon/YIcon.js +2 -4
  70. package/lib/components/icon/YIcon.js.map +1 -1
  71. package/lib/components/icon/index.js.map +1 -1
  72. package/lib/components/icons/YIconCheckbox.js +7 -6
  73. package/lib/components/icons/YIconCheckbox.js.map +1 -1
  74. package/lib/components/icons/YIconCheckbox.scss +4 -5
  75. package/lib/components/icons/YIconClear.js +2 -1
  76. package/lib/components/icons/YIconClear.js.map +1 -1
  77. package/lib/components/icons/YIconDropdown.js +2 -1
  78. package/lib/components/icons/YIconDropdown.js.map +1 -1
  79. package/lib/components/icons/YIconExpand.js +1 -0
  80. package/lib/components/icons/YIconExpand.js.map +1 -1
  81. package/lib/components/icons/YIconPageControl.js +7 -6
  82. package/lib/components/icons/YIconPageControl.js.map +1 -1
  83. package/lib/components/icons/YIconSort.js +6 -5
  84. package/lib/components/icons/YIconSort.js.map +1 -1
  85. package/lib/components/icons/YIconSort.scss +2 -0
  86. package/lib/components/icons/index.js.map +1 -1
  87. package/lib/components/img/YImg.js +38 -33
  88. package/lib/components/img/YImg.js.map +1 -1
  89. package/lib/components/img/index.js +1 -1
  90. package/lib/components/img/index.js.map +1 -1
  91. package/lib/components/index.js +1 -0
  92. package/lib/components/index.js.map +1 -1
  93. package/lib/components/input/YInput.js +1 -2
  94. package/lib/components/input/YInput.js.map +1 -1
  95. package/lib/components/input/YInput.scss +9 -8
  96. package/lib/components/input/index.js.map +1 -1
  97. package/lib/components/ip-field/YIpv4Field.js +1 -2
  98. package/lib/components/ip-field/YIpv4Field.js.map +1 -1
  99. package/lib/components/ip-field/index.js.map +1 -1
  100. package/lib/components/layer/YLayer.js +38 -25
  101. package/lib/components/layer/YLayer.js.map +1 -1
  102. package/lib/components/layer/active-delay.js.map +1 -1
  103. package/lib/components/layer/active-stack.js.map +1 -1
  104. package/lib/components/layer/base.js +11 -1
  105. package/lib/components/layer/base.js.map +1 -1
  106. package/lib/components/layer/content.js.map +1 -1
  107. package/lib/components/layer/index.js.map +1 -1
  108. package/lib/components/layer/scroll-strategies.js.map +1 -1
  109. package/lib/components/list/YList.js +1 -2
  110. package/lib/components/list/YList.js.map +1 -1
  111. package/lib/components/list/YListItem.js +1 -2
  112. package/lib/components/list/YListItem.js.map +1 -1
  113. package/lib/components/list/index.js.map +1 -1
  114. package/lib/components/loading/YSpinnerRing.js.map +1 -1
  115. package/lib/components/loading/index.js.map +1 -1
  116. package/lib/components/menu/YMenu.js +22 -25
  117. package/lib/components/menu/YMenu.js.map +1 -1
  118. package/lib/components/menu/YMenu.scss +3 -4
  119. package/lib/components/menu/index.js.map +1 -1
  120. package/lib/components/navigation/YNavigation.js +1 -2
  121. package/lib/components/navigation/YNavigation.js.map +1 -1
  122. package/lib/components/navigation/index.js.map +1 -1
  123. package/lib/components/pagination/YPagination.js +1 -2
  124. package/lib/components/pagination/YPagination.js.map +1 -1
  125. package/lib/components/pagination/index.js.map +1 -1
  126. package/lib/components/panel/YDividePanel.js +1 -2
  127. package/lib/components/panel/YDividePanel.js.map +1 -1
  128. package/lib/components/panel/YDividePanel.scss +44 -43
  129. package/lib/components/panel/index.js.map +1 -1
  130. package/lib/components/plate/YPlate.js +1 -2
  131. package/lib/components/plate/YPlate.js.map +1 -1
  132. package/lib/components/plate/index.js.map +1 -1
  133. package/lib/components/progress-bar/YProgressBar.js +1 -2
  134. package/lib/components/progress-bar/YProgressBar.js.map +1 -1
  135. package/lib/components/progress-bar/index.js.map +1 -1
  136. package/lib/components/progress-ring/YProgressRing.js +3 -4
  137. package/lib/components/progress-ring/YProgressRing.js.map +1 -1
  138. package/lib/components/progress-ring/index.js.map +1 -1
  139. package/lib/components/radio/YRadio.js +1 -1
  140. package/lib/components/radio/YRadio.js.map +1 -1
  141. package/lib/components/radio/YRadioIcon.js.map +1 -1
  142. package/lib/components/radio/YRadioIcon.scss +2 -3
  143. package/lib/components/radio/index.js.map +1 -1
  144. package/lib/components/select/YSelect.js +41 -42
  145. package/lib/components/select/YSelect.js.map +1 -1
  146. package/lib/components/select/index.js.map +1 -1
  147. package/lib/components/slider/YSlider.js.map +1 -1
  148. package/lib/components/slider/index.js.map +1 -1
  149. package/lib/components/slider/slider.js.map +1 -1
  150. package/lib/components/snackbar/YSnackbar.js +6 -6
  151. package/lib/components/snackbar/YSnackbar.js.map +1 -1
  152. package/lib/components/snackbar/index.js.map +1 -1
  153. package/lib/components/switch/YSwitch.js +1 -2
  154. package/lib/components/switch/YSwitch.js.map +1 -1
  155. package/lib/components/switch/index.js.map +1 -1
  156. package/lib/components/tab/YTab.js +2 -3
  157. package/lib/components/tab/YTab.js.map +1 -1
  158. package/lib/components/tab/YTab.scss +1 -1
  159. package/lib/components/tab/YTabs.js +1 -2
  160. package/lib/components/tab/YTabs.js.map +1 -1
  161. package/lib/components/tab/index.js.map +1 -1
  162. package/lib/components/tab/shared.js.map +1 -1
  163. package/lib/components/tab/types.js.map +1 -1
  164. package/lib/components/table/YDataTable.js +1 -2
  165. package/lib/components/table/YDataTable.js.map +1 -1
  166. package/lib/components/table/YDataTableBody.js +2 -3
  167. package/lib/components/table/YDataTableBody.js.map +1 -1
  168. package/lib/components/table/YDataTableCell.js +1 -2
  169. package/lib/components/table/YDataTableCell.js.map +1 -1
  170. package/lib/components/table/YDataTableControl.js +1 -1
  171. package/lib/components/table/YDataTableControl.js.map +1 -1
  172. package/lib/components/table/YDataTableControl.scss +17 -17
  173. package/lib/components/table/YDataTableHead.js +1 -1
  174. package/lib/components/table/YDataTableHead.js.map +1 -1
  175. package/lib/components/table/YDataTableLayer.js +1 -2
  176. package/lib/components/table/YDataTableLayer.js.map +1 -1
  177. package/lib/components/table/YDataTableLayerRow.js +1 -2
  178. package/lib/components/table/YDataTableLayerRow.js.map +1 -1
  179. package/lib/components/table/YDataTableLayerRows.js +3 -4
  180. package/lib/components/table/YDataTableLayerRows.js.map +1 -1
  181. package/lib/components/table/YDataTableRow.js +1 -2
  182. package/lib/components/table/YDataTableRow.js.map +1 -1
  183. package/lib/components/table/YDataTableServer.js +1 -2
  184. package/lib/components/table/YDataTableServer.js.map +1 -1
  185. package/lib/components/table/YTable.js +1 -2
  186. package/lib/components/table/YTable.js.map +1 -1
  187. package/lib/components/table/composables/expand.js.map +1 -1
  188. package/lib/components/table/composables/header.js.map +1 -1
  189. package/lib/components/table/composables/items.js.map +1 -1
  190. package/lib/components/table/composables/measure.js +1 -1
  191. package/lib/components/table/composables/measure.js.map +1 -1
  192. package/lib/components/table/composables/options.js.map +1 -1
  193. package/lib/components/table/composables/pagination.js.map +1 -1
  194. package/lib/components/table/composables/provides.js.map +1 -1
  195. package/lib/components/table/composables/selection.js.map +1 -1
  196. package/lib/components/table/composables/sorted-items.js.map +1 -1
  197. package/lib/components/table/composables/sorting.js.map +1 -1
  198. package/lib/components/table/index.js.map +1 -1
  199. package/lib/components/table/types/common.js.map +1 -1
  200. package/lib/components/table/types/header.js.map +1 -1
  201. package/lib/components/table/types/index.js.map +1 -1
  202. package/lib/components/table/types/item.js.map +1 -1
  203. package/lib/components/table/types/row.js.map +1 -1
  204. package/lib/components/text-ellipsis/YTextEllipsis.js +1 -2
  205. package/lib/components/text-ellipsis/YTextEllipsis.js.map +1 -1
  206. package/lib/components/text-ellipsis/index.js.map +1 -1
  207. package/lib/components/text-highlighter/YTextHighlighter.js.map +1 -1
  208. package/lib/components/text-highlighter/index.js.map +1 -1
  209. package/lib/components/text-interpolation/YTi.js +2 -2
  210. package/lib/components/text-interpolation/YTi.js.map +1 -1
  211. package/lib/components/text-interpolation/index.js.map +1 -1
  212. package/lib/components/textarea/YTextarea.js +1 -2
  213. package/lib/components/textarea/YTextarea.js.map +1 -1
  214. package/lib/components/textarea/index.js.map +1 -1
  215. package/lib/components/toggle-button/YToggleButton.js.map +1 -1
  216. package/lib/components/toggle-button/index.js.map +1 -1
  217. package/lib/components/tooltip/YTooltip.js +20 -21
  218. package/lib/components/tooltip/YTooltip.js.map +1 -1
  219. package/lib/components/tooltip/index.js.map +1 -1
  220. package/lib/components/transitions/expand-transition.js.map +1 -1
  221. package/lib/components/transitions/index.js.map +1 -1
  222. package/lib/components/tree-view/YTreeView.js +23 -29
  223. package/lib/components/tree-view/YTreeView.js.map +1 -1
  224. package/lib/components/tree-view/YTreeViewNode.js +58 -21
  225. package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
  226. package/lib/components/tree-view/index.js.map +1 -1
  227. package/lib/components/tree-view/tree-view.js +61 -8
  228. package/lib/components/tree-view/tree-view.js.map +1 -1
  229. package/lib/components/tree-view/types.js.map +1 -1
  230. package/lib/components/tree-view/util.js.map +1 -1
  231. package/lib/composables/choice-link.js.map +1 -1
  232. package/lib/composables/choice.js.map +1 -1
  233. package/lib/composables/communication.js.map +1 -1
  234. package/lib/composables/component.js.map +1 -1
  235. package/lib/composables/coordinate/arrangement.js.map +1 -1
  236. package/lib/composables/coordinate/index.js +23 -13
  237. package/lib/composables/coordinate/index.js.map +1 -1
  238. package/lib/composables/coordinate/levitation.js +79 -50
  239. package/lib/composables/coordinate/levitation.js.map +1 -1
  240. package/lib/composables/coordinate/types.js.map +1 -1
  241. package/lib/composables/coordinate/utils/point.js.map +1 -1
  242. package/lib/composables/date/factory.js.map +1 -1
  243. package/lib/composables/date/index.js.map +1 -1
  244. package/lib/composables/date/setting.js.map +1 -1
  245. package/lib/composables/date/types.js.map +1 -1
  246. package/lib/composables/defaults/index.js.map +1 -1
  247. package/lib/composables/defaults/share.js.map +1 -1
  248. package/lib/composables/defaults/types.js.map +1 -1
  249. package/lib/composables/dimension.js.map +1 -1
  250. package/lib/composables/focus.js.map +1 -1
  251. package/lib/composables/form.js +5 -5
  252. package/lib/composables/form.js.map +1 -1
  253. package/lib/composables/i18n/index.js.map +1 -1
  254. package/lib/composables/i18n/locale.js.map +1 -1
  255. package/lib/composables/i18n/rtl.js.map +1 -1
  256. package/lib/composables/i18n/share.js.map +1 -1
  257. package/lib/composables/icon.js +1 -2
  258. package/lib/composables/icon.js.map +1 -1
  259. package/lib/composables/index.js.map +1 -1
  260. package/lib/composables/layer-group.js.map +1 -1
  261. package/lib/composables/layout.js.map +1 -1
  262. package/lib/composables/list-items.js.map +1 -1
  263. package/lib/composables/progress.js.map +1 -1
  264. package/lib/composables/ref.js.map +1 -1
  265. package/lib/composables/resize-observer.js.map +1 -1
  266. package/lib/composables/scope.js.map +1 -1
  267. package/lib/composables/style-color.js +6 -5
  268. package/lib/composables/style-color.js.map +1 -1
  269. package/lib/composables/theme/factory.js.map +1 -1
  270. package/lib/composables/theme/helper.js.map +1 -1
  271. package/lib/composables/theme/index.js +8 -1
  272. package/lib/composables/theme/index.js.map +1 -1
  273. package/lib/composables/theme/setting.js.map +1 -1
  274. package/lib/composables/theme/types.js.map +1 -1
  275. package/lib/composables/timing.js +13 -5
  276. package/lib/composables/timing.js.map +1 -1
  277. package/lib/composables/transition.js.map +1 -1
  278. package/lib/composables/validation.js.map +1 -1
  279. package/lib/composables/vue-router.js.map +1 -1
  280. package/lib/directives/complement-click/index.js.map +1 -1
  281. package/lib/directives/index.js +3 -0
  282. package/lib/directives/index.js.map +1 -0
  283. package/lib/directives/plate-wave/index.js.map +1 -1
  284. package/lib/directives/plate-wave/plate-wave.scss +44 -33
  285. package/lib/directives/theme-class/index.js +24 -0
  286. package/lib/directives/theme-class/index.js.map +1 -0
  287. package/lib/etc/index.js.map +1 -1
  288. package/lib/i18n/built-in.js.map +1 -1
  289. package/lib/i18n/config.js.map +1 -1
  290. package/lib/i18n/types.js.map +1 -1
  291. package/lib/index.js +3 -3
  292. package/lib/index.js.map +1 -1
  293. package/lib/locales/en.js.map +1 -1
  294. package/lib/locales/index.js.map +1 -1
  295. package/lib/locales/ko.js.map +1 -1
  296. package/lib/mixins/di.js.map +1 -1
  297. package/lib/mixins/rebind-attrs.js +0 -2
  298. package/lib/mixins/rebind-attrs.js.map +1 -1
  299. package/lib/styles/_elevation.scss +0 -1
  300. package/lib/styles/base.scss +3 -1
  301. package/lib/styles/settings/_elevation.scss +12 -12
  302. package/lib/styles/settings/_provided.scss +33 -33
  303. package/lib/styles/theme/dark.scss +3 -3
  304. package/lib/styles/theme/index.scss +4 -5
  305. package/lib/styles/theme/light.scss +3 -3
  306. package/lib/styles/util/_mixin.scss +16 -16
  307. package/lib/types/index.js.map +1 -1
  308. package/lib/util/anchor.js.map +1 -1
  309. package/lib/util/array.js.map +1 -1
  310. package/lib/util/collection.js.map +1 -1
  311. package/lib/util/color/apca.js +31 -30
  312. package/lib/util/color/apca.js.map +1 -1
  313. package/lib/util/color/const.js.map +1 -1
  314. package/lib/util/color/contrast/contrast.js.map +1 -1
  315. package/lib/util/color/conversion.js.map +1 -1
  316. package/lib/util/color/hct/cam16.js +95 -95
  317. package/lib/util/color/hct/cam16.js.map +1 -1
  318. package/lib/util/color/hct/hct-solver.js +113 -113
  319. package/lib/util/color/hct/hct-solver.js.map +1 -1
  320. package/lib/util/color/hct/hct.js +71 -71
  321. package/lib/util/color/hct/hct.js.map +1 -1
  322. package/lib/util/color/hct/viewing-conditions.js +6 -4
  323. package/lib/util/color/hct/viewing-conditions.js.map +1 -1
  324. package/lib/util/color/index.js +12 -12
  325. package/lib/util/color/index.js.map +1 -1
  326. package/lib/util/color/palettes/core-palette.js.map +1 -1
  327. package/lib/util/color/palettes/tonal-palette.js +3 -3
  328. package/lib/util/color/palettes/tonal-palette.js.map +1 -1
  329. package/lib/util/color/types.js.map +1 -1
  330. package/lib/util/color/utils/math-utils.js +62 -62
  331. package/lib/util/color/utils/math-utils.js.map +1 -1
  332. package/lib/util/common.js +28 -13
  333. package/lib/util/common.js.map +1 -1
  334. package/lib/util/component/component.js.map +1 -1
  335. package/lib/util/component/index.js.map +1 -1
  336. package/lib/util/component/inject-self.js.map +1 -1
  337. package/lib/util/component/props.js.map +1 -1
  338. package/lib/util/component/types.js.map +1 -1
  339. package/lib/util/date/adapters/yuyeon-date-adapter.js +3 -3
  340. package/lib/util/date/adapters/yuyeon-date-adapter.js.map +1 -1
  341. package/lib/util/date/built-in.js +2 -0
  342. package/lib/util/date/built-in.js.map +1 -1
  343. package/lib/util/date/index.js +1 -1
  344. package/lib/util/date/index.js.map +1 -1
  345. package/lib/util/date/types.js.map +1 -1
  346. package/lib/util/debounce.js +1 -1
  347. package/lib/util/debounce.js.map +1 -1
  348. package/lib/util/dom.js +10 -1
  349. package/lib/util/dom.js.map +1 -1
  350. package/lib/util/environments.js.map +1 -1
  351. package/lib/util/frame-scheduler.js +3 -3
  352. package/lib/util/frame-scheduler.js.map +1 -1
  353. package/lib/util/index.js +11 -11
  354. package/lib/util/index.js.map +1 -1
  355. package/lib/util/reactivity.js +3 -3
  356. package/lib/util/reactivity.js.map +1 -1
  357. package/lib/util/rect.js.map +1 -1
  358. package/lib/util/scroll.js.map +1 -1
  359. package/lib/util/string.js +3 -1
  360. package/lib/util/string.js.map +1 -1
  361. package/lib/util/ui.js +8 -7
  362. package/lib/util/ui.js.map +1 -1
  363. package/lib/util/validation.js.map +1 -1
  364. package/package.json +11 -2
  365. package/types/abstract/items.d.ts +4 -4
  366. package/types/components/alert/YAlert.d.ts +2 -2
  367. package/types/components/badge/YBadge.d.ts +9 -3
  368. package/types/components/button/YButton.d.ts +3 -3
  369. package/types/components/checkbox/YCheckbox.d.ts +4 -4
  370. package/types/components/chip/YChip.d.ts +0 -3
  371. package/types/components/date-picker/YDateCalendar.d.ts +4 -3
  372. package/types/components/date-picker/YDatePickerControl.d.ts +7 -7
  373. package/types/components/dialog/YDialog.d.ts +116 -6484
  374. package/types/components/draggable/YDraggable.d.ts +6 -6
  375. package/types/components/dropdown/YDropdown.d.ts +87 -87
  376. package/types/components/field-input/YFieldInput.d.ts +14 -14
  377. package/types/components/form/YForm.d.ts +3 -3
  378. package/types/components/icon/YIcon.d.ts +4 -4
  379. package/types/components/icons/YIconPageControl.d.ts +1 -1
  380. package/types/components/icons/YIconSort.d.ts +1 -1
  381. package/types/components/icons/index.d.ts +4 -4
  382. package/types/components/img/YImg.d.ts +30 -27
  383. package/types/components/img/index.d.ts +1 -0
  384. package/types/components/index.d.ts +1 -0
  385. package/types/components/input/YInput.d.ts +13 -13
  386. package/types/components/ip-field/YIpv4Field.d.ts +5 -5
  387. package/types/components/layer/YLayer.d.ts +59 -3242
  388. package/types/components/layer/base.d.ts +4 -0
  389. package/types/components/layer/scroll-strategies.d.ts +4 -4
  390. package/types/components/menu/YMenu.d.ts +83 -6451
  391. package/types/components/pagination/YPagination.d.ts +3 -3
  392. package/types/components/select/YSelect.d.ts +172 -496
  393. package/types/components/slider/YSlider.d.ts +1 -1
  394. package/types/components/snackbar/YSnackbar.d.ts +55 -55
  395. package/types/components/tab/YTab.d.ts +3 -3
  396. package/types/components/tab/YTabs.d.ts +1 -1
  397. package/types/components/table/YDataTable.d.ts +30 -87
  398. package/types/components/table/YDataTableBody.d.ts +3 -3
  399. package/types/components/table/YDataTableCell.d.ts +2 -2
  400. package/types/components/table/YDataTableControl.d.ts +6 -6
  401. package/types/components/table/YDataTableLayer.d.ts +2 -2
  402. package/types/components/table/YDataTableRow.d.ts +1 -1
  403. package/types/components/table/YDataTableServer.d.ts +37 -94
  404. package/types/components/table/YTable.d.ts +3 -3
  405. package/types/components/table/composables/expand.d.ts +4 -4
  406. package/types/components/table/composables/header.d.ts +16 -48
  407. package/types/components/table/composables/items.d.ts +2 -2
  408. package/types/components/table/composables/pagination.d.ts +10 -10
  409. package/types/components/table/composables/selection.d.ts +6 -6
  410. package/types/components/table/composables/sorting.d.ts +8 -14
  411. package/types/components/table/types/item.d.ts +1 -1
  412. package/types/components/textarea/YTextarea.d.ts +30 -30
  413. package/types/components/tooltip/YTooltip.d.ts +67 -67
  414. package/types/components/tree-view/YTreeView.d.ts +21 -29
  415. package/types/components/tree-view/YTreeViewNode.d.ts +76 -6
  416. package/types/components/tree-view/tree-view.d.ts +19 -3
  417. package/types/composables/choice.d.ts +2 -2
  418. package/types/composables/coordinate/index.d.ts +28 -3207
  419. package/types/composables/coordinate/levitation.d.ts +4 -2
  420. package/types/composables/coordinate/types.d.ts +1 -0
  421. package/types/composables/dimension.d.ts +6 -6
  422. package/types/composables/form.d.ts +17 -27
  423. package/types/composables/list-items.d.ts +3 -3
  424. package/types/composables/style-color.d.ts +22 -1
  425. package/types/composables/theme/index.d.ts +1 -0
  426. package/types/composables/transition.d.ts +10 -10
  427. package/types/composables/validation.d.ts +6 -6
  428. package/types/composables/vue-router.d.ts +3 -3
  429. package/types/declares.d.ts +1 -0
  430. package/types/directives/index.d.ts +2 -0
  431. package/types/directives/plate-wave/index.d.ts +7 -1
  432. package/types/globals.d.ts +4 -5
  433. package/types/shims.d.ts +65 -59
  434. package/types/types/index.d.ts +3 -0
  435. package/types/util/anchor.d.ts +1 -1
  436. package/types/util/common.d.ts +3 -0
  437. package/types/util/component/component.d.ts +1 -2
  438. package/types/util/component/props.d.ts +1 -1
  439. package/types/util/component/types.d.ts +1 -1
  440. package/types/util/date/index.d.ts +1 -1
  441. package/types/util/dom.d.ts +2 -0
  442. package/types/util/index.d.ts +11 -11
  443. package/types/components/table/composibles/header.d.ts +0 -207
  444. package/types/components/table/composibles/items.d.ts +0 -55
  445. package/types/components/table/composibles/measure.d.ts +0 -8
  446. package/types/components/table/composibles/options.d.ts +0 -11
  447. package/types/components/table/composibles/pagination.d.ts +0 -81
  448. package/types/components/table/composibles/selection.d.ts +0 -82
  449. package/types/components/table/composibles/sorted-items.d.ts +0 -7
  450. package/types/components/table/composibles/sorting.d.ts +0 -62
  451. /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
@@ -1,7 +1,9 @@
1
1
  import { CSSProperties, Ref } from 'vue';
2
- import { Rect } from '../../util/rect';
3
2
  import { CoordinateState } from './types';
4
3
 
5
- export declare function applyLevitation(props: any, state: CoordinateState, coordinate: Ref<Rect | undefined>, coordinateStyles: Ref<CSSProperties>): {
4
+ export declare function applyLevitation(props: any, state: CoordinateState, coordination: Ref<any>, coordinateStyles: Ref<CSSProperties>): {
6
5
  updateCoordinate: () => any;
6
+ isFlipped: Ref<boolean[], boolean[]>;
7
+ preferredAnchor: Ref<import('../../util/anchor').ParsedAnchor, import('../../util/anchor').ParsedAnchor>;
8
+ preferredOrigin: Ref<import('../../util/anchor').ParsedAnchor, import('../../util/anchor').ParsedAnchor>;
7
9
  };
@@ -4,4 +4,5 @@ export interface CoordinateState {
4
4
  contentEl: Ref<HTMLElement | undefined>;
5
5
  base: Ref<HTMLElement | [x: number, y: number] | undefined>;
6
6
  active: Ref<boolean>;
7
+ placement?: Ref<any>;
7
8
  }
@@ -1,12 +1,12 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
 
3
3
  declare const dimensionPropsOptions: {
4
- minWidth: PropType<string | number>;
5
- width: PropType<string | number>;
6
- maxWidth: PropType<string | number>;
7
- minHeight: PropType<string | number>;
8
- height: PropType<string | number>;
9
- maxHeight: PropType<string | number>;
4
+ minWidth: PropType<number | string>;
5
+ width: PropType<number | string>;
6
+ maxWidth: PropType<number | string>;
7
+ minHeight: PropType<number | string>;
8
+ height: PropType<number | string>;
9
+ maxHeight: PropType<number | string>;
10
10
  };
11
11
  export declare const pressDimensionPropsOptions: <Defaults extends {
12
12
  minWidth?: unknown;
@@ -36,7 +36,7 @@ export interface FormInstance {
36
36
  isLoading: ComputedRef<boolean>;
37
37
  isValidating: Ref<boolean>;
38
38
  isValid: Ref<boolean | null>;
39
- validateOn: Ref<FormProps['validateOn']>;
39
+ validateOn: Ref<FormProps["validateOn"]>;
40
40
  }
41
41
  export declare const YUYEON_FORM_KEY: InjectionKey<FormInstance>;
42
42
  export interface FormProps {
@@ -44,8 +44,8 @@ export interface FormProps {
44
44
  disabled: boolean;
45
45
  loading: boolean;
46
46
  modelValue: boolean | null;
47
- 'onUpdate:modelValue': EventProp<[boolean | null]> | undefined;
48
- validateOn: ValidationProps['validateOn'];
47
+ "onUpdate:modelValue": EventProp<[boolean | null]> | undefined;
48
+ validateOn: ValidationProps["validateOn"];
49
49
  }
50
50
  export declare const pressFormPropsOptions: <Defaults extends {
51
51
  readonly?: unknown;
@@ -77,10 +77,10 @@ export declare const pressFormPropsOptions: <Defaults extends {
77
77
  default: unknown extends Defaults["modelValue"] ? boolean | null : Defaults["modelValue"] | NonNullable<boolean | null>;
78
78
  };
79
79
  validateOn: unknown extends Defaults["validateOn"] ? {
80
- type: PropType<string>;
80
+ type: PropType<ValidationProps["validateOn"]>;
81
81
  default: string;
82
82
  } : Omit<{
83
- type: PropType<string>;
83
+ type: PropType<ValidationProps["validateOn"]>;
84
84
  default: string;
85
85
  }, "type" | "default"> & {
86
86
  type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
@@ -89,34 +89,26 @@ export declare const pressFormPropsOptions: <Defaults extends {
89
89
  };
90
90
  export declare function createForm(props: FormProps): {
91
91
  inputs: Ref<{
92
- id: string | number;
93
- vnode: VNode<import('vue').RendererNode, import('vue').RendererElement, {
94
- [key: string]: any;
95
- }>;
92
+ id: number | string;
93
+ vnode: VNode;
96
94
  validate: () => Promise<any[]>;
97
- isError: boolean | null | undefined;
95
+ isError: boolean | undefined | null;
98
96
  errors: any[];
99
97
  }[], FormInput[] | {
100
- id: string | number;
101
- vnode: VNode<import('vue').RendererNode, import('vue').RendererElement, {
102
- [key: string]: any;
103
- }>;
98
+ id: number | string;
99
+ vnode: VNode;
104
100
  validate: () => Promise<any[]>;
105
- isError: boolean | null | undefined;
101
+ isError: boolean | undefined | null;
106
102
  errors: any[];
107
103
  }[]>;
108
104
  errors: Ref<{
109
- id: string | number;
110
- vnode: VNode<import('vue').RendererNode, import('vue').RendererElement, {
111
- [key: string]: any;
112
- }>;
105
+ id: number | string;
106
+ vnode: VNode;
113
107
  exposed: any;
114
108
  errors: any[];
115
109
  }[], InputValidationResult[] | {
116
- id: string | number;
117
- vnode: VNode<import('vue').RendererNode, import('vue').RendererElement, {
118
- [key: string]: any;
119
- }>;
110
+ id: number | string;
111
+ vnode: VNode;
120
112
  exposed: any;
121
113
  errors: any[];
122
114
  }[]>;
@@ -130,10 +122,8 @@ export declare function createForm(props: FormProps): {
130
122
  validate: () => Promise<{
131
123
  valid: boolean;
132
124
  errors: {
133
- id: string | number;
134
- vnode: VNode<import('vue').RendererNode, import('vue').RendererElement, {
135
- [key: string]: any;
136
- }>;
125
+ id: number | string;
126
+ vnode: VNode;
137
127
  exposed: any;
138
128
  errors: any[];
139
129
  }[];
@@ -31,7 +31,7 @@ declare const listItemsPropsOptions: {
31
31
  default: string;
32
32
  };
33
33
  itemChildren: Omit<{
34
- type: import('vue').PropType<string | boolean>;
34
+ type: import('vue').PropType<boolean | string>;
35
35
  default: string;
36
36
  }, "type" | "default"> & {
37
37
  type: import('vue').PropType<NonNullable<string | boolean>>;
@@ -87,13 +87,13 @@ export declare const pressListItemsPropsOptions: <Defaults extends {
87
87
  default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
88
88
  };
89
89
  itemChildren: unknown extends Defaults["itemChildren"] ? Omit<{
90
- type: import('vue').PropType<string | boolean>;
90
+ type: import('vue').PropType<boolean | string>;
91
91
  default: string;
92
92
  }, "type" | "default"> & {
93
93
  type: import('vue').PropType<NonNullable<string | boolean>>;
94
94
  default: NonNullable<string | boolean>;
95
95
  } : Omit<Omit<{
96
- type: import('vue').PropType<string | boolean>;
96
+ type: import('vue').PropType<boolean | string>;
97
97
  default: string;
98
98
  }, "type" | "default"> & {
99
99
  type: import('vue').PropType<NonNullable<string | boolean>>;
@@ -5,7 +5,28 @@ export declare const styleColorPropsOptions: {
5
5
  background: StringConstructor;
6
6
  backgroundOpacity: {
7
7
  type: NumberConstructor;
8
- default: number;
8
+ };
9
+ };
10
+ export declare const pressColorPropsOptions: <Defaults extends {
11
+ color?: unknown;
12
+ background?: unknown;
13
+ backgroundOpacity?: unknown;
14
+ } = {}>(defaults?: Defaults | undefined) => {
15
+ color: unknown extends Defaults["color"] ? StringConstructor : {
16
+ type: import('vue').PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
17
+ default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
18
+ };
19
+ background: unknown extends Defaults["background"] ? StringConstructor : {
20
+ type: import('vue').PropType<unknown extends Defaults["background"] ? string : string | Defaults["background"]>;
21
+ default: unknown extends Defaults["background"] ? string : string | Defaults["background"];
22
+ };
23
+ backgroundOpacity: unknown extends Defaults["backgroundOpacity"] ? {
24
+ type: NumberConstructor;
25
+ } : Omit<{
26
+ type: NumberConstructor;
27
+ }, "type" | "default"> & {
28
+ type: import('vue').PropType<unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"]>;
29
+ default: unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"];
9
30
  };
10
31
  };
11
32
  export declare function useStyleColor(props: ExtractPropTypes<typeof styleColorPropsOptions>, name: string): {
@@ -43,6 +43,7 @@ export declare function createThemeModule(options: ThemeOptions): {
43
43
  scheme: Ref<string, string>;
44
44
  theme: Ref<[string, string], [string, string]>;
45
45
  currentThemeKey: ComputedRef<string>;
46
+ currentThemeColors: ComputedRef<Record<string, string>>;
46
47
  themeClasses: ComputedRef<string>;
47
48
  computedThemes: ComputedRef<Record<string, import('./types').ThemeDefinition>>;
48
49
  computedPalette: ComputedRef<Record<string, string>>;
@@ -5,25 +5,25 @@ export declare const pressPolyTransitionPropsOptions: <Defaults extends {
5
5
  } = {}>(defaults?: Defaults | undefined) => {
6
6
  transition: unknown extends Defaults["transition"] ? {
7
7
  type: PropType<string | (TransitionProps & {
8
- is?: Component | undefined;
8
+ is?: Component;
9
9
  })>;
10
10
  default: string;
11
11
  } : Omit<{
12
12
  type: PropType<string | (TransitionProps & {
13
- is?: Component | undefined;
13
+ is?: Component;
14
14
  })>;
15
15
  default: string;
16
16
  }, "type" | "default"> & {
17
17
  type: PropType<unknown extends Defaults["transition"] ? string | (TransitionProps & {
18
- is?: Component | undefined;
19
- }) : NonNullable<string | (TransitionProps & {
20
- is?: Component | undefined;
21
- })> | Defaults["transition"]>;
18
+ is?: Component;
19
+ }) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
20
+ is?: Component;
21
+ })>>;
22
22
  default: unknown extends Defaults["transition"] ? string | (TransitionProps & {
23
- is?: Component | undefined;
24
- }) : NonNullable<string | (TransitionProps & {
25
- is?: Component | undefined;
26
- })> | Defaults["transition"];
23
+ is?: Component;
24
+ }) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
25
+ is?: Component;
26
+ })>;
27
27
  };
28
28
  };
29
29
  export declare function usePolyTransition(props: {
@@ -22,10 +22,10 @@ export declare const pressValidationPropsOptions: <Defaults extends {
22
22
  default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
23
23
  };
24
24
  status: unknown extends Defaults["status"] ? {
25
- type: PropType<"error" | "warning" | "success" | undefined>;
25
+ type: PropType<"success" | "warning" | "error" | undefined>;
26
26
  validator(value: string): boolean;
27
27
  } : Omit<{
28
- type: PropType<"error" | "warning" | "success" | undefined>;
28
+ type: PropType<"success" | "warning" | "error" | undefined>;
29
29
  validator(value: string): boolean;
30
30
  }, "type" | "default"> & {
31
31
  type: PropType<unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>>;
@@ -40,9 +40,9 @@ export declare const pressValidationPropsOptions: <Defaults extends {
40
40
  default: unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>;
41
41
  };
42
42
  validateOn: unknown extends Defaults["validateOn"] ? {
43
- type: PropType<string>;
43
+ type: PropType<ValidationProps["validateOn"]>;
44
44
  } : Omit<{
45
- type: PropType<string>;
45
+ type: PropType<ValidationProps["validateOn"]>;
46
46
  }, "type" | "default"> & {
47
47
  type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
48
48
  default: unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"];
@@ -52,10 +52,10 @@ export declare const pressValidationPropsOptions: <Defaults extends {
52
52
  default: unknown extends Defaults["validationValue"] ? any : any;
53
53
  };
54
54
  maxErrors: unknown extends Defaults["maxErrors"] ? {
55
- type: PropType<string | number>;
55
+ type: PropType<number | string>;
56
56
  default: number;
57
57
  } : Omit<{
58
- type: PropType<string | number>;
58
+ type: PropType<number | string>;
59
59
  default: number;
60
60
  }, "type" | "default"> & {
61
61
  type: PropType<unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>>;
@@ -26,9 +26,9 @@ export declare const pressVueRouterPropsOptions: <Defaults extends {
26
26
  type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
27
27
  default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
28
28
  };
29
- to: unknown extends Defaults["to"] ? PropType<RouteLocationRaw> : {
30
- type: PropType<unknown extends Defaults["to"] ? RouteLocationRaw : Defaults["to"] | NonNullable<RouteLocationRaw>>;
31
- default: unknown extends Defaults["to"] ? RouteLocationRaw : Defaults["to"] | NonNullable<RouteLocationRaw>;
29
+ to: unknown extends Defaults["to"] ? PropType<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric> : {
30
+ type: PropType<unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>>;
31
+ default: unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>;
32
32
  };
33
33
  exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
34
34
  type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
@@ -0,0 +1 @@
1
+ declare module '*.scss';
@@ -0,0 +1,2 @@
1
+ export * from './complement-click';
2
+ export * from './plate-wave';
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from 'vue';
1
+ import { Directive, DirectiveBinding } from 'vue';
2
2
 
3
3
  export interface PlateWaveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
4
4
  value?: boolean;
@@ -11,4 +11,10 @@ export declare const PlateWave: {
11
11
  updated(el: HTMLElement, binding: PlateWaveBinding): void;
12
12
  unmount(el: HTMLElement): void;
13
13
  };
14
+ export type PlateWaveDirective = Directive<HTMLElement, boolean>;
15
+ declare module 'vue' {
16
+ interface ComponentCustomProperties {
17
+ vPlateWave: PlateWaveDirective;
18
+ }
19
+ }
14
20
  export default PlateWave;
@@ -6,16 +6,15 @@ declare global {
6
6
  interface Element extends VNode {}
7
7
 
8
8
  interface IntrinsicAttributes {
9
- [name: string]: any
9
+ [name: string]: any;
10
10
  }
11
11
  }
12
12
  }
13
13
 
14
- declare module '@vue/runtime-core' {
15
- export interface ComponentCustomProperties {
16
- }
14
+ declare module 'vue' {
15
+ export interface ComponentCustomProperties {}
17
16
 
18
17
  export interface ComponentInternalInstance {
19
- provides: Record<string, unknown>
18
+ provides: Record<string, unknown>;
20
19
  }
21
20
  }
package/types/shims.d.ts CHANGED
@@ -1,59 +1,65 @@
1
- import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableLayerRow, YDataTableLayerRows, YDataTableServer, YDateCalendar, YDatePicker, YDialog, YDividePanel, YDivider, YDropdown, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YInput, YInputCheckbox, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextHighlighter, YTextarea, YTi, YTooltip, YTreeView, YTreeViewNode, YTextEllipsis } from 'yuyeon/components';
2
-
3
-
4
- declare module '@vue/runtime-core' {
5
- export interface GlobalComponents {
6
- // @define-components
7
- YApp: typeof YApp;
8
- YButton: typeof YButton;
9
- YChip: typeof YChip;
10
- YInput: typeof YInput;
11
- YFieldInput: typeof YFieldInput;
12
- YTextarea: typeof YTextarea;
13
- YForm: typeof YForm;
14
- YCard: typeof YCard;
15
- YCardBody: typeof YCardBody;
16
- YCardHeader: typeof YCardHeader;
17
- YCardFooter: typeof YCardFooter;
18
- YDialog: typeof YDialog;
19
- YLayer: typeof YLayer;
20
- YSnackbar: typeof YSnackbar;
21
- YProgressBar: typeof YProgressBar;
22
- YSpinnerRing: typeof YSpinnerRing;
23
- YTooltip: typeof YTooltip;
24
- YExpandVTransition: typeof YExpandVTransition;
25
- YExpandHTransition: typeof YExpandHTransition;
26
- YDividePanel: typeof YDividePanel;
27
- YList: typeof YList;
28
- YListItem: typeof YListItem;
29
- YTreeView: typeof YTreeView;
30
- YTreeViewNode: typeof YTreeViewNode;
31
- YTable: typeof YTable;
32
- YDataTable: typeof YDataTable;
33
- YDataTableLayerRows: typeof YDataTableLayerRows;
34
- YDataTableLayerRow: typeof YDataTableLayerRow;
35
- YDataTableServer: typeof YDataTableServer;
36
- YMenu: typeof YMenu;
37
- YPagination: typeof YPagination;
38
- YInputCheckbox: typeof YInputCheckbox;
39
- YCheckbox: typeof YCheckbox;
40
- YSwitch: typeof YSwitch;
41
- YDropdown: typeof YDropdown;
42
- YSelect: typeof YSelect;
43
- YAlert: typeof YAlert;
44
- YTabs: typeof YTabs;
45
- YTab: typeof YTab;
46
- YDivider: typeof YDivider;
47
- YDateCalendar: typeof YDateCalendar;
48
- YIcon: typeof YIcon;
49
- YDatePicker: typeof YDatePicker;
50
- YMonthPicker: typeof YMonthPicker;
51
- YBadge: typeof YBadge;
52
- YIpv4Field: typeof YIpv4Field;
53
- YHover: typeof YHover;
54
- YTi: typeof YTi;
55
- YTextHighlighter: typeof YTextHighlighter;
56
- YProgressRing: typeof YProgressRing;
57
- YTextEllipsis: typeof YTextEllipsis
58
- }
59
- }
1
+ import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableServer, YDateCalendar, YDatePicker, YDividePanel, YDivider, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YImg, YInput, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextarea, YTextEllipsis, YTextHighlighter, YTi, YTooltip, YTreeView } from 'yuyeon/components';
2
+
3
+
4
+ declare module "vue" {
5
+ export interface GlobalComponents {
6
+ // @define-components
7
+ YApp: typeof YApp;
8
+ YButton: typeof YButton;
9
+ YChip: typeof YChip;
10
+ YInput: typeof YInput;
11
+ YFieldInput: typeof YFieldInput;
12
+ YTextarea: typeof YTextarea;
13
+ YForm: typeof YForm;
14
+ YCard: typeof YCard;
15
+ YCardBody: typeof YCardBody;
16
+ YCardHeader: typeof YCardHeader;
17
+ YCardFooter: typeof YCardFooter;
18
+ YDialog: typeof YDialog;
19
+ YLayer: typeof YLayer;
20
+ YSnackbar: typeof YSnackbar;
21
+ YProgressBar: typeof YProgressBar;
22
+ YSpinnerRing: typeof YSpinnerRing;
23
+ YTooltip: typeof YTooltip;
24
+ YExpandVTransition: typeof YExpandVTransition;
25
+ YExpandHTransition: typeof YExpandHTransition;
26
+ YDividePanel: typeof YDividePanel;
27
+ YList: typeof YList;
28
+ YListItem: typeof YListItem;
29
+ YTreeView: typeof YTreeView;
30
+ YTreeViewNode: typeof YTreeViewNode;
31
+ YTable: typeof YTable;
32
+ YDataTable: typeof YDataTable;
33
+ YDataTableLayerRows: typeof YDataTableLayerRows;
34
+ YDataTableLayerRow: typeof YDataTableLayerRow;
35
+ YDataTableServer: typeof YDataTableServer;
36
+ YMenu: typeof YMenu;
37
+ YPagination: typeof YPagination;
38
+ YInputCheckbox: typeof YInputCheckbox;
39
+ YCheckbox: typeof YCheckbox;
40
+ YSwitch: typeof YSwitch;
41
+ YDropdown: typeof YDropdown;
42
+ YSelect: typeof YSelect;
43
+ YAlert: typeof YAlert;
44
+ YTabs: typeof YTabs;
45
+ YTab: typeof YTab;
46
+ YDivider: typeof YDivider;
47
+ YDateCalendar: typeof YDateCalendar;
48
+ YIcon: typeof YIcon;
49
+ YDatePicker: typeof YDatePicker;
50
+ YMonthPicker: typeof YMonthPicker;
51
+ YBadge: typeof YBadge;
52
+ YIpv4Field: typeof YIpv4Field;
53
+ YHover: typeof YHover;
54
+ YTi: typeof YTi;
55
+ YTextHighlighter: typeof YTextHighlighter;
56
+ YProgressRing: typeof YProgressRing;
57
+ YTextEllipsis: typeof YTextEllipsis;
58
+ YImg: typeof YImg;
59
+ }
60
+
61
+ export interface GlobalDirectives {
62
+ vPlateWave: (import("yuyeon/directives"))["PlateWave"];
63
+ vComplementClick: (import("yuyeon/directives"))["ComplementClick"];
64
+ }
65
+ }
@@ -4,3 +4,6 @@ export type CandidateKey = string | number;
4
4
  export type JSXComponent<Props = any> = FunctionalComponent<Props> | {
5
5
  new (): ComponentPublicInstance<Props>;
6
6
  };
7
+ export type CssProperties = {
8
+ [p: `--${string}`]: string | number | undefined;
9
+ };
@@ -15,7 +15,7 @@ export type ParsedAnchor = {
15
15
  };
16
16
  /** Parse a raw anchor string into an object */
17
17
  export declare function parseAnchor(anchor: Anchor, isRtl: boolean): ParsedAnchor;
18
- export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "top" | "bottom" | "left" | "right" | "center";
18
+ export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "bottom" | "left" | "right" | "top" | "center";
19
19
  export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
20
20
  export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
21
21
  export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
@@ -1,3 +1,4 @@
1
+ /** biome-ignore-all lint/suspicious/useIterableCallbackReturn: <explanation> */
1
2
  export declare function hasOwnProperty(object: any, property: string): boolean;
2
3
  export declare function getNestedValue(obj: any, path: (string | number)[], fallback?: any): any;
3
4
  export declare function mergeDeep(source?: Record<string, any>, overwrite?: Record<string, any>, arrayFn?: (source: unknown[], overwrite: unknown[]) => unknown[]): {
@@ -12,3 +13,5 @@ export declare function deepEqual(a: any, b: any): boolean;
12
13
  export declare function isObject(obj: unknown): boolean;
13
14
  export declare function isEmpty(target: any): boolean;
14
15
  export declare function omit<T extends object, U extends Extract<keyof T, string>>(obj: T, excludes: U[]): Omit<T, U>;
16
+ export declare const noop: () => undefined;
17
+ export declare function makeEventPromiseLike<T extends Event, P = any>(event: T, promise: Promise<P>): T & Promise<P>;
@@ -1,5 +1,4 @@
1
- import { ComponentObjectPropsOptions, ComponentOptionsWithoutProps, ExtractDefaultPropTypes, Component, ComponentInjectOptions, ComponentOptionsMixin, ComponentProvideOptions, ComputedOptions, DefineComponent, Directive, EmitsOptions, MethodOptions, SlotsType } from 'vue';
2
- import { ComponentOptionsWithObjectProps } from '@vue/runtime-core';
1
+ import { Component, ComponentInjectOptions, ComponentOptionsMixin, ComponentProvideOptions, ComputedOptions, DefineComponent, Directive, EmitsOptions, MethodOptions, SlotsType, ComponentObjectPropsOptions, ComponentOptionsWithObjectProps, ComponentOptionsWithoutProps, ExtractDefaultPropTypes } from 'vue';
3
2
 
4
3
  declare function redefineComponent<PropsOptions = {}, RawBindings = {}, E extends EmitsOptions = {}, EE extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, InjectOptions extends ComponentInjectOptions = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions>(options: ComponentOptionsWithoutProps<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE, InjectOptions, InjectKeys, Slots>): DefineComponent<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE>;
5
4
  declare function redefineComponent<PropsOptions = ComponentObjectPropsOptions, RawBindings = {}, E extends EmitsOptions = {}, EE extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, Defaults = ExtractDefaultPropTypes<PropsOptions>, InjectOptions extends {} = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE, InjectOptions, InjectKeys, Slots>): DefineComponent<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE>;
@@ -1,5 +1,5 @@
1
- import { IfAny } from '@vue/shared';
2
1
  import { ComponentObjectPropsOptions, ExtractPropTypes, Prop, PropType, VNode } from 'vue';
2
+ import { IfAny } from '@vue/shared';
3
3
 
4
4
  export declare function propsFactory<PropsOptions extends ComponentObjectPropsOptions>(props: PropsOptions, source: string): <Defaults extends PartialKeys<PropsOptions> = {}>(defaults?: Defaults) => OverwrittenPropOptions<PropsOptions, Defaults>;
5
5
  export declare function chooseProps<PropsOptions extends ComponentObjectPropsOptions>(props: any, target: PropsOptions): ExtractPropTypes<PropsOptions>;
@@ -1,7 +1,7 @@
1
1
  import { EmitsOptions, ObjectEmitsOptions, PropType } from 'vue';
2
2
 
3
3
  export type EventProp<T extends any[] = any[], F = (...args: T) => any> = F | F[];
4
- export declare const EventPropOption: <T extends any[] = any[]>() => PropType<EventProp<T, (...args: T) => any>>;
4
+ export declare const EventPropOption: <T extends any[] = any[]>() => PropType<EventProp<T>>;
5
5
  export type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any[]>;
6
6
  export type EmitsToProps<T extends EmitsOptions | ComponentTypeEmits> = T extends string[] ? {
7
7
  [K in `on${Capitalize<T[number]>}`]?: (...args: any[]) => any;
@@ -1,3 +1,3 @@
1
- export * from './built-in';
2
1
  export { YuyeonDateAdapter } from './adapters/yuyeon-date-adapter';
2
+ export * from './built-in';
3
3
  export declare function createDateAdapter(): void;
@@ -1,3 +1,5 @@
1
1
  export declare function documentRoot(domNode: Node): null | HTMLDocument | ShadowRoot;
2
2
  export declare function hasElementMouseEvent(mouseEvent: Event, element: HTMLElement, include?: HTMLElement[]): boolean;
3
3
  export declare function isOverflow(el: HTMLElement): boolean;
4
+ export declare const focusableSelectors = "input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
5
+ export declare function getNextTabElement(currentElement: Element): undefined | Element;
@@ -1,16 +1,16 @@
1
- export * from './common';
2
- export * from './collection';
1
+ export * from './anchor';
3
2
  export * from './array';
4
- export * from './string';
5
- export * from './validation';
3
+ export * from './collection';
4
+ export * from './color';
5
+ export * from './common';
6
+ export * from './component';
7
+ export * from './date';
6
8
  export * from './debounce';
7
9
  export * from './dom';
8
- export * from './ui';
9
- export * from './rect';
10
- export * from './anchor';
11
- export * from './scroll';
12
10
  export * from './frame-scheduler';
13
- export * from './component';
14
11
  export * from './reactivity';
15
- export * from './color';
16
- export * from './date';
12
+ export * from './rect';
13
+ export * from './scroll';
14
+ export * from './string';
15
+ export * from './ui';
16
+ export * from './validation';