@alauda/ui 6.5.9-beta.21 → 6.5.9-beta.23

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 (347) hide show
  1. package/accordion/accordion-item/accordion-item.component.d.ts +3 -3
  2. package/accordion/accordion.component.d.ts +1 -1
  3. package/anchor/anchor.component.d.ts +2 -2
  4. package/anchor/anchor.directive.d.ts +3 -3
  5. package/autocomplete/autocomplete-placeholder.component.d.ts +1 -1
  6. package/autocomplete/autocomplete.component.d.ts +1 -1
  7. package/autocomplete/autocomplete.directive.d.ts +2 -2
  8. package/autocomplete/autocomplete.types.d.ts +1 -1
  9. package/autocomplete/helper-directives.d.ts +1 -1
  10. package/autocomplete/suggestion/suggestion.component.d.ts +1 -1
  11. package/autocomplete/suggestion-group/suggestion-group.component.d.ts +1 -1
  12. package/back-top/back-top.component.d.ts +2 -2
  13. package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
  14. package/breadcrumb/breadcrumb.component.d.ts +1 -1
  15. package/button/button-group/button-group.component.d.ts +1 -1
  16. package/button/button.component.d.ts +1 -1
  17. package/button/button.types.d.ts +1 -10
  18. package/card/card.component.d.ts +1 -1
  19. package/card/helper-directives.d.ts +3 -6
  20. package/card/section.component.d.ts +1 -1
  21. package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
  22. package/checkbox/checkbox.component.d.ts +1 -1
  23. package/color-picker/color-picker.component.d.ts +1 -1
  24. package/date-picker/calendar/date-picker-panel/component.d.ts +1 -1
  25. package/date-picker/calendar/footer/component.d.ts +1 -1
  26. package/date-picker/calendar/header/component.d.ts +1 -1
  27. package/date-picker/calendar/panel/picker-panel.d.ts +1 -1
  28. package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
  29. package/date-picker/date-picker/date-picker.component.d.ts +1 -1
  30. package/date-picker/date-picker.type.d.ts +2 -2
  31. package/date-picker/range-picker/range-picker.component.d.ts +1 -1
  32. package/date-picker/trigger/trigger.component.d.ts +1 -1
  33. package/dialog/confirm-dialog/confirm-dialog.component.d.ts +1 -1
  34. package/dialog/dialog-content/dialog-close.directive.d.ts +1 -1
  35. package/dialog/dialog-content/dialog-content.component.d.ts +1 -1
  36. package/dialog/dialog-content/dialog-footer.component.d.ts +1 -1
  37. package/dialog/dialog-content/dialog-header.component.d.ts +1 -1
  38. package/dialog/dialog.component.d.ts +1 -1
  39. package/dialog/dialog.types.d.ts +3 -3
  40. package/drawer/component/drawer.component.d.ts +1 -1
  41. package/drawer/component/helper-directives.d.ts +3 -3
  42. package/dropdown/dropdown-active.directive.d.ts +1 -1
  43. package/dropdown/dropdown-button/dropdown-button.component.d.ts +1 -1
  44. package/dropdown/dropdown.directive.d.ts +1 -1
  45. package/dropdown/dropdown.types.d.ts +1 -1
  46. package/dropdown/helper-directives.d.ts +1 -1
  47. package/dropdown/menu/menu-content.directive.d.ts +1 -1
  48. package/dropdown/menu/menu.component.d.ts +1 -1
  49. package/dropdown/menu-group/menu-group.component.d.ts +1 -1
  50. package/dropdown/menu-item/menu-item.component.d.ts +1 -1
  51. package/dropdown/submenu/submenu.component.d.ts +1 -1
  52. package/esm2020/accordion/accordion-item/accordion-item.component.mjs +12 -14
  53. package/esm2020/accordion/accordion.component.mjs +4 -4
  54. package/esm2020/accordion/accordion.module.mjs +5 -5
  55. package/esm2020/alauda-ui.mjs +1 -4
  56. package/esm2020/anchor/anchor.component.mjs +15 -16
  57. package/esm2020/anchor/anchor.directive.mjs +27 -27
  58. package/esm2020/anchor/anchor.module.mjs +5 -6
  59. package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +3 -3
  60. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  61. package/esm2020/autocomplete/autocomplete.directive.mjs +27 -28
  62. package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
  63. package/esm2020/autocomplete/helper-directives.mjs +3 -3
  64. package/esm2020/autocomplete/suggestion/suggestion.component.mjs +17 -17
  65. package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +3 -3
  66. package/esm2020/back-top/back-top.component.mjs +15 -17
  67. package/esm2020/back-top/back-top.module.mjs +5 -5
  68. package/esm2020/breadcrumb/breadcrumb-item.component.mjs +11 -11
  69. package/esm2020/breadcrumb/breadcrumb.component.mjs +3 -3
  70. package/esm2020/breadcrumb/breadcrumb.module.mjs +5 -5
  71. package/esm2020/button/button-group/button-group.component.mjs +3 -3
  72. package/esm2020/button/button.component.mjs +21 -22
  73. package/esm2020/button/button.module.mjs +5 -5
  74. package/esm2020/button/button.types.mjs +1 -10
  75. package/esm2020/card/card.component.mjs +3 -3
  76. package/esm2020/card/card.module.mjs +5 -5
  77. package/esm2020/card/helper-directives.mjs +10 -13
  78. package/esm2020/card/section.component.mjs +3 -3
  79. package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +3 -3
  80. package/esm2020/checkbox/checkbox.component.mjs +20 -20
  81. package/esm2020/checkbox/checkbox.module.mjs +5 -5
  82. package/esm2020/color-picker/color-picker.component.mjs +3 -3
  83. package/esm2020/color-picker/color-picker.module.mjs +5 -5
  84. package/esm2020/date-picker/calendar/constant.mjs +1 -2
  85. package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +10 -10
  86. package/esm2020/date-picker/calendar/footer/component.mjs +5 -5
  87. package/esm2020/date-picker/calendar/header/component.mjs +7 -11
  88. package/esm2020/date-picker/calendar/panel/picker-panel.mjs +20 -24
  89. package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +11 -13
  90. package/esm2020/date-picker/calendar/util.mjs +1 -2
  91. package/esm2020/date-picker/date-picker/date-picker.component.mjs +8 -8
  92. package/esm2020/date-picker/date-picker.module.mjs +13 -15
  93. package/esm2020/date-picker/range-picker/range-picker.component.mjs +8 -8
  94. package/esm2020/date-picker/trigger/trigger.component.mjs +18 -18
  95. package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +6 -6
  96. package/esm2020/dialog/dialog-animations.mjs +1 -2
  97. package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +3 -3
  98. package/esm2020/dialog/dialog-content/dialog-content.component.mjs +4 -5
  99. package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +3 -3
  100. package/esm2020/dialog/dialog-content/dialog-header.component.mjs +5 -5
  101. package/esm2020/dialog/dialog.component.mjs +12 -13
  102. package/esm2020/dialog/dialog.module.mjs +9 -12
  103. package/esm2020/dialog/dialog.service.mjs +4 -5
  104. package/esm2020/drawer/component/drawer.component.mjs +27 -30
  105. package/esm2020/drawer/component/helper-directives.mjs +10 -14
  106. package/esm2020/drawer/drawer.module.mjs +5 -6
  107. package/esm2020/drawer/drawer.service.mjs +3 -3
  108. package/esm2020/dropdown/dropdown-active.directive.mjs +3 -3
  109. package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +5 -5
  110. package/esm2020/dropdown/dropdown.directive.mjs +13 -13
  111. package/esm2020/dropdown/dropdown.module.mjs +5 -5
  112. package/esm2020/dropdown/helper-directives.mjs +3 -3
  113. package/esm2020/dropdown/menu/menu-content.directive.mjs +3 -3
  114. package/esm2020/dropdown/menu/menu.component.mjs +3 -3
  115. package/esm2020/dropdown/menu-group/menu-group.component.mjs +3 -3
  116. package/esm2020/dropdown/menu-item/menu-item.component.mjs +3 -3
  117. package/esm2020/dropdown/submenu/submenu.component.mjs +7 -7
  118. package/esm2020/form/common-form.mjs +15 -22
  119. package/esm2020/form/form-item/form-item.component.mjs +9 -9
  120. package/esm2020/form/form.directive.mjs +17 -17
  121. package/esm2020/form/form.module.mjs +5 -5
  122. package/esm2020/form/helper-directives.mjs +15 -15
  123. package/esm2020/i18n/i18n.module.mjs +4 -4
  124. package/esm2020/i18n/i18n.pipe.mjs +3 -3
  125. package/esm2020/i18n/i18n.service.mjs +3 -3
  126. package/esm2020/icon/icon-register.service.mjs +4 -5
  127. package/esm2020/icon/icon.component.mjs +3 -3
  128. package/esm2020/icon/icon.module.mjs +5 -5
  129. package/esm2020/inline-alert/helper-directives.mjs +3 -3
  130. package/esm2020/inline-alert/inline-alert.component.mjs +5 -5
  131. package/esm2020/inline-alert/inline-alert.module.mjs +5 -5
  132. package/esm2020/input/autosize.directive.mjs +11 -16
  133. package/esm2020/input/helper-directives.mjs +12 -12
  134. package/esm2020/input/input-group/input-group.component.mjs +3 -3
  135. package/esm2020/input/input.component.mjs +14 -18
  136. package/esm2020/input/input.module.mjs +10 -12
  137. package/esm2020/input/number-input/number-input.component.mjs +6 -6
  138. package/esm2020/input/search/search.component.mjs +8 -8
  139. package/esm2020/input/tags-input/tags-input.component.mjs +27 -32
  140. package/esm2020/message/message-wrapper.component.mjs +3 -3
  141. package/esm2020/message/message.component.mjs +8 -8
  142. package/esm2020/message/message.config.mjs +1 -6
  143. package/esm2020/message/message.module.mjs +5 -6
  144. package/esm2020/message/message.service.mjs +3 -3
  145. package/esm2020/notification/notification-wrapper.component.mjs +3 -3
  146. package/esm2020/notification/notification.component.mjs +8 -12
  147. package/esm2020/notification/notification.module.mjs +5 -6
  148. package/esm2020/notification/notification.service.mjs +3 -3
  149. package/esm2020/paginator/paginator-intl.mjs +4 -15
  150. package/esm2020/paginator/paginator.component.mjs +24 -32
  151. package/esm2020/paginator/paginator.module.mjs +5 -5
  152. package/esm2020/radio/base-radio.mjs +11 -11
  153. package/esm2020/radio/radio-button/radio-button.component.mjs +9 -10
  154. package/esm2020/radio/radio-group/radio-group.component.mjs +4 -7
  155. package/esm2020/radio/radio.component.mjs +7 -8
  156. package/esm2020/radio/radio.module.mjs +5 -5
  157. package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +4 -6
  158. package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +4 -6
  159. package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +4 -5
  160. package/esm2020/scrolling/scrolling.module.mjs +4 -4
  161. package/esm2020/scrolling/virtual-for-of.directive.mjs +3 -3
  162. package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +3 -3
  163. package/esm2020/select/base-select.mjs +5 -8
  164. package/esm2020/select/helper-directives.mjs +6 -6
  165. package/esm2020/select/multi-select/multi-select.component.mjs +28 -31
  166. package/esm2020/select/option/option.component.mjs +34 -34
  167. package/esm2020/select/option-group/option-group.component.mjs +3 -3
  168. package/esm2020/select/option-placeholder.component.mjs +3 -3
  169. package/esm2020/select/select.component.mjs +11 -12
  170. package/esm2020/select/select.module.mjs +10 -12
  171. package/esm2020/select/validators.mjs +9 -13
  172. package/esm2020/shared/click-outside.directive.mjs +8 -8
  173. package/esm2020/shared/shared.module.mjs +4 -4
  174. package/esm2020/sort/sort-errors.mjs +1 -5
  175. package/esm2020/sort/sort-header.component.mjs +4 -8
  176. package/esm2020/sort/sort.directive.mjs +4 -5
  177. package/esm2020/sort/sort.module.mjs +5 -5
  178. package/esm2020/status-bar/status-bar.component.mjs +3 -3
  179. package/esm2020/status-bar/status-bar.module.mjs +5 -5
  180. package/esm2020/steps/steps.component.mjs +6 -10
  181. package/esm2020/steps/steps.module.mjs +5 -5
  182. package/esm2020/switch/switch.component.mjs +5 -5
  183. package/esm2020/switch/switch.module.mjs +5 -5
  184. package/esm2020/table/table-cell-def.directive.mjs +4 -8
  185. package/esm2020/table/table-cell.component.mjs +9 -9
  186. package/esm2020/table/table-cell.directive.mjs +4 -6
  187. package/esm2020/table/table-column-def.directive.mjs +4 -10
  188. package/esm2020/table/table-header-cell-def.directive.mjs +4 -8
  189. package/esm2020/table/table-header-cell.directive.mjs +4 -6
  190. package/esm2020/table/table-header-row-def.directive.mjs +4 -8
  191. package/esm2020/table/table-header-row.component.mjs +4 -5
  192. package/esm2020/table/table-placeholder.directive.mjs +6 -6
  193. package/esm2020/table/table-row-def.directive.mjs +4 -9
  194. package/esm2020/table/table-row.component.mjs +4 -5
  195. package/esm2020/table/table-scroll.directive.mjs +14 -15
  196. package/esm2020/table/table.component.mjs +6 -9
  197. package/esm2020/table/table.module.mjs +5 -5
  198. package/esm2020/table-of-contents/table-of-contents.module.mjs +5 -5
  199. package/esm2020/table-of-contents/toc-container.directive.mjs +14 -14
  200. package/esm2020/table-of-contents/toc-content.directive.mjs +3 -3
  201. package/esm2020/table-of-contents/toc-link.directive.mjs +7 -7
  202. package/esm2020/tabs/tab-body.component.mjs +25 -43
  203. package/esm2020/tabs/tab-context.service.mjs +10 -13
  204. package/esm2020/tabs/tab-group.component.mjs +28 -73
  205. package/esm2020/tabs/tab-header-active-indicator.component.mjs +4 -13
  206. package/esm2020/tabs/tab-header.component.mjs +28 -131
  207. package/esm2020/tabs/tab.component.mjs +13 -27
  208. package/esm2020/tabs/tabs.module.mjs +11 -13
  209. package/esm2020/tabs/tabs.types.mjs +1 -4
  210. package/esm2020/tag/check-tag/check-tag.component.mjs +3 -3
  211. package/esm2020/tag/tag.component.mjs +6 -7
  212. package/esm2020/tag/tag.module.mjs +5 -5
  213. package/esm2020/theme/theme.module.mjs +5 -5
  214. package/esm2020/theme/theme.pipe.mjs +12 -12
  215. package/esm2020/theme/theme.service.mjs +3 -3
  216. package/esm2020/time-picker/component.mjs +12 -12
  217. package/esm2020/time-picker/panel/panel.component.mjs +27 -29
  218. package/esm2020/time-picker/time-picker.module.mjs +14 -16
  219. package/esm2020/tooltip/base-tooltip.mjs +38 -42
  220. package/esm2020/tooltip/tooltip-active.directive.mjs +3 -3
  221. package/esm2020/tooltip/tooltip-copy.directive.mjs +10 -10
  222. package/esm2020/tooltip/tooltip-intl.mjs +4 -10
  223. package/esm2020/tooltip/tooltip.component.mjs +5 -5
  224. package/esm2020/tooltip/tooltip.directive.mjs +3 -3
  225. package/esm2020/tooltip/tooltip.module.mjs +5 -6
  226. package/esm2020/tree-select/tree-node-placeholder.component.mjs +3 -3
  227. package/esm2020/tree-select/tree-select.component.mjs +29 -30
  228. package/esm2020/tree-select/tree-select.module.mjs +5 -5
  229. package/esm2020/types.mjs +1 -4
  230. package/esm2020/utils/bem.mjs +1 -2
  231. package/esm2020/utils/coercion.mjs +1 -5
  232. package/fesm2015/alauda-ui.mjs +1559 -1952
  233. package/fesm2015/alauda-ui.mjs.map +1 -1
  234. package/fesm2020/alauda-ui.mjs +1559 -1953
  235. package/fesm2020/alauda-ui.mjs.map +1 -1
  236. package/form/common-form.d.ts +1 -8
  237. package/form/form-item/form-item.component.d.ts +1 -1
  238. package/form/form.directive.d.ts +1 -1
  239. package/form/form.types.d.ts +2 -2
  240. package/form/helper-directives.d.ts +5 -5
  241. package/i18n/i18n.pipe.d.ts +1 -1
  242. package/i18n/i18n.type.d.ts +1 -1
  243. package/icon/icon.component.d.ts +1 -1
  244. package/inline-alert/helper-directives.d.ts +1 -1
  245. package/inline-alert/inline-alert.component.d.ts +1 -1
  246. package/inline-alert/inline-alert.types.d.ts +1 -1
  247. package/input/autosize.directive.d.ts +1 -4
  248. package/input/helper-directives.d.ts +4 -4
  249. package/input/input-group/input-group.component.d.ts +1 -1
  250. package/input/input.component.d.ts +1 -4
  251. package/input/number-input/number-input.component.d.ts +1 -1
  252. package/input/search/search.component.d.ts +1 -1
  253. package/input/tags-input/tags-input.component.d.ts +4 -4
  254. package/message/message-wrapper.component.d.ts +1 -1
  255. package/message/message.component.d.ts +1 -1
  256. package/message/message.config.d.ts +0 -20
  257. package/notification/notification-wrapper.component.d.ts +1 -1
  258. package/notification/notification.component.d.ts +1 -5
  259. package/notification/notification.config.d.ts +1 -1
  260. package/package.json +9 -9
  261. package/paginator/paginator-intl.d.ts +0 -9
  262. package/paginator/paginator.component.d.ts +1 -15
  263. package/radio/base-radio.d.ts +1 -1
  264. package/radio/radio-button/radio-button.component.d.ts +1 -1
  265. package/radio/radio-group/radio-group.component.d.ts +1 -4
  266. package/radio/radio.component.d.ts +1 -1
  267. package/radio/radio.types.d.ts +1 -1
  268. package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
  269. package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
  270. package/scrolling/virtual-for-of.directive.d.ts +1 -1
  271. package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
  272. package/select/base-select.d.ts +1 -4
  273. package/select/helper-directives.d.ts +2 -2
  274. package/select/multi-select/multi-select.component.d.ts +1 -1
  275. package/select/option/option.component.d.ts +1 -1
  276. package/select/option-group/option-group.component.d.ts +1 -1
  277. package/select/option-placeholder.component.d.ts +1 -1
  278. package/select/select.component.d.ts +1 -1
  279. package/select/select.types.d.ts +3 -3
  280. package/select/validators.d.ts +1 -1
  281. package/shared/click-outside.directive.d.ts +1 -1
  282. package/sort/sort-errors.d.ts +0 -4
  283. package/sort/sort-header.component.d.ts +1 -1
  284. package/sort/sort.directive.d.ts +1 -1
  285. package/sort/sort.types.d.ts +2 -2
  286. package/status-bar/status-bar.component.d.ts +1 -1
  287. package/status-bar/status-bar.types.d.ts +2 -2
  288. package/steps/steps.component.d.ts +1 -4
  289. package/steps/types.d.ts +3 -6
  290. package/switch/switch.component.d.ts +1 -1
  291. package/table/table-cell-def.directive.d.ts +1 -5
  292. package/table/table-cell.component.d.ts +2 -2
  293. package/table/table-cell.directive.d.ts +1 -2
  294. package/table/table-column-def.directive.d.ts +1 -5
  295. package/table/table-header-cell-def.directive.d.ts +1 -5
  296. package/table/table-header-cell.directive.d.ts +1 -2
  297. package/table/table-header-row-def.directive.d.ts +1 -5
  298. package/table/table-header-row.component.d.ts +1 -2
  299. package/table/table-placeholder.directive.d.ts +2 -2
  300. package/table/table-row-def.directive.d.ts +1 -6
  301. package/table/table-row.component.d.ts +1 -2
  302. package/table/table-scroll.directive.d.ts +2 -2
  303. package/table/table.component.d.ts +1 -1
  304. package/table-of-contents/toc-container.directive.d.ts +1 -1
  305. package/table-of-contents/toc-content.directive.d.ts +1 -1
  306. package/table-of-contents/toc-link.directive.d.ts +1 -1
  307. package/tabs/tab-body.component.d.ts +7 -23
  308. package/tabs/tab-context.service.d.ts +0 -3
  309. package/tabs/tab-group.component.d.ts +1 -29
  310. package/tabs/tab-header-active-indicator.component.d.ts +1 -10
  311. package/tabs/tab-header.component.d.ts +2 -85
  312. package/tabs/tab.component.d.ts +1 -19
  313. package/tabs/tabs.types.d.ts +2 -5
  314. package/tag/check-tag/check-tag.component.d.ts +1 -1
  315. package/tag/tag.component.d.ts +1 -1
  316. package/tag/tag.types.d.ts +1 -1
  317. package/theme/theme.pipe.d.ts +4 -4
  318. package/theme/theme.types.d.ts +3 -3
  319. package/time-picker/component.d.ts +1 -1
  320. package/time-picker/panel/panel.component.d.ts +1 -1
  321. package/time-picker/time-picker.type.d.ts +1 -1
  322. package/tooltip/base-tooltip.d.ts +1 -1
  323. package/tooltip/tooltip-active.directive.d.ts +1 -1
  324. package/tooltip/tooltip-copy.directive.d.ts +1 -1
  325. package/tooltip/tooltip-intl.d.ts +0 -4
  326. package/tooltip/tooltip.component.d.ts +1 -1
  327. package/tooltip/tooltip.directive.d.ts +1 -1
  328. package/tree-select/tree-node-placeholder.component.d.ts +1 -1
  329. package/tree-select/tree-select.component.d.ts +2 -2
  330. package/tree-select/tree-select.types.d.ts +1 -1
  331. package/types.d.ts +2 -5
  332. package/utils/operators.d.ts +1 -1
  333. package/.changeset/README.md +0 -8
  334. package/alauda-ui.d.ts +0 -5
  335. package/src/accordion/README.md +0 -13
  336. package/src/anchor/README.md +0 -23
  337. package/src/dropdown/README.md +0 -57
  338. package/src/form/README.md +0 -32
  339. package/src/icon/README.md +0 -28
  340. package/src/inline-alert/README.md +0 -16
  341. package/src/input/number-input/README.md +0 -16
  342. package/src/select/README.md +0 -57
  343. package/src/sort/README.md +0 -13
  344. package/src/table/README.md +0 -8
  345. package/src/table-of-contents/README.md +0 -94
  346. package/src/tag/README.md +0 -32
  347. package/src/tree-select/README.md +0 -34
@@ -1,57 +0,0 @@
1
- ## Select
2
-
3
- ### Select Attributes
4
-
5
- | 参数 | 说明 | 类型 | 默认值 |
6
- | ----------- | -------------------------------------------- | ------------------ | ----------------------- |
7
- | size | 尺寸 | ComponentSize | ComponentSize.Medium |
8
- | placeholder | 占位符 | string | - |
9
- | disabled | 禁用 | boolean | false |
10
- | loading | 加载状态 | boolean | false |
11
- | value | 选中值 | T | - |
12
- | filterable | 是否可过滤选项 | boolean | false |
13
- | filterFn | 过滤函数 | OptionFilterMethod | Array.property.includes |
14
- | allowCreate | 是否允许创建新值,需要和 filterable 一起打开 | boolean | false |
15
- | clearable | 是否可清空选项 | boolean | false |
16
- | trackFn | 返回 value 唯一标识符 | TrackFn | val => val |
17
-
18
- ### Select Events
19
-
20
- | 时间名称 | 说明 | 回调参数 |
21
- | ------------ | ------------ | ------------- |
22
- | valueChange | 选中值变化 | value: T |
23
- | filterChange | input 值变化 | value: string |
24
-
25
- ## MultiSelect
26
-
27
- ### MultiSelect Attributes
28
-
29
- | 参数 | 说明 | 类型 | 默认值 |
30
- | ----------- | -------------------------------------------- | -------------- | ----------------------- |
31
- | size | 尺寸 | ComponentSize | ComponentSize.Medium |
32
- | placeholder | 占位符 | string | - |
33
- | disabled | 禁用 | boolean | false |
34
- | loading | 加载状态 | boolean | false |
35
- | value | 选中值 | T[] | [] |
36
- | filterable | 是否可过滤选项 | boolean | false |
37
- | filterFn | 过滤函数 | OptionFilterFn | Array.property.includes |
38
- | allowCreate | 是否允许创建新值,需要和 filterable 一起打开 | boolean | false |
39
- | clearable | 是否可清空选项 | boolean | false |
40
- | trackFn | 返回 value 唯一标识符 | TrackFn | val => val |
41
-
42
- ### MultiSelect Events
43
-
44
- | 事件名称 | 说明 | 回调参数 |
45
- | ------------ | ------------ | ------------- |
46
- | valueChange | 选中值变化 | value: T |
47
- | filterChange | input 值变化 | value: string |
48
-
49
- ## Option
50
-
51
- ### Option Attributes
52
-
53
- | 参数 | 说明 | 类型 | 默认值 |
54
- | -------- | ------------------------ | ------- | ------ |
55
- | label | 选中后 select 显示的文案 | string | - |
56
- | value | 选中值 | T | - |
57
- | disabled | 禁用 | boolean | false |
@@ -1,13 +0,0 @@
1
- ### 设计
2
-
3
- 基于 angular/material 的 MatSort 及 MatSortHeader 原始代码修改,修改样式,移除 Alauda UI 不需要的功能,目的是保持组件尽可能简单,避免无关功能干扰开发,变更功能如下:
4
-
5
- - sort disable 相关代码
6
- - sort indicator 样式修改,并去除原有动画相关代码,原有动画仅适合箭头,Alauda UI 的设计并不适合添加动画
7
- - 排序清除功能(asc -> desc -> no sort),Alauda UI 的设计并未考虑这块功能,考虑这块功能不是非常必要,而且会增加一个排序状态,操作稍显繁琐。
8
- - 无障碍相关功能(后续结合实际情况考虑是否加入)
9
-
10
- ### 使用
11
-
12
- - [material2 sort.md](https://github.com/angular/material2/blob/master/src/lib/sort/sort.md)
13
- - [material2 document](https://material.angular.io/components/sort/overview)
@@ -1,8 +0,0 @@
1
- ## 设计
2
-
3
- 基于 angular/material 的 MatTable 修改,功能基本一致,仅移除 MatTableDataSource 相关代码`(MatTableDataSource和MatTable本身并无关系,而且功能并不适合基于服务端的排序及过滤,未来是否会抽取适合服务端的排序及过滤功能还需要考虑)`,样式按 Alauda UI 设计规范调整 。MatTable 相关组件基于 CdkTable 开发,未来 AuiTable 的功能变更会结合 CdkTable 来做。CdkTable 的[设计目标](https://docs.google.com/document/d/1ZyKhwrgqfTBAn7saTq2jPlep2_CwSw5DeoZ8UbaXrC0/preview)和 AuiTable 有很多共同点,可以作为一个后续功能迭代的基础。
4
-
5
- ## 使用
6
-
7
- - [material2 table.md](https://github.com/angular/components/blob/master/src/cdk/table/table.md)
8
- - [material2 document](https://material.angular.io/components/table/overview)
@@ -1,94 +0,0 @@
1
- Features:
2
-
3
- - Active link and content when content visible in scroll container.
4
- - Smooth scroll to content when click link.
5
- - Support programmable scroll to content.
6
- - Support nested content.
7
-
8
- Limit:
9
-
10
- - container must scrollable.
11
- - link active or fix position styles not included.
12
- - if scroll to then end, scrollHeight - scrollTop === clientHeight, set last content active.
13
-
14
- Simplest usage:
15
-
16
- ```html
17
- <!-- links -->
18
- <aside>
19
- <a
20
- auiTocLink="content1"
21
- [for]="toc"
22
- >content1</a
23
- >
24
- <a
25
- auiTocLink="content2"
26
- [for]="toc"
27
- >content2</a
28
- >
29
- <a
30
- auiTocLink="content3"
31
- [for]="toc"
32
- >content3</a
33
- >
34
- </aside>
35
- <!-- scroll container -->
36
- <article
37
- auiTocContainer
38
- #toc="auiTocContainer"
39
- >
40
- <section auiTocContent="content1">...</section>
41
- <section auiTocContent="content2">...</section>
42
- <section auiTocContent="content3">...</section>
43
- </article>
44
- ```
45
-
46
- Directives:
47
-
48
- - `auiTocContainer`
49
-
50
- ```ts
51
- @Output() activedChange: EventEmitter<string>;
52
- ```
53
-
54
- emit when actived change, use this for self define links active.
55
-
56
- ```ts
57
- scrollTo(content: string): void;
58
- ```
59
-
60
- programmable scroll to content.
61
-
62
- - `auiTocContent`
63
-
64
- ```ts
65
- @Input('auiTocContent') auiTocContent: string;
66
- ```
67
-
68
- set content name, must unique in same container.
69
-
70
- ```ts
71
- @HostBinding('class.isActive') active: boolean;
72
- ```
73
-
74
- you need define content `isActive` class for content styling when active.
75
-
76
- - (Optional) `auiTocLink`
77
-
78
- ```ts
79
- @Input() for: TocContainerDirective;
80
- ```
81
-
82
- scroll container template reference variable
83
-
84
- ```ts
85
- @Input('auiTocLink') auiTocLink: string;
86
- ```
87
-
88
- link target content name.
89
-
90
- ```ts
91
- @HostBinding('class.isActive') active: boolean;
92
- ```
93
-
94
- you need define link `isActive` class for link styling when active.
package/src/tag/README.md DELETED
@@ -1,32 +0,0 @@
1
- ## Tag
2
-
3
- ### Tag Attributes
4
-
5
- | 参数 | 说明 | 类型 | 默认值 |
6
- | --------- | ----------------------------------------------------------------- | ------------- | -------------------- |
7
- | type | 主题 | TagType | TagType.Primary |
8
- | size | 尺寸 | ComponentSize | ComponentSize.Medium |
9
- | closeable | 是否可关闭 | boolean | false |
10
- | solid | 是否实心 | boolean | false |
11
- | color | 自定义颜色,可以 `,` 分隔两个色值,第一个值为主色,第二个为背景色 | string | - |
12
-
13
- ### Tag Events
14
-
15
- | 事件名称 | 说明 | 回调参数 |
16
- | -------- | --------------- | -------- |
17
- | close | 关闭 tag 时触发 | - |
18
-
19
- ## CheckTag
20
-
21
- ### CheckTag Attributes
22
-
23
- | 参数 | 说明 | 类型 | 默认值 |
24
- | ------- | -------- | ------------- | -------------------- |
25
- | checked | 是否选中 | boolean | false |
26
- | size | 尺寸 | ComponentSize | ComponentSize.medium |
27
-
28
- ### CheckTag Events
29
-
30
- | 事件名称 | 说明 | 回调参数 |
31
- | ------------- | --------------- | -------- |
32
- | checkedChange | 点击 tag 时触发 | boolean |
@@ -1,34 +0,0 @@
1
- # TreeSelect Module
2
-
3
- ## TreeSelect
4
-
5
- ### TreeSelect Attributes
6
-
7
- | 参数 | 说明 | 类型 | 默认值 |
8
- | ----------- | -------------- | ------------------ | ----------------------- |
9
- | placeholder | 占位符 | string | - |
10
- | disabled | 禁用 | boolean | false |
11
- | loading | 加载状态 | boolean | false |
12
- | value | 选中值 | any | - |
13
- | filterable | 是否可过滤选项 | boolean | false |
14
- | filterFn | 过滤函数 | OptionFilterMethod | Array.property.includes |
15
- | clearable | 是否可清空选项 | boolean | false |
16
-
17
- ### TreeSelect Events
18
-
19
- | 时间名称 | 说明 | 回调参数 |
20
- | ------------ | ------------ | ------------- |
21
- | valueChange | 选中值变化 | value: any |
22
- | filterChange | input 值变化 | value: string |
23
-
24
- ## TreeNode
25
-
26
- ### TreeNode Attributes
27
-
28
- | 参数 | 说明 | 类型 | 默认值 |
29
- | -------- | ------------------------ | ------- | ------ |
30
- | label | 选中后 select 显示的文案 | string | - |
31
- | value | 选中值 | any | - |
32
- | disabled | 禁用 | boolean | false |
33
- | expanded | 是否默认展开节点 | boolean | false |
34
- | leafOnly | 只允许选择叶子节点 | boolean | false |