@koi-design/uxd-ui 14.0.1 → 14.0.3

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 (268) hide show
  1. package/es/components/Alert/Alert.mjs +10 -24
  2. package/es/components/Alert/Alert.mjs.map +1 -1
  3. package/es/components/Alert/Alert.type.d.ts +5 -7
  4. package/es/components/Alert/Alert.type.mjs +4 -7
  5. package/es/components/Alert/Alert.type.mjs.map +1 -1
  6. package/es/components/Alert/Alert.vue.d.ts +5 -15
  7. package/es/components/Alert/index.d.ts +9 -27
  8. package/es/components/Alert/index.mjs +1 -1
  9. package/es/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  10. package/es/components/AutoComplete/index.d.ts +18 -0
  11. package/es/components/Calendar/Calendar.vue.d.ts +2 -2
  12. package/es/components/Calendar/index.d.ts +6 -6
  13. package/es/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  14. package/es/components/ColorPicker/index.d.ts +18 -0
  15. package/es/components/DatePicker/DatePicker.vue.d.ts +14 -14
  16. package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  17. package/es/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  18. package/es/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  19. package/es/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  20. package/es/components/DatePicker/index.d.ts +28 -28
  21. package/es/components/Dropdown/DropdownMenu.mjs +0 -1
  22. package/es/components/Dropdown/DropdownMenu.mjs.map +1 -1
  23. package/es/components/Input/Input.d.ts +6 -0
  24. package/es/components/Input/Input.mjs +1 -0
  25. package/es/components/Input/Input.mjs.map +1 -1
  26. package/es/components/Input/Input.type.d.ts +3 -0
  27. package/es/components/Input/Input.type.mjs +3 -0
  28. package/es/components/Input/Input.type.mjs.map +1 -1
  29. package/es/components/Input/index.d.ts +9 -0
  30. package/es/components/Menu/MenuItem.vue.d.ts +33 -33
  31. package/es/components/Menu/index.d.ts +33 -33
  32. package/es/components/Message/Message.mjs +4 -3
  33. package/es/components/Message/Message.mjs.map +1 -1
  34. package/es/components/Notice/Notice.mjs +15 -13
  35. package/es/components/Notice/Notice.mjs.map +1 -1
  36. package/es/components/Notice/Notice.type.d.ts +3 -2
  37. package/es/components/Notification/Notice.mjs +1 -5
  38. package/es/components/Notification/Notice.mjs.map +1 -1
  39. package/es/components/Notification/Notification.mjs.map +1 -1
  40. package/es/components/Pagination/Options.d.ts +8 -0
  41. package/es/components/Pagination/Options.mjs +6 -1
  42. package/es/components/Pagination/Options.mjs.map +1 -1
  43. package/es/components/Pagination/Pagination.d.ts +8 -0
  44. package/es/components/Pagination/Pagination.mjs +2 -0
  45. package/es/components/Pagination/Pagination.mjs.map +1 -1
  46. package/es/components/Pagination/index.d.ts +16 -0
  47. package/es/components/Rate/Rate.vue.d.ts +33 -33
  48. package/es/components/Rate/index.d.ts +66 -66
  49. package/es/components/Statistic/Statistic.vue.d.ts +33 -33
  50. package/es/components/Statistic/index.d.ts +66 -66
  51. package/es/components/Table/BaseTable.vue.d.ts +132 -132
  52. package/es/components/Table/BodyTable.vue.d.ts +132 -132
  53. package/es/components/Table/HeadTable.vue.d.ts +132 -132
  54. package/es/components/Table/Table.vue.d.ts +280 -264
  55. package/es/components/Table/TableBox.vue.d.ts +264 -264
  56. package/es/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  57. package/es/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  58. package/es/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  59. package/es/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  60. package/es/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  61. package/es/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  62. package/es/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  63. package/es/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  64. package/es/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  65. package/es/components/ThemePanel/index.d.ts +66 -66
  66. package/es/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  67. package/es/components/TimePicker/TimePicker.vue.d.ts +12 -12
  68. package/es/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  69. package/es/components/TimePicker/index.d.ts +28 -28
  70. package/es/components/Tooltip/Tooltip.mjs +84 -8
  71. package/es/components/Tooltip/Tooltip.mjs.map +1 -1
  72. package/es/components/Tooltip/Tooltip.type.d.ts +2 -2
  73. package/es/components/Tooltip/Tooltip.type.mjs +1 -3
  74. package/es/components/Tooltip/Tooltip.type.mjs.map +1 -1
  75. package/es/components/Tooltip/Tooltip.vue.d.ts +13 -13
  76. package/es/components/Tooltip/index.d.ts +33 -33
  77. package/es/components/Transfer/Transfer.vue.d.ts +27 -0
  78. package/es/components/Transfer/TransferList.vue.d.ts +9 -0
  79. package/es/components/Transfer/index.d.ts +72 -0
  80. package/es/components/index.mjs +1 -1
  81. package/es/index.mjs +1 -1
  82. package/lib/components/Alert/Alert.js +9 -23
  83. package/lib/components/Alert/Alert.js.map +1 -1
  84. package/lib/components/Alert/Alert.type.d.ts +5 -7
  85. package/lib/components/Alert/Alert.type.js +4 -6
  86. package/lib/components/Alert/Alert.type.js.map +1 -1
  87. package/lib/components/Alert/Alert.vue.d.ts +5 -15
  88. package/lib/components/Alert/index.d.ts +9 -27
  89. package/lib/components/Alert/index.js +1 -0
  90. package/lib/components/Alert/index.js.map +1 -1
  91. package/lib/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  92. package/lib/components/AutoComplete/index.d.ts +18 -0
  93. package/lib/components/Calendar/Calendar.vue.d.ts +2 -2
  94. package/lib/components/Calendar/index.d.ts +6 -6
  95. package/lib/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  96. package/lib/components/ColorPicker/index.d.ts +18 -0
  97. package/lib/components/DatePicker/DatePicker.vue.d.ts +14 -14
  98. package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  99. package/lib/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  100. package/lib/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  101. package/lib/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  102. package/lib/components/DatePicker/index.d.ts +28 -28
  103. package/lib/components/Dropdown/DropdownMenu.js +0 -1
  104. package/lib/components/Dropdown/DropdownMenu.js.map +1 -1
  105. package/lib/components/Input/Input.d.ts +6 -0
  106. package/lib/components/Input/Input.js +1 -0
  107. package/lib/components/Input/Input.js.map +1 -1
  108. package/lib/components/Input/Input.type.d.ts +3 -0
  109. package/lib/components/Input/Input.type.js +3 -0
  110. package/lib/components/Input/Input.type.js.map +1 -1
  111. package/lib/components/Input/index.d.ts +9 -0
  112. package/lib/components/Menu/MenuItem.vue.d.ts +33 -33
  113. package/lib/components/Menu/index.d.ts +33 -33
  114. package/lib/components/Message/Message.js +4 -3
  115. package/lib/components/Message/Message.js.map +1 -1
  116. package/lib/components/Notice/Notice.js +15 -13
  117. package/lib/components/Notice/Notice.js.map +1 -1
  118. package/lib/components/Notice/Notice.type.d.ts +3 -2
  119. package/lib/components/Notification/Notice.js +1 -5
  120. package/lib/components/Notification/Notice.js.map +1 -1
  121. package/lib/components/Notification/Notification.js.map +1 -1
  122. package/lib/components/Pagination/Options.d.ts +8 -0
  123. package/lib/components/Pagination/Options.js +6 -1
  124. package/lib/components/Pagination/Options.js.map +1 -1
  125. package/lib/components/Pagination/Pagination.d.ts +8 -0
  126. package/lib/components/Pagination/Pagination.js +2 -0
  127. package/lib/components/Pagination/Pagination.js.map +1 -1
  128. package/lib/components/Pagination/index.d.ts +16 -0
  129. package/lib/components/Rate/Rate.vue.d.ts +33 -33
  130. package/lib/components/Rate/index.d.ts +66 -66
  131. package/lib/components/Statistic/Statistic.vue.d.ts +33 -33
  132. package/lib/components/Statistic/index.d.ts +66 -66
  133. package/lib/components/Table/BaseTable.vue.d.ts +132 -132
  134. package/lib/components/Table/BodyTable.vue.d.ts +132 -132
  135. package/lib/components/Table/HeadTable.vue.d.ts +132 -132
  136. package/lib/components/Table/Table.vue.d.ts +280 -264
  137. package/lib/components/Table/TableBox.vue.d.ts +264 -264
  138. package/lib/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  139. package/lib/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  140. package/lib/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  141. package/lib/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  142. package/lib/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  143. package/lib/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  144. package/lib/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  145. package/lib/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  146. package/lib/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  147. package/lib/components/ThemePanel/index.d.ts +66 -66
  148. package/lib/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  149. package/lib/components/TimePicker/TimePicker.vue.d.ts +12 -12
  150. package/lib/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  151. package/lib/components/TimePicker/index.d.ts +28 -28
  152. package/lib/components/Tooltip/Tooltip.js +84 -8
  153. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  154. package/lib/components/Tooltip/Tooltip.type.d.ts +2 -2
  155. package/lib/components/Tooltip/Tooltip.type.js +1 -3
  156. package/lib/components/Tooltip/Tooltip.type.js.map +1 -1
  157. package/lib/components/Tooltip/Tooltip.vue.d.ts +13 -13
  158. package/lib/components/Tooltip/index.d.ts +33 -33
  159. package/lib/components/Transfer/Transfer.vue.d.ts +27 -0
  160. package/lib/components/Transfer/TransferList.vue.d.ts +9 -0
  161. package/lib/components/Transfer/index.d.ts +72 -0
  162. package/lib/components/index.js +1 -0
  163. package/lib/components/index.js.map +1 -1
  164. package/lib/index.js +1 -0
  165. package/lib/index.js.map +1 -1
  166. package/package.json +1 -1
  167. package/styles/components/alert/index.css +1 -1
  168. package/styles/components/alert/index.less +51 -48
  169. package/styles/components/alert/var.less +8 -42
  170. package/styles/components/autoComplete/index.css +1 -1
  171. package/styles/components/avatar/index.css +1 -1
  172. package/styles/components/badge/index.css +1 -1
  173. package/styles/components/badge/var.less +2 -2
  174. package/styles/components/button/index.css +1 -1
  175. package/styles/components/carousel/index.css +1 -1
  176. package/styles/components/cascader/index.css +1 -1
  177. package/styles/components/datePicker/index.css +1 -1
  178. package/styles/components/dropdown/index.css +1 -1
  179. package/styles/components/dropdown/index.less +12 -26
  180. package/styles/components/dropdown/var.less +6 -19
  181. package/styles/components/form/index.css +1 -1
  182. package/styles/components/form/index.less +25 -12
  183. package/styles/components/icon/index.css +1 -1
  184. package/styles/components/input/index.css +1 -1
  185. package/styles/components/inputNumber/index.css +1 -1
  186. package/styles/components/link/index.css +1 -1
  187. package/styles/components/mentions/index.css +1 -1
  188. package/styles/components/message/index.css +1 -1
  189. package/styles/components/message/index.less +63 -30
  190. package/styles/components/message/var.less +6 -27
  191. package/styles/components/modal/index.css +1 -1
  192. package/styles/components/notice/index.css +1 -1
  193. package/styles/components/notice/index.less +93 -49
  194. package/styles/components/notice/var.less +10 -33
  195. package/styles/components/pagination/index.css +1 -1
  196. package/styles/components/pagination/index.less +41 -178
  197. package/styles/components/pagination/var.less +8 -21
  198. package/styles/components/select/index.css +1 -1
  199. package/styles/components/select/index.less +3 -10
  200. package/styles/components/select/var.less +1 -3
  201. package/styles/components/spin/index.css +1 -1
  202. package/styles/components/tag/index.css +1 -1
  203. package/styles/components/tag/var.less +17 -17
  204. package/styles/components/timePicker/index.css +1 -1
  205. package/styles/components/tooltip/index.css +1 -1
  206. package/styles/components/tooltip/index.less +3 -55
  207. package/styles/components/tooltip/var.less +15 -14
  208. package/styles/cssVariable.css +1 -1
  209. package/styles/cssVariable.less +8 -9
  210. package/styles/index.css +1 -1
  211. package/types/components/Alert/Alert.type.d.ts +5 -7
  212. package/types/components/Alert/Alert.vue.d.ts +5 -15
  213. package/types/components/Alert/index.d.ts +9 -27
  214. package/types/components/AutoComplete/AutoComplete.vue.d.ts +9 -0
  215. package/types/components/AutoComplete/index.d.ts +18 -0
  216. package/types/components/Calendar/Calendar.vue.d.ts +2 -2
  217. package/types/components/Calendar/index.d.ts +6 -6
  218. package/types/components/ColorPicker/ColorPicker.vue.d.ts +9 -0
  219. package/types/components/ColorPicker/index.d.ts +18 -0
  220. package/types/components/DatePicker/DatePicker.vue.d.ts +14 -14
  221. package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +4 -4
  222. package/types/components/DatePicker/Panel/DateRangePanel.vue.d.ts +6 -6
  223. package/types/components/DatePicker/Panel/RangePart.vue.d.ts +2 -2
  224. package/types/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +4 -4
  225. package/types/components/DatePicker/index.d.ts +28 -28
  226. package/types/components/Input/Input.d.ts +6 -0
  227. package/types/components/Input/Input.type.d.ts +3 -0
  228. package/types/components/Input/index.d.ts +9 -0
  229. package/types/components/Menu/MenuItem.vue.d.ts +33 -33
  230. package/types/components/Menu/index.d.ts +33 -33
  231. package/types/components/Notice/Notice.type.d.ts +3 -2
  232. package/types/components/Pagination/Options.d.ts +8 -0
  233. package/types/components/Pagination/Pagination.d.ts +8 -0
  234. package/types/components/Pagination/index.d.ts +16 -0
  235. package/types/components/Rate/Rate.vue.d.ts +33 -33
  236. package/types/components/Rate/index.d.ts +66 -66
  237. package/types/components/Statistic/Statistic.vue.d.ts +33 -33
  238. package/types/components/Statistic/index.d.ts +66 -66
  239. package/types/components/Table/BaseTable.vue.d.ts +132 -132
  240. package/types/components/Table/BodyTable.vue.d.ts +132 -132
  241. package/types/components/Table/HeadTable.vue.d.ts +132 -132
  242. package/types/components/Table/Table.vue.d.ts +280 -264
  243. package/types/components/Table/TableBox.vue.d.ts +264 -264
  244. package/types/components/Table/tableUnits/ExpandRows.vue.d.ts +33 -33
  245. package/types/components/Table/tableUnits/FilterDropdown.vue.d.ts +66 -66
  246. package/types/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +66 -66
  247. package/types/components/Table/tableUnits/TableBody.vue.d.ts +66 -66
  248. package/types/components/Table/tableUnits/TableCell.vue.d.ts +33 -33
  249. package/types/components/Table/tableUnits/TableHeader.vue.d.ts +66 -66
  250. package/types/components/Table/tableUnits/TableHeaderRow.vue.d.ts +66 -66
  251. package/types/components/Table/tableUnits/TableRow.vue.d.ts +33 -33
  252. package/types/components/ThemePanel/ThemePanel.vue.d.ts +33 -33
  253. package/types/components/ThemePanel/index.d.ts +66 -66
  254. package/types/components/TimePicker/Panel/TimeRangePane.vue.d.ts +4 -4
  255. package/types/components/TimePicker/TimePicker.vue.d.ts +12 -12
  256. package/types/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +4 -4
  257. package/types/components/TimePicker/index.d.ts +28 -28
  258. package/types/components/Tooltip/Tooltip.type.d.ts +2 -2
  259. package/types/components/Tooltip/Tooltip.vue.d.ts +13 -13
  260. package/types/components/Tooltip/index.d.ts +33 -33
  261. package/types/components/Transfer/Transfer.vue.d.ts +27 -0
  262. package/types/components/Transfer/TransferList.vue.d.ts +9 -0
  263. package/types/components/Transfer/index.d.ts +72 -0
  264. package/uxd-ui.css +1 -1
  265. package/uxd-ui.esm.min.mjs +6 -6
  266. package/uxd-ui.esm.mjs +134 -66
  267. package/uxd-ui.umd.js +133 -64
  268. package/uxd-ui.umd.min.js +6 -6
package/uxd-ui.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @koi-design/uxd-ui@4.0.1 */
1
+ /*! @koi-design/uxd-ui@4.0.3 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('lucide-vue-next')) :
@@ -690,9 +690,9 @@
690
690
  };
691
691
  }
692
692
  });
693
- const _hoisted_1$_ = { ref: "containerRef" };
693
+ const _hoisted_1$Z = { ref: "containerRef" };
694
694
  function _sfc_render$2f(_ctx, _cache, $props, $setup, $data, $options) {
695
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
695
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
696
696
  vue.createElementVNode("div", {
697
697
  ref: "pointRef",
698
698
  class: vue.normalizeClass(_ctx.classes),
@@ -1068,12 +1068,13 @@
1068
1068
  };
1069
1069
  };
1070
1070
 
1071
- const alertType = ["success", "info", "warning", "error"];
1071
+ const alertType = ["default", "success", "info", "warning", "error", "error-outline"];
1072
+ const alertVariant = ["surface", "outline"];
1072
1073
  const alertProps = {
1073
1074
  type: {
1074
1075
  type: String,
1075
1076
  validator: oneOf(alertType),
1076
- default: "warning"
1077
+ default: "default"
1077
1078
  },
1078
1079
  closable: {
1079
1080
  type: Boolean,
@@ -1093,10 +1094,6 @@
1093
1094
  type: String,
1094
1095
  default: ""
1095
1096
  },
1096
- banner: {
1097
- type: Boolean,
1098
- default: false
1099
- },
1100
1097
  visible: {
1101
1098
  type: Boolean,
1102
1099
  default: true
@@ -1127,9 +1124,10 @@
1127
1124
  case "warning":
1128
1125
  return lucideVueNext.CircleAlert;
1129
1126
  case "error":
1130
- return lucideVueNext.CircleX;
1127
+ case "error-outline":
1128
+ return lucideVueNext.CircleAlert;
1131
1129
  default:
1132
- return lucideVueNext.CircleCheck;
1130
+ return lucideVueNext.Terminal;
1133
1131
  }
1134
1132
  });
1135
1133
  const handleClose = (e) => {
@@ -1149,28 +1147,15 @@
1149
1147
  props.afterClose();
1150
1148
  }
1151
1149
  };
1152
- const computedColor = vue.computed(() => {
1153
- switch (props.type) {
1154
- case "info":
1155
- case "error":
1156
- case "warning":
1157
- case "success":
1158
- return props.type;
1159
- default:
1160
- return void 0;
1161
- }
1162
- });
1163
1150
  return {
1164
1151
  prefixCls,
1165
1152
  iconType,
1166
1153
  stateVisible,
1167
1154
  handleClose,
1168
- onTransitionOver,
1169
- computedColor
1155
+ onTransitionOver
1170
1156
  };
1171
1157
  }
1172
1158
  });
1173
- const _hoisted_1$Z = ["data-color"];
1174
1159
  function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
1175
1160
  const _component_UIcon = vue.resolveComponent("UIcon");
1176
1161
  const _component_X = vue.resolveComponent("X");
@@ -1186,11 +1171,9 @@
1186
1171
  `${_ctx.prefixCls}-${_ctx.type}`,
1187
1172
  {
1188
1173
  [`${_ctx.prefixCls}-with-icon`]: _ctx.showIcon,
1189
- [`${_ctx.prefixCls}-with-desc`]: _ctx.description,
1190
- [`${_ctx.prefixCls}-with-banner`]: _ctx.banner
1174
+ [`${_ctx.prefixCls}-with-desc`]: _ctx.description
1191
1175
  }
1192
- ]),
1193
- "data-color": _ctx.computedColor
1176
+ ])
1194
1177
  }, [
1195
1178
  _ctx.showIcon ? (vue.openBlock(), vue.createElementBlock("span", {
1196
1179
  key: 0,
@@ -1203,12 +1186,12 @@
1203
1186
  _: 1
1204
1187
  })
1205
1188
  ], 2)) : vue.createCommentVNode("v-if", true),
1206
- vue.createElementVNode("span", {
1189
+ vue.createElementVNode("div", {
1207
1190
  class: vue.normalizeClass(`${_ctx.prefixCls}-message`)
1208
1191
  }, [
1209
1192
  vue.renderSlot(_ctx.$slots, "default")
1210
1193
  ], 2),
1211
- vue.createElementVNode("span", {
1194
+ vue.createElementVNode("div", {
1212
1195
  class: vue.normalizeClass(`${_ctx.prefixCls}-desc`)
1213
1196
  }, vue.toDisplayString(_ctx.description), 3),
1214
1197
  _ctx.closable ? (vue.openBlock(), vue.createElementBlock("a", {
@@ -1225,7 +1208,7 @@
1225
1208
  })
1226
1209
  ])
1227
1210
  ], 2)) : vue.createCommentVNode("v-if", true)
1228
- ], 10, _hoisted_1$Z)) : vue.createCommentVNode("v-if", true)
1211
+ ], 2)) : vue.createCommentVNode("v-if", true)
1229
1212
  ]),
1230
1213
  _: 3
1231
1214
  }, 8, ["onAfterLeave"]);
@@ -6593,6 +6576,9 @@
6593
6576
  },
6594
6577
  direction: {
6595
6578
  type: String
6579
+ },
6580
+ inputSize: {
6581
+ type: Number
6596
6582
  }
6597
6583
  };
6598
6584
  const inputEmits = {
@@ -6922,6 +6908,7 @@
6922
6908
  "ref": "inputRef",
6923
6909
  "class": [`${this.prefixCls}`],
6924
6910
  "type": this.nativeType,
6911
+ "size": this.inputSize,
6925
6912
  "readonly": this.readonly,
6926
6913
  "placeholder": this.placeholder,
6927
6914
  "autofocus": this.autofocus,
@@ -11944,7 +11931,7 @@
11944
11931
  color: {
11945
11932
  type: String,
11946
11933
  default: void 0,
11947
- validator: oneOf([...colorType, "light"])
11934
+ validator: oneOf(["red", "light"])
11948
11935
  }
11949
11936
  };
11950
11937
  const tooltipEmits = {
@@ -11969,44 +11956,120 @@
11969
11956
  if (((_a = popupRef.value) == null ? void 0 : _a.reference) && innerRef.value) {
11970
11957
  const { width, height } = findDOMNode(popupRef.value.reference).getBoundingClientRect();
11971
11958
  const { width: contentWidth, height: contentHeight } = innerRef.value.getBoundingClientRect();
11972
- if (props.placement === "left-start" || props.placement === "right-start") {
11959
+ if (props.placement === "left") {
11960
+ return {
11961
+ top: "50%",
11962
+ right: "0",
11963
+ transform: "translateY(-50%) translateX(-50%)"
11964
+ };
11965
+ }
11966
+ if (props.placement === "left-start") {
11973
11967
  let top = height / 2;
11974
11968
  if (top > contentHeight) {
11975
11969
  top = 8;
11976
11970
  }
11977
11971
  return {
11978
11972
  top: `${top}px`,
11979
- transform: "translateY(-50%)"
11973
+ right: "0",
11974
+ transform: "translateY(-50%) translateX(-50%)"
11980
11975
  };
11981
11976
  }
11982
- if (props.placement === "left-end" || props.placement === "right-end") {
11977
+ if (props.placement === "left-end") {
11983
11978
  let bottom = height / 2;
11984
11979
  if (bottom > contentHeight) {
11985
11980
  bottom = 8;
11986
11981
  }
11987
11982
  return {
11988
11983
  bottom: `${bottom}px`,
11989
- transform: "translateY(50%)"
11984
+ right: "0",
11985
+ transform: "translateY(50%) translateX(-50%)"
11990
11986
  };
11991
11987
  }
11992
- if (props.placement === "top-start" || props.placement === "bottom-start") {
11988
+ if (props.placement === "right") {
11989
+ return {
11990
+ top: "50%",
11991
+ left: "0",
11992
+ transform: "translateY(-50%) translateX(50%)"
11993
+ };
11994
+ }
11995
+ if (props.placement === "right-start") {
11996
+ let top = height / 2;
11997
+ if (top > contentHeight) {
11998
+ top = 8;
11999
+ }
12000
+ return {
12001
+ top: `${top}px`,
12002
+ left: "0",
12003
+ transform: "translateY(-50%) translateX(50%)"
12004
+ };
12005
+ }
12006
+ if (props.placement === "right-end") {
12007
+ let bottom = height / 2;
12008
+ if (bottom > contentHeight) {
12009
+ bottom = 8;
12010
+ }
12011
+ return {
12012
+ bottom: `${bottom}px`,
12013
+ left: "0",
12014
+ transform: "translateY(50%) translateX(50%)"
12015
+ };
12016
+ }
12017
+ if (props.placement === "top") {
12018
+ return {
12019
+ left: "50%",
12020
+ bottom: "0",
12021
+ transform: "translateX(-50%) translateY(-50%)"
12022
+ };
12023
+ }
12024
+ if (props.placement === "top-start") {
11993
12025
  let left = width / 2;
11994
12026
  if (left > contentWidth) {
11995
12027
  left = 16;
11996
12028
  }
11997
12029
  return {
11998
12030
  left: `${left}px`,
11999
- transform: "translateX(-50%)"
12031
+ bottom: "0",
12032
+ transform: "translateX(-50%) translateY(-50%)"
12000
12033
  };
12001
12034
  }
12002
- if (props.placement === "top-end" || props.placement === "bottom-end") {
12035
+ if (props.placement === "top-end") {
12003
12036
  let right = width / 2;
12004
12037
  if (right > contentWidth) {
12005
12038
  right = 16;
12006
12039
  }
12007
12040
  return {
12008
12041
  right: `${right}px`,
12009
- transform: "translateX(50%)"
12042
+ bottom: "0",
12043
+ transform: "translateX(50%) translateY(-50%)"
12044
+ };
12045
+ }
12046
+ if (props.placement === "bottom") {
12047
+ return {
12048
+ left: "50%",
12049
+ top: "0",
12050
+ transform: "translateX(-50%) translateY(50%)"
12051
+ };
12052
+ }
12053
+ if (props.placement === "bottom-start") {
12054
+ let left = width / 2;
12055
+ if (left > contentWidth) {
12056
+ left = 16;
12057
+ }
12058
+ return {
12059
+ left: `${left}px`,
12060
+ top: "0",
12061
+ transform: "translateX(-50%) translateY(50%)"
12062
+ };
12063
+ }
12064
+ if (props.placement === "bottom-end") {
12065
+ let right = width / 2;
12066
+ if (right > contentWidth) {
12067
+ right = 16;
12068
+ }
12069
+ return {
12070
+ right: `${right}px`,
12071
+ top: "0",
12072
+ transform: "translateX(50%) translateY(50%)"
12010
12073
  };
12011
12074
  }
12012
12075
  }
@@ -12492,7 +12555,6 @@
12492
12555
  });
12493
12556
  }
12494
12557
  return vue.createVNode(UMenu.Item, {
12495
- "prefixCls": prefixCls,
12496
12558
  "name": m.value,
12497
12559
  "color": m.color,
12498
12560
  "disabled": m.disabled,
@@ -28868,6 +28930,10 @@
28868
28930
  dropdownWidth: {
28869
28931
  type: Number,
28870
28932
  default: 128
28933
+ },
28934
+ totalPage: {
28935
+ type: Number,
28936
+ required: true
28871
28937
  }
28872
28938
  },
28873
28939
  emits: {
@@ -28941,7 +29007,8 @@
28941
29007
  "modelValue": stateValue.value,
28942
29008
  "onUpdate:modelValue": ($event) => stateValue.value = $event,
28943
29009
  "onKeyup": handleJumpTo,
28944
- "onBlur": handleBlur
29010
+ "onBlur": handleBlur,
29011
+ "inputSize": props.totalPage.toString().length
28945
29012
  }, null), vue.createVNode("span", null, [props.locale.page])]);
28946
29013
  }
28947
29014
  return null;
@@ -29250,6 +29317,7 @@
29250
29317
  "modelValue": this.stateCurrent,
29251
29318
  "disabled": this.disabled,
29252
29319
  "size": this.size,
29320
+ "inputSize": this.totalPage.toString().length,
29253
29321
  "onKeyup": this.onKeyUp,
29254
29322
  "onKeydown": this.onKeyDown,
29255
29323
  "onBlur": this.onBlur
@@ -29299,6 +29367,7 @@
29299
29367
  "dropdownWidth": this.selectDropdownWidth,
29300
29368
  "variant": this.variant,
29301
29369
  "pageSizeOptions": this.pageSizeOptions,
29370
+ "totalPage": this.totalPage,
29302
29371
  "onChange-page-size": this.onChangePageSize,
29303
29372
  "onChange-page": this.onChangePage
29304
29373
  }, null)]);
@@ -42387,11 +42456,7 @@
42387
42456
  }
42388
42457
  ])
42389
42458
  }, [
42390
- vue.createElementVNode("div", {
42391
- class: vue.normalizeClass(`${_ctx.prefixCls}-content-text`)
42392
- }, [
42393
- vue.createVNode(_component_Render, { render: _ctx.content }, null, 8, ["render"])
42394
- ], 2),
42459
+ vue.createVNode(_component_Render, { render: _ctx.content }, null, 8, ["render"]),
42395
42460
  _ctx.closable ? (vue.openBlock(), vue.createElementBlock("a", {
42396
42461
  key: 0,
42397
42462
  tabindex: "0",
@@ -42541,9 +42606,9 @@
42541
42606
  let prefixCls$1 = "uui-notice";
42542
42607
  const prefixKey$1 = "uui_notice_key_";
42543
42608
  let defaultDuration$1 = 4.5;
42544
- let defaultPlacement = "top-right";
42545
- let defaultBottom = "24px";
42546
- let defaultTop$1 = "24px";
42609
+ let defaultPlacement = "bottom-right";
42610
+ let defaultBottom = "0px";
42611
+ let defaultTop$1 = "0px";
42547
42612
  let key$1 = 0;
42548
42613
  const noticeInstance = {};
42549
42614
  const transitionName$1 = "move-notice";
@@ -42618,7 +42683,8 @@
42618
42683
  placement,
42619
42684
  top,
42620
42685
  bottom,
42621
- btn
42686
+ action,
42687
+ showIcon = true
42622
42688
  } = args;
42623
42689
  const duration = args.duration !== void 0 ? args.duration : defaultDuration$1;
42624
42690
  let iconType = propIconType || void 0;
@@ -42632,15 +42698,14 @@
42632
42698
  top,
42633
42699
  bottom
42634
42700
  });
42635
- const IconNode = iconType ? vue.createVNode("span", {
42636
- "class": `${prefixCls$1}-icon ${prefixCls$1}-icon-${type}`,
42637
- "data-color": type || void 0
42701
+ const IconNode = showIcon && iconType ? vue.createVNode("span", {
42702
+ "class": `${prefixCls$1}-icon ${prefixCls$1}-icon-${type}`
42638
42703
  }, [vue.createVNode(UIcon, {
42639
42704
  "class": `${iconClass || ""}`
42640
42705
  }, {
42641
42706
  default: () => [vue.createVNode(iconType, null, null)]
42642
42707
  })]) : null;
42643
- const withIconCls = iconType ? `${prefixCls$1}-with-icon ${prefixCls$1}-with-${type} ` : "";
42708
+ const withIconCls = showIcon && iconType ? `${prefixCls$1}-with-icon ${prefixCls$1}-with-${type} ` : "";
42644
42709
  const withDescCls = desc ? `${prefixCls$1}-with-desc` : "";
42645
42710
  instance.notice({
42646
42711
  key: target,
@@ -42650,14 +42715,16 @@
42650
42715
  style: args.style || {},
42651
42716
  class: args.class,
42652
42717
  content: () => vue.createVNode("div", {
42653
- "class": `${withIconCls} ${withDescCls}`
42654
- }, [IconNode, vue.createVNode("div", {
42718
+ "class": `${prefixCls$1}-wrapper ${withIconCls} ${withDescCls}`,
42719
+ "data-type": type || void 0
42720
+ }, [IconNode, vue.createVNode("div", null, [vue.createVNode("div", {
42655
42721
  "class": `${prefixCls$1}-title`
42656
42722
  }, [typeof title === "function" ? title() : title]), vue.createVNode("div", {
42657
42723
  "class": `${prefixCls$1}-desc`
42658
- }, [typeof desc === "function" ? desc() : desc]), btn ? vue.createVNode("span", {
42659
- "class": `${prefixCls$1}-btn`
42660
- }, [typeof btn === "function" ? btn() : btn]) : null])
42724
+ }, [typeof desc === "function" ? desc() : desc])]), action ? vue.createVNode("button", {
42725
+ "class": `${prefixCls$1}-btn`,
42726
+ "onClick": args.onAction
42727
+ }, [action]) : null])
42661
42728
  });
42662
42729
  const result = () => {
42663
42730
  const cls = `${prefixCls$1}-${placement}`;
@@ -42982,7 +43049,8 @@
42982
43049
  const notice = (args) => {
42983
43050
  const {
42984
43051
  type,
42985
- content
43052
+ content,
43053
+ showIcon = true
42986
43054
  } = args;
42987
43055
  const duration = args.duration !== void 0 ? args.duration : defaultDuration;
42988
43056
  const iconType = iconTypes[type];
@@ -42999,8 +43067,8 @@
42999
43067
  background: args.background,
43000
43068
  content: () => vue.createVNode("div", {
43001
43069
  "class": `${prefixCls}-custom-content ${prefixCls}-${type}`,
43002
- "data-color": type
43003
- }, [vue.createVNode(UIcon, {
43070
+ "data-type": type
43071
+ }, [showIcon && vue.createVNode(UIcon, {
43004
43072
  "spin": type === "loading"
43005
43073
  }, {
43006
43074
  default: () => [vue.createVNode(iconType, null, null)]
@@ -44638,6 +44706,7 @@
44638
44706
  exports.alertEmits = alertEmits;
44639
44707
  exports.alertProps = alertProps;
44640
44708
  exports.alertType = alertType;
44709
+ exports.alertVariant = alertVariant;
44641
44710
  exports.anchorEmits = anchorEmits;
44642
44711
  exports.anchorLinkEmits = anchorLinkEmits;
44643
44712
  exports.anchorLinkProps = anchorLinkProps;