@alauda/ui 6.5.10-beta → 6.5.10-beta.1

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 (599) 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/esm2022/accordion/accordion-item/accordion-item.component.mjs +73 -0
  53. package/esm2022/accordion/accordion.component.mjs +29 -0
  54. package/esm2022/accordion/accordion.module.mjs +39 -0
  55. package/esm2022/alauda-ui.mjs +2 -0
  56. package/esm2022/anchor/anchor.component.mjs +141 -0
  57. package/esm2022/anchor/anchor.directive.mjs +198 -0
  58. package/esm2022/anchor/anchor.module.mjs +35 -0
  59. package/{esm2020 → esm2022}/autocomplete/autocomplete-placeholder.component.mjs +4 -4
  60. package/esm2022/autocomplete/autocomplete.component.mjs +72 -0
  61. package/esm2022/autocomplete/autocomplete.directive.mjs +278 -0
  62. package/esm2022/autocomplete/autocomplete.module.mjs +53 -0
  63. package/{esm2020 → esm2022}/autocomplete/helper-directives.mjs +4 -4
  64. package/esm2022/autocomplete/suggestion/suggestion.component.mjs +85 -0
  65. package/esm2022/autocomplete/suggestion-group/suggestion-group.component.mjs +25 -0
  66. package/esm2022/back-top/back-top.component.mjs +68 -0
  67. package/esm2022/back-top/back-top.module.mjs +19 -0
  68. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +33 -0
  69. package/esm2022/breadcrumb/breadcrumb.component.mjs +56 -0
  70. package/esm2022/breadcrumb/breadcrumb.module.mjs +20 -0
  71. package/{esm2020 → esm2022}/button/button-group/button-group.component.mjs +4 -4
  72. package/esm2022/button/button.component.mjs +124 -0
  73. package/esm2022/button/button.module.mjs +20 -0
  74. package/esm2022/button/button.types.mjs +13 -0
  75. package/esm2022/card/card.component.mjs +14 -0
  76. package/esm2022/card/card.module.mjs +40 -0
  77. package/esm2022/card/helper-directives.mjs +45 -0
  78. package/{esm2020 → esm2022}/card/section.component.mjs +4 -4
  79. package/esm2022/checkbox/checkbox-group/checkbox-group.component.mjs +60 -0
  80. package/esm2022/checkbox/checkbox.component.mjs +116 -0
  81. package/esm2022/checkbox/checkbox.module.mjs +20 -0
  82. package/esm2022/color-picker/color-picker.component.mjs +28 -0
  83. package/esm2022/color-picker/color-picker.module.mjs +19 -0
  84. package/esm2022/date-picker/calendar/constant.mjs +31 -0
  85. package/esm2022/date-picker/calendar/date-picker-panel/component.mjs +137 -0
  86. package/esm2022/date-picker/calendar/footer/component.mjs +29 -0
  87. package/esm2022/date-picker/calendar/header/component.mjs +99 -0
  88. package/esm2022/date-picker/calendar/panel/picker-panel.mjs +158 -0
  89. package/esm2022/date-picker/calendar/range-picker-panel/component.mjs +210 -0
  90. package/esm2022/date-picker/calendar/util.mjs +152 -0
  91. package/esm2022/date-picker/date-picker/date-picker.component.mjs +115 -0
  92. package/esm2022/date-picker/date-picker.module.mjs +82 -0
  93. package/esm2022/date-picker/range-picker/range-picker.component.mjs +88 -0
  94. package/esm2022/date-picker/trigger/trigger.component.mjs +76 -0
  95. package/esm2022/dialog/confirm-dialog/confirm-dialog-config.mjs +13 -0
  96. package/esm2022/dialog/confirm-dialog/confirm-dialog.component.mjs +88 -0
  97. package/{esm2020 → esm2022}/dialog/dialog-animations.mjs +1 -2
  98. package/esm2022/dialog/dialog-config.mjs +14 -0
  99. package/esm2022/dialog/dialog-content/dialog-close.directive.mjs +42 -0
  100. package/esm2022/dialog/dialog-content/dialog-content.component.mjs +19 -0
  101. package/esm2022/dialog/dialog-content/dialog-footer.component.mjs +13 -0
  102. package/esm2022/dialog/dialog-content/dialog-header.component.mjs +42 -0
  103. package/esm2022/dialog/dialog-ref.mjs +52 -0
  104. package/esm2022/dialog/dialog.component.mjs +154 -0
  105. package/esm2022/dialog/dialog.module.mjs +65 -0
  106. package/esm2022/dialog/dialog.service.mjs +124 -0
  107. package/esm2022/drawer/component/drawer.component.mjs +248 -0
  108. package/esm2022/drawer/component/helper-directives.mjs +33 -0
  109. package/esm2022/drawer/drawer.module.mjs +36 -0
  110. package/esm2022/drawer/drawer.service.mjs +47 -0
  111. package/esm2022/dropdown/dropdown-active.directive.mjs +18 -0
  112. package/esm2022/dropdown/dropdown-button/dropdown-button.component.mjs +58 -0
  113. package/esm2022/dropdown/dropdown.directive.mjs +83 -0
  114. package/esm2022/dropdown/dropdown.module.mjs +65 -0
  115. package/{esm2020 → esm2022}/dropdown/helper-directives.mjs +4 -4
  116. package/esm2022/dropdown/menu/menu-content.directive.mjs +59 -0
  117. package/esm2022/dropdown/menu/menu.component.mjs +26 -0
  118. package/{esm2020 → esm2022}/dropdown/menu-group/menu-group.component.mjs +4 -4
  119. package/esm2022/dropdown/menu-item/menu-item.component.mjs +35 -0
  120. package/esm2022/dropdown/submenu/submenu.component.mjs +38 -0
  121. package/esm2022/form/common-form.mjs +88 -0
  122. package/esm2022/form/form-item/form-item.component.mjs +121 -0
  123. package/esm2022/form/form.directive.mjs +70 -0
  124. package/esm2022/form/form.module.mjs +48 -0
  125. package/esm2022/form/helper-directives.mjs +78 -0
  126. package/{esm2020 → esm2022}/i18n/i18n.module.mjs +5 -5
  127. package/esm2022/i18n/i18n.pipe.mjs +21 -0
  128. package/esm2022/i18n/i18n.service.mjs +46 -0
  129. package/esm2022/icon/icon-register.service.mjs +75 -0
  130. package/esm2022/icon/icon.component.mjs +74 -0
  131. package/esm2022/icon/icon.module.mjs +21 -0
  132. package/{esm2020 → esm2022}/inline-alert/helper-directives.mjs +4 -4
  133. package/esm2022/inline-alert/inline-alert.component.mjs +54 -0
  134. package/esm2022/inline-alert/inline-alert.module.mjs +20 -0
  135. package/esm2022/input/autosize.directive.mjs +56 -0
  136. package/esm2022/input/helper-directives.mjs +43 -0
  137. package/esm2022/input/input-group/input-group.component.mjs +46 -0
  138. package/esm2022/input/input.component.mjs +59 -0
  139. package/esm2022/input/input.module.mjs +85 -0
  140. package/esm2022/input/number-input/number-input.component.mjs +115 -0
  141. package/esm2022/input/search/search.component.mjs +87 -0
  142. package/esm2022/input/tags-input/tags-input.component.mjs +264 -0
  143. package/esm2022/message/base-message.mjs +99 -0
  144. package/esm2022/message/message-wrapper.component.mjs +15 -0
  145. package/esm2022/message/message.component.mjs +77 -0
  146. package/esm2022/message/message.config.mjs +20 -0
  147. package/esm2022/message/message.module.mjs +22 -0
  148. package/{esm2020 → esm2022}/message/message.service.mjs +4 -4
  149. package/esm2022/notification/notification-wrapper.component.mjs +17 -0
  150. package/esm2022/notification/notification.component.mjs +106 -0
  151. package/esm2022/notification/notification.module.mjs +23 -0
  152. package/{esm2020 → esm2022}/notification/notification.service.mjs +4 -4
  153. package/esm2022/paginator/paginator-intl.mjs +24 -0
  154. package/esm2022/paginator/paginator.component.mjs +124 -0
  155. package/esm2022/paginator/paginator.module.mjs +24 -0
  156. package/esm2022/radio/base-radio.mjs +72 -0
  157. package/esm2022/radio/radio-button/radio-button.component.mjs +41 -0
  158. package/esm2022/radio/radio-group/radio-group.component.mjs +70 -0
  159. package/esm2022/radio/radio.component.mjs +23 -0
  160. package/esm2022/radio/radio.module.mjs +21 -0
  161. package/esm2022/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +80 -0
  162. package/esm2022/scrolling/fixed-size-table-virtual-scroll.directive.mjs +119 -0
  163. package/esm2022/scrolling/fixed-size-virtual-scroll.directive.mjs +27 -0
  164. package/{esm2020 → esm2022}/scrolling/scrolling.module.mjs +9 -9
  165. package/{esm2020 → esm2022}/scrolling/virtual-for-of.directive.mjs +4 -4
  166. package/esm2022/scrolling/virtual-scroll-viewport.component.mjs +26 -0
  167. package/esm2022/select/base-select.mjs +345 -0
  168. package/{esm2020 → esm2022}/select/helper-directives.mjs +7 -7
  169. package/esm2022/select/multi-select/multi-select.component.mjs +318 -0
  170. package/esm2022/select/option/option.component.mjs +119 -0
  171. package/esm2022/select/option-group/option-group.component.mjs +25 -0
  172. package/{esm2020 → esm2022}/select/option-placeholder.component.mjs +4 -4
  173. package/esm2022/select/select.component.mjs +107 -0
  174. package/esm2022/select/select.module.mjs +78 -0
  175. package/esm2022/select/validators.mjs +78 -0
  176. package/esm2022/shared/click-outside.directive.mjs +29 -0
  177. package/{esm2020 → esm2022}/shared/shared.module.mjs +5 -5
  178. package/esm2022/sort/sort-errors.mjs +13 -0
  179. package/esm2022/sort/sort-header.component.mjs +74 -0
  180. package/esm2022/sort/sort.directive.mjs +73 -0
  181. package/esm2022/sort/sort.module.mjs +19 -0
  182. package/esm2022/status-bar/status-bar.component.mjs +28 -0
  183. package/esm2022/status-bar/status-bar.module.mjs +19 -0
  184. package/esm2022/steps/steps.component.mjs +180 -0
  185. package/esm2022/steps/steps.module.mjs +19 -0
  186. package/esm2022/switch/switch.component.mjs +43 -0
  187. package/esm2022/switch/switch.module.mjs +18 -0
  188. package/esm2022/table/table-cell-def.directive.mjs +25 -0
  189. package/esm2022/table/table-cell.component.mjs +115 -0
  190. package/esm2022/table/table-cell.directive.mjs +29 -0
  191. package/esm2022/table/table-column-def.directive.mjs +31 -0
  192. package/esm2022/table/table-header-cell-def.directive.mjs +25 -0
  193. package/esm2022/table/table-header-cell.directive.mjs +25 -0
  194. package/esm2022/table/table-header-row-def.directive.mjs +33 -0
  195. package/esm2022/table/table-header-row.component.mjs +24 -0
  196. package/esm2022/table/table-placeholder.directive.mjs +33 -0
  197. package/esm2022/table/table-row-def.directive.mjs +34 -0
  198. package/esm2022/table/table-row.component.mjs +43 -0
  199. package/esm2022/table/table-scroll.directive.mjs +133 -0
  200. package/esm2022/table/table.component.mjs +79 -0
  201. package/esm2022/table/table.module.mjs +96 -0
  202. package/esm2022/table-of-contents/table-of-contents.module.mjs +20 -0
  203. package/esm2022/table-of-contents/toc-container.directive.mjs +111 -0
  204. package/esm2022/table-of-contents/toc-content.directive.mjs +39 -0
  205. package/esm2022/table-of-contents/toc-link.directive.mjs +48 -0
  206. package/esm2022/tabs/tab-body.component.mjs +151 -0
  207. package/esm2022/tabs/tab-context.service.mjs +30 -0
  208. package/esm2022/tabs/tab-group.component.mjs +256 -0
  209. package/esm2022/tabs/tab-header-active-indicator.component.mjs +46 -0
  210. package/esm2022/tabs/tab-header.component.mjs +276 -0
  211. package/esm2022/tabs/tab.component.mjs +77 -0
  212. package/esm2022/tabs/tabs.module.mjs +86 -0
  213. package/esm2022/tabs/tabs.types.mjs +10 -0
  214. package/esm2022/tag/check-tag/check-tag.component.mjs +31 -0
  215. package/esm2022/tag/tag.component.mjs +63 -0
  216. package/esm2022/tag/tag.module.mjs +20 -0
  217. package/esm2022/theme/theme.module.mjs +18 -0
  218. package/esm2022/theme/theme.pipe.mjs +64 -0
  219. package/esm2022/theme/theme.service.mjs +55 -0
  220. package/esm2022/time-picker/component.mjs +181 -0
  221. package/esm2022/time-picker/panel/panel.component.mjs +240 -0
  222. package/esm2022/time-picker/time-picker.module.mjs +56 -0
  223. package/esm2022/tooltip/base-tooltip.mjs +329 -0
  224. package/esm2022/tooltip/tooltip-active.directive.mjs +51 -0
  225. package/esm2022/tooltip/tooltip-copy.directive.mjs +87 -0
  226. package/esm2022/tooltip/tooltip-intl.mjs +21 -0
  227. package/esm2022/tooltip/tooltip.component.mjs +120 -0
  228. package/esm2022/tooltip/tooltip.directive.mjs +44 -0
  229. package/esm2022/tooltip/tooltip.module.mjs +32 -0
  230. package/{esm2020 → esm2022}/tree-select/tree-node-placeholder.component.mjs +4 -4
  231. package/esm2022/tree-select/tree-select.component.mjs +350 -0
  232. package/esm2022/tree-select/tree-select.module.mjs +34 -0
  233. package/esm2022/types.mjs +8 -0
  234. package/esm2022/utils/bem.mjs +44 -0
  235. package/esm2022/utils/coercion.mjs +13 -0
  236. package/{fesm2020 → fesm2022}/alauda-ui.mjs +2818 -2871
  237. package/fesm2022/alauda-ui.mjs.map +1 -0
  238. package/form/common-form.d.ts +1 -8
  239. package/form/form-item/form-item.component.d.ts +1 -1
  240. package/form/form.directive.d.ts +1 -1
  241. package/form/form.types.d.ts +2 -2
  242. package/form/helper-directives.d.ts +5 -5
  243. package/i18n/i18n.pipe.d.ts +1 -1
  244. package/i18n/i18n.type.d.ts +1 -1
  245. package/icon/icon.component.d.ts +1 -1
  246. package/inline-alert/helper-directives.d.ts +1 -1
  247. package/inline-alert/inline-alert.component.d.ts +1 -1
  248. package/inline-alert/inline-alert.types.d.ts +1 -1
  249. package/input/autosize.directive.d.ts +1 -4
  250. package/input/helper-directives.d.ts +4 -4
  251. package/input/input-group/input-group.component.d.ts +1 -1
  252. package/input/input.component.d.ts +1 -4
  253. package/input/number-input/number-input.component.d.ts +1 -1
  254. package/input/search/search.component.d.ts +1 -1
  255. package/input/tags-input/tags-input.component.d.ts +4 -4
  256. package/message/message-wrapper.component.d.ts +1 -1
  257. package/message/message.component.d.ts +1 -1
  258. package/message/message.config.d.ts +0 -20
  259. package/notification/notification-wrapper.component.d.ts +1 -1
  260. package/notification/notification.component.d.ts +1 -5
  261. package/notification/notification.config.d.ts +1 -1
  262. package/package.json +13 -19
  263. package/paginator/paginator-intl.d.ts +0 -9
  264. package/paginator/paginator.component.d.ts +1 -15
  265. package/radio/base-radio.d.ts +1 -1
  266. package/radio/radio-button/radio-button.component.d.ts +1 -1
  267. package/radio/radio-group/radio-group.component.d.ts +1 -4
  268. package/radio/radio.component.d.ts +1 -1
  269. package/radio/radio.types.d.ts +1 -1
  270. package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
  271. package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
  272. package/scrolling/virtual-for-of.directive.d.ts +1 -1
  273. package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
  274. package/select/base-select.d.ts +1 -4
  275. package/select/helper-directives.d.ts +2 -2
  276. package/select/multi-select/multi-select.component.d.ts +1 -1
  277. package/select/option/option.component.d.ts +1 -1
  278. package/select/option-group/option-group.component.d.ts +1 -1
  279. package/select/option-placeholder.component.d.ts +1 -1
  280. package/select/select.component.d.ts +1 -1
  281. package/select/select.types.d.ts +3 -3
  282. package/select/validators.d.ts +1 -1
  283. package/shared/click-outside.directive.d.ts +1 -1
  284. package/sort/sort-errors.d.ts +0 -4
  285. package/sort/sort-header.component.d.ts +1 -1
  286. package/sort/sort.directive.d.ts +1 -1
  287. package/sort/sort.types.d.ts +2 -2
  288. package/status-bar/status-bar.component.d.ts +1 -1
  289. package/status-bar/status-bar.types.d.ts +2 -2
  290. package/steps/steps.component.d.ts +1 -4
  291. package/steps/types.d.ts +3 -6
  292. package/switch/switch.component.d.ts +1 -1
  293. package/table/table-cell-def.directive.d.ts +1 -5
  294. package/table/table-cell.component.d.ts +2 -2
  295. package/table/table-cell.directive.d.ts +1 -2
  296. package/table/table-column-def.directive.d.ts +1 -5
  297. package/table/table-header-cell-def.directive.d.ts +1 -5
  298. package/table/table-header-cell.directive.d.ts +1 -2
  299. package/table/table-header-row-def.directive.d.ts +1 -5
  300. package/table/table-header-row.component.d.ts +1 -2
  301. package/table/table-placeholder.directive.d.ts +2 -2
  302. package/table/table-row-def.directive.d.ts +1 -6
  303. package/table/table-row.component.d.ts +1 -2
  304. package/table/table-scroll.directive.d.ts +2 -2
  305. package/table/table.component.d.ts +1 -1
  306. package/table-of-contents/toc-container.directive.d.ts +1 -1
  307. package/table-of-contents/toc-content.directive.d.ts +1 -1
  308. package/table-of-contents/toc-link.directive.d.ts +1 -1
  309. package/tabs/tab-body.component.d.ts +7 -23
  310. package/tabs/tab-context.service.d.ts +0 -3
  311. package/tabs/tab-group.component.d.ts +1 -29
  312. package/tabs/tab-header-active-indicator.component.d.ts +1 -10
  313. package/tabs/tab-header.component.d.ts +2 -85
  314. package/tabs/tab.component.d.ts +1 -19
  315. package/tabs/tabs.types.d.ts +2 -5
  316. package/tag/check-tag/check-tag.component.d.ts +1 -1
  317. package/tag/tag.component.d.ts +1 -1
  318. package/tag/tag.types.d.ts +1 -1
  319. package/theme/style.css +5 -1
  320. package/theme/theme.pipe.d.ts +4 -4
  321. package/theme/theme.types.d.ts +3 -3
  322. package/time-picker/component.d.ts +1 -1
  323. package/time-picker/panel/panel.component.d.ts +1 -1
  324. package/time-picker/time-picker.type.d.ts +1 -1
  325. package/tooltip/base-tooltip.d.ts +1 -1
  326. package/tooltip/tooltip-active.directive.d.ts +1 -1
  327. package/tooltip/tooltip-copy.directive.d.ts +1 -1
  328. package/tooltip/tooltip-intl.d.ts +0 -4
  329. package/tooltip/tooltip.component.d.ts +1 -1
  330. package/tooltip/tooltip.directive.d.ts +1 -1
  331. package/tree-select/tree-node-placeholder.component.d.ts +1 -1
  332. package/tree-select/tree-select.component.d.ts +2 -2
  333. package/tree-select/tree-select.types.d.ts +1 -1
  334. package/types.d.ts +2 -5
  335. package/utils/operators.d.ts +1 -1
  336. package/.changeset/README.md +0 -8
  337. package/alauda-ui.d.ts +0 -5
  338. package/esm2020/accordion/accordion-item/accordion-item.component.mjs +0 -73
  339. package/esm2020/accordion/accordion.component.mjs +0 -27
  340. package/esm2020/accordion/accordion.module.mjs +0 -39
  341. package/esm2020/alauda-ui.mjs +0 -5
  342. package/esm2020/anchor/anchor.component.mjs +0 -138
  343. package/esm2020/anchor/anchor.directive.mjs +0 -182
  344. package/esm2020/anchor/anchor.module.mjs +0 -36
  345. package/esm2020/autocomplete/autocomplete.component.mjs +0 -64
  346. package/esm2020/autocomplete/autocomplete.directive.mjs +0 -278
  347. package/esm2020/autocomplete/autocomplete.module.mjs +0 -53
  348. package/esm2020/autocomplete/suggestion/suggestion.component.mjs +0 -79
  349. package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +0 -23
  350. package/esm2020/back-top/back-top.component.mjs +0 -67
  351. package/esm2020/back-top/back-top.module.mjs +0 -19
  352. package/esm2020/breadcrumb/breadcrumb-item.component.mjs +0 -32
  353. package/esm2020/breadcrumb/breadcrumb.component.mjs +0 -57
  354. package/esm2020/breadcrumb/breadcrumb.module.mjs +0 -20
  355. package/esm2020/button/button.component.mjs +0 -122
  356. package/esm2020/button/button.module.mjs +0 -20
  357. package/esm2020/button/button.types.mjs +0 -22
  358. package/esm2020/card/card.component.mjs +0 -16
  359. package/esm2020/card/card.module.mjs +0 -40
  360. package/esm2020/card/helper-directives.mjs +0 -50
  361. package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +0 -61
  362. package/esm2020/checkbox/checkbox.component.mjs +0 -112
  363. package/esm2020/checkbox/checkbox.module.mjs +0 -20
  364. package/esm2020/color-picker/color-picker.component.mjs +0 -28
  365. package/esm2020/color-picker/color-picker.module.mjs +0 -19
  366. package/esm2020/date-picker/calendar/constant.mjs +0 -32
  367. package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +0 -128
  368. package/esm2020/date-picker/calendar/footer/component.mjs +0 -29
  369. package/esm2020/date-picker/calendar/header/component.mjs +0 -103
  370. package/esm2020/date-picker/calendar/panel/picker-panel.mjs +0 -155
  371. package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +0 -209
  372. package/esm2020/date-picker/calendar/util.mjs +0 -146
  373. package/esm2020/date-picker/date-picker/date-picker.component.mjs +0 -110
  374. package/esm2020/date-picker/date-picker.module.mjs +0 -84
  375. package/esm2020/date-picker/range-picker/range-picker.component.mjs +0 -86
  376. package/esm2020/date-picker/trigger/trigger.component.mjs +0 -69
  377. package/esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs +0 -12
  378. package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +0 -85
  379. package/esm2020/dialog/dialog-config.mjs +0 -15
  380. package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +0 -38
  381. package/esm2020/dialog/dialog-content/dialog-content.component.mjs +0 -20
  382. package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +0 -15
  383. package/esm2020/dialog/dialog-content/dialog-header.component.mjs +0 -39
  384. package/esm2020/dialog/dialog-ref.mjs +0 -48
  385. package/esm2020/dialog/dialog.component.mjs +0 -148
  386. package/esm2020/dialog/dialog.module.mjs +0 -68
  387. package/esm2020/dialog/dialog.service.mjs +0 -121
  388. package/esm2020/drawer/component/drawer.component.mjs +0 -232
  389. package/esm2020/drawer/component/helper-directives.mjs +0 -37
  390. package/esm2020/drawer/drawer.module.mjs +0 -37
  391. package/esm2020/drawer/drawer.service.mjs +0 -44
  392. package/esm2020/dropdown/dropdown-active.directive.mjs +0 -21
  393. package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +0 -57
  394. package/esm2020/dropdown/dropdown.directive.mjs +0 -81
  395. package/esm2020/dropdown/dropdown.module.mjs +0 -65
  396. package/esm2020/dropdown/menu/menu-content.directive.mjs +0 -51
  397. package/esm2020/dropdown/menu/menu.component.mjs +0 -26
  398. package/esm2020/dropdown/menu-item/menu-item.component.mjs +0 -37
  399. package/esm2020/dropdown/submenu/submenu.component.mjs +0 -40
  400. package/esm2020/form/common-form.mjs +0 -91
  401. package/esm2020/form/form-item/form-item.component.mjs +0 -108
  402. package/esm2020/form/form.directive.mjs +0 -69
  403. package/esm2020/form/form.module.mjs +0 -48
  404. package/esm2020/form/helper-directives.mjs +0 -80
  405. package/esm2020/i18n/i18n.pipe.mjs +0 -20
  406. package/esm2020/i18n/i18n.service.mjs +0 -43
  407. package/esm2020/icon/icon-register.service.mjs +0 -74
  408. package/esm2020/icon/icon.component.mjs +0 -65
  409. package/esm2020/icon/icon.module.mjs +0 -21
  410. package/esm2020/inline-alert/inline-alert.component.mjs +0 -53
  411. package/esm2020/inline-alert/inline-alert.module.mjs +0 -20
  412. package/esm2020/input/autosize.directive.mjs +0 -59
  413. package/esm2020/input/helper-directives.mjs +0 -43
  414. package/esm2020/input/input-group/input-group.component.mjs +0 -39
  415. package/esm2020/input/input.component.mjs +0 -61
  416. package/esm2020/input/input.module.mjs +0 -87
  417. package/esm2020/input/number-input/number-input.component.mjs +0 -112
  418. package/esm2020/input/search/search.component.mjs +0 -88
  419. package/esm2020/input/tags-input/tags-input.component.mjs +0 -260
  420. package/esm2020/message/base-message.mjs +0 -90
  421. package/esm2020/message/message-wrapper.component.mjs +0 -14
  422. package/esm2020/message/message.component.mjs +0 -70
  423. package/esm2020/message/message.config.mjs +0 -21
  424. package/esm2020/message/message.module.mjs +0 -23
  425. package/esm2020/notification/notification-wrapper.component.mjs +0 -16
  426. package/esm2020/notification/notification.component.mjs +0 -107
  427. package/esm2020/notification/notification.module.mjs +0 -24
  428. package/esm2020/paginator/paginator-intl.mjs +0 -37
  429. package/esm2020/paginator/paginator.component.mjs +0 -125
  430. package/esm2020/paginator/paginator.module.mjs +0 -24
  431. package/esm2020/radio/base-radio.mjs +0 -67
  432. package/esm2020/radio/radio-button/radio-button.component.mjs +0 -42
  433. package/esm2020/radio/radio-group/radio-group.component.mjs +0 -76
  434. package/esm2020/radio/radio.component.mjs +0 -24
  435. package/esm2020/radio/radio.module.mjs +0 -21
  436. package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +0 -83
  437. package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +0 -121
  438. package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +0 -28
  439. package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +0 -26
  440. package/esm2020/select/base-select.mjs +0 -337
  441. package/esm2020/select/multi-select/multi-select.component.mjs +0 -313
  442. package/esm2020/select/option/option.component.mjs +0 -112
  443. package/esm2020/select/option-group/option-group.component.mjs +0 -23
  444. package/esm2020/select/select.component.mjs +0 -108
  445. package/esm2020/select/select.module.mjs +0 -80
  446. package/esm2020/select/validators.mjs +0 -79
  447. package/esm2020/shared/click-outside.directive.mjs +0 -28
  448. package/esm2020/sort/sort-errors.mjs +0 -17
  449. package/esm2020/sort/sort-header.component.mjs +0 -72
  450. package/esm2020/sort/sort.directive.mjs +0 -75
  451. package/esm2020/sort/sort.module.mjs +0 -19
  452. package/esm2020/status-bar/status-bar.component.mjs +0 -29
  453. package/esm2020/status-bar/status-bar.module.mjs +0 -19
  454. package/esm2020/steps/steps.component.mjs +0 -184
  455. package/esm2020/steps/steps.module.mjs +0 -19
  456. package/esm2020/switch/switch.component.mjs +0 -46
  457. package/esm2020/switch/switch.module.mjs +0 -18
  458. package/esm2020/table/table-cell-def.directive.mjs +0 -29
  459. package/esm2020/table/table-cell.component.mjs +0 -121
  460. package/esm2020/table/table-cell.directive.mjs +0 -31
  461. package/esm2020/table/table-column-def.directive.mjs +0 -37
  462. package/esm2020/table/table-header-cell-def.directive.mjs +0 -29
  463. package/esm2020/table/table-header-cell.directive.mjs +0 -27
  464. package/esm2020/table/table-header-row-def.directive.mjs +0 -39
  465. package/esm2020/table/table-header-row.component.mjs +0 -25
  466. package/esm2020/table/table-placeholder.directive.mjs +0 -30
  467. package/esm2020/table/table-row-def.directive.mjs +0 -42
  468. package/esm2020/table/table-row.component.mjs +0 -43
  469. package/esm2020/table/table-scroll.directive.mjs +0 -134
  470. package/esm2020/table/table.component.mjs +0 -79
  471. package/esm2020/table/table.module.mjs +0 -96
  472. package/esm2020/table-of-contents/table-of-contents.module.mjs +0 -20
  473. package/esm2020/table-of-contents/toc-container.directive.mjs +0 -109
  474. package/esm2020/table-of-contents/toc-content.directive.mjs +0 -35
  475. package/esm2020/table-of-contents/toc-link.directive.mjs +0 -44
  476. package/esm2020/tabs/tab-body.component.mjs +0 -165
  477. package/esm2020/tabs/tab-context.service.mjs +0 -31
  478. package/esm2020/tabs/tab-group.component.mjs +0 -291
  479. package/esm2020/tabs/tab-header-active-indicator.component.mjs +0 -53
  480. package/esm2020/tabs/tab-header.component.mjs +0 -367
  481. package/esm2020/tabs/tab.component.mjs +0 -85
  482. package/esm2020/tabs/tabs.module.mjs +0 -88
  483. package/esm2020/tabs/tabs.types.mjs +0 -13
  484. package/esm2020/tag/check-tag/check-tag.component.mjs +0 -33
  485. package/esm2020/tag/tag.component.mjs +0 -66
  486. package/esm2020/tag/tag.module.mjs +0 -20
  487. package/esm2020/theme/theme.module.mjs +0 -18
  488. package/esm2020/theme/theme.pipe.mjs +0 -69
  489. package/esm2020/theme/theme.service.mjs +0 -52
  490. package/esm2020/time-picker/component.mjs +0 -179
  491. package/esm2020/time-picker/panel/panel.component.mjs +0 -230
  492. package/esm2020/time-picker/time-picker.module.mjs +0 -58
  493. package/esm2020/tooltip/base-tooltip.mjs +0 -322
  494. package/esm2020/tooltip/tooltip-active.directive.mjs +0 -49
  495. package/esm2020/tooltip/tooltip-copy.directive.mjs +0 -82
  496. package/esm2020/tooltip/tooltip-intl.mjs +0 -29
  497. package/esm2020/tooltip/tooltip.component.mjs +0 -107
  498. package/esm2020/tooltip/tooltip.directive.mjs +0 -47
  499. package/esm2020/tooltip/tooltip.module.mjs +0 -33
  500. package/esm2020/tree-select/tree-select.component.mjs +0 -340
  501. package/esm2020/tree-select/tree-select.module.mjs +0 -34
  502. package/esm2020/types.mjs +0 -11
  503. package/esm2020/utils/bem.mjs +0 -44
  504. package/esm2020/utils/coercion.mjs +0 -17
  505. package/fesm2015/alauda-ui.mjs +0 -12051
  506. package/fesm2015/alauda-ui.mjs.map +0 -1
  507. package/fesm2020/alauda-ui.mjs.map +0 -1
  508. package/src/accordion/README.md +0 -13
  509. package/src/anchor/README.md +0 -23
  510. package/src/dropdown/README.md +0 -57
  511. package/src/form/README.md +0 -32
  512. package/src/icon/README.md +0 -28
  513. package/src/inline-alert/README.md +0 -16
  514. package/src/input/number-input/README.md +0 -16
  515. package/src/select/README.md +0 -57
  516. package/src/sort/README.md +0 -13
  517. package/src/table/README.md +0 -8
  518. package/src/table-of-contents/README.md +0 -94
  519. package/src/tag/README.md +0 -32
  520. package/src/tree-select/README.md +0 -34
  521. /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
  522. /package/{esm2020 → esm2022}/anchor/index.mjs +0 -0
  523. /package/{esm2020 → esm2022}/anchor/types.mjs +0 -0
  524. /package/{esm2020 → esm2022}/anchor/utils.mjs +0 -0
  525. /package/{esm2020 → esm2022}/autocomplete/autocomplete.types.mjs +0 -0
  526. /package/{esm2020 → esm2022}/autocomplete/index.mjs +0 -0
  527. /package/{esm2020 → esm2022}/back-top/index.mjs +0 -0
  528. /package/{esm2020 → esm2022}/breadcrumb/index.mjs +0 -0
  529. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  530. /package/{esm2020 → esm2022}/card/index.mjs +0 -0
  531. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  532. /package/{esm2020 → esm2022}/color-picker/index.mjs +0 -0
  533. /package/{esm2020 → esm2022}/core/animation/animation-consts.mjs +0 -0
  534. /package/{esm2020 → esm2022}/date-picker/date-picker.type.mjs +0 -0
  535. /package/{esm2020 → esm2022}/date-picker/index.mjs +0 -0
  536. /package/{esm2020 → esm2022}/dialog/dialog.types.mjs +0 -0
  537. /package/{esm2020 → esm2022}/dialog/index.mjs +0 -0
  538. /package/{esm2020 → esm2022}/dialog/utils/errors.mjs +0 -0
  539. /package/{esm2020 → esm2022}/dialog/utils/index.mjs +0 -0
  540. /package/{esm2020 → esm2022}/drawer/component/drawer-ref.mjs +0 -0
  541. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  542. /package/{esm2020 → esm2022}/dropdown/dropdown.types.mjs +0 -0
  543. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  544. /package/{esm2020 → esm2022}/form/form.types.mjs +0 -0
  545. /package/{esm2020 → esm2022}/form/index.mjs +0 -0
  546. /package/{esm2020 → esm2022}/i18n/i18n.type.mjs +0 -0
  547. /package/{esm2020 → esm2022}/i18n/index.mjs +0 -0
  548. /package/{esm2020 → esm2022}/i18n/language/en.mjs +0 -0
  549. /package/{esm2020 → esm2022}/i18n/language/zh.mjs +0 -0
  550. /package/{esm2020 → esm2022}/icon/icons.mjs +0 -0
  551. /package/{esm2020 → esm2022}/icon/index.mjs +0 -0
  552. /package/{esm2020 → esm2022}/icon/utils.mjs +0 -0
  553. /package/{esm2020 → esm2022}/index.mjs +0 -0
  554. /package/{esm2020 → esm2022}/inline-alert/index.mjs +0 -0
  555. /package/{esm2020 → esm2022}/inline-alert/inline-alert.types.mjs +0 -0
  556. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  557. /package/{esm2020 → esm2022}/input/tags-input/with-max-row-count.mjs +0 -0
  558. /package/{esm2020 → esm2022}/input/utils/index.mjs +0 -0
  559. /package/{esm2020 → esm2022}/message/index.mjs +0 -0
  560. /package/{esm2020 → esm2022}/message/message-animations.mjs +0 -0
  561. /package/{esm2020 → esm2022}/notification/index.mjs +0 -0
  562. /package/{esm2020 → esm2022}/notification/notification.config.mjs +0 -0
  563. /package/{esm2020 → esm2022}/paginator/index.mjs +0 -0
  564. /package/{esm2020 → esm2022}/radio/index.mjs +0 -0
  565. /package/{esm2020 → esm2022}/radio/radio.types.mjs +0 -0
  566. /package/{esm2020 → esm2022}/scrolling/index.mjs +0 -0
  567. /package/{esm2020 → esm2022}/select/index.mjs +0 -0
  568. /package/{esm2020 → esm2022}/select/select.types.mjs +0 -0
  569. /package/{esm2020 → esm2022}/sort/index.mjs +0 -0
  570. /package/{esm2020 → esm2022}/sort/sort.types.mjs +0 -0
  571. /package/{esm2020 → esm2022}/status-bar/index.mjs +0 -0
  572. /package/{esm2020 → esm2022}/status-bar/status-bar.types.mjs +0 -0
  573. /package/{esm2020 → esm2022}/steps/index.mjs +0 -0
  574. /package/{esm2020 → esm2022}/steps/types.mjs +0 -0
  575. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  576. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  577. /package/{esm2020 → esm2022}/table-of-contents/index.mjs +0 -0
  578. /package/{esm2020 → esm2022}/tabs/index.mjs +0 -0
  579. /package/{esm2020 → esm2022}/tag/index.mjs +0 -0
  580. /package/{esm2020 → esm2022}/tag/tag.types.mjs +0 -0
  581. /package/{esm2020 → esm2022}/theme/index.mjs +0 -0
  582. /package/{esm2020 → esm2022}/theme/theme.types.mjs +0 -0
  583. /package/{esm2020 → esm2022}/theme/utils.mjs +0 -0
  584. /package/{esm2020 → esm2022}/time-picker/constant.mjs +0 -0
  585. /package/{esm2020 → esm2022}/time-picker/index.mjs +0 -0
  586. /package/{esm2020 → esm2022}/time-picker/time-picker.type.mjs +0 -0
  587. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  588. /package/{esm2020 → esm2022}/tooltip/tooltip.types.mjs +0 -0
  589. /package/{esm2020 → esm2022}/tooltip/utils/index.mjs +0 -0
  590. /package/{esm2020 → esm2022}/tree-select/index.mjs +0 -0
  591. /package/{esm2020 → esm2022}/tree-select/tree-select.types.mjs +0 -0
  592. /package/{esm2020 → esm2022}/utils/animations.mjs +0 -0
  593. /package/{esm2020 → esm2022}/utils/async.mjs +0 -0
  594. /package/{esm2020 → esm2022}/utils/fn.mjs +0 -0
  595. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  596. /package/{esm2020 → esm2022}/utils/observe-dom.mjs +0 -0
  597. /package/{esm2020 → esm2022}/utils/operators.mjs +0 -0
  598. /package/{esm2020 → esm2022}/utils/scroll-into-view.mjs +0 -0
  599. /package/{esm2020 → esm2022}/utils/watch-content-exist.mjs +0 -0
@@ -5,53 +5,30 @@ import { TabHeaderAddonDirective, TabLabelWrapperDirective, TabTitleDirective }
5
5
  import { TabHeaderActiveIndicatorComponent } from './tab-header-active-indicator.component';
6
6
  import { TabSize, TabType } from './tabs.types';
7
7
  import * as i0 from "@angular/core";
8
- /**
9
- * The directions that scrolling can go in when the header's tabs exceed the header width. 'After'
10
- * will scroll the header towards the end of the tabs list and 'before' will scroll towards the
11
- * beginning of the list.
12
- */
13
- export declare type ScrollDirection = 'after' | 'before';
8
+ export type ScrollDirection = 'after' | 'before';
14
9
  export declare class TabHeaderComponent implements OnDestroy, AfterContentChecked, AfterContentInit {
15
10
  private readonly _changeDetectorRef;
16
11
  private readonly _viewportRuler;
17
12
  bem: Bem;
18
13
  _showAddon: boolean;
19
- /** Whether the controls for pagination should be displayed */
20
14
  _showPaginationControls: boolean;
21
- /** Whether the tab list can be scrolled more towards the end of the tab label list. */
22
15
  _disableScrollAfter: boolean;
23
- /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */
24
16
  _disableScrollBefore: boolean;
25
- /** Whether the scroll distance has changed and should be applied after the view is checked. */
26
17
  private _scrollDistanceChanged;
27
- /** Whether the header should scroll to the selected index after the view has been checked. */
28
18
  private _selectedIndexChanged;
29
- /** The distance in pixels that the tab labels should be translated to the left. */
30
19
  private _scrollDistance;
31
20
  private _selectedIndex;
32
- /** Emits when the component is destroyed. */
33
21
  private readonly _destroyed;
34
- /** Used to manage focus between the tabs. */
35
22
  private _keyManager;
36
- /**
37
- * The number of tab labels that are displayed on the header. When this changes, the header
38
- * should re-evaluate the scroll position.
39
- */
40
23
  private _tabLabelCount;
41
24
  type: TabType;
42
25
  size: TabSize;
43
- /** The index of the active tab. */
44
26
  get selectedIndex(): number;
45
27
  set selectedIndex(value: number);
46
- /** Event emitted when the option is selected. */
47
28
  readonly selectFocusedIndex: EventEmitter<number>;
48
- /** Event emitted when a label is focused. */
49
29
  readonly indexFocused: EventEmitter<number>;
50
30
  _headerAddon: TabHeaderAddonDirective;
51
31
  _title: TabTitleDirective;
52
- /**
53
- * workaround for @link https://github.com/microsoft/TypeScript/pull/42425
54
- */
55
32
  _labelWrappers: QueryList<TabLabelWrapperDirective & {
56
33
  disabled?: boolean;
57
34
  }>;
@@ -61,84 +38,24 @@ export declare class TabHeaderComponent implements OnDestroy, AfterContentChecke
61
38
  _activeIndicator: TabHeaderActiveIndicatorComponent;
62
39
  ngOnDestroy(): void;
63
40
  ngAfterContentChecked(): void;
64
- /**
65
- * Aligns the ink bar to the selected tab on load.
66
- */
67
41
  ngAfterContentInit(): void;
68
- /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
69
42
  get scrollDistance(): number;
70
43
  set scrollDistance(v: number);
71
- /** Tracks which element has focus; used for keyboard navigation */
72
44
  get focusIndex(): number;
73
- /** When the focus index is set, we must manually send focus to the correct label */
74
45
  set focusIndex(value: number);
75
- /**
76
- * Determines if an index is valid. If the tabs are not ready yet, we assume that the user is
77
- * providing a valid index and return true.
78
- */
79
46
  _isValidIndex(index: number): boolean;
80
47
  _handleKeydown(event: KeyboardEvent): void;
81
- /**
82
- * Sets focus on the HTML element for the label wrapper and scrolls it into the view if
83
- * scrolling is enabled.
84
- */
85
48
  _setTabFocus(tabIndex: number): void;
86
- /**
87
- * Moves the tab list such that the desired tab label (marked by index) is moved into view.
88
- *
89
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
90
- * should be called sparingly.
91
- */
92
49
  _scrollToLabel(labelIndex: number): void;
93
- /**
94
- * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or
95
- * the end of the list, respectively). The distance to scroll is computed to be a third of the
96
- * length of the tab list view window.
97
- *
98
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
99
- * should be called sparingly.
100
- */
101
50
  _scrollHeader(scrollDir: ScrollDirection): void;
102
- /**
103
- * Callback for when the MutationObserver detects that the content has changed.
104
- */
105
51
  _onContentChanges(): void;
106
- /**
107
- * Updating the view whether pagination should be enabled or not
108
- */
109
52
  _updatePagination(): void;
110
- /**
111
- * Evaluate whether the pagination controls should be displayed. If the scroll width of the
112
- * tab list is wider than the size of the header container, then the pagination controls should
113
- * be shown.
114
- *
115
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
116
- * should be called sparingly.
117
- */
118
53
  _checkPaginationEnabled(): void;
119
- /**
120
- * Evaluate whether the before and after controls should be enabled or disabled.
121
- * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the
122
- * before button. If the header is at the end of the list (scroll distance is equal to the
123
- * maximum distance we can scroll), then disable the after button.
124
- *
125
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
126
- * should be called sparingly.
127
- */
128
54
  _checkScrollingControls(): void;
129
- /**
130
- * Determines what is the maximum length in pixels that can be set for the scroll distance. This
131
- * is equal to the difference in width between the tab list container and tab header container.
132
- *
133
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
134
- * should be called sparingly.
135
- */
136
55
  _getMaxScrollDistance(): number;
137
- /** Performs the CSS transformation on the tab list that will cause the list to scroll. */
138
56
  _updateTabScrollPosition(): void;
139
- /** Tells the active indicator to align itself to the current label wrapper */
140
57
  _alignActiveIndicatorToSelectedTab(): void;
141
58
  constructor(_changeDetectorRef: ChangeDetectorRef, _viewportRuler: ViewportRuler);
142
59
  static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderComponent, never>;
143
- static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderComponent, "aui-tab-header", never, { "type": "type"; "size": "size"; "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_headerAddon", "_title", "_labelWrappers"], ["*"]>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderComponent, "aui-tab-header", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_headerAddon", "_title", "_labelWrappers"], ["*"], false, never>;
144
61
  }
@@ -8,36 +8,18 @@ export declare class TabComponent implements AfterContentInit, OnDestroy, OnChan
8
8
  private readonly _viewContainerRef;
9
9
  readonly tabContext: TabContextService;
10
10
  name: string;
11
- /** Plain text label for the tab, used when there is no template label. */
12
11
  textLabel: string;
13
- /** Whether or not to show the close button in the header */
14
12
  closeable: boolean;
15
- /** Whether or not the tab is disabled */
16
13
  get disabled(): boolean | '';
17
14
  set disabled(value: boolean | '');
18
15
  close: EventEmitter<void>;
19
- /** Content for the tab label given by `<ng-template [auiTabLabel]>`. */
20
16
  templateLabel: TabLabelDirective;
21
- /**
22
- * Template provided in the tab content that will be used if present, used to enable lazy-loading
23
- */
24
17
  _explicitContent: TemplateRef<any>;
25
- /** Template inside the AuiTab view that contains an `<ng-content>`. */
26
18
  _implicitContent: TemplateRef<any>;
27
19
  get content(): TemplatePortal | null;
28
- /**
29
- * The relatively indexed position where 0 represents the center, negative is left, and positive
30
- * represents the right.
31
- */
32
20
  position: number | null;
33
- /**
34
- * The initial relatively index origin of the tab if it was created and selected after there
35
- * was already a selected tab. Provides context of what position the tab should originate from.
36
- */
37
21
  origin: number | null;
38
- /** Emits whenever the internal state of the tab changes. */
39
22
  readonly _stateChanges: Subject<void>;
40
- /** Portal that will be the hosted content of the tab */
41
23
  private _contentPortal;
42
24
  private _disabled;
43
25
  constructor(_viewContainerRef: ViewContainerRef, tabContext: TabContextService);
@@ -45,5 +27,5 @@ export declare class TabComponent implements AfterContentInit, OnDestroy, OnChan
45
27
  ngOnDestroy(): void;
46
28
  ngOnChanges(changes: SimpleChanges): void;
47
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "aui-tab", ["auiTab"], { "name": "name"; "textLabel": "label"; "closeable": "closeable"; "disabled": "disabled"; }, { "close": "close"; }, ["templateLabel", "_explicitContent"], ["*"]>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "aui-tab", ["auiTab"], { "name": { "alias": "name"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "close": "close"; }, ["templateLabel", "_explicitContent"], ["*"], false, never>;
49
31
  }
@@ -1,15 +1,12 @@
1
1
  import { ValueOf } from '../types';
2
2
  export declare const TabSize: {
3
- /** 卡片级尺寸 */
4
3
  readonly Large: "large";
5
- /** 页面级尺寸 */
6
4
  readonly Medium: "medium";
7
- /** 小尺寸 */
8
5
  readonly Small: "small";
9
6
  };
10
- export declare type TabSize = ValueOf<typeof TabSize>;
7
+ export type TabSize = ValueOf<typeof TabSize>;
11
8
  export declare const TabType: {
12
9
  readonly Line: "line";
13
10
  readonly Card: "card";
14
11
  };
15
- export declare type TabType = ValueOf<typeof TabType>;
12
+ export type TabType = ValueOf<typeof TabType>;
@@ -11,5 +11,5 @@ export declare class CheckTagComponent {
11
11
  checkedChange: EventEmitter<boolean>;
12
12
  get rootClass(): string;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckTagComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckTagComponent, "aui-check-tag", never, { "checked": "checked"; "size": "size"; "round": "round"; }, { "checkedChange": "checkedChange"; }, never, ["*"]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckTagComponent, "aui-check-tag", never, { "checked": { "alias": "checked"; "required": false; }; "size": { "alias": "size"; "required": false; }; "round": { "alias": "round"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], false, never>;
15
15
  }
@@ -23,5 +23,5 @@ export declare class TagComponent {
23
23
  'background-color': string;
24
24
  };
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "aui-tag", never, { "type": "type"; "size": "size"; "closeable": "closeable"; "border": "border"; "solid": "solid"; "invalid": "invalid"; "round": "round"; "color": "color"; "allowClick": "allowClick"; }, { "close": "close"; }, never, ["*"]>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "aui-tag", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "border": { "alias": "border"; "required": false; }; "solid": { "alias": "solid"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "round": { "alias": "round"; "required": false; }; "color": { "alias": "color"; "required": false; }; "allowClick": { "alias": "allowClick"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
27
27
  }
@@ -6,4 +6,4 @@ export declare const TagType: {
6
6
  readonly Error: "error";
7
7
  readonly Info: "info";
8
8
  };
9
- export declare type TagType = ValueOf<typeof TagType>;
9
+ export type TagType = ValueOf<typeof TagType>;
package/theme/style.css CHANGED
@@ -39,7 +39,7 @@
39
39
  right: 0;
40
40
  z-index: 1000;
41
41
  pointer-events: auto;
42
- -webkit-tap-highlight-color: transparent;
42
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
43
43
  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
44
44
  opacity: 0;
45
45
  }
@@ -67,6 +67,10 @@
67
67
  visibility: visible;
68
68
  }
69
69
 
70
+ .cdk-overlay-backdrop-noop-animation {
71
+ transition: none;
72
+ }
73
+
70
74
  .cdk-overlay-connected-position-bounding-box {
71
75
  position: absolute;
72
76
  z-index: 1000;
@@ -5,17 +5,17 @@ import * as i0 from "@angular/core";
5
5
  export declare class RgbColorPipe implements PipeTransform {
6
6
  transform: (color: string) => string;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RgbColorPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor">;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<RgbColorPipe, "auiRgbColor", false>;
9
9
  }
10
10
  export declare class RgbaColorPipe implements PipeTransform {
11
11
  transform: ([color, opacity]: [string, number]) => string;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RgbaColorPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor">;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<RgbaColorPipe, "auiRgbaColor", false>;
14
14
  }
15
15
  export declare class CssVarPipe implements PipeTransform {
16
16
  transform: (value: string) => string;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<CssVarPipe, never>;
18
- static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar">;
18
+ static ɵpipe: i0.ɵɵPipeDeclaration<CssVarPipe, "auiCssVar", false>;
19
19
  }
20
20
  export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
21
21
  private currentTheme;
@@ -24,5 +24,5 @@ export declare class ThemePickerPipe<T> implements PipeTransform, OnDestroy {
24
24
  transform(v: ThemeSet<T>): T;
25
25
  ngOnDestroy(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemePickerPipe<any>, never>;
27
- static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker">;
27
+ static ɵpipe: i0.ɵɵPipeDeclaration<ThemePickerPipe<any>, "auiThemePicker", false>;
28
28
  }
@@ -1,3 +1,3 @@
1
- export declare type Theme = 'light' | 'dark';
2
- export declare type ThemeMode = 'system' | 'light' | 'dark';
3
- export declare type ThemeSet<T> = [T, T] | Record<Theme, T> | ((theme: Theme) => T);
1
+ export type Theme = 'light' | 'dark';
2
+ export type ThemeMode = 'system' | 'light' | 'dark';
3
+ export type ThemeSet<T> = [T, T] | Record<Theme, T> | ((theme: Theme) => T);
@@ -34,5 +34,5 @@ export declare class TimePickerComponent extends CommonFormControl<TimePickerDat
34
34
  clearValue(event: Event): void;
35
35
  submit(close?: boolean, value?: Dayjs): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "aui-time-picker", never, { "format": "format"; "size": "size"; "placeholder": "placeholder"; "clearable": "clearable"; "showIcon": "showIcon"; "disableHours": "disableHours"; "disableMinutes": "disableMinutes"; "disableSeconds": "disableSeconds"; "hourStep": "hourStep"; "minuteStep": "minuteStep"; "secondStep": "secondStep"; "footerTemplate": "footerTemplate"; }, { "open": "open"; "close": "close"; }, never, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "aui-time-picker", never, { "format": { "alias": "format"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "disableHours": { "alias": "disableHours"; "required": false; }; "disableMinutes": { "alias": "disableMinutes"; "required": false; }; "disableSeconds": { "alias": "disableSeconds"; "required": false; }; "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; }, { "open": "open"; "close": "close"; }, never, never, false, never>;
38
38
  }
@@ -52,5 +52,5 @@ export declare class TimePickerPanelComponent extends CommonFormControl<Dayjs> i
52
52
  selectNow(): void;
53
53
  trackBy(_index: number, content: number): number;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerPanelComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerPanelComponent, "aui-time-picker-panel", never, { "format": "format"; "hourStep": "hourStep"; "minuteStep": "minuteStep"; "secondStep": "secondStep"; "footerTemplate": "footerTemplate"; "disableHours": "disableHours"; "disableMinutes": "disableMinutes"; "disableSeconds": "disableSeconds"; }, { "confirm": "confirm"; }, never, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerPanelComponent, "aui-time-picker-panel", never, { "format": { "alias": "format"; "required": false; }; "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "disableHours": { "alias": "disableHours"; "required": false; }; "disableMinutes": { "alias": "disableMinutes"; "required": false; }; "disableSeconds": { "alias": "disableSeconds"; "required": false; }; }, { "confirm": "confirm"; }, never, never, false, never>;
56
56
  }
@@ -9,5 +9,5 @@ export interface TimePickerModel {
9
9
  minute?: number;
10
10
  second?: number;
11
11
  }
12
- export declare type TimePickerDataLike = ConfigType | TimePickerModel;
12
+ export type TimePickerDataLike = ConfigType | TimePickerModel;
13
13
  export declare function isTimePickerModel(item: any): item is TimePickerModel;
@@ -81,5 +81,5 @@ export declare class BaseTooltip<T = any> implements TooltipInterface, AfterView
81
81
  protected onFocus(): void;
82
82
  protected onBlur(): void;
83
83
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseTooltip<any>, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTooltip<any>, never, never, {}, {}, never>;
84
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTooltip<any>, never, never, {}, {}, never, never, false, never>;
85
85
  }
@@ -12,5 +12,5 @@ export declare class TooltipActiveDirective implements OnDestroy {
12
12
  private addClass;
13
13
  private removeClass;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipActiveDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipActiveDirective, "[auiTooltipActive]", never, { "customClass": "auiTooltipActive"; }, {}, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipActiveDirective, "[auiTooltipActive]", never, { "customClass": { "alias": "auiTooltipActive"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
@@ -23,5 +23,5 @@ export declare class TooltipCopyDirective extends BaseTooltip implements OnInit
23
23
  ngOnInit(): void;
24
24
  onSourceClick(): Promise<void>;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCopyDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipCopyDirective, "[auiTooltipCopy]", never, { "position": "auiTooltipPosition"; "disabled": "auiTooltipDisabled"; "disableAnimation": "auiDisableAnimation"; "auiTooltipCopy": "auiTooltipCopy"; "auiTooltipCopyTip": "auiTooltipCopyTip"; "auiTooltipCopySuccessTip": "auiTooltipCopySuccessTip"; "auiTooltipCopyFailTip": "auiTooltipCopyFailTip"; }, {}, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipCopyDirective, "[auiTooltipCopy]", never, { "position": { "alias": "auiTooltipPosition"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "disableAnimation": { "alias": "auiDisableAnimation"; "required": false; }; "auiTooltipCopy": { "alias": "auiTooltipCopy"; "required": false; }; "auiTooltipCopyTip": { "alias": "auiTooltipCopyTip"; "required": false; }; "auiTooltipCopySuccessTip": { "alias": "auiTooltipCopySuccessTip"; "required": false; }; "auiTooltipCopyFailTip": { "alias": "auiTooltipCopyFailTip"; "required": false; }; }, {}, never, never, false, never>;
27
27
  }
@@ -1,8 +1,5 @@
1
1
  import { Optional } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * Texts to render on the code editor.
5
- */
6
3
  export declare class TooltipCopyIntl {
7
4
  copyTip: string;
8
5
  copySuccessTip: string;
@@ -11,7 +8,6 @@ export declare class TooltipCopyIntl {
11
8
  static ɵprov: i0.ɵɵInjectableDeclaration<TooltipCopyIntl>;
12
9
  }
13
10
  export declare function TOOLTIP_COPY_INTL_PROVIDER_FACTORY(parentIntl: TooltipCopyIntl): TooltipCopyIntl;
14
- /** @docs-private */
15
11
  export declare const TOOLTIP_COPY_INTL_INTL_PROVIDER: {
16
12
  provide: typeof TooltipCopyIntl;
17
13
  deps: Optional[][];
@@ -41,5 +41,5 @@ export declare class TooltipComponent implements OnDestroy {
41
41
  show(): void;
42
42
  hide(): void;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "aui-tooltip", never, {}, {}, never, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "aui-tooltip", never, {}, {}, never, never, false, never>;
45
45
  }
@@ -5,5 +5,5 @@ export declare class TooltipDirective extends BaseTooltip {
5
5
  visibleChange: EventEmitter<boolean>;
6
6
  disableAnimation: boolean;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[auiTooltip]", ["auiTooltip"], { "content": "auiTooltip"; "context": "auiTooltipContext"; "class": "auiTooltipClass"; "type": "auiTooltipType"; "position": "auiTooltipPosition"; "trigger": "auiTooltipTrigger"; "disabled": "auiTooltipDisabled"; "hideOnClick": "auiTooltipHideOnClick"; "disableAnimation": "auiDisableAnimation"; }, { "visibleChange": "auiTooltipVisibleChange"; }, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[auiTooltip]", ["auiTooltip"], { "content": { "alias": "auiTooltip"; "required": false; }; "context": { "alias": "auiTooltipContext"; "required": false; }; "class": { "alias": "auiTooltipClass"; "required": false; }; "type": { "alias": "auiTooltipType"; "required": false; }; "position": { "alias": "auiTooltipPosition"; "required": false; }; "trigger": { "alias": "auiTooltipTrigger"; "required": false; }; "disabled": { "alias": "auiTooltipDisabled"; "required": false; }; "hideOnClick": { "alias": "auiTooltipHideOnClick"; "required": false; }; "disableAnimation": { "alias": "auiDisableAnimation"; "required": false; }; }, { "visibleChange": "auiTooltipVisibleChange"; }, never, never, false, never>;
9
9
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class TreeNodePlaceholderComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodePlaceholderComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodePlaceholderComponent, "aui-tree-node-placeholder", never, {}, {}, never, ["*"]>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodePlaceholderComponent, "aui-tree-node-placeholder", never, {}, {}, never, ["*"], false, never>;
5
5
  }
@@ -63,7 +63,7 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
63
63
  private _filterFn;
64
64
  private _trackFn;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeSelectComponent<any>, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeSelectComponent<any>, "aui-tree-select", never, { "nodesData": "nodesData"; "loading": "loading"; "placeholder": "placeholder"; "filterable": "filterable"; "clearable": "clearable"; "leafOnly": "leafOnly"; "filterFn": "filterFn"; "trackFn": "trackFn"; "labelFn": "labelFn"; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, never, ["aui-tree-node-placeholder"]>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeSelectComponent<any>, "aui-tree-select", never, { "nodesData": { "alias": "nodesData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "trackFn": { "alias": "trackFn"; "required": false; }; "labelFn": { "alias": "labelFn"; "required": false; }; }, { "filterChange": "filterChange"; "show": "show"; "hide": "hide"; }, never, ["aui-tree-node-placeholder"], false, never>;
67
67
  }
68
68
  export declare class TreeNodeComponent<T> implements AfterViewInit, OnDestroy {
69
69
  private readonly cdr;
@@ -94,5 +94,5 @@ export declare class TreeNodeComponent<T> implements AfterViewInit, OnDestroy {
94
94
  trackByLabel(_: number, data: TreeNode<T>): string;
95
95
  scrollToNode(node: TreeNodeComponent<T>): void;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeComponent<any>, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeComponent<any>, "aui-tree-node", never, { "nodeData": "nodeData"; "leafOnly": "leafOnly"; }, {}, never, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeComponent<any>, "aui-tree-node", never, { "nodeData": { "alias": "nodeData"; "required": false; }; "leafOnly": { "alias": "leafOnly"; "required": false; }; }, {}, never, never, false, never>;
98
98
  }
@@ -1,4 +1,4 @@
1
- export declare type NodeFilterFn<T> = (filter: string, node: TreeNode<T>) => boolean;
1
+ export type NodeFilterFn<T> = (filter: string, node: TreeNode<T>) => boolean;
2
2
  export interface TreeNode<T = unknown> {
3
3
  label: string;
4
4
  value: T;
package/types.d.ts CHANGED
@@ -1,12 +1,9 @@
1
- export declare type ValueOf<T> = T[keyof T];
1
+ export type ValueOf<T> = T[keyof T];
2
2
  export declare const ComponentSize: {
3
3
  readonly Large: "large";
4
4
  readonly Medium: "medium";
5
5
  readonly Small: "small";
6
6
  readonly Mini: "mini";
7
- /**
8
- * represents default internally, @link https://github.com/angular/vscode-ng-language-service/issues/1147
9
- */
10
7
  readonly Empty: "";
11
8
  };
12
- export declare type ComponentSize = ValueOf<typeof ComponentSize>;
9
+ export type ComponentSize = ValueOf<typeof ComponentSize>;
@@ -1,5 +1,5 @@
1
1
  import { TimestampProvider } from 'rxjs';
2
- export declare type PublishRefConfig<T> = number | (import('rxjs/internal/operators/share').ShareConfig<T> & {
2
+ export type PublishRefConfig<T> = number | (import('rxjs/internal/operators/share').ShareConfig<T> & {
3
3
  bufferSize?: number;
4
4
  windowTime?: number;
5
5
  timestampProvider?: TimestampProvider;
@@ -1,8 +0,0 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
package/alauda-ui.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@alauda/ui" />
5
- export * from './index';
@@ -1,73 +0,0 @@
1
- import { animate, state, style, transition, trigger, } from '@angular/animations';
2
- import { CdkAccordionItem } from '@angular/cdk/accordion';
3
- import { ChangeDetectionStrategy, Component, ContentChild, Directive, Input, TemplateRef, ViewEncapsulation, } from '@angular/core';
4
- import { filter, startWith, take } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../accordion.component";
7
- import * as i2 from "@angular/cdk/collections";
8
- import * as i3 from "../../icon/icon.component";
9
- import * as i4 from "@angular/common";
10
- export class AccordionItemHeaderDirective {
11
- }
12
- AccordionItemHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
- AccordionItemHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: AccordionItemHeaderDirective, selector: "[auiAccordionItemHeader]", ngImport: i0 });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemHeaderDirective, decorators: [{
15
- type: Directive,
16
- args: [{
17
- selector: '[auiAccordionItemHeader]',
18
- }]
19
- }] });
20
- export class AccordionItemContentDirective {
21
- }
22
- AccordionItemContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
23
- AccordionItemContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: AccordionItemContentDirective, selector: "[auiAccordionContent]", ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemContentDirective, decorators: [{
25
- type: Directive,
26
- args: [{
27
- selector: '[auiAccordionContent]',
28
- }]
29
- }] });
30
- export class AccordionItemComponent extends CdkAccordionItem {
31
- // eslint-disable-next-line @typescript-eslint/no-useless-constructor
32
- constructor(accordion, cdr, uniqueSelectionDispatcher) {
33
- super(accordion, cdr, uniqueSelectionDispatcher);
34
- this.background = true;
35
- }
36
- ngAfterContentInit() {
37
- if (this._lazyContentTpl) {
38
- // Render the content as soon as the accordion becomes open.
39
- this.opened
40
- .pipe(startWith(null), filter(() => !!this.expanded), take(1))
41
- .subscribe(() => {
42
- this.lazyContentTpl = this._lazyContentTpl;
43
- });
44
- }
45
- }
46
- }
47
- AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemComponent, deps: [{ token: i1.AccordionComponent }, { token: i0.ChangeDetectorRef }, { token: i2.UniqueSelectionDispatcher }], target: i0.ɵɵFactoryTarget.Component });
48
- AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: AccordionItemComponent, selector: "aui-accordion-item", inputs: { background: "background" }, queries: [{ propertyName: "_lazyContentTpl", first: true, predicate: AccordionItemContentDirective, descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"aui-accordion-item\">\n <div class=\"aui-accordion-item__header\">\n <button\n type=\"button\"\n class=\"aui-accordion-item__expand-button\"\n [class.isExpanded]=\"expanded\"\n [disabled]=\"disabled\"\n (click)=\"toggle()\"\n >\n <aui-icon icon=\"angle_right\"></aui-icon>\n </button>\n <div\n class=\"aui-accordion-item__header-content\"\n [class.aui-accordion-item__header-content--expanded]=\"expanded\"\n >\n <ng-content select=\"[auiAccordionItemHeader]\"></ng-content>\n </div>\n </div>\n <div\n *ngIf=\"expanded\"\n class=\"aui-accordion-item__body\"\n [id]=\"id\"\n [@expand]=\"expanded ? 'expanded' : 'collapsed'\"\n >\n <div\n class=\"aui-accordion-item__content\"\n [class.hasBackground]=\"background\"\n >\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]=\"lazyContentTpl\"></ng-template>\n </div>\n </div>\n</div>\n", styles: [".aui-accordion-item{display:block;padding:20px;border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-10))}.aui-accordion-item__expand-button{display:inline-flex;justify-content:center;align-items:center;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m);color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6));border-radius:50%;border:none;cursor:pointer;transition:transform .1s ease-in-out}.aui-accordion-item__expand-button aui-icon{display:flex;justify-content:center;align-items:center;width:var(--aui-icon-size-s);height:var(--aui-icon-size-s);font-size:var(--aui-icon-size-s)}.aui-accordion-item__expand-button:hover{background-color:rgb(var(--aui-color-p-7))}.aui-accordion-item__expand-button:active{background-color:rgb(var(--aui-color-p-5))}.aui-accordion-item__expand-button.isExpanded{transform:rotate(90deg);color:#fff;background-color:rgb(var(--aui-color-primary))}.aui-accordion-item__expand-button.isExpanded:hover{background-color:rgb(var(--aui-color-p-1))}.aui-accordion-item__expand-button.isExpanded:active{background-color:rgb(var(--aui-color-p-0))}.aui-accordion-item__expand-button[disabled],.aui-accordion-item__expand-button.isExpanded[disabled]{background-color:rgb(var(--aui-color-n-8));color:rgb(var(--aui-color-n-6));cursor:not-allowed}.aui-accordion-item__expand-button:first-child{margin-right:20px}.aui-accordion-item__expand-button:last-child{margin-left:20px}.aui-accordion-item__header{display:inline-flex;align-items:center;width:100%;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}.aui-accordion-item__header-content{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-accordion-item__body{border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-accordion-item__content{margin-top:16px;border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-accordion-item__content.hasBackground{padding:16px;background-color:rgb(var(--aui-color-n-9))}aui-accordion-item+aui-accordion-item .aui-accordion-item{margin-top:var(--aui-spacing-m)}\n"], components: [{ type: i3.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], viewProviders: [AccordionItemComponent], animations: [
49
- trigger('expand', [
50
- state('*', style({ height: 0 })),
51
- state('expanded', style({ height: '*' })),
52
- transition('* <=> expanded', [animate('0.1s ease-in-out')]),
53
- ]),
54
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionItemComponent, decorators: [{
56
- type: Component,
57
- args: [{ selector: 'aui-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, animations: [
58
- trigger('expand', [
59
- state('*', style({ height: 0 })),
60
- state('expanded', style({ height: '*' })),
61
- transition('* <=> expanded', [animate('0.1s ease-in-out')]),
62
- ]),
63
- ], viewProviders: [AccordionItemComponent], template: "<div class=\"aui-accordion-item\">\n <div class=\"aui-accordion-item__header\">\n <button\n type=\"button\"\n class=\"aui-accordion-item__expand-button\"\n [class.isExpanded]=\"expanded\"\n [disabled]=\"disabled\"\n (click)=\"toggle()\"\n >\n <aui-icon icon=\"angle_right\"></aui-icon>\n </button>\n <div\n class=\"aui-accordion-item__header-content\"\n [class.aui-accordion-item__header-content--expanded]=\"expanded\"\n >\n <ng-content select=\"[auiAccordionItemHeader]\"></ng-content>\n </div>\n </div>\n <div\n *ngIf=\"expanded\"\n class=\"aui-accordion-item__body\"\n [id]=\"id\"\n [@expand]=\"expanded ? 'expanded' : 'collapsed'\"\n >\n <div\n class=\"aui-accordion-item__content\"\n [class.hasBackground]=\"background\"\n >\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]=\"lazyContentTpl\"></ng-template>\n </div>\n </div>\n</div>\n", styles: [".aui-accordion-item{display:block;padding:20px;border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-10))}.aui-accordion-item__expand-button{display:inline-flex;justify-content:center;align-items:center;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m);color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6));border-radius:50%;border:none;cursor:pointer;transition:transform .1s ease-in-out}.aui-accordion-item__expand-button aui-icon{display:flex;justify-content:center;align-items:center;width:var(--aui-icon-size-s);height:var(--aui-icon-size-s);font-size:var(--aui-icon-size-s)}.aui-accordion-item__expand-button:hover{background-color:rgb(var(--aui-color-p-7))}.aui-accordion-item__expand-button:active{background-color:rgb(var(--aui-color-p-5))}.aui-accordion-item__expand-button.isExpanded{transform:rotate(90deg);color:#fff;background-color:rgb(var(--aui-color-primary))}.aui-accordion-item__expand-button.isExpanded:hover{background-color:rgb(var(--aui-color-p-1))}.aui-accordion-item__expand-button.isExpanded:active{background-color:rgb(var(--aui-color-p-0))}.aui-accordion-item__expand-button[disabled],.aui-accordion-item__expand-button.isExpanded[disabled]{background-color:rgb(var(--aui-color-n-8));color:rgb(var(--aui-color-n-6));cursor:not-allowed}.aui-accordion-item__expand-button:first-child{margin-right:20px}.aui-accordion-item__expand-button:last-child{margin-left:20px}.aui-accordion-item__header{display:inline-flex;align-items:center;width:100%;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}.aui-accordion-item__header-content{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-accordion-item__body{border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-accordion-item__content{margin-top:16px;border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-accordion-item__content.hasBackground{padding:16px;background-color:rgb(var(--aui-color-n-9))}aui-accordion-item+aui-accordion-item .aui-accordion-item{margin-top:var(--aui-spacing-m)}\n"] }]
64
- }], ctorParameters: function () { return [{ type: i1.AccordionComponent }, { type: i0.ChangeDetectorRef }, { type: i2.UniqueSelectionDispatcher }]; }, propDecorators: { background: [{
65
- type: Input
66
- }], _lazyContentTpl: [{
67
- type: ContentChild,
68
- args: [AccordionItemContentDirective, {
69
- read: TemplateRef,
70
- static: true,
71
- }]
72
- }] } });
73
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQUNSLE1BQU0scUJBQXFCLENBQUM7QUFDN0IsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFMUQsT0FBTyxFQUVMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLFNBQVMsRUFDVCxLQUFLLEVBQ0wsV0FBVyxFQUNYLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxJQUFJLEVBQUUsTUFBTSxNQUFNLENBQUM7Ozs7OztBQU8vQyxNQUFNLE9BQU8sNEJBQTRCOzt5SEFBNUIsNEJBQTRCOzZHQUE1Qiw0QkFBNEI7MkZBQTVCLDRCQUE0QjtrQkFIeEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsMEJBQTBCO2lCQUNyQzs7QUFLRCxNQUFNLE9BQU8sNkJBQTZCOzswSEFBN0IsNkJBQTZCOzhHQUE3Qiw2QkFBNkI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naHRcIj48L2F1aS1pY29uPlxuICAgIDwvYnV0dG9uPlxuICAgIDxkaXZcbiAgICAgIGNsYXNzPVwiYXVpLWFjY29yZGlvbi1pdGVtX19oZWFkZXItY29udGVudFwiXG4gICAgICBbY2xhc3MuYXVpLWFjY29yZGlvbi1pdGVtX19oZWFkZXItY29udGVudC0tZXhwYW5kZWRdPVwiZXhwYW5kZWRcIlxuICAgID5cbiAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlthdWlBY2NvcmRpb25JdGVtSGVhZGVyXVwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXZcbiAgICAqbmdJZj1cImV4cGFuZGVkXCJcbiAgICBjbGFzcz1cImF1aS1hY2NvcmRpb24taXRlbV9fYm9keVwiXG4gICAgW2lkXT1cImlkXCJcbiAgICBbQGV4cGFuZF09XCJleHBhbmRlZCA/ICdleHBhbmRlZCcgOiAnY29sbGFwc2VkJ1wiXG4gID5cbiAgICA8ZGl2XG4gICAgICBjbGFzcz1cImF1aS1hY2NvcmRpb24taXRlbV9fY29udGVudFwiXG4gICAgICBbY2xhc3MuaGFzQmFja2dyb3VuZF09XCJiYWNrZ3JvdW5kXCJcbiAgICA+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICA8bmctdGVtcGxhdGUgW25nVGVtcGxhdGVPdXRsZXRdPVwibGF6eUNvbnRlbnRUcGxcIj48L25nLXRlbXBsYXRlPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,27 +0,0 @@
1
- import { CdkAccordion } from '@angular/cdk/accordion';
2
- import { ChangeDetectionStrategy, Component, HostBinding, Input, Optional, SkipSelf, ViewEncapsulation, } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export class AccordionComponent extends CdkAccordion {
5
- constructor(parent) {
6
- super();
7
- this.parent = parent;
8
- this.background = true;
9
- this.depth = parent ? parent.depth + 1 : 0;
10
- }
11
- }
12
- AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionComponent, deps: [{ token: AccordionComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
13
- AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: AccordionComponent, selector: "aui-accordion", inputs: { background: "background" }, host: { properties: { "attr.accordion-depth": "this.depth" } }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"aui-accordion\"\n [class.hasBg]=\"background\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".aui-accordion.hasBg{padding:12px;border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-9))}aui-accordion+aui-accordion .aui-accordion{margin-top:var(--aui-spacing-xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: AccordionComponent, decorators: [{
15
- type: Component,
16
- args: [{ selector: 'aui-accordion', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div\n class=\"aui-accordion\"\n [class.hasBg]=\"background\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".aui-accordion.hasBg{padding:12px;border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-9))}aui-accordion+aui-accordion .aui-accordion{margin-top:var(--aui-spacing-xl)}\n"] }]
17
- }], ctorParameters: function () { return [{ type: AccordionComponent, decorators: [{
18
- type: SkipSelf
19
- }, {
20
- type: Optional
21
- }] }]; }, propDecorators: { background: [{
22
- type: Input
23
- }], depth: [{
24
- type: HostBinding,
25
- args: ['attr.accordion-depth']
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5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