@ng-nest/ui 17.0.1 → 17.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (724) hide show
  1. package/affix/affix.component.d.ts +1 -2
  2. package/affix/affix.module.d.ts +1 -3
  3. package/alert/alert.component.d.ts +4 -5
  4. package/alert/alert.module.d.ts +1 -8
  5. package/anchor/anchor-inner.component.d.ts +1 -1
  6. package/anchor/anchor.component.d.ts +6 -7
  7. package/anchor/anchor.module.d.ts +2 -6
  8. package/api/api.component.d.ts +4 -4
  9. package/api/api.module.d.ts +1 -2
  10. package/auto-complete/auto-complete-portal.component.d.ts +3 -5
  11. package/auto-complete/auto-complete.component.d.ts +12 -13
  12. package/auto-complete/auto-complete.module.d.ts +1 -9
  13. package/avatar/avatar-group.component.d.ts +1 -2
  14. package/avatar/avatar.component.d.ts +6 -7
  15. package/avatar/avatar.module.d.ts +2 -6
  16. package/back-top/back-top.component.d.ts +7 -12
  17. package/back-top/back-top.module.d.ts +1 -5
  18. package/badge/badge.component.d.ts +3 -8
  19. package/badge/badge.module.d.ts +1 -3
  20. package/base-form/base-form.component.d.ts +1 -1
  21. package/base-form/base-form.module.d.ts +1 -2
  22. package/border/border.component.d.ts +4 -4
  23. package/border/border.module.d.ts +1 -1
  24. package/button/button.component.d.ts +8 -10
  25. package/button/button.module.d.ts +1 -5
  26. package/button/buttons.component.d.ts +4 -5
  27. package/calendar/calendar.component.d.ts +9 -14
  28. package/calendar/calendar.module.d.ts +1 -10
  29. package/card/card.component.d.ts +2 -6
  30. package/card/card.module.d.ts +1 -5
  31. package/carousel/carousel-panel.component.d.ts +10 -13
  32. package/carousel/carousel.component.d.ts +4 -8
  33. package/carousel/carousel.module.d.ts +1 -5
  34. package/cascade/cascade-portal.component.d.ts +4 -5
  35. package/cascade/cascade.component.d.ts +14 -13
  36. package/cascade/cascade.module.d.ts +1 -9
  37. package/checkbox/checkbox.component.d.ts +6 -9
  38. package/checkbox/checkbox.module.d.ts +1 -8
  39. package/collapse/collapse-panel.component.d.ts +5 -8
  40. package/collapse/collapse.component.d.ts +3 -7
  41. package/collapse/collapse.module.d.ts +1 -5
  42. package/color/color.component.d.ts +4 -6
  43. package/color/color.module.d.ts +1 -3
  44. package/color-picker/color-picker-portal.component.d.ts +7 -11
  45. package/color-picker/color-picker.component.d.ts +11 -12
  46. package/color-picker/color-picker.module.d.ts +1 -11
  47. package/comment/comment-reply.component.d.ts +4 -9
  48. package/comment/comment.component.d.ts +5 -9
  49. package/comment/comment.module.d.ts +1 -11
  50. package/container/aside.component.d.ts +5 -5
  51. package/container/container.component.d.ts +2 -3
  52. package/container/container.module.d.ts +1 -3
  53. package/container/footer.component.d.ts +5 -7
  54. package/container/header.component.d.ts +5 -7
  55. package/container/main.component.d.ts +4 -4
  56. package/crumb/crumb.component.d.ts +4 -6
  57. package/crumb/crumb.module.d.ts +1 -5
  58. package/date-picker/date-picker-portal.component.d.ts +5 -9
  59. package/date-picker/date-picker.component.d.ts +14 -16
  60. package/date-picker/date-picker.module.d.ts +2 -21
  61. package/date-picker/date-quarter.pipe.d.ts +1 -1
  62. package/date-picker/date-range-portal.component.d.ts +1 -1
  63. package/date-picker/date-range.component.d.ts +17 -19
  64. package/date-picker/picker-date.component.d.ts +8 -12
  65. package/date-picker/picker-month.component.d.ts +8 -11
  66. package/date-picker/picker-quarter.component.d.ts +9 -14
  67. package/date-picker/picker-year.component.d.ts +5 -8
  68. package/description/description-item.component.d.ts +1 -2
  69. package/description/description.component.d.ts +4 -5
  70. package/description/description.module.d.ts +2 -5
  71. package/dialog/dialog-container.component.d.ts +1 -2
  72. package/dialog/dialog-portal.component.d.ts +1 -1
  73. package/dialog/dialog-portal.directives.d.ts +13 -17
  74. package/dialog/dialog.component.d.ts +15 -17
  75. package/dialog/dialog.module.d.ts +1 -14
  76. package/dialog/dialog.service.d.ts +8 -10
  77. package/doc/doc.component.d.ts +6 -6
  78. package/doc/doc.module.d.ts +1 -2
  79. package/drag/drag.directive.d.ts +5 -6
  80. package/drag/drag.module.d.ts +1 -2
  81. package/drawer/drawer-container.component.d.ts +1 -2
  82. package/drawer/drawer-portal.component.d.ts +1 -2
  83. package/drawer/drawer-portal.directives.d.ts +5 -6
  84. package/drawer/drawer.component.d.ts +10 -15
  85. package/drawer/drawer.module.d.ts +2 -8
  86. package/drawer/drawer.service.d.ts +5 -7
  87. package/dropdown/dropdown-portal.component.d.ts +1 -1
  88. package/dropdown/dropdown.component.d.ts +10 -13
  89. package/dropdown/dropdown.module.d.ts +1 -7
  90. package/empty/empty.component.d.ts +4 -7
  91. package/empty/empty.module.d.ts +1 -6
  92. package/esm2022/affix/affix.component.mjs +11 -11
  93. package/esm2022/affix/affix.module.mjs +6 -9
  94. package/esm2022/affix/affix.property.mjs +3 -3
  95. package/esm2022/alert/alert.component.mjs +19 -19
  96. package/esm2022/alert/alert.module.mjs +6 -14
  97. package/esm2022/alert/alert.property.mjs +4 -4
  98. package/esm2022/anchor/anchor-inner.component.mjs +5 -4
  99. package/esm2022/anchor/anchor.component.mjs +18 -21
  100. package/esm2022/anchor/anchor.module.mjs +6 -11
  101. package/esm2022/anchor/anchor.property.mjs +7 -7
  102. package/esm2022/api/api.component.mjs +14 -12
  103. package/esm2022/api/api.module.mjs +6 -8
  104. package/esm2022/auto-complete/auto-complete-portal.component.mjs +15 -16
  105. package/esm2022/auto-complete/auto-complete.component.mjs +44 -31
  106. package/esm2022/auto-complete/auto-complete.module.mjs +7 -16
  107. package/esm2022/auto-complete/auto-complete.property.mjs +3 -3
  108. package/esm2022/avatar/avatar-group.component.mjs +7 -7
  109. package/esm2022/avatar/avatar.component.mjs +17 -19
  110. package/esm2022/avatar/avatar.module.mjs +6 -11
  111. package/esm2022/avatar/avatar.property.mjs +7 -7
  112. package/esm2022/back-top/back-top.component.mjs +23 -29
  113. package/esm2022/back-top/back-top.module.mjs +6 -11
  114. package/esm2022/back-top/back-top.property.mjs +3 -3
  115. package/esm2022/badge/badge.component.mjs +18 -23
  116. package/esm2022/badge/badge.module.mjs +6 -9
  117. package/esm2022/badge/badge.property.mjs +3 -3
  118. package/esm2022/base-form/base-form.component.mjs +11 -6
  119. package/esm2022/base-form/base-form.module.mjs +7 -8
  120. package/esm2022/base-form/base-form.property.mjs +4 -4
  121. package/esm2022/border/border.component.mjs +14 -12
  122. package/esm2022/border/border.module.mjs +6 -6
  123. package/esm2022/button/button.component.mjs +19 -24
  124. package/esm2022/button/button.module.mjs +6 -11
  125. package/esm2022/button/button.property.mjs +7 -7
  126. package/esm2022/button/buttons.component.mjs +15 -15
  127. package/esm2022/calendar/calendar.component.mjs +38 -30
  128. package/esm2022/calendar/calendar.module.mjs +6 -16
  129. package/esm2022/calendar/calendar.property.mjs +3 -3
  130. package/esm2022/card/card.component.mjs +14 -17
  131. package/esm2022/card/card.module.mjs +6 -11
  132. package/esm2022/card/card.property.mjs +3 -3
  133. package/esm2022/carousel/carousel-panel.component.mjs +36 -34
  134. package/esm2022/carousel/carousel.component.mjs +19 -26
  135. package/esm2022/carousel/carousel.module.mjs +7 -12
  136. package/esm2022/carousel/carousel.property.mjs +6 -6
  137. package/esm2022/cascade/cascade-portal.component.mjs +20 -20
  138. package/esm2022/cascade/cascade.component.mjs +34 -29
  139. package/esm2022/cascade/cascade.module.mjs +7 -16
  140. package/esm2022/cascade/cascade.property.mjs +3 -3
  141. package/esm2022/checkbox/checkbox.component.mjs +31 -27
  142. package/esm2022/checkbox/checkbox.module.mjs +6 -14
  143. package/esm2022/checkbox/checkbox.property.mjs +3 -3
  144. package/esm2022/collapse/collapse-panel.component.mjs +18 -21
  145. package/esm2022/collapse/collapse.component.mjs +11 -15
  146. package/esm2022/collapse/collapse.module.mjs +6 -11
  147. package/esm2022/collapse/collapse.property.mjs +6 -6
  148. package/esm2022/color/color.component.mjs +14 -19
  149. package/esm2022/color/color.module.mjs +6 -9
  150. package/esm2022/color/color.property.mjs +3 -3
  151. package/esm2022/color-picker/color-picker-portal.component.mjs +45 -35
  152. package/esm2022/color-picker/color-picker.component.mjs +36 -35
  153. package/esm2022/color-picker/color-picker.module.mjs +7 -44
  154. package/esm2022/color-picker/color-picker.property.mjs +3 -3
  155. package/esm2022/comment/comment-reply.component.mjs +18 -19
  156. package/esm2022/comment/comment.component.mjs +30 -25
  157. package/esm2022/comment/comment.module.mjs +6 -43
  158. package/esm2022/comment/comment.property.mjs +7 -7
  159. package/esm2022/container/aside.component.mjs +15 -13
  160. package/esm2022/container/container.component.mjs +14 -14
  161. package/esm2022/container/container.module.mjs +7 -37
  162. package/esm2022/container/container.property.mjs +12 -12
  163. package/esm2022/container/footer.component.mjs +17 -21
  164. package/esm2022/container/header.component.mjs +17 -21
  165. package/esm2022/container/main.component.mjs +14 -12
  166. package/esm2022/core/config/config.service.mjs +11 -6
  167. package/esm2022/core/services/http.service.mjs +3 -3
  168. package/esm2022/core/services/preloading-strategy.service.mjs +6 -5
  169. package/esm2022/core/services/storage.service.mjs +3 -3
  170. package/esm2022/core/theme/theme.service.mjs +3 -3
  171. package/esm2022/crumb/crumb.component.mjs +15 -19
  172. package/esm2022/crumb/crumb.module.mjs +6 -11
  173. package/esm2022/crumb/crumb.property.mjs +3 -3
  174. package/esm2022/date-picker/date-picker-portal.component.mjs +38 -29
  175. package/esm2022/date-picker/date-picker.component.mjs +52 -47
  176. package/esm2022/date-picker/date-picker.module.mjs +7 -108
  177. package/esm2022/date-picker/date-picker.property.mjs +18 -18
  178. package/esm2022/date-picker/date-quarter.pipe.mjs +5 -5
  179. package/esm2022/date-picker/date-range-portal.component.mjs +25 -13
  180. package/esm2022/date-picker/date-range.component.mjs +50 -51
  181. package/esm2022/date-picker/picker-date.component.mjs +45 -43
  182. package/esm2022/date-picker/picker-month.component.mjs +31 -30
  183. package/esm2022/date-picker/picker-quarter.component.mjs +31 -32
  184. package/esm2022/date-picker/picker-year.component.mjs +26 -25
  185. package/esm2022/description/description-item.component.mjs +6 -9
  186. package/esm2022/description/description.component.mjs +13 -14
  187. package/esm2022/description/description.module.mjs +6 -10
  188. package/esm2022/description/description.property.mjs +6 -6
  189. package/esm2022/dialog/dialog-container.component.mjs +7 -7
  190. package/esm2022/dialog/dialog-portal.component.mjs +22 -11
  191. package/esm2022/dialog/dialog-portal.directives.mjs +48 -48
  192. package/esm2022/dialog/dialog-ref.mjs +1 -1
  193. package/esm2022/dialog/dialog.component.mjs +40 -48
  194. package/esm2022/dialog/dialog.module.mjs +12 -71
  195. package/esm2022/dialog/dialog.property.mjs +6 -6
  196. package/esm2022/dialog/dialog.service.mjs +16 -17
  197. package/esm2022/doc/doc.component.mjs +12 -10
  198. package/esm2022/doc/doc.module.mjs +6 -8
  199. package/esm2022/drag/drag.directive.mjs +11 -11
  200. package/esm2022/drag/drag.module.mjs +6 -8
  201. package/esm2022/drag/drag.property.mjs +3 -3
  202. package/esm2022/drawer/drawer-container.component.mjs +7 -7
  203. package/esm2022/drawer/drawer-portal.component.mjs +12 -12
  204. package/esm2022/drawer/drawer-portal.directives.mjs +22 -21
  205. package/esm2022/drawer/drawer.component.mjs +23 -33
  206. package/esm2022/drawer/drawer.module.mjs +10 -27
  207. package/esm2022/drawer/drawer.property.mjs +6 -6
  208. package/esm2022/drawer/drawer.service.mjs +15 -15
  209. package/esm2022/dropdown/dropdown-portal.component.mjs +8 -7
  210. package/esm2022/dropdown/dropdown.component.mjs +18 -22
  211. package/esm2022/dropdown/dropdown.module.mjs +7 -14
  212. package/esm2022/dropdown/dropdown.property.mjs +3 -3
  213. package/esm2022/empty/empty.component.mjs +20 -18
  214. package/esm2022/empty/empty.module.mjs +6 -12
  215. package/esm2022/empty/empty.property.mjs +3 -3
  216. package/esm2022/examples/examples.component.mjs +12 -10
  217. package/esm2022/examples/examples.module.mjs +6 -8
  218. package/esm2022/find/find.component.mjs +48 -33
  219. package/esm2022/find/find.module.mjs +6 -54
  220. package/esm2022/find/find.property.mjs +3 -3
  221. package/esm2022/form/control.component.mjs +67 -40
  222. package/esm2022/form/form.component.mjs +28 -22
  223. package/esm2022/form/form.module.mjs +6 -71
  224. package/esm2022/form/form.property.mjs +6 -6
  225. package/esm2022/highlight/highlight.component.mjs +26 -24
  226. package/esm2022/highlight/highlight.module.mjs +6 -10
  227. package/esm2022/highlight/highlight.property.mjs +3 -3
  228. package/esm2022/i18n/i18n.directive.mjs +14 -11
  229. package/esm2022/i18n/i18n.module.mjs +6 -6
  230. package/esm2022/i18n/i18n.pipe.mjs +6 -5
  231. package/esm2022/i18n/i18n.service.mjs +9 -13
  232. package/esm2022/icon/icon.component.mjs +21 -22
  233. package/esm2022/icon/icon.module.mjs +6 -11
  234. package/esm2022/icon/icon.property.mjs +4 -4
  235. package/esm2022/icon/icon.service.mjs +36 -35
  236. package/esm2022/image/image-group.component.mjs +12 -6
  237. package/esm2022/image/image-preview.component.mjs +26 -32
  238. package/esm2022/image/image.component.mjs +30 -30
  239. package/esm2022/image/image.module.mjs +6 -15
  240. package/esm2022/image/image.property.mjs +6 -6
  241. package/esm2022/inner/inner.component.mjs +14 -14
  242. package/esm2022/inner/inner.module.mjs +6 -9
  243. package/esm2022/inner/inner.property.mjs +3 -3
  244. package/esm2022/input/input-group.component.mjs +12 -14
  245. package/esm2022/input/input.component.mjs +33 -35
  246. package/esm2022/input/input.module.mjs +6 -13
  247. package/esm2022/input/input.property.mjs +6 -6
  248. package/esm2022/input-number/input-number.component.mjs +23 -27
  249. package/esm2022/input-number/input-number.module.mjs +6 -13
  250. package/esm2022/input-number/input-number.property.mjs +3 -3
  251. package/esm2022/keyword/keyword.directive.mjs +14 -14
  252. package/esm2022/keyword/keyword.module.mjs +6 -9
  253. package/esm2022/keyword/keyword.property.mjs +5 -5
  254. package/esm2022/layout/col.component.mjs +15 -19
  255. package/esm2022/layout/layout.module.mjs +6 -9
  256. package/esm2022/layout/layout.property.mjs +7 -7
  257. package/esm2022/layout/row.component.mjs +13 -13
  258. package/esm2022/link/link.component.mjs +17 -19
  259. package/esm2022/link/link.module.mjs +6 -12
  260. package/esm2022/link/link.property.mjs +3 -3
  261. package/esm2022/list/list-drop-group.directive.mjs +5 -4
  262. package/esm2022/list/list-option.component.mjs +16 -17
  263. package/esm2022/list/list.component.mjs +36 -33
  264. package/esm2022/list/list.module.mjs +6 -54
  265. package/esm2022/list/list.property.mjs +6 -6
  266. package/esm2022/loading/loading.component.mjs +19 -22
  267. package/esm2022/loading/loading.module.mjs +6 -12
  268. package/esm2022/loading/loading.property.mjs +3 -3
  269. package/esm2022/menu/menu-node.component.mjs +17 -18
  270. package/esm2022/menu/menu.component.mjs +21 -27
  271. package/esm2022/menu/menu.module.mjs +6 -13
  272. package/esm2022/menu/menu.property.mjs +6 -6
  273. package/esm2022/message/message.component.mjs +10 -16
  274. package/esm2022/message/message.module.mjs +7 -14
  275. package/esm2022/message/message.service.mjs +13 -13
  276. package/esm2022/message-box/message-box.component.mjs +21 -12
  277. package/esm2022/message-box/message-box.module.mjs +7 -49
  278. package/esm2022/message-box/message-box.service.mjs +13 -12
  279. package/esm2022/notification/notification.component.mjs +10 -16
  280. package/esm2022/notification/notification.module.mjs +7 -14
  281. package/esm2022/notification/notification.service.mjs +15 -11
  282. package/esm2022/outlet/outlet.directive.mjs +10 -10
  283. package/esm2022/outlet/outlet.module.mjs +6 -8
  284. package/esm2022/page-header/page-header.component.mjs +18 -19
  285. package/esm2022/page-header/page-header.module.mjs +6 -10
  286. package/esm2022/page-header/page-header.property.mjs +3 -3
  287. package/esm2022/pagination/pagination.component.mjs +37 -33
  288. package/esm2022/pagination/pagination.module.mjs +6 -15
  289. package/esm2022/pagination/pagination.property.mjs +3 -3
  290. package/esm2022/pattern/pattern.component.mjs +12 -10
  291. package/esm2022/pattern/pattern.module.mjs +6 -8
  292. package/esm2022/popconfirm/popconfirm.component.mjs +23 -26
  293. package/esm2022/popconfirm/popconfirm.module.mjs +6 -13
  294. package/esm2022/popconfirm/popconfirm.property.mjs +3 -3
  295. package/esm2022/popover/popover-portal.component.mjs +16 -16
  296. package/esm2022/popover/popover.directive.mjs +17 -19
  297. package/esm2022/popover/popover.module.mjs +7 -13
  298. package/esm2022/popover/popover.property.mjs +3 -3
  299. package/esm2022/portal/portal.module.mjs +8 -11
  300. package/esm2022/portal/portal.service.mjs +13 -12
  301. package/esm2022/progress/progress.component.mjs +16 -19
  302. package/esm2022/progress/progress.module.mjs +6 -11
  303. package/esm2022/progress/progress.property.mjs +3 -3
  304. package/esm2022/radio/radio.component.mjs +21 -25
  305. package/esm2022/radio/radio.module.mjs +6 -14
  306. package/esm2022/radio/radio.property.mjs +3 -3
  307. package/esm2022/rate/rate.component.mjs +22 -22
  308. package/esm2022/rate/rate.module.mjs +6 -13
  309. package/esm2022/rate/rate.property.mjs +3 -3
  310. package/esm2022/resizable/resizable.directive.mjs +57 -46
  311. package/esm2022/resizable/resizable.module.mjs +7 -9
  312. package/esm2022/resizable/resizable.property.mjs +5 -5
  313. package/esm2022/result/result.component.mjs +15 -19
  314. package/esm2022/result/result.module.mjs +6 -11
  315. package/esm2022/result/result.property.mjs +3 -3
  316. package/esm2022/ripple/ripple.directive.mjs +12 -11
  317. package/esm2022/ripple/ripple.module.mjs +7 -10
  318. package/esm2022/ripple/ripple.property.mjs +3 -3
  319. package/esm2022/select/select-portal.component.mjs +7 -6
  320. package/esm2022/select/select.component.mjs +51 -50
  321. package/esm2022/select/select.module.mjs +7 -48
  322. package/esm2022/select/select.property.mjs +3 -3
  323. package/esm2022/skeleton/skeleton.component.mjs +14 -17
  324. package/esm2022/skeleton/skeleton.module.mjs +6 -10
  325. package/esm2022/skeleton/skeleton.property.mjs +3 -3
  326. package/esm2022/slider/slider.component.mjs +38 -39
  327. package/esm2022/slider/slider.module.mjs +7 -13
  328. package/esm2022/slider/slider.property.mjs +3 -3
  329. package/esm2022/slider-select/slider-select.component.mjs +46 -38
  330. package/esm2022/slider-select/slider-select.module.mjs +6 -38
  331. package/esm2022/slider-select/slider-select.property.mjs +3 -3
  332. package/esm2022/statistic/countdown.component.mjs +15 -16
  333. package/esm2022/statistic/statistic.component.mjs +13 -14
  334. package/esm2022/statistic/statistic.module.mjs +6 -11
  335. package/esm2022/statistic/statistic.property.mjs +6 -6
  336. package/esm2022/steps/steps.component.mjs +17 -22
  337. package/esm2022/steps/steps.module.mjs +6 -11
  338. package/esm2022/steps/steps.property.mjs +3 -3
  339. package/esm2022/switch/switch.component.mjs +18 -18
  340. package/esm2022/switch/switch.module.mjs +6 -13
  341. package/esm2022/switch/switch.property.mjs +3 -3
  342. package/esm2022/table/table-body.component.mjs +23 -13
  343. package/esm2022/table/table-foot.component.mjs +12 -16
  344. package/esm2022/table/table-head.component.mjs +35 -31
  345. package/esm2022/table/table.component.mjs +22 -13
  346. package/esm2022/table/table.module.mjs +6 -71
  347. package/esm2022/table/table.property.mjs +12 -12
  348. package/esm2022/tabs/tab-content.component.mjs +13 -11
  349. package/esm2022/tabs/tab-link.directive.mjs +11 -9
  350. package/esm2022/tabs/tab.component.mjs +11 -11
  351. package/esm2022/tabs/tabs.component.mjs +28 -27
  352. package/esm2022/tabs/tabs.module.mjs +7 -28
  353. package/esm2022/tabs/tabs.property.mjs +6 -6
  354. package/esm2022/tag/tag.component.mjs +16 -20
  355. package/esm2022/tag/tag.module.mjs +6 -11
  356. package/esm2022/tag/tag.property.mjs +3 -3
  357. package/esm2022/text-retract/text-retract.component.mjs +16 -19
  358. package/esm2022/text-retract/text-retract.module.mjs +6 -12
  359. package/esm2022/text-retract/text-retract.property.mjs +3 -3
  360. package/esm2022/textarea/textarea.component.mjs +24 -25
  361. package/esm2022/textarea/textarea.module.mjs +6 -12
  362. package/esm2022/textarea/textarea.property.mjs +3 -3
  363. package/esm2022/theme/theme.component.mjs +42 -31
  364. package/esm2022/theme/theme.module.mjs +6 -42
  365. package/esm2022/theme/theme.property.mjs +3 -3
  366. package/esm2022/time-ago/time-ago.module.mjs +6 -8
  367. package/esm2022/time-ago/time-ago.pipe.mjs +21 -21
  368. package/esm2022/time-picker/time-picker-frame.component.mjs +30 -30
  369. package/esm2022/time-picker/time-picker-portal.component.mjs +18 -20
  370. package/esm2022/time-picker/time-picker.component.mjs +40 -41
  371. package/esm2022/time-picker/time-picker.module.mjs +7 -48
  372. package/esm2022/time-picker/time-picker.property.mjs +3 -3
  373. package/esm2022/time-range/time-range.module.mjs +7 -7
  374. package/esm2022/time-range/time-range.pipe.mjs +5 -5
  375. package/esm2022/timeline/timeline.component.mjs +17 -20
  376. package/esm2022/timeline/timeline.module.mjs +6 -13
  377. package/esm2022/timeline/timeline.property.mjs +3 -3
  378. package/esm2022/tooltip/tooltip-portal.component.mjs +16 -16
  379. package/esm2022/tooltip/tooltip.directive.mjs +16 -19
  380. package/esm2022/tooltip/tooltip.module.mjs +7 -13
  381. package/esm2022/tooltip/tooltip.property.mjs +3 -3
  382. package/esm2022/transfer/transfer.component.mjs +70 -55
  383. package/esm2022/transfer/transfer.module.mjs +6 -59
  384. package/esm2022/transfer/transfer.property.mjs +3 -3
  385. package/esm2022/tree/tree-node.component.mjs +36 -30
  386. package/esm2022/tree/tree.component.mjs +12 -16
  387. package/esm2022/tree/tree.module.mjs +6 -43
  388. package/esm2022/tree/tree.property.mjs +6 -6
  389. package/esm2022/tree/tree.service.mjs +6 -5
  390. package/esm2022/tree-file/tree-file.component.mjs +34 -31
  391. package/esm2022/tree-file/tree-file.module.mjs +6 -15
  392. package/esm2022/tree-file/tree-file.property.mjs +3 -3
  393. package/esm2022/tree-select/tree-select-portal.component.mjs +24 -26
  394. package/esm2022/tree-select/tree-select.component.mjs +52 -51
  395. package/esm2022/tree-select/tree-select.module.mjs +8 -56
  396. package/esm2022/tree-select/tree-select.property.mjs +3 -3
  397. package/esm2022/typography/typography.component.mjs +12 -12
  398. package/esm2022/typography/typography.module.mjs +6 -9
  399. package/esm2022/typography/typography.property.mjs +3 -3
  400. package/esm2022/upload/upload-portal.component.mjs +11 -12
  401. package/esm2022/upload/upload.component.mjs +42 -43
  402. package/esm2022/upload/upload.module.mjs +6 -55
  403. package/esm2022/upload/upload.property.mjs +3 -3
  404. package/examples/examples.component.d.ts +6 -6
  405. package/examples/examples.module.d.ts +1 -2
  406. package/fesm2022/ng-nest-ui-affix.mjs +18 -21
  407. package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
  408. package/fesm2022/ng-nest-ui-alert.mjs +25 -32
  409. package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
  410. package/fesm2022/ng-nest-ui-anchor.mjs +32 -37
  411. package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
  412. package/fesm2022/ng-nest-ui-api.mjs +18 -18
  413. package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
  414. package/fesm2022/ng-nest-ui-auto-complete.mjs +65 -57
  415. package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
  416. package/fesm2022/ng-nest-ui-avatar.mjs +33 -38
  417. package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
  418. package/fesm2022/ng-nest-ui-back-top.mjs +30 -39
  419. package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
  420. package/fesm2022/ng-nest-ui-badge.mjs +25 -32
  421. package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
  422. package/fesm2022/ng-nest-ui-base-form.mjs +19 -14
  423. package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
  424. package/fesm2022/ng-nest-ui-border.mjs +18 -16
  425. package/fesm2022/ng-nest-ui-border.mjs.map +1 -1
  426. package/fesm2022/ng-nest-ui-button.mjs +40 -49
  427. package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
  428. package/fesm2022/ng-nest-ui-calendar.mjs +44 -44
  429. package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
  430. package/fesm2022/ng-nest-ui-card.mjs +21 -28
  431. package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
  432. package/fesm2022/ng-nest-ui-carousel.mjs +62 -68
  433. package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
  434. package/fesm2022/ng-nest-ui-cascade.mjs +58 -58
  435. package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
  436. package/fesm2022/ng-nest-ui-checkbox.mjs +37 -39
  437. package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
  438. package/fesm2022/ng-nest-ui-collapse.mjs +36 -47
  439. package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
  440. package/fesm2022/ng-nest-ui-color-picker.mjs +84 -106
  441. package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
  442. package/fesm2022/ng-nest-ui-color.mjs +22 -28
  443. package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
  444. package/fesm2022/ng-nest-ui-comment.mjs +51 -83
  445. package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
  446. package/fesm2022/ng-nest-ui-container.mjs +80 -114
  447. package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
  448. package/fesm2022/ng-nest-ui-core.mjs +24 -18
  449. package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
  450. package/fesm2022/ng-nest-ui-crumb.mjs +22 -30
  451. package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
  452. package/fesm2022/ng-nest-ui-date-picker.mjs +277 -326
  453. package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
  454. package/fesm2022/ng-nest-ui-description.mjs +28 -35
  455. package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
  456. package/fesm2022/ng-nest-ui-dialog.mjs +193 -242
  457. package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
  458. package/fesm2022/ng-nest-ui-doc.mjs +16 -16
  459. package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
  460. package/fesm2022/ng-nest-ui-drag.mjs +19 -20
  461. package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
  462. package/fesm2022/ng-nest-ui-drawer.mjs +128 -149
  463. package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
  464. package/fesm2022/ng-nest-ui-dropdown.mjs +33 -38
  465. package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
  466. package/fesm2022/ng-nest-ui-empty.mjs +26 -31
  467. package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
  468. package/fesm2022/ng-nest-ui-examples.mjs +16 -16
  469. package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
  470. package/fesm2022/ng-nest-ui-find.mjs +55 -86
  471. package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
  472. package/fesm2022/ng-nest-ui-form.mjs +98 -126
  473. package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
  474. package/fesm2022/ng-nest-ui-highlight.mjs +33 -33
  475. package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
  476. package/fesm2022/ng-nest-ui-i18n.mjs +29 -29
  477. package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
  478. package/fesm2022/ng-nest-ui-icon.mjs +62 -64
  479. package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
  480. package/fesm2022/ng-nest-ui-image.mjs +69 -75
  481. package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
  482. package/fesm2022/ng-nest-ui-inner.mjs +21 -24
  483. package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
  484. package/fesm2022/ng-nest-ui-input-number.mjs +31 -38
  485. package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
  486. package/fesm2022/ng-nest-ui-input.mjs +51 -60
  487. package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
  488. package/fesm2022/ng-nest-ui-keyword.mjs +22 -24
  489. package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
  490. package/fesm2022/ng-nest-ui-layout.mjs +35 -41
  491. package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
  492. package/fesm2022/ng-nest-ui-link.mjs +24 -31
  493. package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
  494. package/fesm2022/ng-nest-ui-list.mjs +63 -100
  495. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  496. package/fesm2022/ng-nest-ui-loading.mjs +26 -34
  497. package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
  498. package/fesm2022/ng-nest-ui-menu.mjs +42 -54
  499. package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
  500. package/fesm2022/ng-nest-ui-message-box.mjs +38 -66
  501. package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
  502. package/fesm2022/ng-nest-ui-message.mjs +26 -37
  503. package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
  504. package/fesm2022/ng-nest-ui-notification.mjs +28 -35
  505. package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
  506. package/fesm2022/ng-nest-ui-outlet.mjs +14 -16
  507. package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
  508. package/fesm2022/ng-nest-ui-page-header.mjs +25 -30
  509. package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
  510. package/fesm2022/ng-nest-ui-pagination.mjs +43 -47
  511. package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
  512. package/fesm2022/ng-nest-ui-pattern.mjs +16 -16
  513. package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
  514. package/fesm2022/ng-nest-ui-popconfirm.mjs +30 -40
  515. package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
  516. package/fesm2022/ng-nest-ui-popover.mjs +39 -44
  517. package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
  518. package/fesm2022/ng-nest-ui-portal.mjs +26 -26
  519. package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
  520. package/fesm2022/ng-nest-ui-progress.mjs +22 -29
  521. package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
  522. package/fesm2022/ng-nest-ui-radio.mjs +28 -38
  523. package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
  524. package/fesm2022/ng-nest-ui-rate.mjs +29 -34
  525. package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
  526. package/fesm2022/ng-nest-ui-resizable.mjs +67 -57
  527. package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
  528. package/fesm2022/ng-nest-ui-result.mjs +22 -30
  529. package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
  530. package/fesm2022/ng-nest-ui-ripple.mjs +20 -21
  531. package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
  532. package/fesm2022/ng-nest-ui-select.mjs +66 -100
  533. package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
  534. package/fesm2022/ng-nest-ui-skeleton.mjs +21 -27
  535. package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
  536. package/fesm2022/ng-nest-ui-slider-select.mjs +53 -73
  537. package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
  538. package/fesm2022/ng-nest-ui-slider.mjs +46 -52
  539. package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
  540. package/fesm2022/ng-nest-ui-statistic.mjs +34 -40
  541. package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
  542. package/fesm2022/ng-nest-ui-steps.mjs +24 -33
  543. package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
  544. package/fesm2022/ng-nest-ui-switch.mjs +25 -30
  545. package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
  546. package/fesm2022/ng-nest-ui-table.mjs +111 -154
  547. package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
  548. package/fesm2022/ng-nest-ui-tabs.mjs +67 -79
  549. package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
  550. package/fesm2022/ng-nest-ui-tag.mjs +23 -31
  551. package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
  552. package/fesm2022/ng-nest-ui-text-retract.mjs +22 -30
  553. package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
  554. package/fesm2022/ng-nest-ui-textarea.mjs +31 -36
  555. package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
  556. package/fesm2022/ng-nest-ui-theme.mjs +49 -71
  557. package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
  558. package/fesm2022/ng-nest-ui-time-ago.mjs +24 -26
  559. package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
  560. package/fesm2022/ng-nest-ui-time-picker.mjs +89 -127
  561. package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
  562. package/fesm2022/ng-nest-ui-time-range.mjs +10 -10
  563. package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
  564. package/fesm2022/ng-nest-ui-timeline.mjs +24 -33
  565. package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
  566. package/fesm2022/ng-nest-ui-tooltip.mjs +38 -44
  567. package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
  568. package/fesm2022/ng-nest-ui-transfer.mjs +76 -111
  569. package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
  570. package/fesm2022/ng-nest-ui-tree-file.mjs +41 -46
  571. package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
  572. package/fesm2022/ng-nest-ui-tree-select.mjs +83 -126
  573. package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
  574. package/fesm2022/ng-nest-ui-tree.mjs +60 -89
  575. package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
  576. package/fesm2022/ng-nest-ui-typography.mjs +19 -21
  577. package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
  578. package/fesm2022/ng-nest-ui-upload.mjs +58 -106
  579. package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
  580. package/find/find.component.d.ts +6 -8
  581. package/find/find.module.d.ts +1 -13
  582. package/form/control.component.d.ts +6 -7
  583. package/form/form.component.d.ts +5 -8
  584. package/form/form.module.d.ts +1 -24
  585. package/highlight/highlight.component.d.ts +12 -10
  586. package/highlight/highlight.module.d.ts +1 -4
  587. package/i18n/i18n.directive.d.ts +6 -7
  588. package/i18n/i18n.module.d.ts +1 -1
  589. package/i18n/i18n.pipe.d.ts +1 -1
  590. package/i18n/i18n.service.d.ts +3 -2
  591. package/icon/icon.component.d.ts +7 -9
  592. package/icon/icon.module.d.ts +1 -3
  593. package/icon/icon.property.d.ts +1 -1
  594. package/icon/icon.service.d.ts +6 -7
  595. package/image/image-group.component.d.ts +3 -1
  596. package/image/image-preview.component.d.ts +5 -10
  597. package/image/image.component.d.ts +9 -14
  598. package/image/image.module.d.ts +3 -11
  599. package/inner/inner.component.d.ts +2 -3
  600. package/inner/inner.module.d.ts +1 -3
  601. package/input/input-group.component.d.ts +3 -6
  602. package/input/input.component.d.ts +8 -10
  603. package/input/input.module.d.ts +2 -8
  604. package/input-number/input-number.component.d.ts +5 -6
  605. package/input-number/input-number.module.d.ts +1 -7
  606. package/keyword/keyword.directive.d.ts +3 -4
  607. package/keyword/keyword.module.d.ts +1 -3
  608. package/keyword/keyword.property.d.ts +1 -1
  609. package/layout/col.component.d.ts +5 -7
  610. package/layout/layout.module.d.ts +1 -3
  611. package/layout/row.component.d.ts +3 -4
  612. package/link/link.component.d.ts +5 -7
  613. package/link/link.module.d.ts +1 -6
  614. package/list/list-drop-group.directive.d.ts +1 -1
  615. package/list/list-option.component.d.ts +6 -7
  616. package/list/list.component.d.ts +9 -12
  617. package/list/list.module.d.ts +1 -13
  618. package/loading/loading.component.d.ts +7 -10
  619. package/loading/loading.module.d.ts +1 -6
  620. package/menu/menu-node.component.d.ts +6 -7
  621. package/menu/menu.component.d.ts +4 -8
  622. package/menu/menu.module.d.ts +1 -7
  623. package/message/message.component.d.ts +3 -7
  624. package/message/message.module.d.ts +1 -5
  625. package/message/message.service.d.ts +4 -5
  626. package/message-box/message-box.component.d.ts +1 -1
  627. package/message-box/message-box.module.d.ts +1 -11
  628. package/message-box/message-box.service.d.ts +2 -5
  629. package/notification/notification.component.d.ts +3 -7
  630. package/notification/notification.module.d.ts +1 -5
  631. package/notification/notification.service.d.ts +1 -3
  632. package/outlet/outlet.directive.d.ts +4 -5
  633. package/outlet/outlet.module.d.ts +1 -2
  634. package/package.json +36 -36
  635. package/page-header/page-header.component.d.ts +5 -7
  636. package/page-header/page-header.module.d.ts +1 -4
  637. package/pagination/pagination.component.d.ts +8 -11
  638. package/pagination/pagination.module.d.ts +1 -9
  639. package/pattern/pattern.component.d.ts +4 -4
  640. package/pattern/pattern.module.d.ts +1 -2
  641. package/popconfirm/popconfirm.component.d.ts +6 -9
  642. package/popconfirm/popconfirm.module.d.ts +1 -7
  643. package/popover/popover-portal.component.d.ts +4 -5
  644. package/popover/popover.directive.d.ts +9 -10
  645. package/popover/popover.module.d.ts +1 -6
  646. package/portal/portal.module.d.ts +1 -3
  647. package/portal/portal.service.d.ts +3 -4
  648. package/progress/progress.component.d.ts +3 -7
  649. package/progress/progress.module.d.ts +1 -5
  650. package/radio/radio.component.d.ts +6 -9
  651. package/radio/radio.module.d.ts +1 -8
  652. package/rate/rate.component.d.ts +6 -8
  653. package/rate/rate.module.d.ts +1 -7
  654. package/resizable/resizable.directive.d.ts +5 -7
  655. package/resizable/resizable.module.d.ts +1 -2
  656. package/resizable/resizable.property.d.ts +1 -1
  657. package/result/result.component.d.ts +3 -7
  658. package/result/result.module.d.ts +1 -5
  659. package/ripple/ripple.directive.d.ts +4 -5
  660. package/ripple/ripple.module.d.ts +1 -3
  661. package/select/select-portal.component.d.ts +1 -1
  662. package/select/select.component.d.ts +14 -15
  663. package/select/select.module.d.ts +1 -12
  664. package/skeleton/skeleton.component.d.ts +3 -6
  665. package/skeleton/skeleton.module.d.ts +1 -4
  666. package/slider/slider.component.d.ts +5 -8
  667. package/slider/slider.module.d.ts +1 -7
  668. package/slider-select/slider-select.component.d.ts +6 -7
  669. package/slider-select/slider-select.module.d.ts +1 -9
  670. package/statistic/countdown.component.d.ts +6 -7
  671. package/statistic/statistic.component.d.ts +2 -3
  672. package/statistic/statistic.module.d.ts +1 -5
  673. package/steps/steps.component.d.ts +4 -8
  674. package/steps/steps.module.d.ts +1 -5
  675. package/style/core/index.css +1 -1
  676. package/style/params/colors.scss +1 -1
  677. package/switch/switch.component.d.ts +6 -7
  678. package/switch/switch.module.d.ts +1 -7
  679. package/table/table-body.component.d.ts +1 -1
  680. package/table/table-foot.component.d.ts +3 -6
  681. package/table/table-head.component.d.ts +5 -8
  682. package/table/table.component.d.ts +1 -1
  683. package/table/table.module.d.ts +4 -17
  684. package/tabs/tab-content.component.d.ts +6 -6
  685. package/tabs/tab-link.directive.d.ts +2 -2
  686. package/tabs/tab.component.d.ts +2 -3
  687. package/tabs/tabs.component.d.ts +8 -9
  688. package/tabs/tabs.module.d.ts +3 -9
  689. package/tag/tag.component.d.ts +4 -8
  690. package/tag/tag.module.d.ts +1 -5
  691. package/text-retract/text-retract.component.d.ts +6 -10
  692. package/text-retract/text-retract.module.d.ts +1 -6
  693. package/textarea/textarea.component.d.ts +5 -7
  694. package/textarea/textarea.module.d.ts +1 -6
  695. package/theme/theme.component.d.ts +8 -9
  696. package/theme/theme.module.d.ts +1 -10
  697. package/time-ago/time-ago.module.d.ts +1 -1
  698. package/time-ago/time-ago.pipe.d.ts +6 -9
  699. package/time-picker/time-picker-frame.component.d.ts +5 -6
  700. package/time-picker/time-picker-portal.component.d.ts +5 -7
  701. package/time-picker/time-picker.component.d.ts +14 -16
  702. package/time-picker/time-picker.module.d.ts +2 -13
  703. package/time-range/time-range.module.d.ts +1 -1
  704. package/time-range/time-range.pipe.d.ts +1 -1
  705. package/timeline/timeline.component.d.ts +5 -8
  706. package/timeline/timeline.module.d.ts +1 -7
  707. package/tooltip/tooltip-portal.component.d.ts +4 -5
  708. package/tooltip/tooltip.directive.d.ts +8 -9
  709. package/tooltip/tooltip.module.d.ts +1 -6
  710. package/transfer/transfer.component.d.ts +6 -9
  711. package/transfer/transfer.module.d.ts +1 -15
  712. package/tree/tree-node.component.d.ts +6 -10
  713. package/tree/tree.component.d.ts +1 -1
  714. package/tree/tree.module.d.ts +1 -11
  715. package/tree-file/tree-file.component.d.ts +5 -10
  716. package/tree-file/tree-file.module.d.ts +1 -9
  717. package/tree-select/tree-select-portal.component.d.ts +5 -7
  718. package/tree-select/tree-select.component.d.ts +14 -15
  719. package/tree-select/tree-select.module.d.ts +1 -14
  720. package/typography/typography.component.d.ts +3 -4
  721. package/typography/typography.module.d.ts +1 -3
  722. package/upload/upload-portal.component.d.ts +5 -7
  723. package/upload/upload.component.d.ts +12 -16
  724. package/upload/upload.module.d.ts +1 -14
@@ -1,17 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Input, Output, PLATFORM_ID, inject, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Optional, Host, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, PLATFORM_ID, inject, ChangeDetectorRef, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Renderer2, ElementRef, NgModule } from '@angular/core';
3
3
  import { __decorate } from 'tslib';
4
- import * as i1 from '@ng-nest/ui/core';
5
- import { XProperty, XInputNumber, XWithConfig, XInputBoolean, XResize, XIsChange, XIsUndefined, XIsEmpty, XDropAnimation } from '@ng-nest/ui/core';
4
+ import { XProperty, XInputNumber, XWithConfig, XInputBoolean, XConfigService, XResize, XIsChange, XIsUndefined, XIsEmpty, XDropAnimation } from '@ng-nest/ui/core';
6
5
  import { Subject, BehaviorSubject, takeUntil as takeUntil$1 } from 'rxjs';
7
6
  import { debounceTime, takeUntil } from 'rxjs/operators';
8
- import * as i2 from '@angular/common';
9
- import { isPlatformBrowser, CommonModule } from '@angular/common';
10
- import * as i3 from '@ng-nest/ui/button';
11
- import { XButtonModule } from '@ng-nest/ui/button';
12
- import * as i4 from '@ng-nest/ui/progress';
13
- import { XProgressModule } from '@ng-nest/ui/progress';
14
- import * as i2$1 from '@angular/platform-browser';
7
+ import { isPlatformBrowser, NgClass } from '@angular/common';
8
+ import { XButtonComponent } from '@ng-nest/ui/button';
9
+ import { XProgressComponent } from '@ng-nest/ui/progress';
15
10
 
16
11
  /**
17
12
  * Carousel
@@ -47,8 +42,8 @@ class XCarouselProperty extends XProperty {
47
42
  */
48
43
  this.activeChange = new EventEmitter();
49
44
  }
50
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
51
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: XCarouselProperty, selector: "x-carousel-property", inputs: { active: "active", height: "height", trigger: "trigger", arrow: "arrow", direction: "direction", autoplay: "autoplay", interval: "interval", outside: "outside", card: "card", text: "text", progress: "progress", progressColor: "progressColor", current: "current" }, outputs: { activeChange: "activeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
45
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
46
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XCarouselProperty, selector: "x-carousel-property", inputs: { active: "active", height: "height", trigger: "trigger", arrow: "arrow", direction: "direction", autoplay: "autoplay", interval: "interval", outside: "outside", card: "card", text: "text", progress: "progress", progressColor: "progressColor", current: "current" }, outputs: { activeChange: "activeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
52
47
  }
53
48
  __decorate([
54
49
  XInputNumber()
@@ -80,7 +75,7 @@ __decorate([
80
75
  __decorate([
81
76
  XInputBoolean()
82
77
  ], XCarouselProperty.prototype, "current", void 0);
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselProperty, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselProperty, decorators: [{
84
79
  type: Component,
85
80
  args: [{ selector: `${XCarouselPrefix}-property`, template: '' }]
86
81
  }], propDecorators: { active: [{
@@ -122,13 +117,13 @@ const XCarouselPanelPrefix = 'x-carousel-panel';
122
117
  * Carousel Panel Property
123
118
  */
124
119
  class XCarouselPanelProperty extends XProperty {
125
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselPanelProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
126
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: XCarouselPanelProperty, selector: "x-carousel-panel-property", inputs: { active: "active" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
120
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselPanelProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
121
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XCarouselPanelProperty, selector: "x-carousel-panel-property", inputs: { active: "active" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
127
122
  }
128
123
  __decorate([
129
124
  XInputBoolean()
130
125
  ], XCarouselPanelProperty.prototype, "active", void 0);
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselPanelProperty, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselPanelProperty, decorators: [{
132
127
  type: Component,
133
128
  args: [{ selector: `${XCarouselPanelPrefix}-property`, template: '' }]
134
129
  }], propDecorators: { active: [{
@@ -136,15 +131,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
136
131
  }] } });
137
132
 
138
133
  class XCarouselComponent extends XCarouselProperty {
139
- get page() {
140
- return Number(this.active) + 1;
141
- }
142
- constructor(renderer, elementRef, cdr, configService) {
143
- super();
144
- this.renderer = renderer;
145
- this.elementRef = elementRef;
146
- this.cdr = cdr;
147
- this.configService = configService;
134
+ constructor() {
135
+ super(...arguments);
148
136
  this.start = -1;
149
137
  this.panelChanges = [];
150
138
  this.platformId = inject(PLATFORM_ID);
@@ -152,9 +140,14 @@ class XCarouselComponent extends XCarouselProperty {
152
140
  this.percent = 0;
153
141
  this.count = 0;
154
142
  this._unSubject = new Subject();
155
- this.isBrowser = isPlatformBrowser(this.platformId);
143
+ this.cdr = inject(ChangeDetectorRef);
144
+ this.configService = inject(XConfigService);
145
+ }
146
+ get page() {
147
+ return Number(this.active) + 1;
156
148
  }
157
149
  ngOnInit() {
150
+ this.isBrowser = isPlatformBrowser(this.platformId);
158
151
  this.setClassMap();
159
152
  }
160
153
  ngAfterViewInit() {
@@ -216,16 +209,13 @@ class XCarouselComponent extends XCarouselProperty {
216
209
  getActivated(index) {
217
210
  return Number(this.active) === index;
218
211
  }
219
- trackByPanel(index, _item) {
220
- return index;
221
- }
222
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
223
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: XCarouselComponent, selector: "x-carousel", viewQueries: [{ propertyName: "carousel", first: true, predicate: ["carousel"], descendants: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n <ng-container *ngIf=\"arrow !== 'never' && direction !== 'vertical'\">\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n </ng-container>\r\n <ng-content></ng-content>\r\n <div class=\"x-carousel-text\" *ngIf=\"text\">{{ text }}</div>\r\n <div class=\"x-carousel-current\" *ngIf=\"current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n <div class=\"x-carousel-progress\" *ngIf=\"progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n <li\r\n *ngFor=\"let panel of panelChanges; let i = index; trackBy: trackByPanel\"\r\n [class.x-activated]=\"getActivated(i)\"\r\n (click)=\"action(i, 0, 'click')\"\r\n (mouseenter)=\"action(i, 0, 'hover')\"\r\n >\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-carousel{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative}.x-carousel-content{position:relative}.x-carousel-content>x-button{opacity:0;visibility:hidden;top:50%;z-index:10;transform:translateY(-50%);position:absolute;transition:var(--x-animation-duration-base) ease-out}.x-carousel-content>x-button .x-button{border:none;outline:none;padding:0;margin:0;height:2.25rem;width:2.25rem;border-radius:50%;background-color:#1f2d3d26;color:var(--x-background-100);text-align:center}.x-carousel-content>x-button .x-button:hover{color:var(--x-background-100);background-color:#1f2d3d40}.x-carousel-content>x-button.arrow-left{left:1rem;transform:translate3D(-15px,-50%,0)}.x-carousel-content>x-button.arrow-right{right:1rem;transform:translate3D(15px,-50%,0)}.x-carousel-content>x-carousel-panel{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;background-color:var(--x-background-a100);z-index:0}.x-carousel-content>x-carousel-panel.x-carousel-animating{transition:.4s ease-in-out}.x-carousel-content>x-carousel-panel.x-carousel-card{width:50%}.x-carousel-content>x-carousel-panel.x-carousel-in-stage{cursor:pointer;z-index:1}.x-carousel-content>x-carousel-panel.x-carousel-in-stage .x-carousel-mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--x-background);opacity:.24;transition:.2s}.x-carousel-content>x-carousel-panel.x-carousel-in-stage:hover .x-carousel-mask{opacity:.12}.x-carousel-content>x-carousel-panel.x-activated{z-index:2}.x-carousel-indicator{bottom:.25rem;left:50%;transform:translate(-50%);position:absolute;z-index:2;display:inline-flex}.x-carousel-indicator>li{cursor:pointer;background-color:transparent;display:inline-flex;padding:.75rem .25rem}.x-carousel-indicator>li>x-button .x-button{padding:0;width:1.875rem;height:.125rem;background-color:#1f2d3d26;transition:.3s}.x-carousel-indicator>li:hover>x-button .x-button{background-color:#1f2d3d40}.x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#ffffffe6}.x-carousel-indicator-outside .x-carousel-indicator{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside .x-carousel-indicator>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside .x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#00000080}.x-carousel:hover .x-carousel-content>x-button,.x-carousel-arrow-always .x-carousel-content>x-button{opacity:1;visibility:inherit}.x-carousel:hover .x-carousel-content>x-button.arrow-left,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-left{transform:translate3D(0,-50%,0)}.x-carousel:hover .x-carousel-content>x-button.arrow-right,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-right{transform:translate3D(0,-50%,0)}.x-carousel-horizontal,.x-carousel-vertical{overflow:hidden}.x-carousel-vertical>.x-carousel-indicator{right:0;top:50%;left:inherit;bottom:inherit;flex-direction:column;transform:translateY(-50%)}.x-carousel-vertical>.x-carousel-indicator>li{padding:.25rem .75rem}.x-carousel-vertical>.x-carousel-indicator>li>x-button .x-button{width:.125rem;height:1rem}.x-carousel-text{position:absolute;bottom:0;z-index:10;font-size:1rem;padding:.5rem .75rem}.x-carousel-progress{position:absolute;bottom:0;z-index:11;width:100%;height:.5rem}.x-carousel-progress x-progress{position:relative;height:.5rem;display:block;top:0}.x-carousel-progress x-progress .x-progress{position:relative;top:-.5625rem}.x-carousel-progress x-progress .x-progress-rail,.x-carousel-progress x-progress .x-progress-bg{border-radius:0}.x-carousel-progress x-progress .x-progress-rail{background-color:transparent}.x-carousel-current{position:absolute;bottom:0;right:0;z-index:11;padding:.5rem .75rem;font-size:var(--x-font-size-big)}.x-carousel-active{color:var(--x-primary);font-weight:600;font-size:1.5rem}.x-carousel-count{color:var(--x-text);font-weight:600}.x-carousel-has-current .x-carousel-text{padding-right:5rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.XButtonComponent, selector: "x-button" }, { kind: "component", type: i4.XProgressComponent, selector: "x-progress" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
212
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
213
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.7", type: XCarouselComponent, isStandalone: true, selector: "x-carousel", viewQueries: [{ propertyName: "carousel", first: true, predicate: ["carousel"], descendants: true }, { propertyName: "content", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n @if (arrow !== 'never' && direction !== 'vertical') {\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n }\r\n <ng-content></ng-content>\r\n @if (text) {\r\n <div class=\"x-carousel-text\">{{ text }}</div>\r\n }\r\n @if (current) {\r\n <div class=\"x-carousel-current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n }\r\n @if (progress) {\r\n <div class=\"x-carousel-progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n }\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n @for (panel of panelChanges; track i; let i = $index) {\r\n <li [class.x-activated]=\"getActivated(i)\" (click)=\"action(i, 0, 'click')\" (mouseenter)=\"action(i, 0, 'hover')\">\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n", styles: [".x-carousel{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative}.x-carousel-content{position:relative}.x-carousel-content>x-button{opacity:0;visibility:hidden;top:50%;z-index:10;transform:translateY(-50%);position:absolute;transition:var(--x-animation-duration-base) ease-out}.x-carousel-content>x-button .x-button{border:none;outline:none;padding:0;margin:0;height:2.25rem;width:2.25rem;border-radius:50%;background-color:#1f2d3d26;color:var(--x-background-100);text-align:center}.x-carousel-content>x-button .x-button:hover{color:var(--x-background-100);background-color:#1f2d3d40}.x-carousel-content>x-button.arrow-left{left:1rem;transform:translate3D(-15px,-50%,0)}.x-carousel-content>x-button.arrow-right{right:1rem;transform:translate3D(15px,-50%,0)}.x-carousel-content>x-carousel-panel{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;background-color:var(--x-background-a100);z-index:0}.x-carousel-content>x-carousel-panel.x-carousel-animating{transition:.4s ease-in-out}.x-carousel-content>x-carousel-panel.x-carousel-card{width:50%}.x-carousel-content>x-carousel-panel.x-carousel-in-stage{cursor:pointer;z-index:1}.x-carousel-content>x-carousel-panel.x-carousel-in-stage .x-carousel-mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--x-background);opacity:.24;transition:.2s}.x-carousel-content>x-carousel-panel.x-carousel-in-stage:hover .x-carousel-mask{opacity:.12}.x-carousel-content>x-carousel-panel.x-activated{z-index:2}.x-carousel-indicator{bottom:.25rem;left:50%;transform:translate(-50%);position:absolute;z-index:2;display:inline-flex}.x-carousel-indicator>li{cursor:pointer;background-color:transparent;display:inline-flex;padding:.75rem .25rem}.x-carousel-indicator>li>x-button .x-button{padding:0;width:1.875rem;height:.125rem;background-color:#1f2d3d26;transition:.3s}.x-carousel-indicator>li:hover>x-button .x-button{background-color:#1f2d3d40}.x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#ffffffe6}.x-carousel-indicator-outside .x-carousel-indicator{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside .x-carousel-indicator>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside .x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#00000080}.x-carousel:hover .x-carousel-content>x-button,.x-carousel-arrow-always .x-carousel-content>x-button{opacity:1;visibility:inherit}.x-carousel:hover .x-carousel-content>x-button.arrow-left,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-left{transform:translate3D(0,-50%,0)}.x-carousel:hover .x-carousel-content>x-button.arrow-right,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-right{transform:translate3D(0,-50%,0)}.x-carousel-horizontal,.x-carousel-vertical{overflow:hidden}.x-carousel-vertical>.x-carousel-indicator{right:0;top:50%;left:inherit;bottom:inherit;flex-direction:column;transform:translateY(-50%)}.x-carousel-vertical>.x-carousel-indicator>li{padding:.25rem .75rem}.x-carousel-vertical>.x-carousel-indicator>li>x-button .x-button{width:.125rem;height:1rem}.x-carousel-text{position:absolute;bottom:0;z-index:10;font-size:1rem;padding:.5rem .75rem}.x-carousel-progress{position:absolute;bottom:0;z-index:11;width:100%;height:.5rem}.x-carousel-progress x-progress{position:relative;height:.5rem;display:block;top:0}.x-carousel-progress x-progress .x-progress{position:relative;top:-.5625rem}.x-carousel-progress x-progress .x-progress-rail,.x-carousel-progress x-progress .x-progress-bg{border-radius:0}.x-carousel-progress x-progress .x-progress-rail{background-color:transparent}.x-carousel-current{position:absolute;bottom:0;right:0;z-index:11;padding:.5rem .75rem;font-size:var(--x-font-size-big)}.x-carousel-active{color:var(--x-primary);font-weight:600;font-size:1.5rem}.x-carousel-count{color:var(--x-text);font-weight:600}.x-carousel-has-current .x-carousel-text{padding-right:5rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XProgressComponent, selector: "x-progress" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
224
214
  }
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselComponent, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselComponent, decorators: [{
226
216
  type: Component,
227
- args: [{ selector: `${XCarouselPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n <ng-container *ngIf=\"arrow !== 'never' && direction !== 'vertical'\">\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n </ng-container>\r\n <ng-content></ng-content>\r\n <div class=\"x-carousel-text\" *ngIf=\"text\">{{ text }}</div>\r\n <div class=\"x-carousel-current\" *ngIf=\"current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n <div class=\"x-carousel-progress\" *ngIf=\"progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n <li\r\n *ngFor=\"let panel of panelChanges; let i = index; trackBy: trackByPanel\"\r\n [class.x-activated]=\"getActivated(i)\"\r\n (click)=\"action(i, 0, 'click')\"\r\n (mouseenter)=\"action(i, 0, 'hover')\"\r\n >\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n </ul>\r\n</div>\r\n", styles: [".x-carousel{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative}.x-carousel-content{position:relative}.x-carousel-content>x-button{opacity:0;visibility:hidden;top:50%;z-index:10;transform:translateY(-50%);position:absolute;transition:var(--x-animation-duration-base) ease-out}.x-carousel-content>x-button .x-button{border:none;outline:none;padding:0;margin:0;height:2.25rem;width:2.25rem;border-radius:50%;background-color:#1f2d3d26;color:var(--x-background-100);text-align:center}.x-carousel-content>x-button .x-button:hover{color:var(--x-background-100);background-color:#1f2d3d40}.x-carousel-content>x-button.arrow-left{left:1rem;transform:translate3D(-15px,-50%,0)}.x-carousel-content>x-button.arrow-right{right:1rem;transform:translate3D(15px,-50%,0)}.x-carousel-content>x-carousel-panel{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;background-color:var(--x-background-a100);z-index:0}.x-carousel-content>x-carousel-panel.x-carousel-animating{transition:.4s ease-in-out}.x-carousel-content>x-carousel-panel.x-carousel-card{width:50%}.x-carousel-content>x-carousel-panel.x-carousel-in-stage{cursor:pointer;z-index:1}.x-carousel-content>x-carousel-panel.x-carousel-in-stage .x-carousel-mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--x-background);opacity:.24;transition:.2s}.x-carousel-content>x-carousel-panel.x-carousel-in-stage:hover .x-carousel-mask{opacity:.12}.x-carousel-content>x-carousel-panel.x-activated{z-index:2}.x-carousel-indicator{bottom:.25rem;left:50%;transform:translate(-50%);position:absolute;z-index:2;display:inline-flex}.x-carousel-indicator>li{cursor:pointer;background-color:transparent;display:inline-flex;padding:.75rem .25rem}.x-carousel-indicator>li>x-button .x-button{padding:0;width:1.875rem;height:.125rem;background-color:#1f2d3d26;transition:.3s}.x-carousel-indicator>li:hover>x-button .x-button{background-color:#1f2d3d40}.x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#ffffffe6}.x-carousel-indicator-outside .x-carousel-indicator{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside .x-carousel-indicator>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside .x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#00000080}.x-carousel:hover .x-carousel-content>x-button,.x-carousel-arrow-always .x-carousel-content>x-button{opacity:1;visibility:inherit}.x-carousel:hover .x-carousel-content>x-button.arrow-left,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-left{transform:translate3D(0,-50%,0)}.x-carousel:hover .x-carousel-content>x-button.arrow-right,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-right{transform:translate3D(0,-50%,0)}.x-carousel-horizontal,.x-carousel-vertical{overflow:hidden}.x-carousel-vertical>.x-carousel-indicator{right:0;top:50%;left:inherit;bottom:inherit;flex-direction:column;transform:translateY(-50%)}.x-carousel-vertical>.x-carousel-indicator>li{padding:.25rem .75rem}.x-carousel-vertical>.x-carousel-indicator>li>x-button .x-button{width:.125rem;height:1rem}.x-carousel-text{position:absolute;bottom:0;z-index:10;font-size:1rem;padding:.5rem .75rem}.x-carousel-progress{position:absolute;bottom:0;z-index:11;width:100%;height:.5rem}.x-carousel-progress x-progress{position:relative;height:.5rem;display:block;top:0}.x-carousel-progress x-progress .x-progress{position:relative;top:-.5625rem}.x-carousel-progress x-progress .x-progress-rail,.x-carousel-progress x-progress .x-progress-bg{border-radius:0}.x-carousel-progress x-progress .x-progress-rail{background-color:transparent}.x-carousel-current{position:absolute;bottom:0;right:0;z-index:11;padding:.5rem .75rem;font-size:var(--x-font-size-big)}.x-carousel-active{color:var(--x-primary);font-weight:600;font-size:1.5rem}.x-carousel-count{color:var(--x-text);font-weight:600}.x-carousel-has-current .x-carousel-text{padding-right:5rem}\n"] }]
228
- }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }], propDecorators: { carousel: [{
217
+ args: [{ selector: `${XCarouselPrefix}`, standalone: true, imports: [NgClass, XButtonComponent, XProgressComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n @if (arrow !== 'never' && direction !== 'vertical') {\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n }\r\n <ng-content></ng-content>\r\n @if (text) {\r\n <div class=\"x-carousel-text\">{{ text }}</div>\r\n }\r\n @if (current) {\r\n <div class=\"x-carousel-current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n }\r\n @if (progress) {\r\n <div class=\"x-carousel-progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n }\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n @for (panel of panelChanges; track i; let i = $index) {\r\n <li [class.x-activated]=\"getActivated(i)\" (click)=\"action(i, 0, 'click')\" (mouseenter)=\"action(i, 0, 'hover')\">\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n", styles: [".x-carousel{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative}.x-carousel-content{position:relative}.x-carousel-content>x-button{opacity:0;visibility:hidden;top:50%;z-index:10;transform:translateY(-50%);position:absolute;transition:var(--x-animation-duration-base) ease-out}.x-carousel-content>x-button .x-button{border:none;outline:none;padding:0;margin:0;height:2.25rem;width:2.25rem;border-radius:50%;background-color:#1f2d3d26;color:var(--x-background-100);text-align:center}.x-carousel-content>x-button .x-button:hover{color:var(--x-background-100);background-color:#1f2d3d40}.x-carousel-content>x-button.arrow-left{left:1rem;transform:translate3D(-15px,-50%,0)}.x-carousel-content>x-button.arrow-right{right:1rem;transform:translate3D(15px,-50%,0)}.x-carousel-content>x-carousel-panel{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;background-color:var(--x-background-a100);z-index:0}.x-carousel-content>x-carousel-panel.x-carousel-animating{transition:.4s ease-in-out}.x-carousel-content>x-carousel-panel.x-carousel-card{width:50%}.x-carousel-content>x-carousel-panel.x-carousel-in-stage{cursor:pointer;z-index:1}.x-carousel-content>x-carousel-panel.x-carousel-in-stage .x-carousel-mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--x-background);opacity:.24;transition:.2s}.x-carousel-content>x-carousel-panel.x-carousel-in-stage:hover .x-carousel-mask{opacity:.12}.x-carousel-content>x-carousel-panel.x-activated{z-index:2}.x-carousel-indicator{bottom:.25rem;left:50%;transform:translate(-50%);position:absolute;z-index:2;display:inline-flex}.x-carousel-indicator>li{cursor:pointer;background-color:transparent;display:inline-flex;padding:.75rem .25rem}.x-carousel-indicator>li>x-button .x-button{padding:0;width:1.875rem;height:.125rem;background-color:#1f2d3d26;transition:.3s}.x-carousel-indicator>li:hover>x-button .x-button{background-color:#1f2d3d40}.x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#ffffffe6}.x-carousel-indicator-outside .x-carousel-indicator{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside .x-carousel-indicator>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside .x-carousel-indicator>li.x-activated>x-button .x-button{background-color:#00000080}.x-carousel:hover .x-carousel-content>x-button,.x-carousel-arrow-always .x-carousel-content>x-button{opacity:1;visibility:inherit}.x-carousel:hover .x-carousel-content>x-button.arrow-left,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-left{transform:translate3D(0,-50%,0)}.x-carousel:hover .x-carousel-content>x-button.arrow-right,.x-carousel-arrow-always .x-carousel-content>x-button.arrow-right{transform:translate3D(0,-50%,0)}.x-carousel-horizontal,.x-carousel-vertical{overflow:hidden}.x-carousel-vertical>.x-carousel-indicator{right:0;top:50%;left:inherit;bottom:inherit;flex-direction:column;transform:translateY(-50%)}.x-carousel-vertical>.x-carousel-indicator>li{padding:.25rem .75rem}.x-carousel-vertical>.x-carousel-indicator>li>x-button .x-button{width:.125rem;height:1rem}.x-carousel-text{position:absolute;bottom:0;z-index:10;font-size:1rem;padding:.5rem .75rem}.x-carousel-progress{position:absolute;bottom:0;z-index:11;width:100%;height:.5rem}.x-carousel-progress x-progress{position:relative;height:.5rem;display:block;top:0}.x-carousel-progress x-progress .x-progress{position:relative;top:-.5625rem}.x-carousel-progress x-progress .x-progress-rail,.x-carousel-progress x-progress .x-progress-bg{border-radius:0}.x-carousel-progress x-progress .x-progress-rail{background-color:transparent}.x-carousel-current{position:absolute;bottom:0;right:0;z-index:11;padding:.5rem .75rem;font-size:var(--x-font-size-big)}.x-carousel-active{color:var(--x-primary);font-weight:600;font-size:1.5rem}.x-carousel-count{color:var(--x-text);font-weight:600}.x-carousel-has-current .x-carousel-text{padding-right:5rem}\n"] }]
218
+ }], propDecorators: { carousel: [{
229
219
  type: ViewChild,
230
220
  args: ['carousel']
231
221
  }], content: [{
@@ -234,46 +224,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
234
224
  }] } });
235
225
 
236
226
  class XCarouselPanelComponent extends XCarouselPanelProperty {
237
- constructor(carousel, renderer, elementRef, sanitizer, cdr, configService) {
238
- super();
239
- this.carousel = carousel;
240
- this.renderer = renderer;
241
- this.elementRef = elementRef;
242
- this.sanitizer = sanitizer;
243
- this.cdr = cdr;
244
- this.configService = configService;
227
+ constructor() {
228
+ super(...arguments);
245
229
  this.cardScale = 0.83;
246
230
  this.scale = 1;
247
231
  this.inStage = false;
248
232
  this.updateSub = new BehaviorSubject(false);
249
233
  this.unSubject = new Subject();
234
+ this.carousel = inject(XCarouselComponent, { optional: true, host: true });
235
+ this.renderer = inject(Renderer2);
236
+ this.elementRef = inject(ElementRef);
237
+ this.cdr = inject(ChangeDetectorRef);
238
+ this.configService = inject(XConfigService);
250
239
  }
251
240
  ngOnInit() {
252
- this.carousel.count++;
253
- this.carousel.start++;
254
- this.index = this.carousel.start;
255
- this.setClass('x-carousel-card', Boolean(this.carousel.card));
256
- this.carousel.panelChanges.push(this.updateSub);
241
+ if (this.carousel) {
242
+ this.carousel.count++;
243
+ this.carousel.start++;
244
+ this.index = this.carousel.start;
245
+ this.setClass('x-carousel-card', Boolean(this.carousel.card));
246
+ this.carousel.panelChanges.push(this.updateSub);
247
+ }
257
248
  this.updateSub.pipe(takeUntil$1(this.unSubject)).subscribe((x) => {
258
249
  if (x)
259
250
  this.update();
260
251
  });
261
252
  }
262
253
  ngOnDestroy() {
263
- this.carousel.start--;
264
- const idx = this.carousel.panelChanges.indexOf(this.updateSub);
265
- this.carousel.panelChanges.splice(idx, 1);
254
+ if (this.carousel) {
255
+ this.carousel.start--;
256
+ const idx = this.carousel.panelChanges.indexOf(this.updateSub);
257
+ this.carousel.panelChanges.splice(idx, 1);
258
+ }
266
259
  this.unSubject.next();
267
260
  this.unSubject.complete();
268
261
  }
269
262
  setActive() {
270
- const isActive = this.carousel.active === this.index;
263
+ const isActive = this.carousel?.active === this.index;
271
264
  if (this.active !== isActive) {
272
265
  this.active = isActive;
273
266
  this.setClass('x-activated', this.active);
274
267
  }
275
268
  }
276
269
  setStyles() {
270
+ if (!this.carousel)
271
+ return;
277
272
  this.width = this.elementRef.nativeElement.offsetWidth;
278
273
  this.height = this.elementRef.nativeElement.offsetHeight;
279
274
  let translate;
@@ -290,7 +285,7 @@ class XCarouselPanelComponent extends XCarouselPanelProperty {
290
285
  this.scale = offset === 0 ? 1 : this.cardScale;
291
286
  }
292
287
  else {
293
- if (this.carousel.direction === 'vertical') {
288
+ if (this.carousel?.direction === 'vertical') {
294
289
  distance = this.height;
295
290
  translateType = 'translateY';
296
291
  }
@@ -313,6 +308,8 @@ class XCarouselPanelComponent extends XCarouselPanelProperty {
313
308
  this.renderer.setStyle(this.elementRef.nativeElement, 'transform', `${translateType}(${translate}px) scale(${this.scale})`);
314
309
  }
315
310
  calcCardTranslate(index, activeIndex) {
311
+ if (!this.carousel)
312
+ return;
316
313
  const parentWidth = this.carousel.carousel.nativeElement.offsetWidth;
317
314
  let offset = index - activeIndex;
318
315
  let activeFirstOrLast = this.carousel.start > 1 && this.carousel.start === Math.abs(offset);
@@ -334,6 +331,8 @@ class XCarouselPanelComponent extends XCarouselPanelProperty {
334
331
  this.cdr.detectChanges();
335
332
  }
336
333
  panelClick() {
334
+ if (!this.carousel)
335
+ return;
337
336
  if (this.carousel.card && this.carousel.active !== this.index) {
338
337
  this.carousel.autoplay && this.carousel.resetInterval();
339
338
  this.carousel.setActiveItem(this.index);
@@ -345,29 +344,24 @@ class XCarouselPanelComponent extends XCarouselPanelProperty {
345
344
  else
346
345
  this.renderer.removeClass(this.elementRef.nativeElement, cls);
347
346
  }
348
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselPanelComponent, deps: [{ token: XCarouselComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2$1.DomSanitizer }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
349
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: XCarouselPanelComponent, selector: "x-carousel-panel", usesInheritance: true, ngImport: i0, template: "<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n <div *ngIf=\"carousel?.card\" [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-carousel-panel{margin:0;padding:0;box-sizing:border-box;width:100%;height:100%;display:inline-block}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [XDropAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
347
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselPanelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
348
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.7", type: XCarouselPanelComponent, isStandalone: true, selector: "x-carousel-panel", usesInheritance: true, ngImport: i0, template: "<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n @if (carousel?.card) {\r\n <div [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n }\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-carousel-panel{margin:0;padding:0;box-sizing:border-box;width:100%;height:100%;display:inline-block}\n"], animations: [XDropAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
350
349
  }
351
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselPanelComponent, decorators: [{
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselPanelComponent, decorators: [{
352
351
  type: Component,
353
- args: [{ selector: `${XCarouselPanelPrefix}`, animations: [XDropAnimation], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n <div *ngIf=\"carousel?.card\" [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-carousel-panel{margin:0;padding:0;box-sizing:border-box;width:100%;height:100%;display:inline-block}\n"] }]
354
- }], ctorParameters: () => [{ type: XCarouselComponent, decorators: [{
355
- type: Optional
356
- }, {
357
- type: Host
358
- }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i2$1.DomSanitizer }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }] });
352
+ args: [{ selector: `${XCarouselPanelPrefix}`, standalone: true, animations: [XDropAnimation], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n @if (carousel?.card) {\r\n <div [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n }\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-carousel-panel{margin:0;padding:0;box-sizing:border-box;width:100%;height:100%;display:inline-block}\n"] }]
353
+ }] });
359
354
 
360
355
  class XCarouselModule {
361
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
362
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: XCarouselModule, declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty], imports: [CommonModule, XButtonModule, XProgressModule], exports: [XCarouselComponent, XCarouselPanelComponent] }); }
363
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselModule, imports: [CommonModule, XButtonModule, XProgressModule] }); }
356
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
357
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: XCarouselModule, imports: [XCarouselComponent, XCarouselPanelComponent], exports: [XCarouselComponent, XCarouselPanelComponent] }); }
358
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselModule, imports: [XCarouselComponent] }); }
364
359
  }
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XCarouselModule, decorators: [{
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XCarouselModule, decorators: [{
366
361
  type: NgModule,
367
362
  args: [{
368
- declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty],
369
- exports: [XCarouselComponent, XCarouselPanelComponent],
370
- imports: [CommonModule, XButtonModule, XProgressModule]
363
+ imports: [XCarouselComponent, XCarouselPanelComponent],
364
+ exports: [XCarouselComponent, XCarouselPanelComponent]
371
365
  }]
372
366
  }] });
373
367
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-carousel.mjs","sources":["../../../../lib/ng-nest/ui/carousel/carousel.property.ts","../../../../lib/ng-nest/ui/carousel/carousel.component.ts","../../../../lib/ng-nest/ui/carousel/carousel.component.html","../../../../lib/ng-nest/ui/carousel/carousel-panel.component.ts","../../../../lib/ng-nest/ui/carousel/carousel-panel.component.html","../../../../lib/ng-nest/ui/carousel/carousel.module.ts","../../../../lib/ng-nest/ui/carousel/ng-nest-ui-carousel.ts"],"sourcesContent":["import {\r\n XProperty,\r\n XInputNumber,\r\n XInputBoolean,\r\n XNumber,\r\n XBoolean,\r\n XWithConfig,\r\n XShadow,\r\n XDisplayDirection,\r\n XTrigger\r\n} from '@ng-nest/ui/core';\r\nimport { Input, Output, EventEmitter, Component } from '@angular/core';\r\n\r\n/**\r\n * Carousel\r\n * @selector x-carousel\r\n * @decorator component\r\n */\r\nexport const XCarouselPrefix = 'x-carousel';\r\nconst X_CONFIG_NAME = 'carousel';\r\n\r\n/**\r\n * Carousel Property\r\n */\r\n@Component({ selector: `${XCarouselPrefix}-property`, template: '' })\r\nexport class XCarouselProperty extends XProperty {\r\n /**\r\n * @zh_CN 当前激活的幻灯片索引\r\n * @en_US Index of the currently active slide\r\n */\r\n @Input() @XInputNumber() active: XNumber = 0;\r\n /**\r\n * @zh_CN 幻灯片高度\r\n * @en_US Slide height\r\n */\r\n @Input() @XWithConfig<string>(X_CONFIG_NAME, '15rem') height?: string;\r\n /**\r\n * @zh_CN 切换器触发方式\r\n * @en_US Switcher trigger method\r\n */\r\n @Input() @XWithConfig<XCarouselTrigger>(X_CONFIG_NAME, 'hover') trigger?: XCarouselTrigger;\r\n /**\r\n * @zh_CN 箭头显示影藏方式\r\n * @en_US Arrow shows how to hide\r\n */\r\n @Input() @XWithConfig<XCarouselArrow>(X_CONFIG_NAME, 'hover') arrow?: XCarouselArrow;\r\n /**\r\n * @zh_CN 幻灯片轮播方向\r\n * @en_US Slide rotation direction\r\n */\r\n @Input() @XWithConfig<XCarouselDirection>(X_CONFIG_NAME, 'horizontal') direction?: XCarouselDirection;\r\n /**\r\n * @zh_CN 自动切换\r\n * @en_US Automatic switching\r\n */\r\n @Input() @XInputBoolean() autoplay: XBoolean = true;\r\n /**\r\n * @zh_CN 自动切换时间间隔\r\n * @en_US Automatic switching time interval\r\n */\r\n @Input() interval: XNumber = 3000;\r\n /**\r\n * @zh_CN 切换器否显示在外面\r\n * @en_US Whether the switcher is displayed outside\r\n */\r\n @Input() @XInputBoolean() outside?: XBoolean;\r\n /**\r\n * @zh_CN 是否以卡片的方式显示幻灯片\r\n * @en_US Whether to display the slideshow as a card\r\n */\r\n @Input() @XInputBoolean() card?: XBoolean;\r\n /**\r\n * @zh_CN 显示文字\r\n * @en_US Display text\r\n */\r\n @Input() text?: string;\r\n /**\r\n * @zh_CN 显示进度条\r\n * @en_US Show progress\r\n */\r\n @Input() @XInputBoolean() progress?: XBoolean;\r\n /**\r\n * @zh_CN 进度条颜色\r\n * @en_US Progress color\r\n */\r\n @Input() progressColor?: string;\r\n /**\r\n * @zh_CN 显示当前页面\r\n * @en_US Show current page\r\n */\r\n @Input() @XInputBoolean() current?: XBoolean;\r\n /**\r\n * @zh_CN 激活的序号改变的事件\r\n * @en_US The activated sequence number changed event\r\n */\r\n @Output() activeChange = new EventEmitter<number>();\r\n}\r\n\r\n/**\r\n * @zh_CN 指示器切换方式\r\n * @en_US Indicator switching method\r\n */\r\nexport type XCarouselTrigger = XTrigger;\r\n\r\n/**\r\n * @zh_CN 切换箭头显示方式\r\n * @en_US Toggle arrow display\r\n */\r\nexport type XCarouselArrow = XShadow;\r\n\r\n/**\r\n * @zh_CN 走马灯展示的方向\r\n * @en_US The direction of the revolving lantern\r\n */\r\nexport type XCarouselDirection = XDisplayDirection;\r\n\r\n/**\r\n * Carousel Panel\r\n * @selector x-carousel-panel\r\n * @decorator component\r\n */\r\nexport const XCarouselPanelPrefix = 'x-carousel-panel';\r\n\r\n/**\r\n * Carousel Panel Property\r\n */\r\n@Component({ selector: `${XCarouselPanelPrefix}-property`, template: '' })\r\nexport class XCarouselPanelProperty extends XProperty {\r\n /**\r\n * @zh_CN 激活当前幻灯片\r\n * @en_US Activate the current slide\r\n */\r\n @Input() @XInputBoolean() active?: XBoolean;\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 ViewChild,\r\n PLATFORM_ID,\r\n inject\r\n} from '@angular/core';\r\nimport { XCarouselPrefix, XCarouselProperty } from './carousel.property';\r\nimport { XIsUndefined, XIsChange, XIsEmpty, XNumber, XResize, XConfigService, XResizeObserver } from '@ng-nest/ui/core';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime } from 'rxjs/operators';\r\nimport { isPlatformBrowser } from '@angular/common';\r\n\r\n@Component({\r\n selector: `${XCarouselPrefix}`,\r\n templateUrl: './carousel.component.html',\r\n styleUrls: ['./carousel.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCarouselComponent extends XCarouselProperty implements OnInit, OnChanges {\r\n @ViewChild('carousel') carousel!: ElementRef<HTMLElement>;\r\n @ViewChild('content') content!: ElementRef<HTMLElement>;\r\n start: number = -1;\r\n before!: number;\r\n timer: any;\r\n precentTimer: any;\r\n panelChanges: BehaviorSubject<any>[] = [];\r\n platformId = inject(PLATFORM_ID);\r\n isBrowser = true;\r\n percent = 0;\r\n count = 0;\r\n private _unSubject = new Subject<void>();\r\n private _resizeObserver!: XResizeObserver;\r\n\r\n get page() {\r\n return Number(this.active) + 1;\r\n }\r\n\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef<HTMLElement>,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n this.isBrowser = isPlatformBrowser(this.platformId);\r\n }\r\n\r\n ngOnInit() {\r\n this.setClassMap();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.autoplay && this.resetInterval();\r\n XResize(this.content.nativeElement)\r\n .pipe(debounceTime(30), takeUntil(this._unSubject))\r\n .subscribe((x) => {\r\n this.panelChanges.forEach((sub) => sub.next(true));\r\n this._resizeObserver = x.resizeObserver;\r\n this.cdr.detectChanges();\r\n });\r\n }\r\n\r\n ngOnChanges(simples: SimpleChanges): void {\r\n const { active } = simples;\r\n XIsChange(active) && this.setActiveItem(Number(this.active));\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.timer && clearInterval(this.timer);\r\n this.panelChanges.forEach((x) => x.complete());\r\n this._unSubject.complete();\r\n this._unSubject.unsubscribe();\r\n this._resizeObserver?.disconnect();\r\n }\r\n\r\n action(index: XNumber, increase: number, event?: string): void {\r\n if (!XIsUndefined(event) && this.trigger !== event) return;\r\n this.autoplay && this.resetInterval();\r\n this.setActiveItem(Number(index) + increase);\r\n }\r\n\r\n resetInterval(): void {\r\n if (!this.isBrowser) return;\r\n this.timer && clearInterval(this.timer);\r\n this.precentTimer && clearInterval(this.precentTimer);\r\n this.percent = 0;\r\n const js = Number(this.interval) / 100;\r\n this.precentTimer = setInterval(() => {\r\n this.percent += 1;\r\n this.cdr.detectChanges();\r\n }, js);\r\n this.timer = setInterval(() => {\r\n this.percent = 0;\r\n this.setActiveItem(Number(this.active) + 1);\r\n }, Number(this.interval));\r\n }\r\n\r\n setActiveItem(index: number): void {\r\n if (this.start === -1) return;\r\n this.before = Number(this.active);\r\n const nextValue = index > this.start ? 0 : index < 0 ? this.start : index;\r\n this.active = nextValue;\r\n this.panelChanges.forEach((sub) => sub.next(true));\r\n this.activeChange.emit(this.active);\r\n this.cdr.detectChanges();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCarouselPrefix}-${this.direction}`] = !XIsEmpty(this.direction);\r\n }\r\n\r\n getActivated(index: number) {\r\n return Number(this.active) === index;\r\n }\r\n\r\n trackByPanel(index: number, _item: any) {\r\n return index;\r\n }\r\n}\r\n","<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n <ng-container *ngIf=\"arrow !== 'never' && direction !== 'vertical'\">\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n </ng-container>\r\n <ng-content></ng-content>\r\n <div class=\"x-carousel-text\" *ngIf=\"text\">{{ text }}</div>\r\n <div class=\"x-carousel-current\" *ngIf=\"current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n <div class=\"x-carousel-progress\" *ngIf=\"progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n <li\r\n *ngFor=\"let panel of panelChanges; let i = index; trackBy: trackByPanel\"\r\n [class.x-activated]=\"getActivated(i)\"\r\n (click)=\"action(i, 0, 'click')\"\r\n (mouseenter)=\"action(i, 0, 'hover')\"\r\n >\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n </ul>\r\n</div>\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 Host,\r\n Optional\r\n} from '@angular/core';\r\nimport { XCarouselPanelPrefix, XCarouselPanelProperty } from './carousel.property';\r\nimport { XDropAnimation, XConfigService } from '@ng-nest/ui/core';\r\nimport { XCarouselComponent } from './carousel.component';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Subject, takeUntil } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XCarouselPanelPrefix}`,\r\n templateUrl: './carousel-panel.component.html',\r\n styleUrls: ['./carousel-panel.component.scss'],\r\n animations: [XDropAnimation],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCarouselPanelComponent extends XCarouselPanelProperty implements OnInit {\r\n index!: number;\r\n width!: number;\r\n height!: number;\r\n animating!: boolean;\r\n preTranslate!: number;\r\n cardScale = 0.83;\r\n scale = 1;\r\n inStage = false;\r\n updateSub = new BehaviorSubject(false);\r\n unSubject = new Subject<void>();\r\n\r\n constructor(\r\n @Optional() @Host() public carousel: XCarouselComponent,\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef<HTMLElement>,\r\n public sanitizer: DomSanitizer,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n this.carousel.count++;\r\n this.carousel.start++;\r\n this.index = this.carousel.start;\r\n this.setClass('x-carousel-card', Boolean(this.carousel.card));\r\n this.carousel.panelChanges.push(this.updateSub);\r\n this.updateSub.pipe(takeUntil(this.unSubject)).subscribe((x) => {\r\n if (x) this.update();\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.carousel.start--;\r\n const idx = this.carousel.panelChanges.indexOf(this.updateSub);\r\n this.carousel.panelChanges.splice(idx, 1);\r\n this.unSubject.next();\r\n this.unSubject.complete();\r\n }\r\n\r\n setActive() {\r\n const isActive: boolean = this.carousel.active === this.index;\r\n if (this.active !== isActive) {\r\n this.active = isActive;\r\n this.setClass('x-activated', this.active);\r\n }\r\n }\r\n\r\n setStyles() {\r\n this.width = this.elementRef.nativeElement.offsetWidth;\r\n this.height = this.elementRef.nativeElement.offsetHeight;\r\n\r\n let translate: number;\r\n let offset: number = Number(this.carousel.active) - this.index;\r\n let distance = this.width;\r\n let translateType = 'translateX';\r\n if (this.carousel.card) {\r\n if (this.carousel.direction === 'vertical') {\r\n console.warn('[x-carousel] vertical direction is not supported in card mode');\r\n }\r\n this.inStage = Math.round(Math.abs(offset)) <= 1;\r\n this.setClass('x-carousel-in-stage', this.inStage);\r\n translate = this.calcCardTranslate(this.index, Number(this.carousel.active));\r\n this.scale = offset === 0 ? 1 : this.cardScale;\r\n } else {\r\n if (this.carousel.direction === 'vertical') {\r\n distance = this.height;\r\n translateType = 'translateY';\r\n }\r\n const map: any = {\r\n '-2': -distance,\r\n '-1': distance,\r\n '0': 0,\r\n '1': 0 - distance,\r\n '2': distance\r\n };\r\n offset = offset < -2 ? -2 : offset > 2 ? 2 : offset;\r\n translate = map[offset];\r\n }\r\n this.animating =\r\n this.carousel.active === this.index ||\r\n this.carousel.before === this.index ||\r\n this.carousel.start === Math.abs(offset) ||\r\n Boolean(this.carousel.card);\r\n this.setClass('x-carousel-animating', this.animating);\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'transform', `${translateType}(${translate}px) scale(${this.scale})`);\r\n }\r\n\r\n calcCardTranslate(index: number, activeIndex: number) {\r\n const parentWidth = this.carousel.carousel.nativeElement.offsetWidth;\r\n let offset: number = index - activeIndex;\r\n let activeFirstOrLast = this.carousel.start > 1 && this.carousel.start === Math.abs(offset);\r\n if (this.inStage || activeFirstOrLast) {\r\n if (activeFirstOrLast) offset = offset < 0 ? 1 : -1;\r\n return (parentWidth * ((2 - this.cardScale) * offset + 1)) / 4;\r\n } else if (index < activeIndex) {\r\n return (-(1 + this.cardScale) * parentWidth) / 4;\r\n } else {\r\n return ((3 + this.cardScale) * parentWidth) / 4;\r\n }\r\n }\r\n\r\n update() {\r\n this.setActive();\r\n this.setStyles();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n panelClick() {\r\n if (this.carousel.card && this.carousel.active !== this.index) {\r\n this.carousel.autoplay && this.carousel.resetInterval();\r\n this.carousel.setActiveItem(this.index);\r\n }\r\n }\r\n\r\n setClass(cls: string, value: boolean) {\r\n if (value) this.renderer.addClass(this.elementRef.nativeElement, cls);\r\n else this.renderer.removeClass(this.elementRef.nativeElement, cls);\r\n }\r\n}\r\n","<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n <div *ngIf=\"carousel?.card\" [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XCarouselComponent } from './carousel.component';\r\nimport { XCarouselPanelComponent } from './carousel-panel.component';\r\nimport { XButtonModule } from '@ng-nest/ui/button';\r\nimport { XCarouselProperty, XCarouselPanelProperty } from './carousel.property';\r\nimport { XProgressModule } from '@ng-nest/ui/progress';\r\n\r\n@NgModule({\r\n declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty],\r\n exports: [XCarouselComponent, XCarouselPanelComponent],\r\n imports: [CommonModule, XButtonModule, XProgressModule]\r\n})\r\nexport class XCarouselModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["takeUntil","i1.XCarouselComponent","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;AAaA;;;;AAIG;AACI,MAAM,eAAe,GAAG,aAAa;AAC5C,MAAM,aAAa,GAAG,UAAU,CAAC;AAEjC;;AAEG;AAEG,MAAO,iBAAkB,SAAQ,SAAS,CAAA;AADhD,IAAA,WAAA,GAAA;;AAEE;;;AAGG;QACsB,IAAM,CAAA,MAAA,GAAY,CAAC,CAAC;AAqB7C;;;AAGG;QACuB,IAAQ,CAAA,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EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AACtD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,eAAe,CAAC;AACxD,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-carousel.mjs","sources":["../../../../lib/ng-nest/ui/carousel/carousel.property.ts","../../../../lib/ng-nest/ui/carousel/carousel.component.ts","../../../../lib/ng-nest/ui/carousel/carousel.component.html","../../../../lib/ng-nest/ui/carousel/carousel-panel.component.ts","../../../../lib/ng-nest/ui/carousel/carousel-panel.component.html","../../../../lib/ng-nest/ui/carousel/carousel.module.ts","../../../../lib/ng-nest/ui/carousel/ng-nest-ui-carousel.ts"],"sourcesContent":["import {\r\n XProperty,\r\n XInputNumber,\r\n XInputBoolean,\r\n XNumber,\r\n XBoolean,\r\n XWithConfig,\r\n XShadow,\r\n XDisplayDirection,\r\n XTrigger\r\n} from '@ng-nest/ui/core';\r\nimport { Input, Output, EventEmitter, Component } from '@angular/core';\r\n\r\n/**\r\n * Carousel\r\n * @selector x-carousel\r\n * @decorator component\r\n */\r\nexport const XCarouselPrefix = 'x-carousel';\r\nconst X_CONFIG_NAME = 'carousel';\r\n\r\n/**\r\n * Carousel Property\r\n */\r\n@Component({ selector: `${XCarouselPrefix}-property`, template: '' })\r\nexport class XCarouselProperty extends XProperty {\r\n /**\r\n * @zh_CN 当前激活的幻灯片索引\r\n * @en_US Index of the currently active slide\r\n */\r\n @Input() @XInputNumber() active: XNumber = 0;\r\n /**\r\n * @zh_CN 幻灯片高度\r\n * @en_US Slide height\r\n */\r\n @Input() @XWithConfig<string>(X_CONFIG_NAME, '15rem') height?: string;\r\n /**\r\n * @zh_CN 切换器触发方式\r\n * @en_US Switcher trigger method\r\n */\r\n @Input() @XWithConfig<XCarouselTrigger>(X_CONFIG_NAME, 'hover') trigger?: XCarouselTrigger;\r\n /**\r\n * @zh_CN 箭头显示影藏方式\r\n * @en_US Arrow shows how to hide\r\n */\r\n @Input() @XWithConfig<XCarouselArrow>(X_CONFIG_NAME, 'hover') arrow?: XCarouselArrow;\r\n /**\r\n * @zh_CN 幻灯片轮播方向\r\n * @en_US Slide rotation direction\r\n */\r\n @Input() @XWithConfig<XCarouselDirection>(X_CONFIG_NAME, 'horizontal') direction?: XCarouselDirection;\r\n /**\r\n * @zh_CN 自动切换\r\n * @en_US Automatic switching\r\n */\r\n @Input() @XInputBoolean() autoplay: XBoolean = true;\r\n /**\r\n * @zh_CN 自动切换时间间隔\r\n * @en_US Automatic switching time interval\r\n */\r\n @Input() interval: XNumber = 3000;\r\n /**\r\n * @zh_CN 切换器否显示在外面\r\n * @en_US Whether the switcher is displayed outside\r\n */\r\n @Input() @XInputBoolean() outside?: XBoolean;\r\n /**\r\n * @zh_CN 是否以卡片的方式显示幻灯片\r\n * @en_US Whether to display the slideshow as a card\r\n */\r\n @Input() @XInputBoolean() card?: XBoolean;\r\n /**\r\n * @zh_CN 显示文字\r\n * @en_US Display text\r\n */\r\n @Input() text?: string;\r\n /**\r\n * @zh_CN 显示进度条\r\n * @en_US Show progress\r\n */\r\n @Input() @XInputBoolean() progress?: XBoolean;\r\n /**\r\n * @zh_CN 进度条颜色\r\n * @en_US Progress color\r\n */\r\n @Input() progressColor?: string;\r\n /**\r\n * @zh_CN 显示当前页面\r\n * @en_US Show current page\r\n */\r\n @Input() @XInputBoolean() current?: XBoolean;\r\n /**\r\n * @zh_CN 激活的序号改变的事件\r\n * @en_US The activated sequence number changed event\r\n */\r\n @Output() activeChange = new EventEmitter<number>();\r\n}\r\n\r\n/**\r\n * @zh_CN 指示器切换方式\r\n * @en_US Indicator switching method\r\n */\r\nexport type XCarouselTrigger = XTrigger;\r\n\r\n/**\r\n * @zh_CN 切换箭头显示方式\r\n * @en_US Toggle arrow display\r\n */\r\nexport type XCarouselArrow = XShadow;\r\n\r\n/**\r\n * @zh_CN 走马灯展示的方向\r\n * @en_US The direction of the revolving lantern\r\n */\r\nexport type XCarouselDirection = XDisplayDirection;\r\n\r\n/**\r\n * Carousel Panel\r\n * @selector x-carousel-panel\r\n * @decorator component\r\n */\r\nexport const XCarouselPanelPrefix = 'x-carousel-panel';\r\n\r\n/**\r\n * Carousel Panel Property\r\n */\r\n@Component({ selector: `${XCarouselPanelPrefix}-property`, template: '' })\r\nexport class XCarouselPanelProperty extends XProperty {\r\n /**\r\n * @zh_CN 激活当前幻灯片\r\n * @en_US Activate the current slide\r\n */\r\n @Input() @XInputBoolean() active?: XBoolean;\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n ViewEncapsulation,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n OnChanges,\r\n ViewChild,\r\n PLATFORM_ID,\r\n inject\r\n} from '@angular/core';\r\nimport { XCarouselPrefix, XCarouselProperty } from './carousel.property';\r\nimport { XIsUndefined, XIsChange, XIsEmpty, XNumber, XResize, XConfigService, XResizeObserver } from '@ng-nest/ui/core';\r\nimport { BehaviorSubject, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime } from 'rxjs/operators';\r\nimport { NgClass, isPlatformBrowser } from '@angular/common';\r\nimport { XButtonComponent } from '@ng-nest/ui/button';\r\nimport { XProgressComponent } from '@ng-nest/ui/progress';\r\n\r\n@Component({\r\n selector: `${XCarouselPrefix}`,\r\n standalone: true,\r\n imports: [NgClass, XButtonComponent, XProgressComponent],\r\n templateUrl: './carousel.component.html',\r\n styleUrls: ['./carousel.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCarouselComponent extends XCarouselProperty implements OnInit, OnChanges {\r\n @ViewChild('carousel') carousel!: ElementRef<HTMLElement>;\r\n @ViewChild('content') content!: ElementRef<HTMLElement>;\r\n start: number = -1;\r\n before!: number;\r\n timer: any;\r\n precentTimer: any;\r\n panelChanges: BehaviorSubject<any>[] = [];\r\n platformId = inject(PLATFORM_ID);\r\n isBrowser = true;\r\n percent = 0;\r\n count = 0;\r\n private _unSubject = new Subject<void>();\r\n private _resizeObserver!: XResizeObserver;\r\n private cdr = inject(ChangeDetectorRef);\r\n configService = inject(XConfigService);\r\n\r\n get page() {\r\n return Number(this.active) + 1;\r\n }\r\n\r\n ngOnInit() {\r\n this.isBrowser = isPlatformBrowser(this.platformId);\r\n this.setClassMap();\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.autoplay && this.resetInterval();\r\n XResize(this.content.nativeElement)\r\n .pipe(debounceTime(30), takeUntil(this._unSubject))\r\n .subscribe((x) => {\r\n this.panelChanges.forEach((sub) => sub.next(true));\r\n this._resizeObserver = x.resizeObserver;\r\n this.cdr.detectChanges();\r\n });\r\n }\r\n\r\n ngOnChanges(simples: SimpleChanges): void {\r\n const { active } = simples;\r\n XIsChange(active) && this.setActiveItem(Number(this.active));\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.timer && clearInterval(this.timer);\r\n this.panelChanges.forEach((x) => x.complete());\r\n this._unSubject.complete();\r\n this._unSubject.unsubscribe();\r\n this._resizeObserver?.disconnect();\r\n }\r\n\r\n action(index: XNumber, increase: number, event?: string): void {\r\n if (!XIsUndefined(event) && this.trigger !== event) return;\r\n this.autoplay && this.resetInterval();\r\n this.setActiveItem(Number(index) + increase);\r\n }\r\n\r\n resetInterval(): void {\r\n if (!this.isBrowser) return;\r\n this.timer && clearInterval(this.timer);\r\n this.precentTimer && clearInterval(this.precentTimer);\r\n this.percent = 0;\r\n const js = Number(this.interval) / 100;\r\n this.precentTimer = setInterval(() => {\r\n this.percent += 1;\r\n this.cdr.detectChanges();\r\n }, js);\r\n this.timer = setInterval(() => {\r\n this.percent = 0;\r\n this.setActiveItem(Number(this.active) + 1);\r\n }, Number(this.interval));\r\n }\r\n\r\n setActiveItem(index: number): void {\r\n if (this.start === -1) return;\r\n this.before = Number(this.active);\r\n const nextValue = index > this.start ? 0 : index < 0 ? this.start : index;\r\n this.active = nextValue;\r\n this.panelChanges.forEach((sub) => sub.next(true));\r\n this.activeChange.emit(this.active);\r\n this.cdr.detectChanges();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCarouselPrefix}-${this.direction}`] = !XIsEmpty(this.direction);\r\n }\r\n\r\n getActivated(index: number) {\r\n return Number(this.active) === index;\r\n }\r\n}\r\n","<div\r\n #carousel\r\n class=\"x-carousel\"\r\n [ngClass]=\"classMap\"\r\n [class.x-carousel-arrow-always]=\"arrow === 'always'\"\r\n [class.x-carousel-has-current]=\"current\"\r\n [class.x-carousel-indicator-outside]=\"outside || card\"\r\n>\r\n <div #content class=\"x-carousel-content\" [style.height]=\"height\">\r\n @if (arrow !== 'never' && direction !== 'vertical') {\r\n <x-button class=\"arrow-left\" icon=\"fto-chevron-left\" (click)=\"action(active, -1)\"></x-button>\r\n <x-button class=\"arrow-right\" icon=\"fto-chevron-right\" (click)=\"action(active, 1)\"></x-button>\r\n }\r\n <ng-content></ng-content>\r\n @if (text) {\r\n <div class=\"x-carousel-text\">{{ text }}</div>\r\n }\r\n @if (current) {\r\n <div class=\"x-carousel-current\">\r\n <span class=\"x-carousel-active\">{{ page }}</span> /\r\n <span class=\"x-carousel-count\">{{ count }}</span>\r\n </div>\r\n }\r\n @if (progress) {\r\n <div class=\"x-carousel-progress\">\r\n <x-progress [percent]=\"percent\" [color]=\"progressColor\" [info]=\"false\" height=\"0.325rem\"></x-progress>\r\n </div>\r\n }\r\n </div>\r\n <ul class=\"x-carousel-indicator\">\r\n @for (panel of panelChanges; track i; let i = $index) {\r\n <li [class.x-activated]=\"getActivated(i)\" (click)=\"action(i, 0, 'click')\" (mouseenter)=\"action(i, 0, 'hover')\">\r\n <x-button type=\"text\"></x-button>\r\n </li>\r\n }\r\n </ul>\r\n</div>\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 inject,\r\n OnDestroy\r\n} from '@angular/core';\r\nimport { XCarouselPanelPrefix, XCarouselPanelProperty } from './carousel.property';\r\nimport { XDropAnimation, XConfigService } from '@ng-nest/ui/core';\r\nimport { XCarouselComponent } from './carousel.component';\r\nimport { BehaviorSubject, Subject, takeUntil } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XCarouselPanelPrefix}`,\r\n standalone: true,\r\n templateUrl: './carousel-panel.component.html',\r\n styleUrls: ['./carousel-panel.component.scss'],\r\n animations: [XDropAnimation],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCarouselPanelComponent extends XCarouselPanelProperty implements OnInit, OnDestroy {\r\n index!: number;\r\n width!: number;\r\n height!: number;\r\n animating!: boolean;\r\n preTranslate!: number;\r\n cardScale = 0.83;\r\n scale = 1;\r\n inStage = false;\r\n updateSub = new BehaviorSubject(false);\r\n unSubject = new Subject<void>();\r\n carousel = inject(XCarouselComponent, { optional: true, host: true });\r\n private renderer = inject(Renderer2);\r\n private elementRef = inject(ElementRef);\r\n private cdr = inject(ChangeDetectorRef);\r\n configService = inject(XConfigService);\r\n\r\n ngOnInit() {\r\n if (this.carousel) {\r\n this.carousel.count++;\r\n this.carousel.start++;\r\n this.index = this.carousel.start;\r\n this.setClass('x-carousel-card', Boolean(this.carousel.card));\r\n this.carousel.panelChanges.push(this.updateSub);\r\n }\r\n this.updateSub.pipe(takeUntil(this.unSubject)).subscribe((x) => {\r\n if (x) this.update();\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.carousel) {\r\n this.carousel.start--;\r\n const idx = this.carousel.panelChanges.indexOf(this.updateSub);\r\n this.carousel.panelChanges.splice(idx, 1);\r\n }\r\n this.unSubject.next();\r\n this.unSubject.complete();\r\n }\r\n\r\n setActive() {\r\n const isActive: boolean = this.carousel?.active === this.index;\r\n if (this.active !== isActive) {\r\n this.active = isActive;\r\n this.setClass('x-activated', this.active);\r\n }\r\n }\r\n\r\n setStyles() {\r\n if (!this.carousel) return;\r\n this.width = this.elementRef.nativeElement.offsetWidth;\r\n this.height = this.elementRef.nativeElement.offsetHeight;\r\n let translate: number;\r\n let offset: number = Number(this.carousel.active) - this.index;\r\n let distance = this.width;\r\n let translateType = 'translateX';\r\n if (this.carousel.card) {\r\n if (this.carousel.direction === 'vertical') {\r\n console.warn('[x-carousel] vertical direction is not supported in card mode');\r\n }\r\n this.inStage = Math.round(Math.abs(offset)) <= 1;\r\n this.setClass('x-carousel-in-stage', this.inStage);\r\n translate = this.calcCardTranslate(this.index, Number(this.carousel.active))!;\r\n this.scale = offset === 0 ? 1 : this.cardScale;\r\n } else {\r\n if (this.carousel?.direction === 'vertical') {\r\n distance = this.height;\r\n translateType = 'translateY';\r\n }\r\n const map: any = {\r\n '-2': -distance,\r\n '-1': distance,\r\n '0': 0,\r\n '1': 0 - distance,\r\n '2': distance\r\n };\r\n offset = offset < -2 ? -2 : offset > 2 ? 2 : offset;\r\n translate = map[offset];\r\n }\r\n this.animating =\r\n this.carousel.active === this.index ||\r\n this.carousel.before === this.index ||\r\n this.carousel.start === Math.abs(offset) ||\r\n Boolean(this.carousel.card);\r\n this.setClass('x-carousel-animating', this.animating);\r\n this.renderer.setStyle(\r\n this.elementRef.nativeElement,\r\n 'transform',\r\n `${translateType}(${translate}px) scale(${this.scale})`\r\n );\r\n }\r\n\r\n calcCardTranslate(index: number, activeIndex: number) {\r\n if (!this.carousel) return;\r\n const parentWidth = this.carousel.carousel.nativeElement.offsetWidth;\r\n let offset: number = index - activeIndex;\r\n let activeFirstOrLast = this.carousel.start > 1 && this.carousel.start === Math.abs(offset);\r\n if (this.inStage || activeFirstOrLast) {\r\n if (activeFirstOrLast) offset = offset < 0 ? 1 : -1;\r\n return (parentWidth * ((2 - this.cardScale) * offset + 1)) / 4;\r\n } else if (index < activeIndex) {\r\n return (-(1 + this.cardScale) * parentWidth) / 4;\r\n } else {\r\n return ((3 + this.cardScale) * parentWidth) / 4;\r\n }\r\n }\r\n\r\n update() {\r\n this.setActive();\r\n this.setStyles();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n panelClick() {\r\n if (!this.carousel) return;\r\n if (this.carousel.card && this.carousel.active !== this.index) {\r\n this.carousel.autoplay && this.carousel.resetInterval();\r\n this.carousel.setActiveItem(this.index);\r\n }\r\n }\r\n\r\n setClass(cls: string, value: boolean) {\r\n if (value) this.renderer.addClass(this.elementRef.nativeElement, cls);\r\n else this.renderer.removeClass(this.elementRef.nativeElement, cls);\r\n }\r\n}\r\n","<div #carouselPanel class=\"x-carousel-panel\" (click)=\"panelClick()\">\r\n @if (carousel?.card) {\r\n <div [hidden]=\"active\" class=\"x-carousel-mask\"></div>\r\n }\r\n <ng-content></ng-content>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XCarouselComponent } from './carousel.component';\r\nimport { XCarouselPanelComponent } from './carousel-panel.component';\r\n\r\n@NgModule({\r\n imports: [XCarouselComponent, XCarouselPanelComponent],\r\n exports: [XCarouselComponent, XCarouselPanelComponent]\r\n})\r\nexport class XCarouselModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["takeUntil"],"mappings":";;;;;;;;;;AAaA;;;;AAIG;AACI,MAAM,eAAe,GAAG,aAAa;AAC5C,MAAM,aAAa,GAAG,UAAU,CAAC;AAEjC;;AAEG;AAEG,MAAO,iBAAkB,SAAQ,SAAS,CAAA;AADhD,IAAA,WAAA,GAAA;;AAEE;;;AAGG;QACsB,IAAM,CAAA,MAAA,GAAY,CAAC,CAAC;AAqB7C;;;AAGG;QACuB,IAAQ,CAAA,QAAA,GAAa,IAAI,CAAC;AACpD;;;AAGG;QACM,IAAQ,CAAA,QAAA,GAAY,IAAI,CAAC;AA+BlC;;;AAGG;AACO,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAU,CAAC;AACrD,KAAA;iIAvEY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,C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