@ng-nest/ui 13.0.6 → 13.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/collapse/collapse.property.d.ts +16 -1
  2. package/collapse/examples/en_US/default/ghost/README.md +6 -0
  3. package/collapse/examples/en_US/default/icon/README.md +6 -0
  4. package/collapse/examples/zh_CN/default/ghost/README.md +6 -0
  5. package/collapse/examples/zh_CN/default/icon/README.md +6 -0
  6. package/core/animation/connect.d.ts +1 -0
  7. package/core/config/config.d.ts +6 -1
  8. package/esm2020/affix/affix.component.mjs +3 -3
  9. package/esm2020/affix/affix.module.mjs +4 -4
  10. package/esm2020/affix/affix.property.mjs +3 -3
  11. package/esm2020/alert/alert.component.mjs +3 -3
  12. package/esm2020/alert/alert.module.mjs +4 -4
  13. package/esm2020/alert/alert.property.mjs +3 -3
  14. package/esm2020/anchor/anchor.component.mjs +3 -3
  15. package/esm2020/anchor/anchor.module.mjs +4 -4
  16. package/esm2020/anchor/anchor.property.mjs +3 -3
  17. package/esm2020/api/api.component.mjs +3 -3
  18. package/esm2020/api/api.module.mjs +4 -4
  19. package/esm2020/auto-complete/auto-complete-portal.component.mjs +3 -3
  20. package/esm2020/auto-complete/auto-complete.component.mjs +3 -3
  21. package/esm2020/auto-complete/auto-complete.module.mjs +4 -4
  22. package/esm2020/auto-complete/auto-complete.property.mjs +3 -3
  23. package/esm2020/avatar/avatar.component.mjs +3 -3
  24. package/esm2020/avatar/avatar.module.mjs +4 -4
  25. package/esm2020/avatar/avatar.property.mjs +3 -3
  26. package/esm2020/back-top/back-top.component.mjs +3 -3
  27. package/esm2020/back-top/back-top.module.mjs +4 -4
  28. package/esm2020/back-top/back-top.property.mjs +3 -3
  29. package/esm2020/badge/badge.component.mjs +3 -3
  30. package/esm2020/badge/badge.module.mjs +4 -4
  31. package/esm2020/badge/badge.property.mjs +3 -3
  32. package/esm2020/base-form/base-form.component.mjs +3 -3
  33. package/esm2020/base-form/base-form.module.mjs +4 -4
  34. package/esm2020/base-form/base-form.property.mjs +3 -3
  35. package/esm2020/border/border.component.mjs +3 -3
  36. package/esm2020/border/border.module.mjs +4 -4
  37. package/esm2020/button/button.component.mjs +3 -3
  38. package/esm2020/button/button.module.mjs +4 -4
  39. package/esm2020/button/button.property.mjs +6 -6
  40. package/esm2020/button/buttons.component.mjs +3 -3
  41. package/esm2020/calendar/calendar.component.mjs +3 -3
  42. package/esm2020/calendar/calendar.module.mjs +4 -4
  43. package/esm2020/calendar/calendar.property.mjs +3 -3
  44. package/esm2020/card/card.component.mjs +3 -3
  45. package/esm2020/card/card.module.mjs +4 -4
  46. package/esm2020/card/card.property.mjs +3 -3
  47. package/esm2020/carousel/carousel-panel.component.mjs +3 -3
  48. package/esm2020/carousel/carousel.component.mjs +3 -3
  49. package/esm2020/carousel/carousel.module.mjs +4 -4
  50. package/esm2020/carousel/carousel.property.mjs +6 -6
  51. package/esm2020/cascade/cascade-portal.component.mjs +3 -3
  52. package/esm2020/cascade/cascade.component.mjs +3 -3
  53. package/esm2020/cascade/cascade.module.mjs +4 -4
  54. package/esm2020/cascade/cascade.property.mjs +3 -3
  55. package/esm2020/checkbox/checkbox.component.mjs +3 -3
  56. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  57. package/esm2020/checkbox/checkbox.property.mjs +3 -3
  58. package/esm2020/collapse/collapse-panel.component.mjs +6 -5
  59. package/esm2020/collapse/collapse.component.mjs +5 -5
  60. package/esm2020/collapse/collapse.module.mjs +4 -4
  61. package/esm2020/collapse/collapse.property.mjs +23 -8
  62. package/esm2020/color/color.component.mjs +3 -3
  63. package/esm2020/color/color.module.mjs +4 -4
  64. package/esm2020/color/color.property.mjs +3 -3
  65. package/esm2020/color-picker/color-picker-portal.component.mjs +3 -3
  66. package/esm2020/color-picker/color-picker.component.mjs +3 -3
  67. package/esm2020/color-picker/color-picker.module.mjs +4 -4
  68. package/esm2020/color-picker/color-picker.property.mjs +3 -3
  69. package/esm2020/comment/comment-reply.component.mjs +3 -3
  70. package/esm2020/comment/comment.component.mjs +3 -3
  71. package/esm2020/comment/comment.module.mjs +4 -4
  72. package/esm2020/comment/comment.property.mjs +6 -6
  73. package/esm2020/container/aside.component.mjs +3 -3
  74. package/esm2020/container/container.component.mjs +3 -3
  75. package/esm2020/container/container.module.mjs +4 -4
  76. package/esm2020/container/container.property.mjs +12 -12
  77. package/esm2020/container/footer.component.mjs +3 -3
  78. package/esm2020/container/header.component.mjs +3 -3
  79. package/esm2020/container/main.component.mjs +3 -3
  80. package/esm2020/core/animation/connect.mjs +17 -9
  81. package/esm2020/core/config/config.mjs +1 -1
  82. package/esm2020/core/config/config.service.mjs +3 -3
  83. package/esm2020/core/services/http.service.mjs +3 -3
  84. package/esm2020/core/services/preloading-strategy.service.mjs +3 -3
  85. package/esm2020/core/services/storage.service.mjs +3 -3
  86. package/esm2020/core/theme/theme.service.mjs +3 -3
  87. package/esm2020/crumb/crumb.component.mjs +3 -3
  88. package/esm2020/crumb/crumb.module.mjs +4 -4
  89. package/esm2020/crumb/crumb.property.mjs +3 -3
  90. package/esm2020/date-picker/date-picker-portal.component.mjs +3 -3
  91. package/esm2020/date-picker/date-picker.component.mjs +3 -3
  92. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  93. package/esm2020/date-picker/date-picker.property.mjs +15 -15
  94. package/esm2020/date-picker/date-range-portal.component.mjs +3 -3
  95. package/esm2020/date-picker/date-range.component.mjs +3 -3
  96. package/esm2020/date-picker/picker-date.component.mjs +3 -3
  97. package/esm2020/date-picker/picker-month.component.mjs +3 -3
  98. package/esm2020/date-picker/picker-year.component.mjs +3 -3
  99. package/esm2020/description/description-item.component.mjs +3 -3
  100. package/esm2020/description/description.component.mjs +3 -3
  101. package/esm2020/description/description.module.mjs +4 -4
  102. package/esm2020/description/description.property.mjs +6 -6
  103. package/esm2020/dialog/dialog-portal.component.mjs +3 -3
  104. package/esm2020/dialog/dialog-portal.directives.mjs +12 -12
  105. package/esm2020/dialog/dialog.component.mjs +3 -3
  106. package/esm2020/dialog/dialog.module.mjs +4 -4
  107. package/esm2020/dialog/dialog.property.mjs +3 -3
  108. package/esm2020/dialog/dialog.service.mjs +3 -3
  109. package/esm2020/doc/doc.component.mjs +3 -3
  110. package/esm2020/doc/doc.module.mjs +4 -4
  111. package/esm2020/drawer/drawer-container.component.mjs +3 -3
  112. package/esm2020/drawer/drawer-portal.component.mjs +3 -3
  113. package/esm2020/drawer/drawer-portal.directives.mjs +9 -9
  114. package/esm2020/drawer/drawer.component.mjs +3 -3
  115. package/esm2020/drawer/drawer.module.mjs +4 -4
  116. package/esm2020/drawer/drawer.property.mjs +6 -6
  117. package/esm2020/drawer/drawer.service.mjs +3 -3
  118. package/esm2020/dropdown/dropdown-portal.component.mjs +3 -3
  119. package/esm2020/dropdown/dropdown.component.mjs +8 -5
  120. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  121. package/esm2020/dropdown/dropdown.property.mjs +3 -3
  122. package/esm2020/empty/empty.component.mjs +3 -3
  123. package/esm2020/empty/empty.module.mjs +4 -4
  124. package/esm2020/empty/empty.property.mjs +3 -3
  125. package/esm2020/examples/examples.component.mjs +3 -3
  126. package/esm2020/examples/examples.module.mjs +4 -4
  127. package/esm2020/find/find.component.mjs +3 -3
  128. package/esm2020/find/find.module.mjs +4 -4
  129. package/esm2020/find/find.property.mjs +3 -3
  130. package/esm2020/form/control.component.mjs +3 -3
  131. package/esm2020/form/form.component.mjs +3 -3
  132. package/esm2020/form/form.module.mjs +4 -4
  133. package/esm2020/form/form.property.mjs +6 -6
  134. package/esm2020/highlight/highlight.component.mjs +3 -3
  135. package/esm2020/highlight/highlight.module.mjs +4 -4
  136. package/esm2020/highlight/highlight.property.mjs +3 -3
  137. package/esm2020/i18n/i18n.directive.mjs +3 -3
  138. package/esm2020/i18n/i18n.module.mjs +4 -4
  139. package/esm2020/i18n/i18n.pipe.mjs +3 -3
  140. package/esm2020/i18n/i18n.service.mjs +3 -3
  141. package/esm2020/icon/icon.component.mjs +3 -3
  142. package/esm2020/icon/icon.module.mjs +4 -4
  143. package/esm2020/icon/icon.property.mjs +3 -3
  144. package/esm2020/icon/icon.service.mjs +3 -3
  145. package/esm2020/inner/inner.component.mjs +3 -3
  146. package/esm2020/inner/inner.module.mjs +4 -4
  147. package/esm2020/inner/inner.property.mjs +3 -3
  148. package/esm2020/input/input-group.component.mjs +3 -3
  149. package/esm2020/input/input.component.mjs +3 -3
  150. package/esm2020/input/input.module.mjs +4 -4
  151. package/esm2020/input/input.property.mjs +6 -6
  152. package/esm2020/input-number/input-number.component.mjs +3 -3
  153. package/esm2020/input-number/input-number.module.mjs +4 -4
  154. package/esm2020/input-number/input-number.property.mjs +3 -3
  155. package/esm2020/layout/col.component.mjs +3 -3
  156. package/esm2020/layout/layout.module.mjs +4 -4
  157. package/esm2020/layout/layout.property.mjs +6 -6
  158. package/esm2020/layout/row.component.mjs +3 -3
  159. package/esm2020/link/link.component.mjs +3 -3
  160. package/esm2020/link/link.module.mjs +4 -4
  161. package/esm2020/link/link.property.mjs +3 -3
  162. package/esm2020/list/list-option.component.mjs +3 -3
  163. package/esm2020/list/list.component.mjs +3 -3
  164. package/esm2020/list/list.module.mjs +4 -4
  165. package/esm2020/list/list.property.mjs +6 -6
  166. package/esm2020/loading/loading.component.mjs +3 -3
  167. package/esm2020/loading/loading.module.mjs +4 -4
  168. package/esm2020/loading/loading.property.mjs +3 -3
  169. package/esm2020/menu/menu-node.component.mjs +3 -3
  170. package/esm2020/menu/menu.component.mjs +5 -5
  171. package/esm2020/menu/menu.module.mjs +4 -4
  172. package/esm2020/menu/menu.property.mjs +12 -7
  173. package/esm2020/message/message.component.mjs +3 -3
  174. package/esm2020/message/message.module.mjs +4 -4
  175. package/esm2020/message/message.service.mjs +3 -3
  176. package/esm2020/message-box/message-box.component.mjs +3 -3
  177. package/esm2020/message-box/message-box.module.mjs +4 -4
  178. package/esm2020/message-box/message-box.service.mjs +3 -3
  179. package/esm2020/notification/notification.component.mjs +3 -3
  180. package/esm2020/notification/notification.module.mjs +4 -4
  181. package/esm2020/notification/notification.service.mjs +3 -3
  182. package/esm2020/outlet/outlet.directive.mjs +3 -3
  183. package/esm2020/outlet/outlet.module.mjs +4 -4
  184. package/esm2020/page-header/page-header.component.mjs +3 -3
  185. package/esm2020/page-header/page-header.module.mjs +4 -4
  186. package/esm2020/page-header/page-header.property.mjs +3 -3
  187. package/esm2020/pagination/pagination.component.mjs +3 -3
  188. package/esm2020/pagination/pagination.module.mjs +4 -4
  189. package/esm2020/pagination/pagination.property.mjs +3 -3
  190. package/esm2020/pattern/pattern.component.mjs +3 -3
  191. package/esm2020/pattern/pattern.module.mjs +4 -4
  192. package/esm2020/popconfirm/popconfirm.component.mjs +3 -3
  193. package/esm2020/popconfirm/popconfirm.module.mjs +4 -4
  194. package/esm2020/popconfirm/popconfirm.property.mjs +3 -3
  195. package/esm2020/popover/popover-portal.component.mjs +3 -3
  196. package/esm2020/popover/popover.directive.mjs +16 -8
  197. package/esm2020/popover/popover.module.mjs +4 -4
  198. package/esm2020/popover/popover.property.mjs +18 -4
  199. package/esm2020/portal/portal.module.mjs +4 -4
  200. package/esm2020/portal/portal.service.mjs +3 -3
  201. package/esm2020/progress/progress.component.mjs +3 -3
  202. package/esm2020/progress/progress.module.mjs +4 -4
  203. package/esm2020/progress/progress.property.mjs +3 -3
  204. package/esm2020/radio/radio.component.mjs +3 -3
  205. package/esm2020/radio/radio.module.mjs +4 -4
  206. package/esm2020/radio/radio.property.mjs +3 -3
  207. package/esm2020/rate/rate.component.mjs +3 -3
  208. package/esm2020/rate/rate.module.mjs +4 -4
  209. package/esm2020/rate/rate.property.mjs +3 -3
  210. package/esm2020/result/result.component.mjs +3 -3
  211. package/esm2020/result/result.module.mjs +4 -4
  212. package/esm2020/result/result.property.mjs +3 -3
  213. package/esm2020/ripple/ripple.directive.mjs +3 -3
  214. package/esm2020/ripple/ripple.module.mjs +4 -4
  215. package/esm2020/ripple/ripple.property.mjs +3 -3
  216. package/esm2020/select/select-portal.component.mjs +3 -3
  217. package/esm2020/select/select.component.mjs +3 -3
  218. package/esm2020/select/select.module.mjs +4 -4
  219. package/esm2020/select/select.property.mjs +3 -3
  220. package/esm2020/skeleton/skeleton.component.mjs +3 -3
  221. package/esm2020/skeleton/skeleton.module.mjs +4 -4
  222. package/esm2020/skeleton/skeleton.property.mjs +3 -3
  223. package/esm2020/slider/slider.component.mjs +7 -5
  224. package/esm2020/slider/slider.module.mjs +4 -4
  225. package/esm2020/slider/slider.property.mjs +4 -4
  226. package/esm2020/slider-select/slider-select.component.mjs +3 -3
  227. package/esm2020/slider-select/slider-select.module.mjs +4 -4
  228. package/esm2020/slider-select/slider-select.property.mjs +3 -3
  229. package/esm2020/statistic/countdown.component.mjs +3 -3
  230. package/esm2020/statistic/statistic.component.mjs +3 -3
  231. package/esm2020/statistic/statistic.module.mjs +4 -4
  232. package/esm2020/statistic/statistic.property.mjs +6 -6
  233. package/esm2020/steps/steps.component.mjs +3 -3
  234. package/esm2020/steps/steps.module.mjs +4 -4
  235. package/esm2020/steps/steps.property.mjs +3 -3
  236. package/esm2020/switch/switch.component.mjs +3 -3
  237. package/esm2020/switch/switch.module.mjs +4 -4
  238. package/esm2020/switch/switch.property.mjs +3 -3
  239. package/esm2020/table/drag.directive.mjs +3 -3
  240. package/esm2020/table/table-body.component.mjs +6 -6
  241. package/esm2020/table/table-foot.component.mjs +3 -3
  242. package/esm2020/table/table-head.component.mjs +3 -3
  243. package/esm2020/table/table.component.mjs +9 -5
  244. package/esm2020/table/table.module.mjs +4 -4
  245. package/esm2020/table/table.property.mjs +24 -13
  246. package/esm2020/tabs/tab-content.component.mjs +3 -3
  247. package/esm2020/tabs/tab.component.mjs +3 -3
  248. package/esm2020/tabs/tabs.component.mjs +6 -6
  249. package/esm2020/tabs/tabs.module.mjs +4 -4
  250. package/esm2020/tabs/tabs.property.mjs +12 -7
  251. package/esm2020/tag/tag.component.mjs +35 -9
  252. package/esm2020/tag/tag.module.mjs +4 -4
  253. package/esm2020/tag/tag.property.mjs +20 -4
  254. package/esm2020/text-retract/text-retract.component.mjs +3 -3
  255. package/esm2020/text-retract/text-retract.module.mjs +4 -4
  256. package/esm2020/text-retract/text-retract.property.mjs +3 -3
  257. package/esm2020/textarea/textarea.component.mjs +3 -3
  258. package/esm2020/textarea/textarea.module.mjs +4 -4
  259. package/esm2020/textarea/textarea.property.mjs +3 -3
  260. package/esm2020/theme/theme.component.mjs +3 -3
  261. package/esm2020/theme/theme.module.mjs +4 -4
  262. package/esm2020/theme/theme.property.mjs +3 -3
  263. package/esm2020/time-ago/time-ago.module.mjs +4 -4
  264. package/esm2020/time-ago/time-ago.pipe.mjs +3 -3
  265. package/esm2020/time-picker/time-picker-frame.component.mjs +3 -3
  266. package/esm2020/time-picker/time-picker-portal.component.mjs +3 -3
  267. package/esm2020/time-picker/time-picker.component.mjs +3 -3
  268. package/esm2020/time-picker/time-picker.module.mjs +4 -4
  269. package/esm2020/time-picker/time-picker.property.mjs +3 -3
  270. package/esm2020/time-range/time-range.module.mjs +4 -4
  271. package/esm2020/time-range/time-range.pipe.mjs +3 -3
  272. package/esm2020/timeline/timeline.component.mjs +22 -5
  273. package/esm2020/timeline/timeline.module.mjs +4 -4
  274. package/esm2020/timeline/timeline.property.mjs +4 -4
  275. package/esm2020/tooltip/tooltip-portal.component.mjs +3 -3
  276. package/esm2020/tooltip/tooltip.directive.mjs +15 -7
  277. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  278. package/esm2020/tooltip/tooltip.property.mjs +20 -4
  279. package/esm2020/transfer/transfer.component.mjs +3 -3
  280. package/esm2020/transfer/transfer.module.mjs +4 -4
  281. package/esm2020/transfer/transfer.property.mjs +3 -3
  282. package/esm2020/tree/tree-node.component.mjs +5 -5
  283. package/esm2020/tree/tree.component.mjs +3 -3
  284. package/esm2020/tree/tree.module.mjs +4 -4
  285. package/esm2020/tree/tree.property.mjs +13 -7
  286. package/esm2020/tree-file/tree-file.component.mjs +3 -3
  287. package/esm2020/tree-file/tree-file.module.mjs +4 -4
  288. package/esm2020/tree-file/tree-file.property.mjs +3 -3
  289. package/esm2020/typography/typography.component.mjs +3 -3
  290. package/esm2020/typography/typography.module.mjs +4 -4
  291. package/esm2020/typography/typography.property.mjs +3 -3
  292. package/esm2020/upload/upload-portal.component.mjs +3 -3
  293. package/esm2020/upload/upload.component.mjs +3 -3
  294. package/esm2020/upload/upload.module.mjs +4 -4
  295. package/esm2020/upload/upload.property.mjs +3 -3
  296. package/fesm2015/ng-nest-ui-affix.mjs +10 -10
  297. package/fesm2015/ng-nest-ui-alert.mjs +10 -10
  298. package/fesm2015/ng-nest-ui-anchor.mjs +10 -10
  299. package/fesm2015/ng-nest-ui-api.mjs +7 -7
  300. package/fesm2015/ng-nest-ui-auto-complete.mjs +13 -13
  301. package/fesm2015/ng-nest-ui-avatar.mjs +10 -10
  302. package/fesm2015/ng-nest-ui-back-top.mjs +10 -10
  303. package/fesm2015/ng-nest-ui-badge.mjs +10 -10
  304. package/fesm2015/ng-nest-ui-base-form.mjs +10 -10
  305. package/fesm2015/ng-nest-ui-border.mjs +7 -7
  306. package/fesm2015/ng-nest-ui-button.mjs +16 -16
  307. package/fesm2015/ng-nest-ui-calendar.mjs +10 -10
  308. package/fesm2015/ng-nest-ui-card.mjs +10 -10
  309. package/fesm2015/ng-nest-ui-carousel.mjs +16 -16
  310. package/fesm2015/ng-nest-ui-cascade.mjs +13 -13
  311. package/fesm2015/ng-nest-ui-checkbox.mjs +10 -10
  312. package/fesm2015/ng-nest-ui-collapse.mjs +35 -19
  313. package/fesm2015/ng-nest-ui-collapse.mjs.map +1 -1
  314. package/fesm2015/ng-nest-ui-color-picker.mjs +13 -13
  315. package/fesm2015/ng-nest-ui-color.mjs +10 -10
  316. package/fesm2015/ng-nest-ui-comment.mjs +16 -16
  317. package/fesm2015/ng-nest-ui-container.mjs +31 -31
  318. package/fesm2015/ng-nest-ui-core.mjs +32 -24
  319. package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
  320. package/fesm2015/ng-nest-ui-crumb.mjs +10 -10
  321. package/fesm2015/ng-nest-ui-date-picker.mjs +40 -40
  322. package/fesm2015/ng-nest-ui-description.mjs +16 -16
  323. package/fesm2015/ng-nest-ui-dialog.mjs +28 -28
  324. package/fesm2015/ng-nest-ui-doc.mjs +7 -7
  325. package/fesm2015/ng-nest-ui-drawer.mjs +31 -31
  326. package/fesm2015/ng-nest-ui-dropdown.mjs +17 -14
  327. package/fesm2015/ng-nest-ui-dropdown.mjs.map +1 -1
  328. package/fesm2015/ng-nest-ui-empty.mjs +10 -10
  329. package/fesm2015/ng-nest-ui-examples.mjs +7 -7
  330. package/fesm2015/ng-nest-ui-find.mjs +10 -10
  331. package/fesm2015/ng-nest-ui-form.mjs +16 -16
  332. package/fesm2015/ng-nest-ui-highlight.mjs +10 -10
  333. package/fesm2015/ng-nest-ui-i18n.mjs +13 -13
  334. package/fesm2015/ng-nest-ui-icon.mjs +13 -13
  335. package/fesm2015/ng-nest-ui-inner.mjs +10 -10
  336. package/fesm2015/ng-nest-ui-input-number.mjs +10 -10
  337. package/fesm2015/ng-nest-ui-input.mjs +16 -16
  338. package/fesm2015/ng-nest-ui-layout.mjs +16 -16
  339. package/fesm2015/ng-nest-ui-link.mjs +10 -10
  340. package/fesm2015/ng-nest-ui-list.mjs +16 -16
  341. package/fesm2015/ng-nest-ui-loading.mjs +10 -10
  342. package/fesm2015/ng-nest-ui-menu.mjs +22 -17
  343. package/fesm2015/ng-nest-ui-menu.mjs.map +1 -1
  344. package/fesm2015/ng-nest-ui-message-box.mjs +10 -10
  345. package/fesm2015/ng-nest-ui-message.mjs +10 -10
  346. package/fesm2015/ng-nest-ui-notification.mjs +10 -10
  347. package/fesm2015/ng-nest-ui-outlet.mjs +7 -7
  348. package/fesm2015/ng-nest-ui-page-header.mjs +10 -10
  349. package/fesm2015/ng-nest-ui-pagination.mjs +10 -10
  350. package/fesm2015/ng-nest-ui-pattern.mjs +7 -7
  351. package/fesm2015/ng-nest-ui-popconfirm.mjs +10 -10
  352. package/fesm2015/ng-nest-ui-popover.mjs +39 -17
  353. package/fesm2015/ng-nest-ui-popover.mjs.map +1 -1
  354. package/fesm2015/ng-nest-ui-portal.mjs +7 -7
  355. package/fesm2015/ng-nest-ui-progress.mjs +10 -10
  356. package/fesm2015/ng-nest-ui-radio.mjs +10 -10
  357. package/fesm2015/ng-nest-ui-rate.mjs +10 -10
  358. package/fesm2015/ng-nest-ui-result.mjs +10 -10
  359. package/fesm2015/ng-nest-ui-ripple.mjs +10 -10
  360. package/fesm2015/ng-nest-ui-select.mjs +13 -13
  361. package/fesm2015/ng-nest-ui-skeleton.mjs +10 -10
  362. package/fesm2015/ng-nest-ui-slider-select.mjs +10 -10
  363. package/fesm2015/ng-nest-ui-slider.mjs +13 -11
  364. package/fesm2015/ng-nest-ui-slider.mjs.map +1 -1
  365. package/fesm2015/ng-nest-ui-statistic.mjs +16 -16
  366. package/fesm2015/ng-nest-ui-steps.mjs +10 -10
  367. package/fesm2015/ng-nest-ui-switch.mjs +10 -10
  368. package/fesm2015/ng-nest-ui-table.mjs +49 -34
  369. package/fesm2015/ng-nest-ui-table.mjs.map +1 -1
  370. package/fesm2015/ng-nest-ui-tabs.mjs +26 -21
  371. package/fesm2015/ng-nest-ui-tabs.mjs.map +1 -1
  372. package/fesm2015/ng-nest-ui-tag.mjs +57 -15
  373. package/fesm2015/ng-nest-ui-tag.mjs.map +1 -1
  374. package/fesm2015/ng-nest-ui-text-retract.mjs +10 -10
  375. package/fesm2015/ng-nest-ui-textarea.mjs +10 -10
  376. package/fesm2015/ng-nest-ui-theme.mjs +10 -10
  377. package/fesm2015/ng-nest-ui-time-ago.mjs +7 -7
  378. package/fesm2015/ng-nest-ui-time-picker.mjs +16 -16
  379. package/fesm2015/ng-nest-ui-time-range.mjs +7 -7
  380. package/fesm2015/ng-nest-ui-timeline.mjs +28 -11
  381. package/fesm2015/ng-nest-ui-timeline.mjs.map +1 -1
  382. package/fesm2015/ng-nest-ui-tooltip.mjs +40 -16
  383. package/fesm2015/ng-nest-ui-tooltip.mjs.map +1 -1
  384. package/fesm2015/ng-nest-ui-transfer.mjs +10 -10
  385. package/fesm2015/ng-nest-ui-tree-file.mjs +10 -10
  386. package/fesm2015/ng-nest-ui-tree.mjs +23 -17
  387. package/fesm2015/ng-nest-ui-tree.mjs.map +1 -1
  388. package/fesm2015/ng-nest-ui-typography.mjs +10 -10
  389. package/fesm2015/ng-nest-ui-upload.mjs +13 -13
  390. package/fesm2020/ng-nest-ui-affix.mjs +10 -10
  391. package/fesm2020/ng-nest-ui-alert.mjs +10 -10
  392. package/fesm2020/ng-nest-ui-anchor.mjs +10 -10
  393. package/fesm2020/ng-nest-ui-api.mjs +7 -7
  394. package/fesm2020/ng-nest-ui-auto-complete.mjs +13 -13
  395. package/fesm2020/ng-nest-ui-avatar.mjs +10 -10
  396. package/fesm2020/ng-nest-ui-back-top.mjs +10 -10
  397. package/fesm2020/ng-nest-ui-badge.mjs +10 -10
  398. package/fesm2020/ng-nest-ui-base-form.mjs +10 -10
  399. package/fesm2020/ng-nest-ui-border.mjs +7 -7
  400. package/fesm2020/ng-nest-ui-button.mjs +16 -16
  401. package/fesm2020/ng-nest-ui-calendar.mjs +10 -10
  402. package/fesm2020/ng-nest-ui-card.mjs +10 -10
  403. package/fesm2020/ng-nest-ui-carousel.mjs +16 -16
  404. package/fesm2020/ng-nest-ui-cascade.mjs +13 -13
  405. package/fesm2020/ng-nest-ui-checkbox.mjs +10 -10
  406. package/fesm2020/ng-nest-ui-collapse.mjs +35 -19
  407. package/fesm2020/ng-nest-ui-collapse.mjs.map +1 -1
  408. package/fesm2020/ng-nest-ui-color-picker.mjs +13 -13
  409. package/fesm2020/ng-nest-ui-color.mjs +10 -10
  410. package/fesm2020/ng-nest-ui-comment.mjs +16 -16
  411. package/fesm2020/ng-nest-ui-container.mjs +31 -31
  412. package/fesm2020/ng-nest-ui-core.mjs +32 -24
  413. package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
  414. package/fesm2020/ng-nest-ui-crumb.mjs +10 -10
  415. package/fesm2020/ng-nest-ui-date-picker.mjs +40 -40
  416. package/fesm2020/ng-nest-ui-description.mjs +16 -16
  417. package/fesm2020/ng-nest-ui-dialog.mjs +28 -28
  418. package/fesm2020/ng-nest-ui-doc.mjs +7 -7
  419. package/fesm2020/ng-nest-ui-drawer.mjs +31 -31
  420. package/fesm2020/ng-nest-ui-dropdown.mjs +17 -14
  421. package/fesm2020/ng-nest-ui-dropdown.mjs.map +1 -1
  422. package/fesm2020/ng-nest-ui-empty.mjs +10 -10
  423. package/fesm2020/ng-nest-ui-examples.mjs +7 -7
  424. package/fesm2020/ng-nest-ui-find.mjs +10 -10
  425. package/fesm2020/ng-nest-ui-form.mjs +16 -16
  426. package/fesm2020/ng-nest-ui-highlight.mjs +10 -10
  427. package/fesm2020/ng-nest-ui-i18n.mjs +13 -13
  428. package/fesm2020/ng-nest-ui-icon.mjs +13 -13
  429. package/fesm2020/ng-nest-ui-inner.mjs +10 -10
  430. package/fesm2020/ng-nest-ui-input-number.mjs +10 -10
  431. package/fesm2020/ng-nest-ui-input.mjs +16 -16
  432. package/fesm2020/ng-nest-ui-layout.mjs +16 -16
  433. package/fesm2020/ng-nest-ui-link.mjs +10 -10
  434. package/fesm2020/ng-nest-ui-list.mjs +16 -16
  435. package/fesm2020/ng-nest-ui-loading.mjs +10 -10
  436. package/fesm2020/ng-nest-ui-menu.mjs +22 -17
  437. package/fesm2020/ng-nest-ui-menu.mjs.map +1 -1
  438. package/fesm2020/ng-nest-ui-message-box.mjs +10 -10
  439. package/fesm2020/ng-nest-ui-message.mjs +10 -10
  440. package/fesm2020/ng-nest-ui-notification.mjs +10 -10
  441. package/fesm2020/ng-nest-ui-outlet.mjs +7 -7
  442. package/fesm2020/ng-nest-ui-page-header.mjs +10 -10
  443. package/fesm2020/ng-nest-ui-pagination.mjs +10 -10
  444. package/fesm2020/ng-nest-ui-pattern.mjs +7 -7
  445. package/fesm2020/ng-nest-ui-popconfirm.mjs +10 -10
  446. package/fesm2020/ng-nest-ui-popover.mjs +39 -17
  447. package/fesm2020/ng-nest-ui-popover.mjs.map +1 -1
  448. package/fesm2020/ng-nest-ui-portal.mjs +7 -7
  449. package/fesm2020/ng-nest-ui-progress.mjs +10 -10
  450. package/fesm2020/ng-nest-ui-radio.mjs +10 -10
  451. package/fesm2020/ng-nest-ui-rate.mjs +10 -10
  452. package/fesm2020/ng-nest-ui-result.mjs +10 -10
  453. package/fesm2020/ng-nest-ui-ripple.mjs +10 -10
  454. package/fesm2020/ng-nest-ui-select.mjs +13 -13
  455. package/fesm2020/ng-nest-ui-skeleton.mjs +10 -10
  456. package/fesm2020/ng-nest-ui-slider-select.mjs +10 -10
  457. package/fesm2020/ng-nest-ui-slider.mjs +13 -11
  458. package/fesm2020/ng-nest-ui-slider.mjs.map +1 -1
  459. package/fesm2020/ng-nest-ui-statistic.mjs +16 -16
  460. package/fesm2020/ng-nest-ui-steps.mjs +10 -10
  461. package/fesm2020/ng-nest-ui-switch.mjs +10 -10
  462. package/fesm2020/ng-nest-ui-table.mjs +49 -34
  463. package/fesm2020/ng-nest-ui-table.mjs.map +1 -1
  464. package/fesm2020/ng-nest-ui-tabs.mjs +26 -21
  465. package/fesm2020/ng-nest-ui-tabs.mjs.map +1 -1
  466. package/fesm2020/ng-nest-ui-tag.mjs +57 -15
  467. package/fesm2020/ng-nest-ui-tag.mjs.map +1 -1
  468. package/fesm2020/ng-nest-ui-text-retract.mjs +10 -10
  469. package/fesm2020/ng-nest-ui-textarea.mjs +10 -10
  470. package/fesm2020/ng-nest-ui-theme.mjs +10 -10
  471. package/fesm2020/ng-nest-ui-time-ago.mjs +7 -7
  472. package/fesm2020/ng-nest-ui-time-picker.mjs +16 -16
  473. package/fesm2020/ng-nest-ui-time-range.mjs +7 -7
  474. package/fesm2020/ng-nest-ui-timeline.mjs +28 -11
  475. package/fesm2020/ng-nest-ui-timeline.mjs.map +1 -1
  476. package/fesm2020/ng-nest-ui-tooltip.mjs +40 -16
  477. package/fesm2020/ng-nest-ui-tooltip.mjs.map +1 -1
  478. package/fesm2020/ng-nest-ui-transfer.mjs +10 -10
  479. package/fesm2020/ng-nest-ui-tree-file.mjs +10 -10
  480. package/fesm2020/ng-nest-ui-tree.mjs +23 -17
  481. package/fesm2020/ng-nest-ui-tree.mjs.map +1 -1
  482. package/fesm2020/ng-nest-ui-typography.mjs +10 -10
  483. package/fesm2020/ng-nest-ui-upload.mjs +13 -13
  484. package/menu/menu.property.d.ts +8 -3
  485. package/package.json +1 -1
  486. package/popover/popover.directive.d.ts +1 -0
  487. package/popover/popover.property.d.ts +11 -1
  488. package/slider/slider.property.d.ts +5 -0
  489. package/table/examples/en_US/default/rowclass/README.md +6 -0
  490. package/table/examples/zh_CN/default/rowclass/README.md +6 -0
  491. package/table/table.component.d.ts +1 -0
  492. package/table/table.property.d.ts +33 -2
  493. package/tabs/tabs.property.d.ts +16 -1
  494. package/tag/examples/en_US/default/checked/README.md +6 -0
  495. package/tag/examples/en_US/default/color/README.md +6 -0
  496. package/tag/examples/zh_CN/default/checked/README.md +6 -0
  497. package/tag/examples/zh_CN/default/color/README.md +6 -0
  498. package/tag/tag.component.d.ts +5 -0
  499. package/tag/tag.property.d.ts +23 -1
  500. package/timeline/examples/en_US/default/loading/README.md +6 -0
  501. package/timeline/examples/zh_CN/default/loading/README.md +6 -0
  502. package/timeline/timeline.component.d.ts +1 -0
  503. package/timeline/timeline.property.d.ts +16 -1
  504. package/tooltip/tooltip.directive.d.ts +1 -0
  505. package/tooltip/tooltip.property.d.ts +11 -1
  506. package/tree/tree.property.d.ts +6 -1
@@ -57,8 +57,8 @@ class XThemeProperty extends XControlValueAccessor {
57
57
  this.darkChange = new EventEmitter();
58
58
  }
59
59
  }
60
- /** @nocollapse */ /** @nocollapse */ XThemeProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
61
- /** @nocollapse */ /** @nocollapse */ XThemeProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XThemeProperty, selector: "ng-component", inputs: { prefix: "prefix", amounts: "amounts", showDark: "showDark", showDetail: "showDetail", dark: "dark" }, outputs: { defaultClick: "defaultClick", darkChange: "darkChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
60
+ /** @nocollapse */ /** @nocollapse */ XThemeProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
61
+ /** @nocollapse */ /** @nocollapse */ XThemeProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XThemeProperty, selector: "ng-component", inputs: { prefix: "prefix", amounts: "amounts", showDark: "showDark", showDetail: "showDetail", dark: "dark" }, outputs: { defaultClick: "defaultClick", darkChange: "darkChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
62
62
  __decorate([
63
63
  XWithConfig(X_CONFIG_NAME, XThemeAmounts)
64
64
  ], XThemeProperty.prototype, "amounts", void 0);
@@ -71,7 +71,7 @@ __decorate([
71
71
  __decorate([
72
72
  XInputBoolean()
73
73
  ], XThemeProperty.prototype, "dark", void 0);
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeProperty, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeProperty, decorators: [{
75
75
  type: Component,
76
76
  args: [{ template: '' }]
77
77
  }], propDecorators: { prefix: [{
@@ -230,17 +230,17 @@ class XThemeComponent extends XThemeProperty {
230
230
  this.darkChange.emit(this.dark);
231
231
  }
232
232
  }
233
- /** @nocollapse */ /** @nocollapse */ XThemeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeComponent, deps: [{ token: i1.XConfigService }, { token: i2.XI18nService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
234
- /** @nocollapse */ /** @nocollapse */ XThemeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XThemeComponent, selector: "x-theme", providers: [XValueAccessor(XThemeComponent)], usesInheritance: true, ngImport: i0, template: "<div class=\"x-theme\">\r\n <x-row>\r\n <x-col [style.width.rem]=\"8\" *ngIf=\"showDark\">\r\n <x-switch direction=\"row\" [label]=\"locale?.darkMode\" [(ngModel)]=\"dark\" (ngModelChange)=\"darkChanges()\"></x-switch>\r\n </x-col>\r\n <x-col [style.width.rem]=\"8\">\r\n <x-button (click)=\"default()\">{{ locale?.initDefault }}</x-button>\r\n </x-col>\r\n </x-row>\r\n <x-form [formGroup]=\"formGroup\" [controls]=\"controls\" [width]=\"width\" span=\"2\" space=\"1\"></x-form>\r\n</div>\r\n", styles: [".x-theme{margin:0;padding:0;display:inline-block}.x-theme x-color-picker:not(:first-child){margin-left:.125rem}.x-theme-darken,.x-theme-default,.x-theme-gradual{display:flex}.x-theme-default x-color-picker{width:9.25rem}\n"], components: [{ type: i3.XRowComponent, selector: "x-row" }, { type: i3.XColComponent, selector: "x-col" }, { type: i4.XSwitchComponent, selector: "x-switch" }, { type: i5.XButtonComponent, selector: "x-button" }, { type: i6.XFormComponent, selector: "x-form" }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeComponent, decorators: [{
233
+ /** @nocollapse */ /** @nocollapse */ XThemeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeComponent, deps: [{ token: i1.XConfigService }, { token: i2.XI18nService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
234
+ /** @nocollapse */ /** @nocollapse */ XThemeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XThemeComponent, selector: "x-theme", providers: [XValueAccessor(XThemeComponent)], usesInheritance: true, ngImport: i0, template: "<div class=\"x-theme\">\r\n <x-row>\r\n <x-col [style.width.rem]=\"8\" *ngIf=\"showDark\">\r\n <x-switch direction=\"row\" [label]=\"locale?.darkMode\" [(ngModel)]=\"dark\" (ngModelChange)=\"darkChanges()\"></x-switch>\r\n </x-col>\r\n <x-col [style.width.rem]=\"8\">\r\n <x-button (click)=\"default()\">{{ locale?.initDefault }}</x-button>\r\n </x-col>\r\n </x-row>\r\n <x-form [formGroup]=\"formGroup\" [controls]=\"controls\" [width]=\"width\" span=\"2\" space=\"1\"></x-form>\r\n</div>\r\n", styles: [".x-theme{margin:0;padding:0;display:inline-block}.x-theme x-color-picker:not(:first-child){margin-left:.125rem}.x-theme-darken,.x-theme-default,.x-theme-gradual{display:flex}.x-theme-default x-color-picker{width:9.25rem}\n"], components: [{ type: i3.XRowComponent, selector: "x-row" }, { type: i3.XColComponent, selector: "x-col" }, { type: i4.XSwitchComponent, selector: "x-switch" }, { type: i5.XButtonComponent, selector: "x-button" }, { type: i6.XFormComponent, selector: "x-form" }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeComponent, decorators: [{
236
236
  type: Component,
237
237
  args: [{ selector: 'x-theme', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XThemeComponent)], template: "<div class=\"x-theme\">\r\n <x-row>\r\n <x-col [style.width.rem]=\"8\" *ngIf=\"showDark\">\r\n <x-switch direction=\"row\" [label]=\"locale?.darkMode\" [(ngModel)]=\"dark\" (ngModelChange)=\"darkChanges()\"></x-switch>\r\n </x-col>\r\n <x-col [style.width.rem]=\"8\">\r\n <x-button (click)=\"default()\">{{ locale?.initDefault }}</x-button>\r\n </x-col>\r\n </x-row>\r\n <x-form [formGroup]=\"formGroup\" [controls]=\"controls\" [width]=\"width\" span=\"2\" space=\"1\"></x-form>\r\n</div>\r\n", styles: [".x-theme{margin:0;padding:0;display:inline-block}.x-theme x-color-picker:not(:first-child){margin-left:.125rem}.x-theme-darken,.x-theme-default,.x-theme-gradual{display:flex}.x-theme-default x-color-picker{width:9.25rem}\n"] }]
238
238
  }], ctorParameters: function () { return [{ type: i1.XConfigService }, { type: i2.XI18nService }, { type: i0.ChangeDetectorRef }]; } });
239
239
 
240
240
  class XThemeModule {
241
241
  }
242
- /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
243
- /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeModule, declarations: [XThemeComponent, XThemeProperty], imports: [CommonModule,
242
+ /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
243
+ /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeModule, declarations: [XThemeComponent, XThemeProperty], imports: [CommonModule,
244
244
  FormsModule,
245
245
  ReactiveFormsModule,
246
246
  XSwitchModule,
@@ -249,7 +249,7 @@ class XThemeModule {
249
249
  XFormModule,
250
250
  XI18nModule,
251
251
  XBaseFormModule], exports: [XThemeComponent] });
252
- /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeModule, imports: [[
252
+ /** @nocollapse */ /** @nocollapse */ XThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeModule, imports: [[
253
253
  CommonModule,
254
254
  FormsModule,
255
255
  ReactiveFormsModule,
@@ -260,7 +260,7 @@ class XThemeModule {
260
260
  XI18nModule,
261
261
  XBaseFormModule
262
262
  ]] });
263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XThemeModule, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XThemeModule, decorators: [{
264
264
  type: NgModule,
265
265
  args: [{
266
266
  declarations: [XThemeComponent, XThemeProperty],
@@ -68,19 +68,19 @@ class XTimeAgoPipe {
68
68
  return result;
69
69
  }
70
70
  }
71
- /** @nocollapse */ /** @nocollapse */ XTimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoPipe, deps: [{ token: i1.DatePipe }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
72
- /** @nocollapse */ /** @nocollapse */ XTimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoPipe, name: "xTimeAgo", pure: false });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoPipe, decorators: [{
71
+ /** @nocollapse */ /** @nocollapse */ XTimeAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoPipe, deps: [{ token: i1.DatePipe }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Pipe });
72
+ /** @nocollapse */ /** @nocollapse */ XTimeAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoPipe, name: "xTimeAgo", pure: false });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoPipe, decorators: [{
74
74
  type: Pipe,
75
75
  args: [{ name: `${XTimeAgoPrefix}`, pure: false }]
76
76
  }], ctorParameters: function () { return [{ type: i1.DatePipe }, { type: i2.XI18nService }]; } });
77
77
 
78
78
  class XTimeAgoModule {
79
79
  }
80
- /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
81
- /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoModule, declarations: [XTimeAgoPipe], exports: [XTimeAgoPipe] });
82
- /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoModule, providers: [DatePipe] });
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeAgoModule, decorators: [{
80
+ /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
81
+ /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoModule, declarations: [XTimeAgoPipe], exports: [XTimeAgoPipe] });
82
+ /** @nocollapse */ /** @nocollapse */ XTimeAgoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoModule, providers: [DatePipe] });
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeAgoModule, decorators: [{
84
84
  type: NgModule,
85
85
  args: [{
86
86
  declarations: [XTimeAgoPipe],
@@ -44,8 +44,8 @@ class XTimePickerProperty extends XControlValueAccessor {
44
44
  this.nodeEmit = new EventEmitter();
45
45
  }
46
46
  }
47
- /** @nocollapse */ /** @nocollapse */ XTimePickerProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
48
- /** @nocollapse */ /** @nocollapse */ XTimePickerProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimePickerProperty, selector: "ng-component", inputs: { type: "type", format: "format", placement: "placement", size: "size", bordered: "bordered" }, outputs: { nodeEmit: "nodeEmit" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
47
+ /** @nocollapse */ /** @nocollapse */ XTimePickerProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
48
+ /** @nocollapse */ /** @nocollapse */ XTimePickerProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimePickerProperty, selector: "ng-component", inputs: { type: "type", format: "format", placement: "placement", size: "size", bordered: "bordered" }, outputs: { nodeEmit: "nodeEmit" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
49
49
  __decorate([
50
50
  XWithConfig(X_CONFIG_NAME, 'HH:mm:ss')
51
51
  ], XTimePickerProperty.prototype, "format", void 0);
@@ -59,7 +59,7 @@ __decorate([
59
59
  XInputBoolean(),
60
60
  XWithConfig(X_CONFIG_NAME, true)
61
61
  ], XTimePickerProperty.prototype, "bordered", void 0);
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerProperty, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerProperty, decorators: [{
63
63
  type: Component,
64
64
  args: [{ template: '' }]
65
65
  }], propDecorators: { type: [{
@@ -200,9 +200,9 @@ class XTimePickerFrameComponent {
200
200
  });
201
201
  }
202
202
  }
203
- /** @nocollapse */ /** @nocollapse */ XTimePickerFrameComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerFrameComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
204
- /** @nocollapse */ /** @nocollapse */ XTimePickerFrameComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimePickerFrameComponent, selector: "x-time-picker-frame", inputs: { type: "type", value: "value" }, outputs: { nodeEmit: "nodeEmit" }, viewQueries: [{ propertyName: "hourRef", first: true, predicate: ["hourRef"], descendants: true }, { propertyName: "minuteRef", first: true, predicate: ["minuteRef"], descendants: true }, { propertyName: "secondRef", first: true, predicate: ["secondRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"x-time-picker-frame\">\r\n <div class=\"x-time-picker-frame-hour\" #hourRef>\r\n <x-list [data]=\"hourDate\" [(ngModel)]=\"hour\" (nodeClick)=\"hourClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-minute\" #minuteRef [hidden]=\"type === 'hour'\">\r\n <x-list [data]=\"minuteDate\" [(ngModel)]=\"minute\" (nodeClick)=\"minuteClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-second\" #secondRef [hidden]=\"type !== 'time'\">\r\n <x-list [data]=\"secondDate\" [(ngModel)]=\"second\" (nodeClick)=\"secondClick($event)\"></x-list>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-frame{margin:0;padding:0;margin:.0625rem 0;font-size:var(--x-font-size);color:var(--x-text);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);background-color:var(--x-background);font-size:var(--x-font-size-small);display:block;height:100%}.x-time-picker-frame>div:not(:first-child){border-left:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-time-picker-frame-hour,.x-time-picker-frame-minute,.x-time-picker-frame-second{position:relative;float:left;overflow:hidden;width:3.625rem;max-height:15rem;padding-bottom:13.125rem}.x-time-picker-frame-hour:hover,.x-time-picker-frame-minute:hover,.x-time-picker-frame-second:hover{overflow-y:auto}.x-time-picker-frame-hour>x-list>.x-list,.x-time-picker-frame-minute>x-list>.x-list,.x-time-picker-frame-second>x-list>.x-list{width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option{min-width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option{padding-left:.6rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option:not(:first-child){margin-top:0}\n"], components: [{ type: i1.XListComponent, selector: "x-list" }], directives: [{ type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerFrameComponent, decorators: [{
203
+ /** @nocollapse */ /** @nocollapse */ XTimePickerFrameComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerFrameComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
204
+ /** @nocollapse */ /** @nocollapse */ XTimePickerFrameComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimePickerFrameComponent, selector: "x-time-picker-frame", inputs: { type: "type", value: "value" }, outputs: { nodeEmit: "nodeEmit" }, viewQueries: [{ propertyName: "hourRef", first: true, predicate: ["hourRef"], descendants: true }, { propertyName: "minuteRef", first: true, predicate: ["minuteRef"], descendants: true }, { propertyName: "secondRef", first: true, predicate: ["secondRef"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"x-time-picker-frame\">\r\n <div class=\"x-time-picker-frame-hour\" #hourRef>\r\n <x-list [data]=\"hourDate\" [(ngModel)]=\"hour\" (nodeClick)=\"hourClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-minute\" #minuteRef [hidden]=\"type === 'hour'\">\r\n <x-list [data]=\"minuteDate\" [(ngModel)]=\"minute\" (nodeClick)=\"minuteClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-second\" #secondRef [hidden]=\"type !== 'time'\">\r\n <x-list [data]=\"secondDate\" [(ngModel)]=\"second\" (nodeClick)=\"secondClick($event)\"></x-list>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-frame{margin:0;padding:0;margin:.0625rem 0;font-size:var(--x-font-size);color:var(--x-text);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);background-color:var(--x-background);font-size:var(--x-font-size-small);display:block;height:100%}.x-time-picker-frame>div:not(:first-child){border-left:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-time-picker-frame-hour,.x-time-picker-frame-minute,.x-time-picker-frame-second{position:relative;float:left;overflow:hidden;width:3.625rem;max-height:15rem;padding-bottom:13.125rem}.x-time-picker-frame-hour:hover,.x-time-picker-frame-minute:hover,.x-time-picker-frame-second:hover{overflow-y:auto}.x-time-picker-frame-hour>x-list>.x-list,.x-time-picker-frame-minute>x-list>.x-list,.x-time-picker-frame-second>x-list>.x-list{width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option{min-width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option{padding-left:.6rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option:not(:first-child){margin-top:0}\n"], components: [{ type: i1.XListComponent, selector: "x-list" }], directives: [{ type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerFrameComponent, decorators: [{
206
206
  type: Component,
207
207
  args: [{ selector: `${XTimePickerFramePrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-time-picker-frame\">\r\n <div class=\"x-time-picker-frame-hour\" #hourRef>\r\n <x-list [data]=\"hourDate\" [(ngModel)]=\"hour\" (nodeClick)=\"hourClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-minute\" #minuteRef [hidden]=\"type === 'hour'\">\r\n <x-list [data]=\"minuteDate\" [(ngModel)]=\"minute\" (nodeClick)=\"minuteClick($event)\"></x-list>\r\n </div>\r\n <div class=\"x-time-picker-frame-second\" #secondRef [hidden]=\"type !== 'time'\">\r\n <x-list [data]=\"secondDate\" [(ngModel)]=\"second\" (nodeClick)=\"secondClick($event)\"></x-list>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-frame{margin:0;padding:0;margin:.0625rem 0;font-size:var(--x-font-size);color:var(--x-text);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);background-color:var(--x-background);font-size:var(--x-font-size-small);display:block;height:100%}.x-time-picker-frame>div:not(:first-child){border-left:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-time-picker-frame-hour,.x-time-picker-frame-minute,.x-time-picker-frame-second{position:relative;float:left;overflow:hidden;width:3.625rem;max-height:15rem;padding-bottom:13.125rem}.x-time-picker-frame-hour:hover,.x-time-picker-frame-minute:hover,.x-time-picker-frame-second:hover{overflow-y:auto}.x-time-picker-frame-hour>x-list>.x-list,.x-time-picker-frame-minute>x-list>.x-list,.x-time-picker-frame-second>x-list>.x-list{width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option{min-width:3.625rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option,.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option{padding-left:.6rem}.x-time-picker-frame-hour>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-minute>x-list>.x-list>x-list-option>.x-list-option:not(:first-child),.x-time-picker-frame-second>x-list>.x-list>x-list-option>.x-list-option:not(:first-child){margin-top:0}\n"] }]
208
208
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { type: [{
@@ -253,9 +253,9 @@ class XTimePickerPortalComponent {
253
253
  event.stopPropagation();
254
254
  }
255
255
  }
256
- /** @nocollapse */ /** @nocollapse */ XTimePickerPortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerPortalComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
257
- /** @nocollapse */ /** @nocollapse */ XTimePickerPortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimePickerPortalComponent, selector: "x-time-picker-portal", host: { listeners: { "@x-connect-base-animation.done": "done($event)", "@x-connect-base-animation.start": "start($event)" }, properties: { "@x-connect-base-animation": "this.placement" } }, ngImport: i0, template: "<div class=\"x-time-picker-portal\" (click)=\"inputCom.inputFocus(); stopPropagation($event)\">\r\n <x-time-picker-frame [type]=\"type\" [value]=\"value\" (nodeEmit)=\"nodeEmit($event)\"></x-time-picker-frame>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-portal{display:block;height:100%}\n"], components: [{ type: XTimePickerFrameComponent, selector: "x-time-picker-frame", inputs: ["type", "value"], outputs: ["nodeEmit"] }], animations: [XConnectBaseAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerPortalComponent, decorators: [{
256
+ /** @nocollapse */ /** @nocollapse */ XTimePickerPortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerPortalComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
257
+ /** @nocollapse */ /** @nocollapse */ XTimePickerPortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimePickerPortalComponent, selector: "x-time-picker-portal", host: { listeners: { "@x-connect-base-animation.done": "done($event)", "@x-connect-base-animation.start": "start($event)" }, properties: { "@x-connect-base-animation": "this.placement" } }, ngImport: i0, template: "<div class=\"x-time-picker-portal\" (click)=\"inputCom.inputFocus(); stopPropagation($event)\">\r\n <x-time-picker-frame [type]=\"type\" [value]=\"value\" (nodeEmit)=\"nodeEmit($event)\"></x-time-picker-frame>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-portal{display:block;height:100%}\n"], components: [{ type: XTimePickerFrameComponent, selector: "x-time-picker-frame", inputs: ["type", "value"], outputs: ["nodeEmit"] }], animations: [XConnectBaseAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerPortalComponent, decorators: [{
259
259
  type: Component,
260
260
  args: [{ selector: `${XTimePickerPortalPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XConnectBaseAnimation], template: "<div class=\"x-time-picker-portal\" (click)=\"inputCom.inputFocus(); stopPropagation($event)\">\r\n <x-time-picker-frame [type]=\"type\" [value]=\"value\" (nodeEmit)=\"nodeEmit($event)\"></x-time-picker-frame>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.x-time-picker-portal{display:block;height:100%}\n"] }]
261
261
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { placement: [{
@@ -468,9 +468,9 @@ class XTimePickerComponent extends XTimePickerProperty {
468
468
  this.cdr.detectChanges();
469
469
  }
470
470
  }
471
- /** @nocollapse */ /** @nocollapse */ XTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.XPortalService }, { token: i0.ViewContainerRef }, { token: i2.DatePipe }, { token: i3.Overlay }], target: i0.ɵɵFactoryTarget.Component });
472
- /** @nocollapse */ /** @nocollapse */ XTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimePickerComponent, selector: "x-time-picker", providers: [XValueAccessor(XTimePickerComponent), DatePipe], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true, static: true }, { propertyName: "inputCom", first: true, predicate: ["inputCom"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label\"\r\n [labelWidth]=\"labelWidth\"\r\n [labelAlign]=\"labelAlign\"\r\n [justify]=\"justify\"\r\n [align]=\"align\"\r\n [direction]=\"direction\"\r\n [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n [icon]=\"icon\"\r\n [placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n [clearable]=\"clearable\"\r\n [(ngModel)]=\"displayValue\"\r\n [valueTpl]=\"valueTpl\"\r\n [valueTplContext]=\"valueTplContext\"\r\n [size]=\"size\"\r\n [bordered]=\"bordered\"\r\n [before]=\"before\"\r\n [after]=\"after\"\r\n [pattern]=\"pattern\"\r\n [message]=\"message\"\r\n [pointer]=\"true\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block}.x-time-picker{margin:0;padding:0;width:100%}.x-time-picker x-input{width:100%}\n"], components: [{ type: i4.XInputComponent, selector: "x-input" }], directives: [{ type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerComponent, decorators: [{
471
+ /** @nocollapse */ /** @nocollapse */ XTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.XPortalService }, { token: i0.ViewContainerRef }, { token: i2.DatePipe }, { token: i3.Overlay }], target: i0.ɵɵFactoryTarget.Component });
472
+ /** @nocollapse */ /** @nocollapse */ XTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimePickerComponent, selector: "x-time-picker", providers: [XValueAccessor(XTimePickerComponent), DatePipe], viewQueries: [{ propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true, static: true }, { propertyName: "inputCom", first: true, predicate: ["inputCom"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label\"\r\n [labelWidth]=\"labelWidth\"\r\n [labelAlign]=\"labelAlign\"\r\n [justify]=\"justify\"\r\n [align]=\"align\"\r\n [direction]=\"direction\"\r\n [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n [icon]=\"icon\"\r\n [placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n [clearable]=\"clearable\"\r\n [(ngModel)]=\"displayValue\"\r\n [valueTpl]=\"valueTpl\"\r\n [valueTplContext]=\"valueTplContext\"\r\n [size]=\"size\"\r\n [bordered]=\"bordered\"\r\n [before]=\"before\"\r\n [after]=\"after\"\r\n [pattern]=\"pattern\"\r\n [message]=\"message\"\r\n [pointer]=\"true\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block}.x-time-picker{margin:0;padding:0;width:100%}.x-time-picker x-input{width:100%}\n"], components: [{ type: i4.XInputComponent, selector: "x-input" }], directives: [{ type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerComponent, decorators: [{
474
474
  type: Component,
475
475
  args: [{ selector: `${XTimePickerPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XTimePickerComponent), DatePipe], template: "<div #datePicker class=\"x-time-picker\">\r\n <div class=\"x-time-picker-row\">\r\n <x-input\r\n #inputCom\r\n type=\"text\"\r\n [label]=\"label\"\r\n [labelWidth]=\"labelWidth\"\r\n [labelAlign]=\"labelAlign\"\r\n [justify]=\"justify\"\r\n [align]=\"align\"\r\n [direction]=\"direction\"\r\n [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n [icon]=\"icon\"\r\n [placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n [clearable]=\"clearable\"\r\n [(ngModel)]=\"displayValue\"\r\n [valueTpl]=\"valueTpl\"\r\n [valueTplContext]=\"valueTplContext\"\r\n [size]=\"size\"\r\n [bordered]=\"bordered\"\r\n [before]=\"before\"\r\n [after]=\"after\"\r\n [pattern]=\"pattern\"\r\n [message]=\"message\"\r\n [pointer]=\"true\"\r\n [(active)]=\"active\"\r\n (clearEmit)=\"clearEmit()\"\r\n (xClick)=\"showPortal()\"\r\n (xMouseenter)=\"menter()\"\r\n (xMouseleave)=\"mleave()\"\r\n ></x-input>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-time-picker{display:inline-block}.x-time-picker{margin:0;padding:0;width:100%}.x-time-picker x-input{width:100%}\n"] }]
476
476
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.XPortalService }, { type: i0.ViewContainerRef }, { type: i2.DatePipe }, { type: i3.Overlay }]; }, propDecorators: { datePicker: [{
@@ -483,8 +483,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
483
483
 
484
484
  class XTimePickerModule {
485
485
  }
486
- /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
487
- /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerModule, declarations: [XTimePickerComponent, XTimePickerPortalComponent, XTimePickerFrameComponent, XTimePickerProperty], imports: [CommonModule,
486
+ /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
487
+ /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerModule, declarations: [XTimePickerComponent, XTimePickerPortalComponent, XTimePickerFrameComponent, XTimePickerProperty], imports: [CommonModule,
488
488
  FormsModule,
489
489
  ReactiveFormsModule,
490
490
  XPortalModule,
@@ -493,7 +493,7 @@ class XTimePickerModule {
493
493
  XButtonModule,
494
494
  XIconModule,
495
495
  XBaseFormModule], exports: [XTimePickerComponent, XTimePickerPortalComponent, XTimePickerFrameComponent] });
496
- /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerModule, imports: [[
496
+ /** @nocollapse */ /** @nocollapse */ XTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerModule, imports: [[
497
497
  CommonModule,
498
498
  FormsModule,
499
499
  ReactiveFormsModule,
@@ -504,7 +504,7 @@ class XTimePickerModule {
504
504
  XIconModule,
505
505
  XBaseFormModule
506
506
  ]] });
507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimePickerModule, decorators: [{
507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimePickerModule, decorators: [{
508
508
  type: NgModule,
509
509
  args: [{
510
510
  declarations: [XTimePickerComponent, XTimePickerPortalComponent, XTimePickerFrameComponent, XTimePickerProperty],
@@ -42,19 +42,19 @@ class XTimeRangePipe {
42
42
  return Array(length).fill(element).join('');
43
43
  }
44
44
  }
45
- /** @nocollapse */ /** @nocollapse */ XTimeRangePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
46
- /** @nocollapse */ /** @nocollapse */ XTimeRangePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangePipe, name: "xTimeRange" });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangePipe, decorators: [{
45
+ /** @nocollapse */ /** @nocollapse */ XTimeRangePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
46
+ /** @nocollapse */ /** @nocollapse */ XTimeRangePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangePipe, name: "xTimeRange" });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangePipe, decorators: [{
48
48
  type: Pipe,
49
49
  args: [{ name: `${XTimeRangePrefix}` }]
50
50
  }] });
51
51
 
52
52
  class XTimeRangeModule {
53
53
  }
54
- /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
- /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangeModule, declarations: [XTimeRangePipe], exports: [XTimeRangePipe] });
56
- /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangeModule });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimeRangeModule, decorators: [{
54
+ /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
+ /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangeModule, declarations: [XTimeRangePipe], exports: [XTimeRangePipe] });
56
+ /** @nocollapse */ /** @nocollapse */ XTimeRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangeModule });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimeRangeModule, decorators: [{
58
58
  type: NgModule,
59
59
  args: [{
60
60
  declarations: [XTimeRangePipe],
@@ -35,15 +35,15 @@ class XTimelineProperty extends XProperty {
35
35
  this.data = [];
36
36
  }
37
37
  }
38
- /** @nocollapse */ /** @nocollapse */ XTimelineProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
39
- /** @nocollapse */ /** @nocollapse */ XTimelineProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimelineProperty, selector: "ng-component", inputs: { data: "data", type: "type", size: "size", wrapper: "wrapper" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
38
+ /** @nocollapse */ /** @nocollapse */ XTimelineProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
39
+ /** @nocollapse */ /** @nocollapse */ XTimelineProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimelineProperty, selector: "ng-component", inputs: { data: "data", type: "type", size: "size", wrapper: "wrapper" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
40
40
  __decorate([
41
41
  XDataConvert()
42
42
  ], XTimelineProperty.prototype, "data", void 0);
43
43
  __decorate([
44
44
  XWithConfig(X_CONFIG_NAME, 'medium')
45
45
  ], XTimelineProperty.prototype, "size", void 0);
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineProperty, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineProperty, decorators: [{
47
47
  type: Component,
48
48
  args: [{ template: '' }]
49
49
  }], propDecorators: { data: [{
@@ -80,24 +80,41 @@ class XTimelineComponent extends XTimelineProperty {
80
80
  }
81
81
  setData() {
82
82
  XSetData(this.data, this._unSubject).subscribe((x) => {
83
+ this.setDashed(x);
83
84
  this.nodes = x;
84
85
  this.cdr.detectChanges();
85
86
  });
86
87
  }
88
+ setDashed(nodes) {
89
+ const len = nodes.length;
90
+ if (len <= 1)
91
+ return;
92
+ for (let i = 0; i < nodes.length; i++) {
93
+ let node = nodes[i];
94
+ if (!node.loading)
95
+ continue;
96
+ if (i === 0) {
97
+ node.dashed = true;
98
+ }
99
+ else if (i > 0) {
100
+ nodes[i - 1].dashed = true;
101
+ }
102
+ }
103
+ }
87
104
  }
88
- /** @nocollapse */ /** @nocollapse */ XTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
89
- /** @nocollapse */ /** @nocollapse */ XTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTimelineComponent, selector: "x-timeline", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-timeline-tail\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{\r\n node.size ? 'x-timeline-' + node.size : ''\r\n }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon\" [type]=\"node.icon\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-timeline{margin:0;padding:0;display:block}.x-timeline>ul{padding-left:.625rem}.x-timeline>ul>li{padding-bottom:1rem;position:relative}.x-timeline>ul>li:last-child .x-timeline-tail{border-left-color:transparent}.x-timeline-tail{position:absolute;height:100%;border-left:.125rem solid var(--x-border)}.x-timeline-icon{position:absolute;background-color:var(--x-border);border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--x-white);width:1.375rem;height:1.375rem;border:.0625rem solid var(--x-background-100);left:-.625rem}.x-timeline-wrapper{position:relative;padding-left:1.625rem}.x-timeline-label{display:flex;align-items:center;margin-bottom:.125rem}.x-timeline-label>x-link{margin-right:.325rem}.x-timeline-content{color:var(--x-text-300)}.x-timeline-time{font-size:.75rem;color:var(--x-text-400)}.x-timeline-primary{background-color:var(--x-primary)}.x-timeline-success{background-color:var(--x-success)}.x-timeline-warning{background-color:var(--x-warning)}.x-timeline-danger{background-color:var(--x-danger)}.x-timeline-info{background-color:var(--x-info)}.x-timeline-big{width:2.175rem;height:2.175rem;left:-1.025rem;font-size:1.55rem}.x-timeline-large{width:1.875rem;height:1.875rem;left:-.875rem;font-size:1.25rem}.x-timeline-medium{width:1.675rem;height:1.675rem;left:-.775rem;font-size:1.05rem}.x-timeline-small{width:1.5rem;height:1.5rem;left:-.6875rem;font-size:.875rem}.x-timeline-mini{width:1.375rem;height:1.375rem;left:-.625rem;font-size:.75rem}\n"], components: [{ type: i2.XIconComponent, selector: "x-icon" }, { type: i3.XLinkComponent, selector: "x-link" }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], pipes: { "xTimeAgo": i6.XTimeAgoPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineComponent, decorators: [{
105
+ /** @nocollapse */ /** @nocollapse */ XTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
106
+ /** @nocollapse */ /** @nocollapse */ XTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTimelineComponent, selector: "x-timeline", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\" [class.x-timeline-loading]=\"node.loading\">\r\n <div class=\"x-timeline-tail\" [class.x-timeline-tail-dashed]=\"node.dashed\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{ node.size ? 'x-timeline-' + node.size : '' }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon && !node.loading\" [type]=\"node.icon\"></x-icon>\r\n <x-icon *ngIf=\"node.loading\" type=\"fto-loader\" [spin]=\"true\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-timeline{margin:0;padding:0;display:block}.x-timeline>ul{padding-left:.625rem}.x-timeline>ul>li{padding-bottom:1rem;position:relative}.x-timeline>ul>li:last-child .x-timeline-tail{border-left-color:transparent}.x-timeline>ul>li:first-child .x-timeline-tail{top:1.25rem}.x-timeline-tail{position:absolute;height:100%;border-left:.125rem solid var(--x-border)}.x-timeline-tail-dashed{border-left-style:dashed}.x-timeline-icon{position:absolute;background-color:var(--x-border);border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--x-white);width:1.375rem;height:1.375rem;border:.0625rem solid var(--x-background-100);left:-.625rem}.x-timeline-wrapper{position:relative;padding-left:1.625rem}.x-timeline-label{display:flex;align-items:center;margin-bottom:.125rem}.x-timeline-label>x-link{margin-right:.325rem}.x-timeline-content{color:var(--x-text-300)}.x-timeline-time{font-size:.75rem;color:var(--x-text-400)}.x-timeline-loading .x-timeline-icon{color:var(--x-text-400);font-size:1.25rem;background-color:transparent!important}.x-timeline-primary{background-color:var(--x-primary)}.x-timeline-success{background-color:var(--x-success)}.x-timeline-warning{background-color:var(--x-warning)}.x-timeline-danger{background-color:var(--x-danger)}.x-timeline-info{background-color:var(--x-info)}.x-timeline-big{width:2.175rem;height:2.175rem;left:-1.025rem;font-size:1.55rem}.x-timeline-large{width:1.875rem;height:1.875rem;left:-.875rem;font-size:1.25rem}.x-timeline-medium{width:1.675rem;height:1.675rem;left:-.775rem;font-size:1.05rem}.x-timeline-small{width:1.5rem;height:1.5rem;left:-.6875rem;font-size:.875rem}.x-timeline-mini{width:1.375rem;height:1.375rem;left:-.625rem;font-size:.75rem}\n"], components: [{ type: i2.XIconComponent, selector: "x-icon" }, { type: i3.XLinkComponent, selector: "x-link" }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], pipes: { "xTimeAgo": i6.XTimeAgoPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineComponent, decorators: [{
91
108
  type: Component,
92
- args: [{ selector: `${XTimelinePrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-timeline-tail\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{\r\n node.size ? 'x-timeline-' + node.size : ''\r\n }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon\" [type]=\"node.icon\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-timeline{margin:0;padding:0;display:block}.x-timeline>ul{padding-left:.625rem}.x-timeline>ul>li{padding-bottom:1rem;position:relative}.x-timeline>ul>li:last-child .x-timeline-tail{border-left-color:transparent}.x-timeline-tail{position:absolute;height:100%;border-left:.125rem solid var(--x-border)}.x-timeline-icon{position:absolute;background-color:var(--x-border);border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--x-white);width:1.375rem;height:1.375rem;border:.0625rem solid var(--x-background-100);left:-.625rem}.x-timeline-wrapper{position:relative;padding-left:1.625rem}.x-timeline-label{display:flex;align-items:center;margin-bottom:.125rem}.x-timeline-label>x-link{margin-right:.325rem}.x-timeline-content{color:var(--x-text-300)}.x-timeline-time{font-size:.75rem;color:var(--x-text-400)}.x-timeline-primary{background-color:var(--x-primary)}.x-timeline-success{background-color:var(--x-success)}.x-timeline-warning{background-color:var(--x-warning)}.x-timeline-danger{background-color:var(--x-danger)}.x-timeline-info{background-color:var(--x-info)}.x-timeline-big{width:2.175rem;height:2.175rem;left:-1.025rem;font-size:1.55rem}.x-timeline-large{width:1.875rem;height:1.875rem;left:-.875rem;font-size:1.25rem}.x-timeline-medium{width:1.675rem;height:1.675rem;left:-.775rem;font-size:1.05rem}.x-timeline-small{width:1.5rem;height:1.5rem;left:-.6875rem;font-size:.875rem}.x-timeline-mini{width:1.375rem;height:1.375rem;left:-.625rem;font-size:.75rem}\n"] }]
109
+ args: [{ selector: `${XTimelinePrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\" [class.x-timeline-loading]=\"node.loading\">\r\n <div class=\"x-timeline-tail\" [class.x-timeline-tail-dashed]=\"node.dashed\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{ node.size ? 'x-timeline-' + node.size : '' }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon && !node.loading\" [type]=\"node.icon\"></x-icon>\r\n <x-icon *ngIf=\"node.loading\" type=\"fto-loader\" [spin]=\"true\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-timeline{margin:0;padding:0;display:block}.x-timeline>ul{padding-left:.625rem}.x-timeline>ul>li{padding-bottom:1rem;position:relative}.x-timeline>ul>li:last-child .x-timeline-tail{border-left-color:transparent}.x-timeline>ul>li:first-child .x-timeline-tail{top:1.25rem}.x-timeline-tail{position:absolute;height:100%;border-left:.125rem solid var(--x-border)}.x-timeline-tail-dashed{border-left-style:dashed}.x-timeline-icon{position:absolute;background-color:var(--x-border);border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--x-white);width:1.375rem;height:1.375rem;border:.0625rem solid var(--x-background-100);left:-.625rem}.x-timeline-wrapper{position:relative;padding-left:1.625rem}.x-timeline-label{display:flex;align-items:center;margin-bottom:.125rem}.x-timeline-label>x-link{margin-right:.325rem}.x-timeline-content{color:var(--x-text-300)}.x-timeline-time{font-size:.75rem;color:var(--x-text-400)}.x-timeline-loading .x-timeline-icon{color:var(--x-text-400);font-size:1.25rem;background-color:transparent!important}.x-timeline-primary{background-color:var(--x-primary)}.x-timeline-success{background-color:var(--x-success)}.x-timeline-warning{background-color:var(--x-warning)}.x-timeline-danger{background-color:var(--x-danger)}.x-timeline-info{background-color:var(--x-info)}.x-timeline-big{width:2.175rem;height:2.175rem;left:-1.025rem;font-size:1.55rem}.x-timeline-large{width:1.875rem;height:1.875rem;left:-.875rem;font-size:1.25rem}.x-timeline-medium{width:1.675rem;height:1.675rem;left:-.775rem;font-size:1.05rem}.x-timeline-small{width:1.5rem;height:1.5rem;left:-.6875rem;font-size:.875rem}.x-timeline-mini{width:1.375rem;height:1.375rem;left:-.625rem;font-size:.75rem}\n"] }]
93
110
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }]; } });
94
111
 
95
112
  class XTimelineModule {
96
113
  }
97
- /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
98
- /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineModule, declarations: [XTimelineComponent, XTimelineProperty], imports: [CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule], exports: [XTimelineComponent] });
99
- /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineModule, imports: [[CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule]] });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTimelineModule, decorators: [{
114
+ /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
115
+ /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineModule, declarations: [XTimelineComponent, XTimelineProperty], imports: [CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule], exports: [XTimelineComponent] });
116
+ /** @nocollapse */ /** @nocollapse */ XTimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineModule, imports: [[CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule]] });
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTimelineModule, decorators: [{
101
118
  type: NgModule,
102
119
  args: [{
103
120
  declarations: [XTimelineComponent, XTimelineProperty],
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-timeline.mjs","sources":["../../../../lib/ng-nest/ui/timeline/timeline.property.ts","../../../../lib/ng-nest/ui/timeline/timeline.component.ts","../../../../lib/ng-nest/ui/timeline/timeline.component.html","../../../../lib/ng-nest/ui/timeline/timeline.module.ts","../../../../lib/ng-nest/ui/timeline/ng-nest-ui-timeline.ts"],"sourcesContent":["import { XType, XSize, XData, XTemplate, XProperty, XIdentityProperty, XDataConvert, XWithConfig, XDate } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Timeline\r\n * @selector x-timeline\r\n * @decorator component\r\n */\r\nexport const XTimelinePrefix = 'x-timeline';\r\nconst X_CONFIG_NAME = 'timeline';\r\n\r\n/**\r\n * Timeline Property\r\n */\r\n@Component({ template: '' })\r\nexport class XTimelineProperty extends XProperty {\r\n /**\r\n * @zh_CN 数据\r\n * @en_US Date\r\n */\r\n @Input() @XDataConvert() data: XData<XTimelineNode> = [];\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Type\r\n */\r\n @Input() type?: XType;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n @Input() @XWithConfig<XSize>(X_CONFIG_NAME, 'medium') size?: XSize;\r\n /**\r\n * @zh_CN 内容模板\r\n * @en_US Content template\r\n */\r\n @Input() wrapper?: XTemplate;\r\n}\r\n\r\n/**\r\n * @zh_CN Timeline 数据对象\r\n * @en_US Timeline 数据对象\r\n */\r\nexport interface XTimelineNode extends XIdentityProperty {\r\n /**\r\n * @zh_CN 时间\r\n * @en_US Time\r\n */\r\n time?: XDate;\r\n /**\r\n * @zh_CN 内容\r\n * @en_US Content\r\n */\r\n content?: string;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n size?: XSize;\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Type\r\n */\r\n type?: XType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n icon?: string;\r\n /**\r\n * @zh_CN 颜色\r\n * @en_US Color\r\n */\r\n color?: string;\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n ViewEncapsulation,\r\n Renderer2,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n OnChanges\r\n} from '@angular/core';\r\nimport { XTimelinePrefix, XTimelineNode, XTimelineProperty } from './timeline.property';\r\nimport { XIsChange, XSetData, XConfigService } from '@ng-nest/ui/core';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XTimelinePrefix}`,\r\n templateUrl: './timeline.component.html',\r\n styleUrls: ['./timeline.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XTimelineComponent extends XTimelineProperty implements OnInit, OnChanges {\r\n nodes: XTimelineNode[] = [];\r\n private _unSubject = new Subject<void>();\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { data } = changes;\r\n XIsChange(data) && this.setData();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n trackByNode(_index: number, item: XTimelineNode) {\r\n return item.id;\r\n }\r\n\r\n private setData() {\r\n XSetData<XTimelineNode>(this.data, this._unSubject).subscribe((x) => {\r\n this.nodes = x;\r\n this.cdr.detectChanges();\r\n });\r\n }\r\n}\r\n","<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-timeline-tail\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{\r\n node.size ? 'x-timeline-' + node.size : ''\r\n }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon\" [type]=\"node.icon\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XTimelineComponent } from './timeline.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XTimeAgoModule } from '@ng-nest/ui/time-ago';\r\nimport { XLinkModule } from '@ng-nest/ui/link';\r\nimport { XOutletModule } from '@ng-nest/ui/outlet';\r\nimport { XTimelineProperty } from './timeline.property';\r\n\r\n@NgModule({\r\n declarations: [XTimelineComponent, XTimelineProperty],\r\n exports: [XTimelineComponent],\r\n imports: [CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule]\r\n})\r\nexport class XTimelineModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGA;;;;;MAKa,eAAe,GAAG,aAAa;AAC5C,MAAM,aAAa,GAAG,UAAU,CAAC;AAEjC;;;MAIa,iBAAkB,SAAQ,SAAS;IADhD;;;;;;QAM2B,SAAI,GAAyB,EAAE,CAAC;KAgB1D;;oJArBY,iBAAiB;wIAAjB,iBAAiB,qJADP,EAAE;AAME;IAAf,YAAY,EAAE;+CAAiC;AAUH;IAA5C,WAAW,CAAQ,aAAa,EAAE,QAAQ,CAAC;+CAAc;2FAfxD,iBAAiB;kBAD7B,SAAS;mBAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;8BAMA,IAAI;sBAA5B,KAAK;gBAKG,IAAI;sBAAZ,KAAK;gBAKgD,IAAI;sBAAzD,KAAK;gBAKG,OAAO;sBAAf,KAAK;;;MCbK,kBAAmB,SAAQ,iBAAiB;IAGvD,YACS,QAAmB,EACnB,UAAsB,EACtB,GAAsB,EACtB,aAA6B;QAEpC,KAAK,EAAE,CAAC;QALD,aAAQ,GAAR,QAAQ,CAAW;QACnB,eAAU,GAAV,UAAU,CAAY;QACtB,QAAG,GAAH,GAAG,CAAmB;QACtB,kBAAa,GAAb,aAAa,CAAgB;QANtC,UAAK,GAAoB,EAAE,CAAC;QACpB,eAAU,GAAG,IAAI,OAAO,EAAQ,CAAC;KAQxC;IAED,QAAQ,MAAK;IAEb,WAAW,CAAC,OAAsB;QAChC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;QACzB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;KACnC;IAED,WAAW;QACT,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;KAC/B;IAED,WAAW,CAAC,MAAc,EAAE,IAAmB;QAC7C,OAAO,IAAI,CAAC,EAAE,CAAC;KAChB;IAEO,OAAO;QACb,QAAQ,CAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YAC9D,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;YACf,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;SAC1B,CAAC,CAAC;KACJ;;qJAjCU,kBAAkB;yIAAlB,kBAAkB,8FCtB/B,69BAwBA;2FDFa,kBAAkB;kBAP9B,SAAS;+BACE,GAAG,eAAe,EAAE,iBAGf,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;;MENpC,eAAe;;kJAAf,eAAe;mJAAf,eAAe,iBAJX,kBAAkB,EAAE,iBAAiB,aAE1C,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,aADrE,kBAAkB;mJAGjB,eAAe,YAFjB,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,CAAC;2FAErE,eAAe;kBAL3B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;oBACrD,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,CAAC;iBACjF;;;ACbD;;;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-timeline.mjs","sources":["../../../../lib/ng-nest/ui/timeline/timeline.property.ts","../../../../lib/ng-nest/ui/timeline/timeline.component.ts","../../../../lib/ng-nest/ui/timeline/timeline.component.html","../../../../lib/ng-nest/ui/timeline/timeline.module.ts","../../../../lib/ng-nest/ui/timeline/ng-nest-ui-timeline.ts"],"sourcesContent":["import { XType, XSize, XData, XTemplate, XProperty, XIdentityProperty, XDataConvert, XWithConfig, XDate } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Timeline\r\n * @selector x-timeline\r\n * @decorator component\r\n */\r\nexport const XTimelinePrefix = 'x-timeline';\r\nconst X_CONFIG_NAME = 'timeline';\r\n\r\n/**\r\n * Timeline Property\r\n */\r\n@Component({ template: '' })\r\nexport class XTimelineProperty extends XProperty {\r\n /**\r\n * @zh_CN 数据\r\n * @en_US Date\r\n */\r\n @Input() @XDataConvert() data: XData<XTimelineNode> = [];\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Type\r\n */\r\n @Input() type?: XType;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n @Input() @XWithConfig<XSize>(X_CONFIG_NAME, 'medium') size?: XSize;\r\n /**\r\n * @zh_CN 内容模板\r\n * @en_US Content template\r\n */\r\n @Input() wrapper?: XTemplate;\r\n}\r\n\r\n/**\r\n * @zh_CN Timeline 数据对象\r\n * @en_US Timeline node data\r\n */\r\nexport interface XTimelineNode extends XIdentityProperty {\r\n /**\r\n * @zh_CN 时间\r\n * @en_US Time\r\n */\r\n time?: XDate;\r\n /**\r\n * @zh_CN 内容\r\n * @en_US Content\r\n */\r\n content?: string;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n size?: XSize;\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Type\r\n */\r\n type?: XType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n icon?: string;\r\n /**\r\n * @zh_CN 颜色\r\n * @en_US Color\r\n */\r\n color?: string;\r\n /**\r\n * @zh_CN 加载中\r\n * @en_US Loading\r\n */\r\n loading?: boolean;\r\n /**\r\n * @zh_CN 连接线显示虚线,针对下一个节点,下一个节点为 loading 状态也会显示虚线\r\n * @en_US The connecting line displays a dotted line. For the next node, the dotted line will also be displayed when the next node is in loading status\r\n */\r\n dashed?: boolean;\r\n /**\r\n * @zh_CN 其它自定义属性\r\n * @en_US Other property\r\n */\r\n [property: string]: any;\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n ViewEncapsulation,\r\n Renderer2,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n OnChanges\r\n} from '@angular/core';\r\nimport { XTimelinePrefix, XTimelineNode, XTimelineProperty } from './timeline.property';\r\nimport { XIsChange, XSetData, XConfigService } from '@ng-nest/ui/core';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XTimelinePrefix}`,\r\n templateUrl: './timeline.component.html',\r\n styleUrls: ['./timeline.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XTimelineComponent extends XTimelineProperty implements OnInit, OnChanges {\r\n nodes: XTimelineNode[] = [];\r\n private _unSubject = new Subject<void>();\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { data } = changes;\r\n XIsChange(data) && this.setData();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n trackByNode(_index: number, item: XTimelineNode) {\r\n return item.id;\r\n }\r\n\r\n private setData() {\r\n XSetData<XTimelineNode>(this.data, this._unSubject).subscribe((x) => {\r\n this.setDashed(x);\r\n this.nodes = x;\r\n this.cdr.detectChanges();\r\n });\r\n }\r\n\r\n private setDashed(nodes: XTimelineNode[]) {\r\n const len = nodes.length;\r\n if (len <= 1) return;\r\n for (let i = 0; i < nodes.length; i++) {\r\n let node = nodes[i];\r\n if (!node.loading) continue;\r\n if (i === 0) {\r\n node.dashed = true;\r\n } else if (i > 0) {\r\n nodes[i - 1].dashed = true;\r\n }\r\n }\r\n }\r\n}\r\n","<div #timeline class=\"x-timeline\" [ngClass]=\"classMap\">\r\n <ul>\r\n <li *ngFor=\"let node of nodes; trackBy: trackByNode\" [class.x-timeline-loading]=\"node.loading\">\r\n <div class=\"x-timeline-tail\" [class.x-timeline-tail-dashed]=\"node.dashed\"></div>\r\n <div\r\n class=\"x-timeline-icon {{ node.type ? 'x-timeline-' + node.type : '' }} {{ node.size ? 'x-timeline-' + node.size : '' }}\"\r\n [style.background-color]=\"node.color\"\r\n >\r\n <x-icon *ngIf=\"node.icon && !node.loading\" [type]=\"node.icon\"></x-icon>\r\n <x-icon *ngIf=\"node.loading\" type=\"fto-loader\" [spin]=\"true\"></x-icon>\r\n </div>\r\n <div class=\"x-timeline-wrapper\">\r\n <ng-container *xOutlet=\"wrapper; context: { $node: node }\">\r\n <div class=\"x-timeline-label\">\r\n <x-link *ngIf=\"node.label\">{{ node.label }}</x-link>\r\n <span class=\"x-timeline-time\">{{ node.time | xTimeAgo }}</span>\r\n </div>\r\n <div class=\"x-timeline-content\">{{ node.content }}</div>\r\n </ng-container>\r\n </div>\r\n </li>\r\n </ul>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XTimelineComponent } from './timeline.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XTimeAgoModule } from '@ng-nest/ui/time-ago';\r\nimport { XLinkModule } from '@ng-nest/ui/link';\r\nimport { XOutletModule } from '@ng-nest/ui/outlet';\r\nimport { XTimelineProperty } from './timeline.property';\r\n\r\n@NgModule({\r\n declarations: [XTimelineComponent, XTimelineProperty],\r\n exports: [XTimelineComponent],\r\n imports: [CommonModule, XIconModule, XTimeAgoModule, XLinkModule, XOutletModule]\r\n})\r\nexport class XTimelineModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGA;;;;;MAKa,eAAe,GAAG,aAAa;AAC5C,MAAM,aAAa,GAAG,UAAU,CAAC;AAEjC;;;MAIa,iBAAkB,SAAQ,SAAS;IADhD;;;;;;QAM2B,SAAI,GAAyB,EAAE,CAAC;KAgB1D;;oJArBY,iBAAiB;wIAAjB,iBAAiB,qJADP,EAAE;AAME;IAAf,YAAY,EAAE;+CAAiC;AAUH;IAA5C,WAAW,CAAQ,aAAa,EAAE,QAAQ,CAAC;+CAAc;2FAfxD,iBAAiB;kBAD7B,SAAS;mBAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;8BAMA,IAAI;sBAA5B,KAAK;gBAKG,IAAI;sBAAZ,KAAK;gBAKgD,IAAI;sBAAzD,KAAK;gBAKG,OAAO;sBAAf,KAAK;;;MCbK,kBAAmB,SAAQ,iBAAiB;IAGvD,YACS,QAAmB,EACnB,UAAsB,EACtB,GAAsB,EACtB,aAA6B;QAEpC,KAAK,EAAE,CAAC;QALD,aAAQ,GAAR,QAAQ,CAAW;QACnB,eAAU,GAAV,UAAU,CAAY;QACtB,QAAG,GAAH,GAAG,CAAmB;QACtB,kBAAa,GAAb,aAAa,CAAgB;QANtC,UAAK,GAAoB,EAAE,CAAC;QACpB,eAAU,GAAG,IAAI,OAAO,EAAQ,CAAC;KAQxC;IAED,QAAQ,MAAK;IAEb,WAAW,CAAC,OAAsB;QAChC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;QACzB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;KACnC;IAED,WAAW;QACT,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;KAC/B;IAED,WAAW,CAAC,MAAc,EAAE,IAAmB;QAC7C,OAAO,IAAI,CAAC,EAAE,CAAC;KAChB;IAEO,OAAO;QACb,QAAQ,CAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YAC9D,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;YACf,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;SAC1B,CAAC,CAAC;KACJ;IAEO,SAAS,CAAC,KAAsB;QACtC,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,IAAI,GAAG,IAAI,CAAC;YAAE,OAAO;QACrB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACpB,IAAI,CAAC,IAAI,CAAC,OAAO;gBAAE,SAAS;YAC5B,IAAI,CAAC,KAAK,CAAC,EAAE;gBACX,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;aACpB;iBAAM,IAAI,CAAC,GAAG,CAAC,EAAE;gBAChB,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;aAC5B;SACF;KACF;;qJAhDU,kBAAkB;yIAAlB,kBAAkB,8FCtB/B,yoCAuBA;2FDDa,kBAAkB;kBAP9B,SAAS;+BACE,GAAG,eAAe,EAAE,iBAGf,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;;MENpC,eAAe;;kJAAf,eAAe;mJAAf,eAAe,iBAJX,kBAAkB,EAAE,iBAAiB,aAE1C,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,aADrE,kBAAkB;mJAGjB,eAAe,YAFjB,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,CAAC;2FAErE,eAAe;kBAL3B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;oBACrD,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,CAAC;iBACjF;;;ACbD;;;;;;"}
@@ -21,9 +21,21 @@ const X_CONFIG_NAME = 'tooltip';
21
21
  * Tooltip Property
22
22
  */
23
23
  class XTooltipProperty {
24
+ constructor() {
25
+ /**
26
+ * @zh_CN 鼠标移入后延时多少才显示
27
+ * @en_US How much is the mouse transfer after transfer
28
+ */
29
+ this.mouseEnterDelay = 150;
30
+ /**
31
+ * @zh_CN 鼠标移出后延时多少才隐藏
32
+ * @en_US How much hidden is hidden after the mouse is removed
33
+ */
34
+ this.mouseLeaveDelay = 100;
35
+ }
24
36
  }
25
- /** @nocollapse */ /** @nocollapse */ XTooltipProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipProperty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
26
- /** @nocollapse */ /** @nocollapse */ XTooltipProperty.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.3", type: XTooltipProperty, selector: "[x-tooltip], x-tooltip", inputs: { content: "content", placement: "placement", visible: "visible", backgroundColor: "backgroundColor", color: "color", manual: "manual" }, ngImport: i0 });
37
+ /** @nocollapse */ /** @nocollapse */ XTooltipProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipProperty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
38
+ /** @nocollapse */ /** @nocollapse */ XTooltipProperty.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: XTooltipProperty, selector: "[x-tooltip], x-tooltip", inputs: { content: "content", placement: "placement", visible: "visible", backgroundColor: "backgroundColor", color: "color", manual: "manual", mouseEnterDelay: "mouseEnterDelay", mouseLeaveDelay: "mouseLeaveDelay" }, ngImport: i0 });
27
39
  __decorate([
28
40
  XWithConfig(X_CONFIG_NAME, 'bottom')
29
41
  ], XTooltipProperty.prototype, "placement", void 0);
@@ -33,7 +45,7 @@ __decorate([
33
45
  __decorate([
34
46
  XInputBoolean()
35
47
  ], XTooltipProperty.prototype, "manual", void 0);
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipProperty, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipProperty, decorators: [{
37
49
  type: Directive,
38
50
  args: [{ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` }]
39
51
  }], propDecorators: { content: [{
@@ -48,6 +60,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
48
60
  type: Input
49
61
  }], manual: [{
50
62
  type: Input
63
+ }], mouseEnterDelay: [{
64
+ type: Input
65
+ }], mouseLeaveDelay: [{
66
+ type: Input
51
67
  }] } });
52
68
  /**
53
69
  * Tooltip Portal
@@ -129,9 +145,9 @@ class XTooltipPortalComponent {
129
145
  return this.placement.indexOf(arrow) >= 0;
130
146
  }
131
147
  }
132
- /** @nocollapse */ /** @nocollapse */ XTooltipPortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipPortalComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
133
- /** @nocollapse */ /** @nocollapse */ XTooltipPortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: XTooltipPortalComponent, selector: "x-tooltip-portal", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, properties: { "@x-fade-animation": "this.animation" } }, viewQueries: [{ propertyName: "tooltipPortal", first: true, predicate: ["tooltipPortal"], descendants: true, static: true }, { propertyName: "tooltipArrow", first: true, predicate: ["tooltipArrow"], descendants: true }, { propertyName: "tooltipArrowAfter", first: true, predicate: ["tooltipArrowAfter"], descendants: true }], ngImport: i0, template: "<div #tooltipPortal class=\"x-tooltip-portal\" [ngClass]=\"classMap\">\r\n <div class=\"x-tooltip-portal-inner\" [style.backgroundColor]=\"backgroundColor\" [style.color]=\"color\" [innerHTML]=\"content\"></div>\r\n <div #tooltipArrow class=\"x-tooltip-portal-arrow\">\r\n <div #tooltipArrowAfter class=\"x-tooltip-portal-arrow-after\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-tooltip-portal{margin:0;padding:0;display:inline-flex;position:relative;justify-content:center;align-items:center}.x-tooltip-portal>.x-tooltip-portal-inner{font-size:var(--x-font-size);background-color:var(--x-text);color:var(--x-text-700);padding:.325rem .5rem;max-width:10rem;border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-tooltip-portal .x-tooltip-portal-arrow,.x-tooltip-portal .x-tooltip-portal-arrow-after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-tooltip-portal .x-tooltip-portal-arrow{border-width:.375rem;filter:drop-shadow(0 .125rem .75rem rgba(0,0,0,.03))}.x-tooltip-portal .x-tooltip-portal-arrow-after{border-width:.375rem}.x-tooltip-portal-top,.x-tooltip-portal-top-start,.x-tooltip-portal-top-end{padding-bottom:.525rem}.x-tooltip-portal-top>.x-tooltip-portal-arrow,.x-tooltip-portal-top-start>.x-tooltip-portal-arrow,.x-tooltip-portal-top-end>.x-tooltip-portal-arrow{bottom:.2rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-top .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-end .x-tooltip-portal-arrow-after{bottom:.1rem;margin-left:-.375rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-left,.x-tooltip-portal-left-start,.x-tooltip-portal-left-end{padding-right:.525rem}.x-tooltip-portal-left>.x-tooltip-portal-arrow,.x-tooltip-portal-left-start>.x-tooltip-portal-arrow,.x-tooltip-portal-left-end>.x-tooltip-portal-arrow{right:.2rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-left .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-end .x-tooltip-portal-arrow-after{right:.1rem;margin-top:-.375rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-right,.x-tooltip-portal-right-start,.x-tooltip-portal-right-end{padding-left:.525rem}.x-tooltip-portal-right>.x-tooltip-portal-arrow,.x-tooltip-portal-right-start>.x-tooltip-portal-arrow,.x-tooltip-portal-right-end>.x-tooltip-portal-arrow{left:.2rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-right .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-end .x-tooltip-portal-arrow-after{left:.1rem;margin-top:-.375rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-bottom,.x-tooltip-portal-bottom-start,.x-tooltip-portal-bottom-end{padding-top:.525rem}.x-tooltip-portal-bottom .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow{top:.2rem;border-top-width:0;border-bottom-color:var(--x-text)}.x-tooltip-portal-bottom .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow-after{top:.1rem;margin-left:-.375rem;border-top-width:0;border-bottom-color:var(--x-text)}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [XFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipPortalComponent, decorators: [{
148
+ /** @nocollapse */ /** @nocollapse */ XTooltipPortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipPortalComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
149
+ /** @nocollapse */ /** @nocollapse */ XTooltipPortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XTooltipPortalComponent, selector: "x-tooltip-portal", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, properties: { "@x-fade-animation": "this.animation" } }, viewQueries: [{ propertyName: "tooltipPortal", first: true, predicate: ["tooltipPortal"], descendants: true, static: true }, { propertyName: "tooltipArrow", first: true, predicate: ["tooltipArrow"], descendants: true }, { propertyName: "tooltipArrowAfter", first: true, predicate: ["tooltipArrowAfter"], descendants: true }], ngImport: i0, template: "<div #tooltipPortal class=\"x-tooltip-portal\" [ngClass]=\"classMap\">\r\n <div class=\"x-tooltip-portal-inner\" [style.backgroundColor]=\"backgroundColor\" [style.color]=\"color\" [innerHTML]=\"content\"></div>\r\n <div #tooltipArrow class=\"x-tooltip-portal-arrow\">\r\n <div #tooltipArrowAfter class=\"x-tooltip-portal-arrow-after\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-tooltip-portal{margin:0;padding:0;display:inline-flex;position:relative;justify-content:center;align-items:center}.x-tooltip-portal>.x-tooltip-portal-inner{font-size:var(--x-font-size);background-color:var(--x-text);color:var(--x-text-700);padding:.325rem .5rem;max-width:10rem;border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-tooltip-portal .x-tooltip-portal-arrow,.x-tooltip-portal .x-tooltip-portal-arrow-after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-tooltip-portal .x-tooltip-portal-arrow{border-width:.375rem;filter:drop-shadow(0 .125rem .75rem rgba(0,0,0,.03))}.x-tooltip-portal .x-tooltip-portal-arrow-after{border-width:.375rem}.x-tooltip-portal-top,.x-tooltip-portal-top-start,.x-tooltip-portal-top-end{padding-bottom:.525rem}.x-tooltip-portal-top>.x-tooltip-portal-arrow,.x-tooltip-portal-top-start>.x-tooltip-portal-arrow,.x-tooltip-portal-top-end>.x-tooltip-portal-arrow{bottom:.2rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-top .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-end .x-tooltip-portal-arrow-after{bottom:.1rem;margin-left:-.375rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-left,.x-tooltip-portal-left-start,.x-tooltip-portal-left-end{padding-right:.525rem}.x-tooltip-portal-left>.x-tooltip-portal-arrow,.x-tooltip-portal-left-start>.x-tooltip-portal-arrow,.x-tooltip-portal-left-end>.x-tooltip-portal-arrow{right:.2rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-left .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-end .x-tooltip-portal-arrow-after{right:.1rem;margin-top:-.375rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-right,.x-tooltip-portal-right-start,.x-tooltip-portal-right-end{padding-left:.525rem}.x-tooltip-portal-right>.x-tooltip-portal-arrow,.x-tooltip-portal-right-start>.x-tooltip-portal-arrow,.x-tooltip-portal-right-end>.x-tooltip-portal-arrow{left:.2rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-right .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-end .x-tooltip-portal-arrow-after{left:.1rem;margin-top:-.375rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-bottom,.x-tooltip-portal-bottom-start,.x-tooltip-portal-bottom-end{padding-top:.525rem}.x-tooltip-portal-bottom .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow{top:.2rem;border-top-width:0;border-bottom-color:var(--x-text)}.x-tooltip-portal-bottom .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow-after{top:.1rem;margin-left:-.375rem;border-top-width:0;border-bottom-color:var(--x-text)}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [XFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipPortalComponent, decorators: [{
135
151
  type: Component,
136
152
  args: [{ selector: `${XTooltipPortalPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XFadeAnimation], template: "<div #tooltipPortal class=\"x-tooltip-portal\" [ngClass]=\"classMap\">\r\n <div class=\"x-tooltip-portal-inner\" [style.backgroundColor]=\"backgroundColor\" [style.color]=\"color\" [innerHTML]=\"content\"></div>\r\n <div #tooltipArrow class=\"x-tooltip-portal-arrow\">\r\n <div #tooltipArrowAfter class=\"x-tooltip-portal-arrow-after\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-tooltip-portal{margin:0;padding:0;display:inline-flex;position:relative;justify-content:center;align-items:center}.x-tooltip-portal>.x-tooltip-portal-inner{font-size:var(--x-font-size);background-color:var(--x-text);color:var(--x-text-700);padding:.325rem .5rem;max-width:10rem;border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-tooltip-portal .x-tooltip-portal-arrow,.x-tooltip-portal .x-tooltip-portal-arrow-after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-tooltip-portal .x-tooltip-portal-arrow{border-width:.375rem;filter:drop-shadow(0 .125rem .75rem rgba(0,0,0,.03))}.x-tooltip-portal .x-tooltip-portal-arrow-after{border-width:.375rem}.x-tooltip-portal-top,.x-tooltip-portal-top-start,.x-tooltip-portal-top-end{padding-bottom:.525rem}.x-tooltip-portal-top>.x-tooltip-portal-arrow,.x-tooltip-portal-top-start>.x-tooltip-portal-arrow,.x-tooltip-portal-top-end>.x-tooltip-portal-arrow{bottom:.2rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-top .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-top-end .x-tooltip-portal-arrow-after{bottom:.1rem;margin-left:-.375rem;border-bottom-width:0;border-top-color:var(--x-text)}.x-tooltip-portal-left,.x-tooltip-portal-left-start,.x-tooltip-portal-left-end{padding-right:.525rem}.x-tooltip-portal-left>.x-tooltip-portal-arrow,.x-tooltip-portal-left-start>.x-tooltip-portal-arrow,.x-tooltip-portal-left-end>.x-tooltip-portal-arrow{right:.2rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-left .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-left-end .x-tooltip-portal-arrow-after{right:.1rem;margin-top:-.375rem;border-right-width:0;border-left-color:var(--x-text)}.x-tooltip-portal-right,.x-tooltip-portal-right-start,.x-tooltip-portal-right-end{padding-left:.525rem}.x-tooltip-portal-right>.x-tooltip-portal-arrow,.x-tooltip-portal-right-start>.x-tooltip-portal-arrow,.x-tooltip-portal-right-end>.x-tooltip-portal-arrow{left:.2rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-right .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-right-end .x-tooltip-portal-arrow-after{left:.1rem;margin-top:-.375rem;border-left-width:0;border-right-color:var(--x-text)}.x-tooltip-portal-bottom,.x-tooltip-portal-bottom-start,.x-tooltip-portal-bottom-end{padding-top:.525rem}.x-tooltip-portal-bottom .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow{top:.2rem;border-top-width:0;border-bottom-color:var(--x-text)}.x-tooltip-portal-bottom .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-start .x-tooltip-portal-arrow-after,.x-tooltip-portal-bottom-end .x-tooltip-portal-arrow-after{top:.1rem;margin-left:-.375rem;border-top-width:0;border-bottom-color:var(--x-text)}\n"] }]
137
153
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { mouseenter: [{
@@ -187,17 +203,25 @@ class XTooltipDirective extends XTooltipProperty {
187
203
  show() {
188
204
  if (this.timeoutHide)
189
205
  clearTimeout(this.timeoutHide);
206
+ if (this.timeoutShow)
207
+ clearTimeout(this.timeoutShow);
190
208
  if (!this.portal || (this.portal && !this.portal.overlayRef?.hasAttached())) {
191
- this.visible = true;
192
- this.createPortal();
209
+ this.timeoutShow = setTimeout(() => {
210
+ this.visible = true;
211
+ this.createPortal();
212
+ }, this.mouseEnterDelay);
193
213
  }
194
214
  }
195
215
  hide() {
216
+ if (this.timeoutHide)
217
+ clearTimeout(this.timeoutHide);
218
+ if (this.timeoutShow)
219
+ clearTimeout(this.timeoutShow);
196
220
  if (this.portal?.overlayRef?.hasAttached()) {
197
221
  this.timeoutHide = setTimeout(() => {
198
222
  this.visible = false;
199
223
  this.portal.overlayRef?.dispose();
200
- });
224
+ }, this.mouseLeaveDelay);
201
225
  }
202
226
  }
203
227
  createPortal() {
@@ -253,9 +277,9 @@ class XTooltipDirective extends XTooltipProperty {
253
277
  this.portal.overlayRef?.updatePosition();
254
278
  }
255
279
  }
256
- /** @nocollapse */ /** @nocollapse */ XTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.XPortalService }, { token: i0.ViewContainerRef }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Directive });
257
- /** @nocollapse */ /** @nocollapse */ XTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.3", type: XTooltipDirective, selector: "[x-tooltip], x-tooltip", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipDirective, decorators: [{
280
+ /** @nocollapse */ /** @nocollapse */ XTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.XPortalService }, { token: i0.ViewContainerRef }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Directive });
281
+ /** @nocollapse */ /** @nocollapse */ XTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: XTooltipDirective, selector: "[x-tooltip], x-tooltip", host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipDirective, decorators: [{
259
283
  type: Directive,
260
284
  args: [{ selector: `[${XTooltipPrefix}], ${XTooltipPrefix}` }]
261
285
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.XPortalService }, { type: i0.ViewContainerRef }, { type: i2.Overlay }]; }, propDecorators: { mouseenter: [{
@@ -268,10 +292,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
268
292
 
269
293
  class XTooltipModule {
270
294
  }
271
- /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
- /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipModule, declarations: [XTooltipDirective, XTooltipPortalComponent, XTooltipProperty], imports: [CommonModule, XPortalModule], exports: [XTooltipDirective, XTooltipPortalComponent] });
273
- /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipModule, imports: [[CommonModule, XPortalModule]] });
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: XTooltipModule, decorators: [{
295
+ /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
296
+ /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipModule, declarations: [XTooltipDirective, XTooltipPortalComponent, XTooltipProperty], imports: [CommonModule, XPortalModule], exports: [XTooltipDirective, XTooltipPortalComponent] });
297
+ /** @nocollapse */ /** @nocollapse */ XTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipModule, imports: [[CommonModule, XPortalModule]] });
298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XTooltipModule, decorators: [{
275
299
  type: NgModule,
276
300
  args: [{
277
301
  declarations: [XTooltipDirective, XTooltipPortalComponent, XTooltipProperty],