@ng-nest/ui 14.0.13 → 15.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (857) hide show
  1. package/README.md +1 -1
  2. package/affix/affix.component.d.ts +1 -1
  3. package/affix/affix.property.d.ts +1 -1
  4. package/alert/alert.component.d.ts +1 -1
  5. package/alert/alert.property.d.ts +1 -1
  6. package/anchor/anchor.component.d.ts +1 -1
  7. package/anchor/anchor.property.d.ts +1 -1
  8. package/api/api.component.d.ts +1 -1
  9. package/auto-complete/auto-complete-portal.component.d.ts +1 -1
  10. package/auto-complete/auto-complete.component.d.ts +1 -1
  11. package/auto-complete/auto-complete.property.d.ts +1 -1
  12. package/avatar/avatar-group.component.d.ts +1 -1
  13. package/avatar/avatar.component.d.ts +1 -1
  14. package/avatar/avatar.property.d.ts +2 -2
  15. package/back-top/back-top.component.d.ts +1 -1
  16. package/back-top/back-top.property.d.ts +1 -1
  17. package/badge/badge.component.d.ts +1 -1
  18. package/badge/badge.property.d.ts +1 -1
  19. package/base-form/base-form.component.d.ts +1 -1
  20. package/base-form/base-form.property.d.ts +1 -1
  21. package/border/border.component.d.ts +1 -1
  22. package/button/button.component.d.ts +1 -1
  23. package/button/button.property.d.ts +2 -2
  24. package/button/buttons.component.d.ts +1 -1
  25. package/calendar/calendar.component.d.ts +1 -1
  26. package/calendar/calendar.property.d.ts +1 -1
  27. package/card/card.component.d.ts +1 -1
  28. package/card/card.property.d.ts +1 -1
  29. package/carousel/carousel-panel.component.d.ts +1 -1
  30. package/carousel/carousel.component.d.ts +1 -1
  31. package/carousel/carousel.property.d.ts +2 -2
  32. package/cascade/cascade-portal.component.d.ts +1 -1
  33. package/cascade/cascade.component.d.ts +1 -1
  34. package/cascade/cascade.property.d.ts +1 -1
  35. package/checkbox/checkbox.component.d.ts +1 -1
  36. package/checkbox/checkbox.property.d.ts +1 -1
  37. package/collapse/collapse-panel.component.d.ts +1 -1
  38. package/collapse/collapse.component.d.ts +1 -1
  39. package/collapse/collapse.property.d.ts +2 -2
  40. package/color/color.component.d.ts +1 -1
  41. package/color/color.property.d.ts +1 -1
  42. package/color-picker/color-picker-portal.component.d.ts +1 -1
  43. package/color-picker/color-picker.component.d.ts +1 -1
  44. package/color-picker/color-picker.property.d.ts +1 -1
  45. package/comment/comment-reply.component.d.ts +1 -1
  46. package/comment/comment.component.d.ts +1 -1
  47. package/comment/comment.property.d.ts +2 -2
  48. package/container/aside.component.d.ts +1 -1
  49. package/container/container.component.d.ts +1 -1
  50. package/container/container.property.d.ts +4 -4
  51. package/container/footer.component.d.ts +1 -1
  52. package/container/header.component.d.ts +1 -1
  53. package/container/main.component.d.ts +1 -1
  54. package/crumb/crumb.component.d.ts +1 -1
  55. package/crumb/crumb.property.d.ts +1 -1
  56. package/date-picker/date-picker-portal.component.d.ts +1 -1
  57. package/date-picker/date-picker.component.d.ts +1 -1
  58. package/date-picker/date-picker.property.d.ts +5 -5
  59. package/date-picker/date-range-portal.component.d.ts +1 -1
  60. package/date-picker/date-range.component.d.ts +1 -1
  61. package/date-picker/picker-date.component.d.ts +1 -1
  62. package/date-picker/picker-month.component.d.ts +1 -1
  63. package/date-picker/picker-year.component.d.ts +1 -1
  64. package/description/description-item.component.d.ts +1 -1
  65. package/description/description.component.d.ts +1 -1
  66. package/description/description.property.d.ts +2 -2
  67. package/dialog/dialog-container.component.d.ts +1 -1
  68. package/dialog/dialog-portal.component.d.ts +1 -1
  69. package/dialog/dialog-portal.directives.d.ts +6 -6
  70. package/dialog/dialog.component.d.ts +1 -1
  71. package/dialog/dialog.property.d.ts +2 -2
  72. package/doc/doc.component.d.ts +1 -1
  73. package/drawer/drawer-container.component.d.ts +1 -1
  74. package/drawer/drawer-portal.component.d.ts +1 -1
  75. package/drawer/drawer-portal.directives.d.ts +3 -3
  76. package/drawer/drawer.component.d.ts +1 -1
  77. package/drawer/drawer.property.d.ts +2 -2
  78. package/dropdown/dropdown-portal.component.d.ts +1 -1
  79. package/dropdown/dropdown.component.d.ts +1 -1
  80. package/dropdown/dropdown.property.d.ts +1 -1
  81. package/empty/empty.component.d.ts +1 -1
  82. package/empty/empty.property.d.ts +1 -1
  83. package/esm2020/affix/affix.component.mjs +4 -4
  84. package/esm2020/affix/affix.module.mjs +5 -5
  85. package/esm2020/affix/affix.property.mjs +4 -4
  86. package/esm2020/alert/alert.component.mjs +4 -4
  87. package/esm2020/alert/alert.module.mjs +5 -5
  88. package/esm2020/alert/alert.property.mjs +4 -4
  89. package/esm2020/anchor/anchor.component.mjs +4 -4
  90. package/esm2020/anchor/anchor.module.mjs +5 -5
  91. package/esm2020/anchor/anchor.property.mjs +4 -4
  92. package/esm2020/api/api.component.mjs +4 -4
  93. package/esm2020/api/api.module.mjs +5 -5
  94. package/esm2020/auto-complete/auto-complete-portal.component.mjs +4 -4
  95. package/esm2020/auto-complete/auto-complete.component.mjs +4 -4
  96. package/esm2020/auto-complete/auto-complete.module.mjs +5 -5
  97. package/esm2020/auto-complete/auto-complete.property.mjs +4 -4
  98. package/esm2020/avatar/avatar-group.component.mjs +4 -4
  99. package/esm2020/avatar/avatar.component.mjs +4 -4
  100. package/esm2020/avatar/avatar.module.mjs +5 -5
  101. package/esm2020/avatar/avatar.property.mjs +7 -7
  102. package/esm2020/back-top/back-top.component.mjs +4 -4
  103. package/esm2020/back-top/back-top.module.mjs +5 -5
  104. package/esm2020/back-top/back-top.property.mjs +4 -4
  105. package/esm2020/badge/badge.component.mjs +4 -4
  106. package/esm2020/badge/badge.module.mjs +5 -5
  107. package/esm2020/badge/badge.property.mjs +4 -4
  108. package/esm2020/base-form/base-form.component.mjs +4 -4
  109. package/esm2020/base-form/base-form.module.mjs +5 -5
  110. package/esm2020/base-form/base-form.property.mjs +4 -4
  111. package/esm2020/border/border.component.mjs +4 -4
  112. package/esm2020/border/border.module.mjs +5 -5
  113. package/esm2020/button/button.component.mjs +4 -4
  114. package/esm2020/button/button.module.mjs +5 -5
  115. package/esm2020/button/button.property.mjs +7 -7
  116. package/esm2020/button/buttons.component.mjs +4 -4
  117. package/esm2020/calendar/calendar.component.mjs +4 -4
  118. package/esm2020/calendar/calendar.module.mjs +5 -5
  119. package/esm2020/calendar/calendar.property.mjs +4 -4
  120. package/esm2020/card/card.component.mjs +4 -4
  121. package/esm2020/card/card.module.mjs +5 -5
  122. package/esm2020/card/card.property.mjs +4 -4
  123. package/esm2020/carousel/carousel-panel.component.mjs +4 -4
  124. package/esm2020/carousel/carousel.component.mjs +4 -4
  125. package/esm2020/carousel/carousel.module.mjs +5 -5
  126. package/esm2020/carousel/carousel.property.mjs +7 -7
  127. package/esm2020/cascade/cascade-portal.component.mjs +4 -4
  128. package/esm2020/cascade/cascade.component.mjs +4 -4
  129. package/esm2020/cascade/cascade.module.mjs +5 -5
  130. package/esm2020/cascade/cascade.property.mjs +4 -4
  131. package/esm2020/checkbox/checkbox.component.mjs +4 -4
  132. package/esm2020/checkbox/checkbox.module.mjs +5 -5
  133. package/esm2020/checkbox/checkbox.property.mjs +4 -4
  134. package/esm2020/collapse/collapse-panel.component.mjs +4 -4
  135. package/esm2020/collapse/collapse.component.mjs +4 -4
  136. package/esm2020/collapse/collapse.module.mjs +5 -5
  137. package/esm2020/collapse/collapse.property.mjs +7 -7
  138. package/esm2020/color/color.component.mjs +4 -4
  139. package/esm2020/color/color.module.mjs +5 -5
  140. package/esm2020/color/color.property.mjs +4 -4
  141. package/esm2020/color-picker/color-picker-portal.component.mjs +4 -4
  142. package/esm2020/color-picker/color-picker.component.mjs +4 -4
  143. package/esm2020/color-picker/color-picker.module.mjs +5 -5
  144. package/esm2020/color-picker/color-picker.property.mjs +4 -4
  145. package/esm2020/comment/comment-reply.component.mjs +4 -4
  146. package/esm2020/comment/comment.component.mjs +4 -4
  147. package/esm2020/comment/comment.module.mjs +5 -5
  148. package/esm2020/comment/comment.property.mjs +7 -7
  149. package/esm2020/container/aside.component.mjs +4 -4
  150. package/esm2020/container/container.component.mjs +4 -4
  151. package/esm2020/container/container.module.mjs +5 -5
  152. package/esm2020/container/container.property.mjs +13 -13
  153. package/esm2020/container/footer.component.mjs +4 -4
  154. package/esm2020/container/header.component.mjs +4 -4
  155. package/esm2020/container/main.component.mjs +4 -4
  156. package/esm2020/core/config/config.service.mjs +4 -4
  157. package/esm2020/core/services/http.service.mjs +4 -4
  158. package/esm2020/core/services/preloading-strategy.service.mjs +4 -4
  159. package/esm2020/core/services/storage.service.mjs +4 -4
  160. package/esm2020/core/theme/theme.service.mjs +4 -4
  161. package/esm2020/crumb/crumb.component.mjs +4 -4
  162. package/esm2020/crumb/crumb.module.mjs +5 -5
  163. package/esm2020/crumb/crumb.property.mjs +4 -4
  164. package/esm2020/date-picker/date-picker-portal.component.mjs +4 -4
  165. package/esm2020/date-picker/date-picker.component.mjs +4 -4
  166. package/esm2020/date-picker/date-picker.module.mjs +5 -5
  167. package/esm2020/date-picker/date-picker.property.mjs +16 -16
  168. package/esm2020/date-picker/date-range-portal.component.mjs +4 -4
  169. package/esm2020/date-picker/date-range.component.mjs +4 -4
  170. package/esm2020/date-picker/picker-date.component.mjs +4 -4
  171. package/esm2020/date-picker/picker-month.component.mjs +4 -4
  172. package/esm2020/date-picker/picker-year.component.mjs +4 -4
  173. package/esm2020/description/description-item.component.mjs +4 -4
  174. package/esm2020/description/description.component.mjs +4 -4
  175. package/esm2020/description/description.module.mjs +5 -5
  176. package/esm2020/description/description.property.mjs +7 -7
  177. package/esm2020/dialog/dialog-container.component.mjs +4 -4
  178. package/esm2020/dialog/dialog-portal.component.mjs +4 -4
  179. package/esm2020/dialog/dialog-portal.directives.mjs +19 -19
  180. package/esm2020/dialog/dialog.component.mjs +4 -4
  181. package/esm2020/dialog/dialog.module.mjs +5 -5
  182. package/esm2020/dialog/dialog.property.mjs +7 -7
  183. package/esm2020/dialog/dialog.service.mjs +4 -4
  184. package/esm2020/doc/doc.component.mjs +4 -4
  185. package/esm2020/doc/doc.module.mjs +5 -5
  186. package/esm2020/drawer/drawer-container.component.mjs +4 -4
  187. package/esm2020/drawer/drawer-portal.component.mjs +4 -4
  188. package/esm2020/drawer/drawer-portal.directives.mjs +10 -10
  189. package/esm2020/drawer/drawer.component.mjs +4 -4
  190. package/esm2020/drawer/drawer.module.mjs +5 -5
  191. package/esm2020/drawer/drawer.property.mjs +7 -7
  192. package/esm2020/drawer/drawer.service.mjs +4 -4
  193. package/esm2020/dropdown/dropdown-portal.component.mjs +4 -4
  194. package/esm2020/dropdown/dropdown.component.mjs +4 -4
  195. package/esm2020/dropdown/dropdown.module.mjs +5 -5
  196. package/esm2020/dropdown/dropdown.property.mjs +4 -4
  197. package/esm2020/empty/empty.component.mjs +4 -4
  198. package/esm2020/empty/empty.module.mjs +5 -5
  199. package/esm2020/empty/empty.property.mjs +4 -4
  200. package/esm2020/examples/examples.component.mjs +4 -4
  201. package/esm2020/examples/examples.module.mjs +5 -5
  202. package/esm2020/find/find.component.mjs +4 -4
  203. package/esm2020/find/find.module.mjs +5 -5
  204. package/esm2020/find/find.property.mjs +4 -4
  205. package/esm2020/form/control.component.mjs +4 -4
  206. package/esm2020/form/form.component.mjs +4 -4
  207. package/esm2020/form/form.module.mjs +5 -5
  208. package/esm2020/form/form.property.mjs +7 -7
  209. package/esm2020/highlight/highlight.component.mjs +4 -4
  210. package/esm2020/highlight/highlight.module.mjs +5 -5
  211. package/esm2020/highlight/highlight.property.mjs +4 -4
  212. package/esm2020/i18n/i18n.directive.mjs +4 -4
  213. package/esm2020/i18n/i18n.module.mjs +5 -5
  214. package/esm2020/i18n/i18n.pipe.mjs +4 -4
  215. package/esm2020/i18n/i18n.service.mjs +4 -4
  216. package/esm2020/icon/icon.component.mjs +4 -4
  217. package/esm2020/icon/icon.module.mjs +5 -5
  218. package/esm2020/icon/icon.property.mjs +4 -4
  219. package/esm2020/icon/icon.service.mjs +4 -4
  220. package/esm2020/image/image-group.component.mjs +4 -4
  221. package/esm2020/image/image-preview.component.mjs +4 -4
  222. package/esm2020/image/image.component.mjs +4 -4
  223. package/esm2020/image/image.module.mjs +5 -5
  224. package/esm2020/image/image.property.mjs +7 -7
  225. package/esm2020/inner/inner.component.mjs +4 -4
  226. package/esm2020/inner/inner.module.mjs +5 -5
  227. package/esm2020/inner/inner.property.mjs +4 -4
  228. package/esm2020/input/input-group.component.mjs +4 -4
  229. package/esm2020/input/input.component.mjs +4 -4
  230. package/esm2020/input/input.module.mjs +5 -5
  231. package/esm2020/input/input.property.mjs +7 -7
  232. package/esm2020/input-number/input-number.component.mjs +4 -4
  233. package/esm2020/input-number/input-number.module.mjs +5 -5
  234. package/esm2020/input-number/input-number.property.mjs +4 -4
  235. package/esm2020/keyword/keyword.directive.mjs +4 -4
  236. package/esm2020/keyword/keyword.module.mjs +5 -5
  237. package/esm2020/keyword/keyword.property.mjs +4 -4
  238. package/esm2020/layout/col.component.mjs +4 -4
  239. package/esm2020/layout/layout.module.mjs +5 -5
  240. package/esm2020/layout/layout.property.mjs +7 -7
  241. package/esm2020/layout/row.component.mjs +4 -4
  242. package/esm2020/link/link.component.mjs +4 -4
  243. package/esm2020/link/link.module.mjs +5 -5
  244. package/esm2020/link/link.property.mjs +4 -4
  245. package/esm2020/list/list-drop-group.directive.mjs +4 -4
  246. package/esm2020/list/list-option.component.mjs +4 -4
  247. package/esm2020/list/list.component.mjs +4 -4
  248. package/esm2020/list/list.module.mjs +5 -5
  249. package/esm2020/list/list.property.mjs +7 -7
  250. package/esm2020/loading/loading.component.mjs +4 -4
  251. package/esm2020/loading/loading.module.mjs +5 -5
  252. package/esm2020/loading/loading.property.mjs +4 -4
  253. package/esm2020/menu/menu-node.component.mjs +4 -4
  254. package/esm2020/menu/menu.component.mjs +4 -4
  255. package/esm2020/menu/menu.module.mjs +5 -5
  256. package/esm2020/menu/menu.property.mjs +7 -7
  257. package/esm2020/message/message.component.mjs +4 -4
  258. package/esm2020/message/message.module.mjs +5 -5
  259. package/esm2020/message/message.service.mjs +4 -4
  260. package/esm2020/message-box/message-box.component.mjs +4 -4
  261. package/esm2020/message-box/message-box.module.mjs +5 -5
  262. package/esm2020/message-box/message-box.service.mjs +4 -4
  263. package/esm2020/notification/notification.component.mjs +4 -4
  264. package/esm2020/notification/notification.module.mjs +5 -5
  265. package/esm2020/notification/notification.service.mjs +4 -4
  266. package/esm2020/outlet/outlet.directive.mjs +4 -4
  267. package/esm2020/outlet/outlet.module.mjs +5 -5
  268. package/esm2020/page-header/page-header.component.mjs +4 -4
  269. package/esm2020/page-header/page-header.module.mjs +5 -5
  270. package/esm2020/page-header/page-header.property.mjs +4 -4
  271. package/esm2020/pagination/pagination.component.mjs +4 -4
  272. package/esm2020/pagination/pagination.module.mjs +5 -5
  273. package/esm2020/pagination/pagination.property.mjs +4 -4
  274. package/esm2020/pattern/pattern.component.mjs +4 -4
  275. package/esm2020/pattern/pattern.module.mjs +5 -5
  276. package/esm2020/popconfirm/popconfirm.component.mjs +4 -4
  277. package/esm2020/popconfirm/popconfirm.module.mjs +5 -5
  278. package/esm2020/popconfirm/popconfirm.property.mjs +4 -4
  279. package/esm2020/popover/popover-portal.component.mjs +4 -4
  280. package/esm2020/popover/popover.directive.mjs +4 -4
  281. package/esm2020/popover/popover.module.mjs +5 -5
  282. package/esm2020/popover/popover.property.mjs +4 -4
  283. package/esm2020/portal/portal.module.mjs +5 -5
  284. package/esm2020/portal/portal.service.mjs +4 -4
  285. package/esm2020/progress/progress.component.mjs +4 -4
  286. package/esm2020/progress/progress.module.mjs +5 -5
  287. package/esm2020/progress/progress.property.mjs +4 -4
  288. package/esm2020/radio/radio.component.mjs +4 -4
  289. package/esm2020/radio/radio.module.mjs +5 -5
  290. package/esm2020/radio/radio.property.mjs +4 -4
  291. package/esm2020/rate/rate.component.mjs +4 -4
  292. package/esm2020/rate/rate.module.mjs +5 -5
  293. package/esm2020/rate/rate.property.mjs +4 -4
  294. package/esm2020/resizable/resizable.directive.mjs +4 -4
  295. package/esm2020/resizable/resizable.module.mjs +5 -5
  296. package/esm2020/resizable/resizable.property.mjs +4 -4
  297. package/esm2020/result/result.component.mjs +4 -4
  298. package/esm2020/result/result.module.mjs +5 -5
  299. package/esm2020/result/result.property.mjs +4 -4
  300. package/esm2020/ripple/ripple.directive.mjs +4 -4
  301. package/esm2020/ripple/ripple.module.mjs +5 -5
  302. package/esm2020/ripple/ripple.property.mjs +4 -4
  303. package/esm2020/select/select-portal.component.mjs +4 -4
  304. package/esm2020/select/select.component.mjs +4 -4
  305. package/esm2020/select/select.module.mjs +5 -5
  306. package/esm2020/select/select.property.mjs +4 -4
  307. package/esm2020/skeleton/skeleton.component.mjs +4 -4
  308. package/esm2020/skeleton/skeleton.module.mjs +5 -5
  309. package/esm2020/skeleton/skeleton.property.mjs +4 -4
  310. package/esm2020/slider/slider.component.mjs +4 -4
  311. package/esm2020/slider/slider.module.mjs +5 -5
  312. package/esm2020/slider/slider.property.mjs +4 -4
  313. package/esm2020/slider-select/slider-select.component.mjs +4 -4
  314. package/esm2020/slider-select/slider-select.module.mjs +5 -5
  315. package/esm2020/slider-select/slider-select.property.mjs +4 -4
  316. package/esm2020/statistic/countdown.component.mjs +4 -4
  317. package/esm2020/statistic/statistic.component.mjs +4 -4
  318. package/esm2020/statistic/statistic.module.mjs +5 -5
  319. package/esm2020/statistic/statistic.property.mjs +7 -7
  320. package/esm2020/steps/steps.component.mjs +4 -4
  321. package/esm2020/steps/steps.module.mjs +5 -5
  322. package/esm2020/steps/steps.property.mjs +4 -4
  323. package/esm2020/switch/switch.component.mjs +4 -4
  324. package/esm2020/switch/switch.module.mjs +5 -5
  325. package/esm2020/switch/switch.property.mjs +4 -4
  326. package/esm2020/table/drag.directive.mjs +4 -4
  327. package/esm2020/table/table-body.component.mjs +4 -4
  328. package/esm2020/table/table-foot.component.mjs +4 -4
  329. package/esm2020/table/table-head.component.mjs +4 -4
  330. package/esm2020/table/table.component.mjs +4 -4
  331. package/esm2020/table/table.module.mjs +5 -5
  332. package/esm2020/table/table.property.mjs +13 -13
  333. package/esm2020/tabs/tab-content.component.mjs +4 -4
  334. package/esm2020/tabs/tab-link.directive.mjs +7 -7
  335. package/esm2020/tabs/tab.component.mjs +4 -4
  336. package/esm2020/tabs/tabs.component.mjs +4 -4
  337. package/esm2020/tabs/tabs.module.mjs +5 -5
  338. package/esm2020/tabs/tabs.property.mjs +7 -7
  339. package/esm2020/tag/tag.component.mjs +4 -4
  340. package/esm2020/tag/tag.module.mjs +5 -5
  341. package/esm2020/tag/tag.property.mjs +4 -4
  342. package/esm2020/text-retract/text-retract.component.mjs +4 -4
  343. package/esm2020/text-retract/text-retract.module.mjs +5 -5
  344. package/esm2020/text-retract/text-retract.property.mjs +4 -4
  345. package/esm2020/textarea/textarea.component.mjs +4 -4
  346. package/esm2020/textarea/textarea.module.mjs +5 -5
  347. package/esm2020/textarea/textarea.property.mjs +4 -4
  348. package/esm2020/theme/theme.component.mjs +4 -4
  349. package/esm2020/theme/theme.module.mjs +5 -5
  350. package/esm2020/theme/theme.property.mjs +4 -4
  351. package/esm2020/time-ago/time-ago.module.mjs +5 -5
  352. package/esm2020/time-ago/time-ago.pipe.mjs +4 -4
  353. package/esm2020/time-picker/time-picker-frame.component.mjs +7 -7
  354. package/esm2020/time-picker/time-picker-portal.component.mjs +4 -4
  355. package/esm2020/time-picker/time-picker.component.mjs +4 -4
  356. package/esm2020/time-picker/time-picker.module.mjs +5 -5
  357. package/esm2020/time-picker/time-picker.property.mjs +4 -4
  358. package/esm2020/time-range/time-range.module.mjs +5 -5
  359. package/esm2020/time-range/time-range.pipe.mjs +4 -4
  360. package/esm2020/timeline/timeline.component.mjs +4 -4
  361. package/esm2020/timeline/timeline.module.mjs +5 -5
  362. package/esm2020/timeline/timeline.property.mjs +4 -4
  363. package/esm2020/tooltip/tooltip-portal.component.mjs +4 -4
  364. package/esm2020/tooltip/tooltip.directive.mjs +4 -4
  365. package/esm2020/tooltip/tooltip.module.mjs +5 -5
  366. package/esm2020/tooltip/tooltip.property.mjs +4 -4
  367. package/esm2020/transfer/transfer.component.mjs +5 -5
  368. package/esm2020/transfer/transfer.module.mjs +5 -5
  369. package/esm2020/transfer/transfer.property.mjs +4 -4
  370. package/esm2020/tree/tree-node.component.mjs +4 -4
  371. package/esm2020/tree/tree.component.mjs +4 -4
  372. package/esm2020/tree/tree.module.mjs +5 -5
  373. package/esm2020/tree/tree.property.mjs +7 -7
  374. package/esm2020/tree-file/tree-file.component.mjs +4 -4
  375. package/esm2020/tree-file/tree-file.module.mjs +5 -5
  376. package/esm2020/tree-file/tree-file.property.mjs +4 -4
  377. package/esm2020/tree-select/tree-select-portal.component.mjs +4 -4
  378. package/esm2020/tree-select/tree-select.component.mjs +4 -4
  379. package/esm2020/tree-select/tree-select.module.mjs +5 -5
  380. package/esm2020/tree-select/tree-select.property.mjs +4 -4
  381. package/esm2020/typography/typography.component.mjs +4 -4
  382. package/esm2020/typography/typography.module.mjs +5 -5
  383. package/esm2020/typography/typography.property.mjs +4 -4
  384. package/esm2020/upload/upload-portal.component.mjs +4 -4
  385. package/esm2020/upload/upload.component.mjs +4 -4
  386. package/esm2020/upload/upload.module.mjs +5 -5
  387. package/esm2020/upload/upload.property.mjs +4 -4
  388. package/examples/examples.component.d.ts +1 -1
  389. package/fesm2015/ng-nest-ui-affix.mjs +11 -10
  390. package/fesm2015/ng-nest-ui-affix.mjs.map +1 -1
  391. package/fesm2015/ng-nest-ui-alert.mjs +11 -10
  392. package/fesm2015/ng-nest-ui-alert.mjs.map +1 -1
  393. package/fesm2015/ng-nest-ui-anchor.mjs +10 -10
  394. package/fesm2015/ng-nest-ui-anchor.mjs.map +1 -1
  395. package/fesm2015/ng-nest-ui-api.mjs +8 -7
  396. package/fesm2015/ng-nest-ui-api.mjs.map +1 -1
  397. package/fesm2015/ng-nest-ui-auto-complete.mjs +14 -13
  398. package/fesm2015/ng-nest-ui-auto-complete.mjs.map +1 -1
  399. package/fesm2015/ng-nest-ui-avatar.mjs +17 -16
  400. package/fesm2015/ng-nest-ui-avatar.mjs.map +1 -1
  401. package/fesm2015/ng-nest-ui-back-top.mjs +11 -10
  402. package/fesm2015/ng-nest-ui-back-top.mjs.map +1 -1
  403. package/fesm2015/ng-nest-ui-badge.mjs +11 -10
  404. package/fesm2015/ng-nest-ui-badge.mjs.map +1 -1
  405. package/fesm2015/ng-nest-ui-base-form.mjs +11 -10
  406. package/fesm2015/ng-nest-ui-base-form.mjs.map +1 -1
  407. package/fesm2015/ng-nest-ui-border.mjs +8 -7
  408. package/fesm2015/ng-nest-ui-border.mjs.map +1 -1
  409. package/fesm2015/ng-nest-ui-button.mjs +17 -16
  410. package/fesm2015/ng-nest-ui-button.mjs.map +1 -1
  411. package/fesm2015/ng-nest-ui-calendar.mjs +11 -10
  412. package/fesm2015/ng-nest-ui-calendar.mjs.map +1 -1
  413. package/fesm2015/ng-nest-ui-card.mjs +11 -10
  414. package/fesm2015/ng-nest-ui-card.mjs.map +1 -1
  415. package/fesm2015/ng-nest-ui-carousel.mjs +17 -16
  416. package/fesm2015/ng-nest-ui-carousel.mjs.map +1 -1
  417. package/fesm2015/ng-nest-ui-cascade.mjs +14 -13
  418. package/fesm2015/ng-nest-ui-cascade.mjs.map +1 -1
  419. package/fesm2015/ng-nest-ui-checkbox.mjs +10 -10
  420. package/fesm2015/ng-nest-ui-checkbox.mjs.map +1 -1
  421. package/fesm2015/ng-nest-ui-collapse.mjs +17 -16
  422. package/fesm2015/ng-nest-ui-collapse.mjs.map +1 -1
  423. package/fesm2015/ng-nest-ui-color-picker.mjs +14 -13
  424. package/fesm2015/ng-nest-ui-color-picker.mjs.map +1 -1
  425. package/fesm2015/ng-nest-ui-color.mjs +11 -10
  426. package/fesm2015/ng-nest-ui-color.mjs.map +1 -1
  427. package/fesm2015/ng-nest-ui-comment.mjs +17 -16
  428. package/fesm2015/ng-nest-ui-comment.mjs.map +1 -1
  429. package/fesm2015/ng-nest-ui-container.mjs +32 -31
  430. package/fesm2015/ng-nest-ui-container.mjs.map +1 -1
  431. package/fesm2015/ng-nest-ui-core.mjs +16 -15
  432. package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
  433. package/fesm2015/ng-nest-ui-crumb.mjs +11 -10
  434. package/fesm2015/ng-nest-ui-crumb.mjs.map +1 -1
  435. package/fesm2015/ng-nest-ui-date-picker.mjs +41 -40
  436. package/fesm2015/ng-nest-ui-date-picker.mjs.map +1 -1
  437. package/fesm2015/ng-nest-ui-description.mjs +17 -16
  438. package/fesm2015/ng-nest-ui-description.mjs.map +1 -1
  439. package/fesm2015/ng-nest-ui-dialog.mjs +41 -40
  440. package/fesm2015/ng-nest-ui-dialog.mjs.map +1 -1
  441. package/fesm2015/ng-nest-ui-doc.mjs +8 -7
  442. package/fesm2015/ng-nest-ui-doc.mjs.map +1 -1
  443. package/fesm2015/ng-nest-ui-drawer.mjs +32 -31
  444. package/fesm2015/ng-nest-ui-drawer.mjs.map +1 -1
  445. package/fesm2015/ng-nest-ui-dropdown.mjs +14 -13
  446. package/fesm2015/ng-nest-ui-dropdown.mjs.map +1 -1
  447. package/fesm2015/ng-nest-ui-empty.mjs +11 -10
  448. package/fesm2015/ng-nest-ui-empty.mjs.map +1 -1
  449. package/fesm2015/ng-nest-ui-examples.mjs +8 -7
  450. package/fesm2015/ng-nest-ui-examples.mjs.map +1 -1
  451. package/fesm2015/ng-nest-ui-find.mjs +11 -10
  452. package/fesm2015/ng-nest-ui-find.mjs.map +1 -1
  453. package/fesm2015/ng-nest-ui-form.mjs +17 -16
  454. package/fesm2015/ng-nest-ui-form.mjs.map +1 -1
  455. package/fesm2015/ng-nest-ui-highlight.mjs +11 -10
  456. package/fesm2015/ng-nest-ui-highlight.mjs.map +1 -1
  457. package/fesm2015/ng-nest-ui-i18n.mjs +14 -13
  458. package/fesm2015/ng-nest-ui-i18n.mjs.map +1 -1
  459. package/fesm2015/ng-nest-ui-icon.mjs +14 -13
  460. package/fesm2015/ng-nest-ui-icon.mjs.map +1 -1
  461. package/fesm2015/ng-nest-ui-image.mjs +20 -19
  462. package/fesm2015/ng-nest-ui-image.mjs.map +1 -1
  463. package/fesm2015/ng-nest-ui-inner.mjs +11 -10
  464. package/fesm2015/ng-nest-ui-inner.mjs.map +1 -1
  465. package/fesm2015/ng-nest-ui-input-number.mjs +11 -10
  466. package/fesm2015/ng-nest-ui-input-number.mjs.map +1 -1
  467. package/fesm2015/ng-nest-ui-input.mjs +16 -16
  468. package/fesm2015/ng-nest-ui-input.mjs.map +1 -1
  469. package/fesm2015/ng-nest-ui-keyword.mjs +11 -10
  470. package/fesm2015/ng-nest-ui-keyword.mjs.map +1 -1
  471. package/fesm2015/ng-nest-ui-layout.mjs +17 -16
  472. package/fesm2015/ng-nest-ui-layout.mjs.map +1 -1
  473. package/fesm2015/ng-nest-ui-link.mjs +11 -10
  474. package/fesm2015/ng-nest-ui-link.mjs.map +1 -1
  475. package/fesm2015/ng-nest-ui-list.mjs +20 -19
  476. package/fesm2015/ng-nest-ui-list.mjs.map +1 -1
  477. package/fesm2015/ng-nest-ui-loading.mjs +11 -10
  478. package/fesm2015/ng-nest-ui-loading.mjs.map +1 -1
  479. package/fesm2015/ng-nest-ui-menu.mjs +17 -16
  480. package/fesm2015/ng-nest-ui-menu.mjs.map +1 -1
  481. package/fesm2015/ng-nest-ui-message-box.mjs +11 -10
  482. package/fesm2015/ng-nest-ui-message-box.mjs.map +1 -1
  483. package/fesm2015/ng-nest-ui-message.mjs +11 -10
  484. package/fesm2015/ng-nest-ui-message.mjs.map +1 -1
  485. package/fesm2015/ng-nest-ui-notification.mjs +11 -10
  486. package/fesm2015/ng-nest-ui-notification.mjs.map +1 -1
  487. package/fesm2015/ng-nest-ui-outlet.mjs +8 -7
  488. package/fesm2015/ng-nest-ui-outlet.mjs.map +1 -1
  489. package/fesm2015/ng-nest-ui-page-header.mjs +11 -10
  490. package/fesm2015/ng-nest-ui-page-header.mjs.map +1 -1
  491. package/fesm2015/ng-nest-ui-pagination.mjs +11 -10
  492. package/fesm2015/ng-nest-ui-pagination.mjs.map +1 -1
  493. package/fesm2015/ng-nest-ui-pattern.mjs +8 -7
  494. package/fesm2015/ng-nest-ui-pattern.mjs.map +1 -1
  495. package/fesm2015/ng-nest-ui-popconfirm.mjs +11 -10
  496. package/fesm2015/ng-nest-ui-popconfirm.mjs.map +1 -1
  497. package/fesm2015/ng-nest-ui-popover.mjs +14 -13
  498. package/fesm2015/ng-nest-ui-popover.mjs.map +1 -1
  499. package/fesm2015/ng-nest-ui-portal.mjs +8 -7
  500. package/fesm2015/ng-nest-ui-portal.mjs.map +1 -1
  501. package/fesm2015/ng-nest-ui-progress.mjs +11 -10
  502. package/fesm2015/ng-nest-ui-progress.mjs.map +1 -1
  503. package/fesm2015/ng-nest-ui-radio.mjs +10 -10
  504. package/fesm2015/ng-nest-ui-radio.mjs.map +1 -1
  505. package/fesm2015/ng-nest-ui-rate.mjs +11 -10
  506. package/fesm2015/ng-nest-ui-rate.mjs.map +1 -1
  507. package/fesm2015/ng-nest-ui-resizable.mjs +11 -10
  508. package/fesm2015/ng-nest-ui-resizable.mjs.map +1 -1
  509. package/fesm2015/ng-nest-ui-result.mjs +11 -10
  510. package/fesm2015/ng-nest-ui-result.mjs.map +1 -1
  511. package/fesm2015/ng-nest-ui-ripple.mjs +11 -10
  512. package/fesm2015/ng-nest-ui-ripple.mjs.map +1 -1
  513. package/fesm2015/ng-nest-ui-select.mjs +14 -13
  514. package/fesm2015/ng-nest-ui-select.mjs.map +1 -1
  515. package/fesm2015/ng-nest-ui-skeleton.mjs +11 -10
  516. package/fesm2015/ng-nest-ui-skeleton.mjs.map +1 -1
  517. package/fesm2015/ng-nest-ui-slider-select.mjs +11 -10
  518. package/fesm2015/ng-nest-ui-slider-select.mjs.map +1 -1
  519. package/fesm2015/ng-nest-ui-slider.mjs +11 -10
  520. package/fesm2015/ng-nest-ui-slider.mjs.map +1 -1
  521. package/fesm2015/ng-nest-ui-statistic.mjs +17 -16
  522. package/fesm2015/ng-nest-ui-statistic.mjs.map +1 -1
  523. package/fesm2015/ng-nest-ui-steps.mjs +11 -10
  524. package/fesm2015/ng-nest-ui-steps.mjs.map +1 -1
  525. package/fesm2015/ng-nest-ui-switch.mjs +11 -10
  526. package/fesm2015/ng-nest-ui-switch.mjs.map +1 -1
  527. package/fesm2015/ng-nest-ui-table.mjs +32 -31
  528. package/fesm2015/ng-nest-ui-table.mjs.map +1 -1
  529. package/fesm2015/ng-nest-ui-tabs.mjs +26 -25
  530. package/fesm2015/ng-nest-ui-tabs.mjs.map +1 -1
  531. package/fesm2015/ng-nest-ui-tag.mjs +11 -10
  532. package/fesm2015/ng-nest-ui-tag.mjs.map +1 -1
  533. package/fesm2015/ng-nest-ui-text-retract.mjs +11 -10
  534. package/fesm2015/ng-nest-ui-text-retract.mjs.map +1 -1
  535. package/fesm2015/ng-nest-ui-textarea.mjs +11 -10
  536. package/fesm2015/ng-nest-ui-textarea.mjs.map +1 -1
  537. package/fesm2015/ng-nest-ui-theme.mjs +11 -10
  538. package/fesm2015/ng-nest-ui-theme.mjs.map +1 -1
  539. package/fesm2015/ng-nest-ui-time-ago.mjs +8 -7
  540. package/fesm2015/ng-nest-ui-time-ago.mjs.map +1 -1
  541. package/fesm2015/ng-nest-ui-time-picker.mjs +20 -19
  542. package/fesm2015/ng-nest-ui-time-picker.mjs.map +1 -1
  543. package/fesm2015/ng-nest-ui-time-range.mjs +8 -7
  544. package/fesm2015/ng-nest-ui-time-range.mjs.map +1 -1
  545. package/fesm2015/ng-nest-ui-timeline.mjs +11 -10
  546. package/fesm2015/ng-nest-ui-timeline.mjs.map +1 -1
  547. package/fesm2015/ng-nest-ui-tooltip.mjs +14 -13
  548. package/fesm2015/ng-nest-ui-tooltip.mjs.map +1 -1
  549. package/fesm2015/ng-nest-ui-transfer.mjs +12 -11
  550. package/fesm2015/ng-nest-ui-transfer.mjs.map +1 -1
  551. package/fesm2015/ng-nest-ui-tree-file.mjs +11 -10
  552. package/fesm2015/ng-nest-ui-tree-file.mjs.map +1 -1
  553. package/fesm2015/ng-nest-ui-tree-select.mjs +14 -13
  554. package/fesm2015/ng-nest-ui-tree-select.mjs.map +1 -1
  555. package/fesm2015/ng-nest-ui-tree.mjs +17 -16
  556. package/fesm2015/ng-nest-ui-tree.mjs.map +1 -1
  557. package/fesm2015/ng-nest-ui-typography.mjs +11 -10
  558. package/fesm2015/ng-nest-ui-typography.mjs.map +1 -1
  559. package/fesm2015/ng-nest-ui-upload.mjs +14 -13
  560. package/fesm2015/ng-nest-ui-upload.mjs.map +1 -1
  561. package/fesm2015/ng-nest-ui.mjs +1 -0
  562. package/fesm2020/ng-nest-ui-affix.mjs +11 -10
  563. package/fesm2020/ng-nest-ui-affix.mjs.map +1 -1
  564. package/fesm2020/ng-nest-ui-alert.mjs +11 -10
  565. package/fesm2020/ng-nest-ui-alert.mjs.map +1 -1
  566. package/fesm2020/ng-nest-ui-anchor.mjs +10 -10
  567. package/fesm2020/ng-nest-ui-anchor.mjs.map +1 -1
  568. package/fesm2020/ng-nest-ui-api.mjs +8 -7
  569. package/fesm2020/ng-nest-ui-api.mjs.map +1 -1
  570. package/fesm2020/ng-nest-ui-auto-complete.mjs +14 -13
  571. package/fesm2020/ng-nest-ui-auto-complete.mjs.map +1 -1
  572. package/fesm2020/ng-nest-ui-avatar.mjs +17 -16
  573. package/fesm2020/ng-nest-ui-avatar.mjs.map +1 -1
  574. package/fesm2020/ng-nest-ui-back-top.mjs +11 -10
  575. package/fesm2020/ng-nest-ui-back-top.mjs.map +1 -1
  576. package/fesm2020/ng-nest-ui-badge.mjs +11 -10
  577. package/fesm2020/ng-nest-ui-badge.mjs.map +1 -1
  578. package/fesm2020/ng-nest-ui-base-form.mjs +11 -10
  579. package/fesm2020/ng-nest-ui-base-form.mjs.map +1 -1
  580. package/fesm2020/ng-nest-ui-border.mjs +8 -7
  581. package/fesm2020/ng-nest-ui-border.mjs.map +1 -1
  582. package/fesm2020/ng-nest-ui-button.mjs +17 -16
  583. package/fesm2020/ng-nest-ui-button.mjs.map +1 -1
  584. package/fesm2020/ng-nest-ui-calendar.mjs +11 -10
  585. package/fesm2020/ng-nest-ui-calendar.mjs.map +1 -1
  586. package/fesm2020/ng-nest-ui-card.mjs +11 -10
  587. package/fesm2020/ng-nest-ui-card.mjs.map +1 -1
  588. package/fesm2020/ng-nest-ui-carousel.mjs +17 -16
  589. package/fesm2020/ng-nest-ui-carousel.mjs.map +1 -1
  590. package/fesm2020/ng-nest-ui-cascade.mjs +14 -13
  591. package/fesm2020/ng-nest-ui-cascade.mjs.map +1 -1
  592. package/fesm2020/ng-nest-ui-checkbox.mjs +10 -10
  593. package/fesm2020/ng-nest-ui-checkbox.mjs.map +1 -1
  594. package/fesm2020/ng-nest-ui-collapse.mjs +17 -16
  595. package/fesm2020/ng-nest-ui-collapse.mjs.map +1 -1
  596. package/fesm2020/ng-nest-ui-color-picker.mjs +14 -13
  597. package/fesm2020/ng-nest-ui-color-picker.mjs.map +1 -1
  598. package/fesm2020/ng-nest-ui-color.mjs +11 -10
  599. package/fesm2020/ng-nest-ui-color.mjs.map +1 -1
  600. package/fesm2020/ng-nest-ui-comment.mjs +17 -16
  601. package/fesm2020/ng-nest-ui-comment.mjs.map +1 -1
  602. package/fesm2020/ng-nest-ui-container.mjs +32 -31
  603. package/fesm2020/ng-nest-ui-container.mjs.map +1 -1
  604. package/fesm2020/ng-nest-ui-core.mjs +16 -15
  605. package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
  606. package/fesm2020/ng-nest-ui-crumb.mjs +11 -10
  607. package/fesm2020/ng-nest-ui-crumb.mjs.map +1 -1
  608. package/fesm2020/ng-nest-ui-date-picker.mjs +41 -40
  609. package/fesm2020/ng-nest-ui-date-picker.mjs.map +1 -1
  610. package/fesm2020/ng-nest-ui-description.mjs +17 -16
  611. package/fesm2020/ng-nest-ui-description.mjs.map +1 -1
  612. package/fesm2020/ng-nest-ui-dialog.mjs +41 -40
  613. package/fesm2020/ng-nest-ui-dialog.mjs.map +1 -1
  614. package/fesm2020/ng-nest-ui-doc.mjs +8 -7
  615. package/fesm2020/ng-nest-ui-doc.mjs.map +1 -1
  616. package/fesm2020/ng-nest-ui-drawer.mjs +32 -31
  617. package/fesm2020/ng-nest-ui-drawer.mjs.map +1 -1
  618. package/fesm2020/ng-nest-ui-dropdown.mjs +14 -13
  619. package/fesm2020/ng-nest-ui-dropdown.mjs.map +1 -1
  620. package/fesm2020/ng-nest-ui-empty.mjs +11 -10
  621. package/fesm2020/ng-nest-ui-empty.mjs.map +1 -1
  622. package/fesm2020/ng-nest-ui-examples.mjs +8 -7
  623. package/fesm2020/ng-nest-ui-examples.mjs.map +1 -1
  624. package/fesm2020/ng-nest-ui-find.mjs +11 -10
  625. package/fesm2020/ng-nest-ui-find.mjs.map +1 -1
  626. package/fesm2020/ng-nest-ui-form.mjs +17 -16
  627. package/fesm2020/ng-nest-ui-form.mjs.map +1 -1
  628. package/fesm2020/ng-nest-ui-highlight.mjs +11 -10
  629. package/fesm2020/ng-nest-ui-highlight.mjs.map +1 -1
  630. package/fesm2020/ng-nest-ui-i18n.mjs +14 -13
  631. package/fesm2020/ng-nest-ui-i18n.mjs.map +1 -1
  632. package/fesm2020/ng-nest-ui-icon.mjs +14 -13
  633. package/fesm2020/ng-nest-ui-icon.mjs.map +1 -1
  634. package/fesm2020/ng-nest-ui-image.mjs +20 -19
  635. package/fesm2020/ng-nest-ui-image.mjs.map +1 -1
  636. package/fesm2020/ng-nest-ui-inner.mjs +11 -10
  637. package/fesm2020/ng-nest-ui-inner.mjs.map +1 -1
  638. package/fesm2020/ng-nest-ui-input-number.mjs +11 -10
  639. package/fesm2020/ng-nest-ui-input-number.mjs.map +1 -1
  640. package/fesm2020/ng-nest-ui-input.mjs +16 -16
  641. package/fesm2020/ng-nest-ui-input.mjs.map +1 -1
  642. package/fesm2020/ng-nest-ui-keyword.mjs +11 -10
  643. package/fesm2020/ng-nest-ui-keyword.mjs.map +1 -1
  644. package/fesm2020/ng-nest-ui-layout.mjs +17 -16
  645. package/fesm2020/ng-nest-ui-layout.mjs.map +1 -1
  646. package/fesm2020/ng-nest-ui-link.mjs +11 -10
  647. package/fesm2020/ng-nest-ui-link.mjs.map +1 -1
  648. package/fesm2020/ng-nest-ui-list.mjs +20 -19
  649. package/fesm2020/ng-nest-ui-list.mjs.map +1 -1
  650. package/fesm2020/ng-nest-ui-loading.mjs +11 -10
  651. package/fesm2020/ng-nest-ui-loading.mjs.map +1 -1
  652. package/fesm2020/ng-nest-ui-menu.mjs +17 -16
  653. package/fesm2020/ng-nest-ui-menu.mjs.map +1 -1
  654. package/fesm2020/ng-nest-ui-message-box.mjs +11 -10
  655. package/fesm2020/ng-nest-ui-message-box.mjs.map +1 -1
  656. package/fesm2020/ng-nest-ui-message.mjs +11 -10
  657. package/fesm2020/ng-nest-ui-message.mjs.map +1 -1
  658. package/fesm2020/ng-nest-ui-notification.mjs +11 -10
  659. package/fesm2020/ng-nest-ui-notification.mjs.map +1 -1
  660. package/fesm2020/ng-nest-ui-outlet.mjs +8 -7
  661. package/fesm2020/ng-nest-ui-outlet.mjs.map +1 -1
  662. package/fesm2020/ng-nest-ui-page-header.mjs +11 -10
  663. package/fesm2020/ng-nest-ui-page-header.mjs.map +1 -1
  664. package/fesm2020/ng-nest-ui-pagination.mjs +11 -10
  665. package/fesm2020/ng-nest-ui-pagination.mjs.map +1 -1
  666. package/fesm2020/ng-nest-ui-pattern.mjs +8 -7
  667. package/fesm2020/ng-nest-ui-pattern.mjs.map +1 -1
  668. package/fesm2020/ng-nest-ui-popconfirm.mjs +11 -10
  669. package/fesm2020/ng-nest-ui-popconfirm.mjs.map +1 -1
  670. package/fesm2020/ng-nest-ui-popover.mjs +14 -13
  671. package/fesm2020/ng-nest-ui-popover.mjs.map +1 -1
  672. package/fesm2020/ng-nest-ui-portal.mjs +8 -7
  673. package/fesm2020/ng-nest-ui-portal.mjs.map +1 -1
  674. package/fesm2020/ng-nest-ui-progress.mjs +11 -10
  675. package/fesm2020/ng-nest-ui-progress.mjs.map +1 -1
  676. package/fesm2020/ng-nest-ui-radio.mjs +10 -10
  677. package/fesm2020/ng-nest-ui-radio.mjs.map +1 -1
  678. package/fesm2020/ng-nest-ui-rate.mjs +11 -10
  679. package/fesm2020/ng-nest-ui-rate.mjs.map +1 -1
  680. package/fesm2020/ng-nest-ui-resizable.mjs +11 -10
  681. package/fesm2020/ng-nest-ui-resizable.mjs.map +1 -1
  682. package/fesm2020/ng-nest-ui-result.mjs +11 -10
  683. package/fesm2020/ng-nest-ui-result.mjs.map +1 -1
  684. package/fesm2020/ng-nest-ui-ripple.mjs +11 -10
  685. package/fesm2020/ng-nest-ui-ripple.mjs.map +1 -1
  686. package/fesm2020/ng-nest-ui-select.mjs +14 -13
  687. package/fesm2020/ng-nest-ui-select.mjs.map +1 -1
  688. package/fesm2020/ng-nest-ui-skeleton.mjs +11 -10
  689. package/fesm2020/ng-nest-ui-skeleton.mjs.map +1 -1
  690. package/fesm2020/ng-nest-ui-slider-select.mjs +11 -10
  691. package/fesm2020/ng-nest-ui-slider-select.mjs.map +1 -1
  692. package/fesm2020/ng-nest-ui-slider.mjs +11 -10
  693. package/fesm2020/ng-nest-ui-slider.mjs.map +1 -1
  694. package/fesm2020/ng-nest-ui-statistic.mjs +17 -16
  695. package/fesm2020/ng-nest-ui-statistic.mjs.map +1 -1
  696. package/fesm2020/ng-nest-ui-steps.mjs +11 -10
  697. package/fesm2020/ng-nest-ui-steps.mjs.map +1 -1
  698. package/fesm2020/ng-nest-ui-switch.mjs +11 -10
  699. package/fesm2020/ng-nest-ui-switch.mjs.map +1 -1
  700. package/fesm2020/ng-nest-ui-table.mjs +32 -31
  701. package/fesm2020/ng-nest-ui-table.mjs.map +1 -1
  702. package/fesm2020/ng-nest-ui-tabs.mjs +26 -25
  703. package/fesm2020/ng-nest-ui-tabs.mjs.map +1 -1
  704. package/fesm2020/ng-nest-ui-tag.mjs +11 -10
  705. package/fesm2020/ng-nest-ui-tag.mjs.map +1 -1
  706. package/fesm2020/ng-nest-ui-text-retract.mjs +11 -10
  707. package/fesm2020/ng-nest-ui-text-retract.mjs.map +1 -1
  708. package/fesm2020/ng-nest-ui-textarea.mjs +11 -10
  709. package/fesm2020/ng-nest-ui-textarea.mjs.map +1 -1
  710. package/fesm2020/ng-nest-ui-theme.mjs +11 -10
  711. package/fesm2020/ng-nest-ui-theme.mjs.map +1 -1
  712. package/fesm2020/ng-nest-ui-time-ago.mjs +8 -7
  713. package/fesm2020/ng-nest-ui-time-ago.mjs.map +1 -1
  714. package/fesm2020/ng-nest-ui-time-picker.mjs +20 -19
  715. package/fesm2020/ng-nest-ui-time-picker.mjs.map +1 -1
  716. package/fesm2020/ng-nest-ui-time-range.mjs +8 -7
  717. package/fesm2020/ng-nest-ui-time-range.mjs.map +1 -1
  718. package/fesm2020/ng-nest-ui-timeline.mjs +11 -10
  719. package/fesm2020/ng-nest-ui-timeline.mjs.map +1 -1
  720. package/fesm2020/ng-nest-ui-tooltip.mjs +14 -13
  721. package/fesm2020/ng-nest-ui-tooltip.mjs.map +1 -1
  722. package/fesm2020/ng-nest-ui-transfer.mjs +12 -11
  723. package/fesm2020/ng-nest-ui-transfer.mjs.map +1 -1
  724. package/fesm2020/ng-nest-ui-tree-file.mjs +11 -10
  725. package/fesm2020/ng-nest-ui-tree-file.mjs.map +1 -1
  726. package/fesm2020/ng-nest-ui-tree-select.mjs +14 -13
  727. package/fesm2020/ng-nest-ui-tree-select.mjs.map +1 -1
  728. package/fesm2020/ng-nest-ui-tree.mjs +17 -16
  729. package/fesm2020/ng-nest-ui-tree.mjs.map +1 -1
  730. package/fesm2020/ng-nest-ui-typography.mjs +11 -10
  731. package/fesm2020/ng-nest-ui-typography.mjs.map +1 -1
  732. package/fesm2020/ng-nest-ui-upload.mjs +14 -13
  733. package/fesm2020/ng-nest-ui-upload.mjs.map +1 -1
  734. package/fesm2020/ng-nest-ui.mjs +1 -0
  735. package/find/find.component.d.ts +1 -1
  736. package/find/find.property.d.ts +1 -1
  737. package/form/control.component.d.ts +1 -1
  738. package/form/form.component.d.ts +1 -1
  739. package/form/form.property.d.ts +2 -2
  740. package/highlight/highlight.component.d.ts +1 -1
  741. package/highlight/highlight.property.d.ts +1 -1
  742. package/i18n/i18n.directive.d.ts +1 -1
  743. package/icon/icon.component.d.ts +1 -1
  744. package/icon/icon.property.d.ts +1 -1
  745. package/image/image-group.component.d.ts +1 -1
  746. package/image/image-preview.component.d.ts +1 -1
  747. package/image/image.component.d.ts +1 -1
  748. package/image/image.property.d.ts +2 -2
  749. package/inner/inner.component.d.ts +1 -1
  750. package/inner/inner.property.d.ts +1 -1
  751. package/input/input-group.component.d.ts +1 -1
  752. package/input/input.component.d.ts +1 -1
  753. package/input/input.property.d.ts +2 -2
  754. package/input-number/input-number.component.d.ts +1 -1
  755. package/input-number/input-number.property.d.ts +1 -1
  756. package/keyword/keyword.directive.d.ts +1 -1
  757. package/keyword/keyword.property.d.ts +1 -1
  758. package/layout/col.component.d.ts +1 -1
  759. package/layout/layout.property.d.ts +2 -2
  760. package/layout/row.component.d.ts +1 -1
  761. package/link/link.component.d.ts +1 -1
  762. package/link/link.property.d.ts +1 -1
  763. package/list/list-drop-group.directive.d.ts +1 -1
  764. package/list/list-option.component.d.ts +1 -1
  765. package/list/list.component.d.ts +1 -1
  766. package/list/list.property.d.ts +2 -2
  767. package/loading/loading.component.d.ts +1 -1
  768. package/loading/loading.property.d.ts +1 -1
  769. package/menu/menu-node.component.d.ts +1 -1
  770. package/menu/menu.component.d.ts +1 -1
  771. package/menu/menu.property.d.ts +2 -2
  772. package/message/message.component.d.ts +1 -1
  773. package/message-box/message-box.component.d.ts +1 -1
  774. package/notification/notification.component.d.ts +1 -1
  775. package/outlet/outlet.directive.d.ts +1 -1
  776. package/package.json +6 -6
  777. package/page-header/page-header.component.d.ts +1 -1
  778. package/page-header/page-header.property.d.ts +1 -1
  779. package/pagination/pagination.component.d.ts +1 -1
  780. package/pagination/pagination.property.d.ts +1 -1
  781. package/pattern/pattern.component.d.ts +1 -1
  782. package/popconfirm/popconfirm.component.d.ts +1 -1
  783. package/popconfirm/popconfirm.property.d.ts +1 -1
  784. package/popover/popover-portal.component.d.ts +1 -1
  785. package/popover/popover.directive.d.ts +1 -1
  786. package/popover/popover.property.d.ts +1 -1
  787. package/progress/progress.component.d.ts +1 -1
  788. package/progress/progress.property.d.ts +1 -1
  789. package/radio/radio.component.d.ts +1 -1
  790. package/radio/radio.property.d.ts +1 -1
  791. package/rate/rate.component.d.ts +1 -1
  792. package/rate/rate.property.d.ts +1 -1
  793. package/resizable/resizable.directive.d.ts +1 -1
  794. package/resizable/resizable.property.d.ts +1 -1
  795. package/result/result.component.d.ts +1 -1
  796. package/result/result.property.d.ts +1 -1
  797. package/ripple/ripple.directive.d.ts +1 -1
  798. package/ripple/ripple.property.d.ts +1 -1
  799. package/select/select-portal.component.d.ts +1 -1
  800. package/select/select.component.d.ts +1 -1
  801. package/select/select.property.d.ts +1 -1
  802. package/skeleton/skeleton.component.d.ts +1 -1
  803. package/skeleton/skeleton.property.d.ts +1 -1
  804. package/slider/slider.component.d.ts +1 -1
  805. package/slider/slider.property.d.ts +1 -1
  806. package/slider-select/slider-select.component.d.ts +1 -1
  807. package/slider-select/slider-select.property.d.ts +1 -1
  808. package/statistic/countdown.component.d.ts +1 -1
  809. package/statistic/statistic.component.d.ts +1 -1
  810. package/statistic/statistic.property.d.ts +2 -2
  811. package/steps/steps.component.d.ts +1 -1
  812. package/steps/steps.property.d.ts +1 -1
  813. package/switch/switch.component.d.ts +1 -1
  814. package/switch/switch.property.d.ts +1 -1
  815. package/table/drag.directive.d.ts +1 -1
  816. package/table/table-body.component.d.ts +1 -1
  817. package/table/table-foot.component.d.ts +1 -1
  818. package/table/table-head.component.d.ts +1 -1
  819. package/table/table.component.d.ts +1 -1
  820. package/table/table.property.d.ts +4 -4
  821. package/tabs/tab-content.component.d.ts +1 -1
  822. package/tabs/tab-link.directive.d.ts +2 -2
  823. package/tabs/tab.component.d.ts +1 -1
  824. package/tabs/tabs.component.d.ts +1 -1
  825. package/tabs/tabs.property.d.ts +2 -2
  826. package/tag/tag.component.d.ts +1 -1
  827. package/tag/tag.property.d.ts +1 -1
  828. package/text-retract/text-retract.component.d.ts +1 -1
  829. package/text-retract/text-retract.property.d.ts +1 -1
  830. package/textarea/textarea.component.d.ts +1 -1
  831. package/textarea/textarea.property.d.ts +1 -1
  832. package/theme/theme.component.d.ts +1 -1
  833. package/theme/theme.property.d.ts +1 -1
  834. package/time-picker/time-picker-frame.component.d.ts +1 -1
  835. package/time-picker/time-picker-portal.component.d.ts +1 -1
  836. package/time-picker/time-picker.component.d.ts +1 -1
  837. package/time-picker/time-picker.property.d.ts +1 -1
  838. package/timeline/timeline.component.d.ts +1 -1
  839. package/timeline/timeline.property.d.ts +1 -1
  840. package/tooltip/tooltip-portal.component.d.ts +1 -1
  841. package/tooltip/tooltip.directive.d.ts +1 -1
  842. package/tooltip/tooltip.property.d.ts +1 -1
  843. package/transfer/transfer.component.d.ts +1 -1
  844. package/transfer/transfer.property.d.ts +1 -1
  845. package/tree/tree-node.component.d.ts +1 -1
  846. package/tree/tree.component.d.ts +1 -1
  847. package/tree/tree.property.d.ts +2 -2
  848. package/tree-file/tree-file.component.d.ts +1 -1
  849. package/tree-file/tree-file.property.d.ts +1 -1
  850. package/tree-select/tree-select-portal.component.d.ts +1 -1
  851. package/tree-select/tree-select.component.d.ts +1 -1
  852. package/tree-select/tree-select.property.d.ts +1 -1
  853. package/typography/typography.component.d.ts +1 -1
  854. package/typography/typography.property.d.ts +1 -1
  855. package/upload/upload-portal.component.d.ts +1 -1
  856. package/upload/upload.component.d.ts +1 -1
  857. package/upload/upload.property.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-button.mjs","sources":["../../../../lib/ng-nest/ui/button/button.property.ts","../../../../lib/ng-nest/ui/button/buttons.component.ts","../../../../lib/ng-nest/ui/button/button.component.ts","../../../../lib/ng-nest/ui/button/button.component.html","../../../../lib/ng-nest/ui/button/button.module.ts","../../../../lib/ng-nest/ui/button/ng-nest-ui-button.ts"],"sourcesContent":["import { Input, Component } from '@angular/core';\r\nimport { XProperty, XDirection, XSize, XInputBoolean, XInputNumber, XNumber, XBoolean, XType, XWithConfig } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Button\r\n * @selector x-button\r\n * @decorator component\r\n */\r\nexport const XButtonPrefix = 'x-button';\r\nconst X_CONFIG_NAME = 'button';\r\n\r\n/**\r\n * Button Property\r\n */\r\n@Component({ template: '' })\r\nexport class XButtonProperty extends XProperty implements XButtonOption {\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\n @Input() @XWithConfig<XButtonType>(X_CONFIG_NAME, 'initial') type?: XButtonType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n @Input() icon?: string;\r\n /**\r\n * @zh_CN 提示\r\n * @en_US Title\r\n */\r\n @Input() title?: string = '';\r\n /**\r\n * @zh_CN 布局方式\r\n * @en_US Layout\r\n */\r\n @Input() direction: XDirection = 'row';\r\n /**\r\n * @zh_CN tab 键控制次序\r\n * @en_US Tab key control order\r\n */\r\n @Input() tabindex: number = 0;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n @Input() @XWithConfig<XSize>(X_CONFIG_NAME, 'medium') size?: XSize;\r\n /**\r\n * @zh_CN 仅显示图标\r\n * @en_US Icon only\r\n */\r\n @Input() @XInputBoolean() onlyIcon?: XBoolean;\r\n /**\r\n * @zh_CN 激活的按钮(样式差异)\r\n * @en_US Active button (style difference)\r\n */\r\n @Input() @XInputBoolean() activated?: XBoolean;\r\n /**\r\n * @zh_CN 禁用按钮\r\n * @en_US Disable button\r\n */\r\n @Input() @XInputBoolean() disabled?: XBoolean;\r\n /**\r\n * @zh_CN 朴素按钮\r\n * @en_US Plain button\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME) @XInputBoolean() plain?: XBoolean;\r\n /**\r\n * @zh_CN 圆角按钮\r\n * @en_US Round button\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME) @XInputBoolean() round?: XBoolean;\r\n /**\r\n * @zh_CN 圆型按钮(配合图标来使用)\r\n * @en_US Round button (use with icon)\r\n */\r\n @Input() @XInputBoolean() circle?: XBoolean;\r\n /**\r\n * @zh_CN 加载中\r\n * @en_US Loading\r\n */\r\n @Input() @XInputBoolean() loading?: XBoolean;\r\n /**\r\n * @zh_CN 关闭按钮\r\n * @en_US Close button\r\n */\r\n @Input() @XInputBoolean() closable?: XBoolean;\r\n /**\r\n * @zh_CN 按钮类型属性 submit,button,reset\r\n * @en_US Button type attribute. submit,button,reset\r\n */\r\n @Input() @XWithConfig<XButtonAttrType>(X_CONFIG_NAME, 'submit') attrType?: XButtonAttrType;\r\n}\r\n\r\n/**\r\n * Button Option\r\n * @undocument true\r\n */\r\nexport interface XButtonOption {\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\n type?: XButtonType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n icon?: string;\r\n /**\r\n * @zh_CN 提示\r\n * @en_US Title\r\n */\r\n title?: string;\r\n /**\r\n * @zh_CN 布局方式\r\n * @en_US Layout\r\n */\r\n direction?: XDirection;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n size?: XSize;\r\n /**\r\n * @zh_CN 仅显示图标\r\n * @en_US Icon only\r\n */\r\n onlyIcon?: XBoolean;\r\n /**\r\n * @zh_CN 激活的按钮(样式差异)\r\n * @en_US Active button (style difference)\r\n */\r\n activated?: XBoolean;\r\n /**\r\n * @zh_CN 禁用按钮\r\n * @en_US Disable button\r\n */\r\n disabled?: XBoolean;\r\n /**\r\n * @zh_CN 朴素按钮\r\n * @en_US Plain button\r\n */\r\n plain?: XBoolean;\r\n /**\r\n * @zh_CN 圆角按钮\r\n * @en_US Round button\r\n */\r\n round?: XBoolean;\r\n /**\r\n * @zh_CN 圆型按钮(配合图标来使用)\r\n * @en_US Round button (use with icon)\r\n */\r\n circle?: XBoolean;\r\n /**\r\n * @zh_CN 加载中\r\n * @en_US Loading\r\n */\r\n loading?: XBoolean;\r\n /**\r\n * @zh_CN 关闭按钮\r\n * @en_US Close button\r\n */\r\n closable?: XBoolean;\r\n}\r\n\r\n/**\r\n * @zh_CN 按钮类型\r\n * @en_US Button type\r\n */\r\nexport type XButtonType = XType;\r\n\r\n/**\r\n * @zh_CN 按钮类型属性\r\n * @en_US Button attr type\r\n */\r\nexport type XButtonAttrType = 'submit' | 'button' | 'reset';\r\n\r\n/**\r\n * Buttons\r\n * @selector x-buttons\r\n * @decorator component\r\n */\r\nexport const XButtonsPrefix = 'x-buttons';\r\nconst X_CONFIG_NAME_BUTTONS = 'buttons';\r\n\r\n/**\r\n * Buttons Property\r\n */\r\n@Component({ template: '' })\r\nexport class XButtonsProperty extends XProperty {\r\n /**\r\n * @zh_CN 按钮间距,单位 rem (按 1rem = 16px 比例来计算)\r\n * @en_US Button spacing, unit rem (calculated according to the ratio of 1rem = 16px)\r\n */\r\n @Input() @XWithConfig<XNumber>(X_CONFIG_NAME_BUTTONS, 0) @XInputNumber() space?: XNumber;\r\n /**\r\n * @zh_CN 隐藏边框\r\n * @en_US Hide border\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME_BUTTONS) @XInputBoolean() hiddenBorder?: XBoolean;\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, Renderer2, ElementRef, HostBinding } from '@angular/core';\r\nimport { XButtonsPrefix, XButtonsProperty } from './button.property';\r\nimport { XConfigService } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XButtonsPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./buttons.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XButtonsComponent extends XButtonsProperty implements OnInit {\r\n @HostBinding('class.x-buttons-space') get getSpace() {\r\n return this.space;\r\n }\r\n @HostBinding('class.x-buttons-hiddenBorder') get getHiddenBorder() {\r\n return this.hiddenBorder;\r\n }\r\n\r\n constructor(private renderer: Renderer2, private elementRef: ElementRef, public configService: XConfigService) {\r\n super();\r\n this.renderer.addClass(this.elementRef.nativeElement, XButtonsPrefix);\r\n }\r\n\r\n ngOnInit() {\r\n this.setSpace();\r\n }\r\n\r\n setSpace() {\r\n if (!this.space) return;\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-left', `-${Number(this.space) / 2}rem`);\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-right', `-${Number(this.space) / 2}rem`);\r\n }\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n OnChanges,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n ChangeDetectorRef,\r\n Optional,\r\n Host,\r\n ElementRef,\r\n Renderer2\r\n} from '@angular/core';\r\nimport { XIsChange, XConfigService, XIsEmpty, XClearClass } from '@ng-nest/ui/core';\r\nimport { delay, of } from 'rxjs';\r\nimport { XButtonPrefix, XButtonProperty } from './button.property';\r\nimport { XButtonsComponent } from './buttons.component';\r\n\r\n@Component({\r\n selector: `${XButtonPrefix}`,\r\n templateUrl: './button.component.html',\r\n styleUrls: ['./button.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XButtonComponent extends XButtonProperty implements OnInit, OnChanges {\r\n transition = false;\r\n constructor(\r\n @Optional() @Host() public buttons: XButtonsComponent,\r\n public cdr: ChangeDetectorRef,\r\n public elementRef: ElementRef,\r\n public renderer: Renderer2,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setSpace();\r\n this.setClassMap();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { loading, disabled, activated, type, plain, size, direction } = changes;\r\n if (XIsChange(loading)) this.disabled = this.loading;\r\n XIsChange(disabled, activated) && this.cdr.detectChanges();\r\n XIsChange(type, plain, size, direction) && this.setClassMap();\r\n }\r\n\r\n setClassMap() {\r\n XClearClass(this.classMap);\r\n this.classMap = {\r\n [`${XButtonPrefix}-${this.type}`]: !XIsEmpty(this.type) && XIsEmpty(this.plain),\r\n [`${XButtonPrefix}-${this.type}-plain`]: !XIsEmpty(this.type) && !XIsEmpty(this.plain),\r\n [`${XButtonPrefix}-plain`]: XIsEmpty(this.type) && !XIsEmpty(this.plain),\r\n [`x-size-${this.size}`]: !XIsEmpty(this.size),\r\n [`x-direction-${this.direction}`]: !XIsEmpty(this.direction)\r\n };\r\n if (!this.transition)\r\n of(true)\r\n .pipe(delay(0))\r\n .subscribe(() => {\r\n this.transition = true;\r\n this.cdr.detectChanges();\r\n });\r\n this.cdr.detectChanges();\r\n }\r\n\r\n setSpace() {\r\n if (!this.buttons?.space) return;\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-left', `${Number(this.buttons.space) / 2}rem`);\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-right', `${Number(this.buttons.space) / 2}rem`);\r\n }\r\n}\r\n","<button\r\n class=\"x-button\"\r\n [tabindex]=\"tabindex\"\r\n [ngClass]=\"classMap\"\r\n [class.x-button-only-icon]=\"onlyIcon\"\r\n [class.x-button-activated]=\"activated\"\r\n [class.x-button-disabled]=\"disabled\"\r\n [class.x-button-round]=\"round\"\r\n [class.x-button-circle]=\"circle\"\r\n [class.x-button-icon]=\"icon && !content.innerHTML.trim()\"\r\n [class.x-button-closable]=\"closable\"\r\n [class.x-button-transition]=\"transition\"\r\n [title]=\"title\"\r\n x-ripple\r\n [type]=\"type\"\r\n [disabled]=\"disabled\"\r\n [attr.type]=\"attrType\"\r\n>\r\n <x-icon *ngIf=\"icon && !loading\" [type]=\"icon\"></x-icon>\r\n <x-icon *ngIf=\"loading\" type=\"fto-loader\" [spin]=\"loading\"></x-icon>\r\n <span #content><ng-content></ng-content></span>\r\n</button>\r\n\r\n<!-- 提前加载 loading 的图标-->\r\n<x-icon *ngIf=\"loading\" [style.display]=\"'none'\" type=\"fto-loader\"></x-icon>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XButtonComponent } from './button.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XButtonsComponent } from './buttons.component';\r\nimport { XButtonProperty, XButtonsProperty } from './button.property';\r\nimport { XRippleModule } from '@ng-nest/ui/ripple';\r\n\r\n@NgModule({\r\n declarations: [XButtonComponent, XButtonsComponent, XButtonProperty, XButtonsProperty],\r\n exports: [XButtonComponent, XButtonsComponent],\r\n imports: [CommonModule, XIconModule, XRippleModule]\r\n})\r\nexport class XButtonModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.XButtonsComponent","i2"],"mappings":";;;;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,aAAa,GAAG,WAAW;AACxC,MAAM,aAAa,GAAG,QAAQ,CAAC;AAE/B;;AAEG;AAEG,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAD9C,IAAA,WAAA,GAAA;;AAYE;;;AAGG;QACM,IAAK,CAAA,KAAA,GAAY,EAAE,CAAC;AAC7B;;;AAGG;QACM,IAAS,CAAA,SAAA,GAAe,KAAK,CAAC;AACvC;;;AAGG;QACM,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AAmD/B,KAAA;;gIA5EY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,mBAAA,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,qXADL,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;AAMb,IAAA,WAAW,CAAc,aAAa,EAAE,SAAS,CAAC;AAAoB,CAAA,EAAA,eAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;;AAyBtE,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E,iBAAiB,CAAC;AAC9C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,CAAC;AACpD,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-button.mjs","sources":["../../../../lib/ng-nest/ui/button/button.property.ts","../../../../lib/ng-nest/ui/button/buttons.component.ts","../../../../lib/ng-nest/ui/button/button.component.ts","../../../../lib/ng-nest/ui/button/button.component.html","../../../../lib/ng-nest/ui/button/button.module.ts","../../../../lib/ng-nest/ui/button/ng-nest-ui-button.ts"],"sourcesContent":["import { Input, Component } from '@angular/core';\r\nimport { XProperty, XDirection, XSize, XInputBoolean, XInputNumber, XNumber, XBoolean, XType, XWithConfig } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Button\r\n * @selector x-button\r\n * @decorator component\r\n */\r\nexport const XButtonPrefix = 'x-button';\r\nconst X_CONFIG_NAME = 'button';\r\n\r\n/**\r\n * Button Property\r\n */\r\n@Component({ template: '' })\r\nexport class XButtonProperty extends XProperty implements XButtonOption {\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\n @Input() @XWithConfig<XButtonType>(X_CONFIG_NAME, 'initial') type?: XButtonType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n @Input() icon?: string;\r\n /**\r\n * @zh_CN 提示\r\n * @en_US Title\r\n */\r\n @Input() title?: string = '';\r\n /**\r\n * @zh_CN 布局方式\r\n * @en_US Layout\r\n */\r\n @Input() direction: XDirection = 'row';\r\n /**\r\n * @zh_CN tab 键控制次序\r\n * @en_US Tab key control order\r\n */\r\n @Input() tabindex: number = 0;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n @Input() @XWithConfig<XSize>(X_CONFIG_NAME, 'medium') size?: XSize;\r\n /**\r\n * @zh_CN 仅显示图标\r\n * @en_US Icon only\r\n */\r\n @Input() @XInputBoolean() onlyIcon?: XBoolean;\r\n /**\r\n * @zh_CN 激活的按钮(样式差异)\r\n * @en_US Active button (style difference)\r\n */\r\n @Input() @XInputBoolean() activated?: XBoolean;\r\n /**\r\n * @zh_CN 禁用按钮\r\n * @en_US Disable button\r\n */\r\n @Input() @XInputBoolean() disabled?: XBoolean;\r\n /**\r\n * @zh_CN 朴素按钮\r\n * @en_US Plain button\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME) @XInputBoolean() plain?: XBoolean;\r\n /**\r\n * @zh_CN 圆角按钮\r\n * @en_US Round button\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME) @XInputBoolean() round?: XBoolean;\r\n /**\r\n * @zh_CN 圆型按钮(配合图标来使用)\r\n * @en_US Round button (use with icon)\r\n */\r\n @Input() @XInputBoolean() circle?: XBoolean;\r\n /**\r\n * @zh_CN 加载中\r\n * @en_US Loading\r\n */\r\n @Input() @XInputBoolean() loading?: XBoolean;\r\n /**\r\n * @zh_CN 关闭按钮\r\n * @en_US Close button\r\n */\r\n @Input() @XInputBoolean() closable?: XBoolean;\r\n /**\r\n * @zh_CN 按钮类型属性 submit,button,reset\r\n * @en_US Button type attribute. submit,button,reset\r\n */\r\n @Input() @XWithConfig<XButtonAttrType>(X_CONFIG_NAME, 'submit') attrType?: XButtonAttrType;\r\n}\r\n\r\n/**\r\n * Button Option\r\n * @undocument true\r\n */\r\nexport interface XButtonOption {\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\n type?: XButtonType;\r\n /**\r\n * @zh_CN 图标\r\n * @en_US Icon\r\n */\r\n icon?: string;\r\n /**\r\n * @zh_CN 提示\r\n * @en_US Title\r\n */\r\n title?: string;\r\n /**\r\n * @zh_CN 布局方式\r\n * @en_US Layout\r\n */\r\n direction?: XDirection;\r\n /**\r\n * @zh_CN 尺寸\r\n * @en_US Size\r\n */\r\n size?: XSize;\r\n /**\r\n * @zh_CN 仅显示图标\r\n * @en_US Icon only\r\n */\r\n onlyIcon?: XBoolean;\r\n /**\r\n * @zh_CN 激活的按钮(样式差异)\r\n * @en_US Active button (style difference)\r\n */\r\n activated?: XBoolean;\r\n /**\r\n * @zh_CN 禁用按钮\r\n * @en_US Disable button\r\n */\r\n disabled?: XBoolean;\r\n /**\r\n * @zh_CN 朴素按钮\r\n * @en_US Plain button\r\n */\r\n plain?: XBoolean;\r\n /**\r\n * @zh_CN 圆角按钮\r\n * @en_US Round button\r\n */\r\n round?: XBoolean;\r\n /**\r\n * @zh_CN 圆型按钮(配合图标来使用)\r\n * @en_US Round button (use with icon)\r\n */\r\n circle?: XBoolean;\r\n /**\r\n * @zh_CN 加载中\r\n * @en_US Loading\r\n */\r\n loading?: XBoolean;\r\n /**\r\n * @zh_CN 关闭按钮\r\n * @en_US Close button\r\n */\r\n closable?: XBoolean;\r\n}\r\n\r\n/**\r\n * @zh_CN 按钮类型\r\n * @en_US Button type\r\n */\r\nexport type XButtonType = XType;\r\n\r\n/**\r\n * @zh_CN 按钮类型属性\r\n * @en_US Button attr type\r\n */\r\nexport type XButtonAttrType = 'submit' | 'button' | 'reset';\r\n\r\n/**\r\n * Buttons\r\n * @selector x-buttons\r\n * @decorator component\r\n */\r\nexport const XButtonsPrefix = 'x-buttons';\r\nconst X_CONFIG_NAME_BUTTONS = 'buttons';\r\n\r\n/**\r\n * Buttons Property\r\n */\r\n@Component({ template: '' })\r\nexport class XButtonsProperty extends XProperty {\r\n /**\r\n * @zh_CN 按钮间距,单位 rem (按 1rem = 16px 比例来计算)\r\n * @en_US Button spacing, unit rem (calculated according to the ratio of 1rem = 16px)\r\n */\r\n @Input() @XWithConfig<XNumber>(X_CONFIG_NAME_BUTTONS, 0) @XInputNumber() space?: XNumber;\r\n /**\r\n * @zh_CN 隐藏边框\r\n * @en_US Hide border\r\n */\r\n @Input() @XWithConfig<XBoolean>(X_CONFIG_NAME_BUTTONS) @XInputBoolean() hiddenBorder?: XBoolean;\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, Renderer2, ElementRef, HostBinding } from '@angular/core';\r\nimport { XButtonsPrefix, XButtonsProperty } from './button.property';\r\nimport { XConfigService } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XButtonsPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./buttons.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XButtonsComponent extends XButtonsProperty implements OnInit {\r\n @HostBinding('class.x-buttons-space') get getSpace() {\r\n return this.space;\r\n }\r\n @HostBinding('class.x-buttons-hiddenBorder') get getHiddenBorder() {\r\n return this.hiddenBorder;\r\n }\r\n\r\n constructor(private renderer: Renderer2, private elementRef: ElementRef, public configService: XConfigService) {\r\n super();\r\n this.renderer.addClass(this.elementRef.nativeElement, XButtonsPrefix);\r\n }\r\n\r\n ngOnInit() {\r\n this.setSpace();\r\n }\r\n\r\n setSpace() {\r\n if (!this.space) return;\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-left', `-${Number(this.space) / 2}rem`);\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-right', `-${Number(this.space) / 2}rem`);\r\n }\r\n}\r\n","import {\r\n Component,\r\n OnInit,\r\n OnChanges,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n ChangeDetectorRef,\r\n Optional,\r\n Host,\r\n ElementRef,\r\n Renderer2\r\n} from '@angular/core';\r\nimport { XIsChange, XConfigService, XIsEmpty, XClearClass } from '@ng-nest/ui/core';\r\nimport { delay, of } from 'rxjs';\r\nimport { XButtonPrefix, XButtonProperty } from './button.property';\r\nimport { XButtonsComponent } from './buttons.component';\r\n\r\n@Component({\r\n selector: `${XButtonPrefix}`,\r\n templateUrl: './button.component.html',\r\n styleUrls: ['./button.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XButtonComponent extends XButtonProperty implements OnInit, OnChanges {\r\n transition = false;\r\n constructor(\r\n @Optional() @Host() public buttons: XButtonsComponent,\r\n public cdr: ChangeDetectorRef,\r\n public elementRef: ElementRef,\r\n public renderer: Renderer2,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setSpace();\r\n this.setClassMap();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n const { loading, disabled, activated, type, plain, size, direction } = changes;\r\n if (XIsChange(loading)) this.disabled = this.loading;\r\n XIsChange(disabled, activated) && this.cdr.detectChanges();\r\n XIsChange(type, plain, size, direction) && this.setClassMap();\r\n }\r\n\r\n setClassMap() {\r\n XClearClass(this.classMap);\r\n this.classMap = {\r\n [`${XButtonPrefix}-${this.type}`]: !XIsEmpty(this.type) && XIsEmpty(this.plain),\r\n [`${XButtonPrefix}-${this.type}-plain`]: !XIsEmpty(this.type) && !XIsEmpty(this.plain),\r\n [`${XButtonPrefix}-plain`]: XIsEmpty(this.type) && !XIsEmpty(this.plain),\r\n [`x-size-${this.size}`]: !XIsEmpty(this.size),\r\n [`x-direction-${this.direction}`]: !XIsEmpty(this.direction)\r\n };\r\n if (!this.transition)\r\n of(true)\r\n .pipe(delay(0))\r\n .subscribe(() => {\r\n this.transition = true;\r\n this.cdr.detectChanges();\r\n });\r\n this.cdr.detectChanges();\r\n }\r\n\r\n setSpace() {\r\n if (!this.buttons?.space) return;\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-left', `${Number(this.buttons.space) / 2}rem`);\r\n this.renderer.setStyle(this.elementRef.nativeElement, 'margin-right', `${Number(this.buttons.space) / 2}rem`);\r\n }\r\n}\r\n","<button\r\n class=\"x-button\"\r\n [tabindex]=\"tabindex\"\r\n [ngClass]=\"classMap\"\r\n [class.x-button-only-icon]=\"onlyIcon\"\r\n [class.x-button-activated]=\"activated\"\r\n [class.x-button-disabled]=\"disabled\"\r\n [class.x-button-round]=\"round\"\r\n [class.x-button-circle]=\"circle\"\r\n [class.x-button-icon]=\"icon && !content.innerHTML.trim()\"\r\n [class.x-button-closable]=\"closable\"\r\n [class.x-button-transition]=\"transition\"\r\n [title]=\"title\"\r\n x-ripple\r\n [type]=\"type\"\r\n [disabled]=\"disabled\"\r\n [attr.type]=\"attrType\"\r\n>\r\n <x-icon *ngIf=\"icon && !loading\" [type]=\"icon\"></x-icon>\r\n <x-icon *ngIf=\"loading\" type=\"fto-loader\" [spin]=\"loading\"></x-icon>\r\n <span #content><ng-content></ng-content></span>\r\n</button>\r\n\r\n<!-- 提前加载 loading 的图标-->\r\n<x-icon *ngIf=\"loading\" [style.display]=\"'none'\" type=\"fto-loader\"></x-icon>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XButtonComponent } from './button.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XButtonsComponent } from './buttons.component';\r\nimport { XButtonProperty, XButtonsProperty } from './button.property';\r\nimport { XRippleModule } from '@ng-nest/ui/ripple';\r\n\r\n@NgModule({\r\n declarations: [XButtonComponent, XButtonsComponent, XButtonProperty, XButtonsProperty],\r\n exports: [XButtonComponent, XButtonsComponent],\r\n imports: [CommonModule, XIconModule, XRippleModule]\r\n})\r\nexport class XButtonModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.XButtonsComponent","i2"],"mappings":";;;;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,aAAa,GAAG,WAAW;AACxC,MAAM,aAAa,GAAG,QAAQ,CAAC;AAE/B;;AAEG;AAEG,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAD9C,IAAA,WAAA,GAAA;;AAYE;;;AAGG;QACM,IAAK,CAAA,KAAA,GAAY,EAAE,CAAC;AAC7B;;;AAGG;QACM,IAAS,CAAA,SAAA,GAAe,KAAK,CAAC;AACvC;;;AAGG;QACM,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AAmD/B,KAAA;;+HA5EY,eAAe,EA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,EAAA,aAAa,iBAJT,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,CAE3E,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,aAAa,CADxC,EAAA,OAAA,EAAA,CAAA,gBAAgB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAGlC,mBAAA,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFd,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;2FAEvC,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,CAAC;AACtF,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;AAC9C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,CAAC;AACpD,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
@@ -55,9 +55,9 @@ class XCalendarProperty extends XProperty {
55
55
  this.rangeChange = new EventEmitter();
56
56
  }
57
57
  }
58
- /** @nocollapse */ XCalendarProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
59
- /** @nocollapse */ XCalendarProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCalendarProperty, selector: "ng-component", inputs: { data: "data", model: "model", displayType: "displayType", headerLeftTemp: "headerLeftTemp" }, outputs: { dateChange: "dateChange", rangeChange: "rangeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarProperty, decorators: [{
58
+ /** @nocollapse */ XCalendarProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
59
+ /** @nocollapse */ XCalendarProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCalendarProperty, selector: "ng-component", inputs: { data: "data", model: "model", displayType: "displayType", headerLeftTemp: "headerLeftTemp" }, outputs: { dateChange: "dateChange", rangeChange: "rangeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarProperty, decorators: [{
61
61
  type: Component,
62
62
  args: [{ template: '' }]
63
63
  }], propDecorators: { data: [{
@@ -185,19 +185,19 @@ class XCalendarComponent extends XCalendarProperty {
185
185
  return item.id;
186
186
  }
187
187
  }
188
- /** @nocollapse */ XCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.DatePipe }, { token: i1.LowerCasePipe }, { token: i2.XConfigService }, { token: i3.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
189
- /** @nocollapse */ XCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCalendarComponent, selector: "x-calendar", providers: [DatePipe, LowerCasePipe], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #calendar class=\"x-calendar\" [ngClass]=\"classMap\">\r\n <div class=\"x-calendar-header\">\r\n <div class=\"x-calendar-header-left\">\r\n <ng-container *ngIf=\"headerLeftTemp\">\r\n <ng-container *ngTemplateOutlet=\"headerLeftTemp\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"x-calendar-header-right\">\r\n <x-date-picker [(ngModel)]=\"datetime\" [type]=\"model\" showHeader=\"false\" [clearable]=\"false\"></x-date-picker>\r\n <x-buttons>\r\n <x-button (click)=\"action(-1)\">{{ model === 'month' ? locale.lastMonth : locale.lastYear }}</x-button>\r\n <x-button (click)=\"action(1)\">{{ model === 'month' ? locale.nextMonth : locale.nextYear }}</x-button>\r\n </x-buttons>\r\n <x-radio [data]=\"radioData\" [(ngModel)]=\"model\" (ngModelChange)=\"modelOnChange()\" button></x-radio>\r\n </div>\r\n </div>\r\n <div class=\"x-calendar-body\">\r\n <x-picker-date\r\n *ngIf=\"model === 'month'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [dateTemp]=\"dateTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-date>\r\n <x-picker-month\r\n *ngIf=\"model === 'year'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [monthTemp]=\"monthTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-month>\r\n </div>\r\n</div>\r\n\r\n<ng-template #dateTemp let-date=\"date$\">\r\n <div class=\"x-calendar-date\" [class.x-activated]=\"(date | date: 'yyyyMMdd') === (activatedDate | date: 'yyyyMMdd')\">\r\n <span [title]=\"date | date: 'yyyy-MM-dd'\">{{ date | date: 'd' }}</span>\r\n <div class=\"x-calendar-date-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getDate(date)\">\r\n <li *ngFor=\"let item of getDate(date); trackBy: trackByDate\">\r\n <span [title]=\"item.id + item.label\">{{ item.id }}{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #monthTemp let-date=\"date$\">\r\n <div class=\"x-calendar-month\" [class.x-activated]=\"(date | date: 'yyyyMM') === (activatedDate | date: 'yyyyMM')\">\r\n <span [title]=\"date | date: 'yyyy-MM'\">{{ getLocaleMonth(date) }}</span>\r\n <div class=\"x-calendar-month-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getMonth(date)\">\r\n <li *ngFor=\"let item of getMonth(date); trackBy: trackByMonth\">\r\n <x-link x-tooltip [content]=\"item.label\" placement=\"top\">{{ item.id }}</x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: ["x-calendar{display:inline-block}.x-calendar{margin:0;padding:0;box-sizing:border-box}.x-calendar-header{display:flex;align-items:center;justify-content:space-between}.x-calendar-header-right{display:flex;align-items:center;justify-content:flex-end}.x-calendar-header-right>x-date-picker{display:inline-block;width:6rem}.x-calendar-header-right>x-buttons,.x-calendar-header-right>x-radio{margin-left:.5rem}.x-calendar-body>x-picker-date .x-picker-date tr,.x-calendar-body>x-picker-month .x-picker-month tr{display:flex}.x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-body>x-picker-month .x-picker-month tr th{padding:.325rem;margin:0 .25rem;display:inline-block;flex:1;overflow:hidden}.x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-body>x-picker-month .x-picker-month tr td{padding:0;cursor:pointer;position:relative;flex:1;overflow:hidden;margin:0 .25rem;transition:.3s}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{display:block}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{padding-left:.325rem;position:static;width:auto;overflow-y:auto}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li{line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block;position:relative}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li>span{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-calendar-calendar{margin:.25rem -.25rem 0}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr th{height:2.25rem;line-height:2.25rem;text-align:right}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td{height:6.75rem;border-top:.125rem solid var(--x-border);text-align:left}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{text-align:right;padding:.325rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{height:4.5rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary-900)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-400)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now{color:var(--x-primary);border-top-color:var(--x-primary)}.x-calendar-card{border:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-header{padding:.5rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td{margin:.25rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month{border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-color:transparent}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{padding:.125rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary);color:var(--x-background-100)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200);color:var(--x-primary)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-700)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-month:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-month:not(.x-activated){color:var(--x-primary);background-color:transparent;border-color:var(--x-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.XLinkComponent, selector: "x-link" }, { kind: "directive", type: i6.XTooltipDirective, selector: "[x-tooltip], x-tooltip" }, { kind: "component", type: i7.XRadioComponent, selector: "x-radio" }, { kind: "component", type: i8.XDatePickerComponent, selector: "x-date-picker" }, { kind: "component", type: i8.XPickerDateComponent, selector: "x-picker-date" }, { kind: "component", type: i8.XPickerMonthComponent, selector: "x-picker-month" }, { kind: "component", type: i9.XButtonComponent, selector: "x-button" }, { kind: "component", type: i9.XButtonsComponent, selector: "x-buttons" }, { kind: "pipe", type: i1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarComponent, decorators: [{
188
+ /** @nocollapse */ XCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.DatePipe }, { token: i1.LowerCasePipe }, { token: i2.XConfigService }, { token: i3.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
189
+ /** @nocollapse */ XCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCalendarComponent, selector: "x-calendar", providers: [DatePipe, LowerCasePipe], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #calendar class=\"x-calendar\" [ngClass]=\"classMap\">\r\n <div class=\"x-calendar-header\">\r\n <div class=\"x-calendar-header-left\">\r\n <ng-container *ngIf=\"headerLeftTemp\">\r\n <ng-container *ngTemplateOutlet=\"headerLeftTemp\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"x-calendar-header-right\">\r\n <x-date-picker [(ngModel)]=\"datetime\" [type]=\"model\" showHeader=\"false\" [clearable]=\"false\"></x-date-picker>\r\n <x-buttons>\r\n <x-button (click)=\"action(-1)\">{{ model === 'month' ? locale.lastMonth : locale.lastYear }}</x-button>\r\n <x-button (click)=\"action(1)\">{{ model === 'month' ? locale.nextMonth : locale.nextYear }}</x-button>\r\n </x-buttons>\r\n <x-radio [data]=\"radioData\" [(ngModel)]=\"model\" (ngModelChange)=\"modelOnChange()\" button></x-radio>\r\n </div>\r\n </div>\r\n <div class=\"x-calendar-body\">\r\n <x-picker-date\r\n *ngIf=\"model === 'month'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [dateTemp]=\"dateTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-date>\r\n <x-picker-month\r\n *ngIf=\"model === 'year'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [monthTemp]=\"monthTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-month>\r\n </div>\r\n</div>\r\n\r\n<ng-template #dateTemp let-date=\"date$\">\r\n <div class=\"x-calendar-date\" [class.x-activated]=\"(date | date: 'yyyyMMdd') === (activatedDate | date: 'yyyyMMdd')\">\r\n <span [title]=\"date | date: 'yyyy-MM-dd'\">{{ date | date: 'd' }}</span>\r\n <div class=\"x-calendar-date-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getDate(date)\">\r\n <li *ngFor=\"let item of getDate(date); trackBy: trackByDate\">\r\n <span [title]=\"item.id + item.label\">{{ item.id }}{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #monthTemp let-date=\"date$\">\r\n <div class=\"x-calendar-month\" [class.x-activated]=\"(date | date: 'yyyyMM') === (activatedDate | date: 'yyyyMM')\">\r\n <span [title]=\"date | date: 'yyyy-MM'\">{{ getLocaleMonth(date) }}</span>\r\n <div class=\"x-calendar-month-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getMonth(date)\">\r\n <li *ngFor=\"let item of getMonth(date); trackBy: trackByMonth\">\r\n <x-link x-tooltip [content]=\"item.label\" placement=\"top\">{{ item.id }}</x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: ["x-calendar{display:inline-block}.x-calendar{margin:0;padding:0;box-sizing:border-box}.x-calendar-header{display:flex;align-items:center;justify-content:space-between}.x-calendar-header-right{display:flex;align-items:center;justify-content:flex-end}.x-calendar-header-right>x-date-picker{display:inline-block;width:6rem}.x-calendar-header-right>x-buttons,.x-calendar-header-right>x-radio{margin-left:.5rem}.x-calendar-body>x-picker-date .x-picker-date tr,.x-calendar-body>x-picker-month .x-picker-month tr{display:flex}.x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-body>x-picker-month .x-picker-month tr th{padding:.325rem;margin:0 .25rem;display:inline-block;flex:1;overflow:hidden}.x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-body>x-picker-month .x-picker-month tr td{padding:0;cursor:pointer;position:relative;flex:1;overflow:hidden;margin:0 .25rem;transition:.3s}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{display:block}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{padding-left:.325rem;position:static;width:auto;overflow-y:auto}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li{line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block;position:relative}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li>span{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-calendar-calendar{margin:.25rem -.25rem 0}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr th{height:2.25rem;line-height:2.25rem;text-align:right}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td{height:6.75rem;border-top:.125rem solid var(--x-border);text-align:left}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{text-align:right;padding:.325rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{height:4.5rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary-900)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-400)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now{color:var(--x-primary);border-top-color:var(--x-primary)}.x-calendar-card{border:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-header{padding:.5rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td{margin:.25rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month{border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-color:transparent}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{padding:.125rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary);color:var(--x-background-100)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200);color:var(--x-primary)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-700)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-month:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-month:not(.x-activated){color:var(--x-primary);background-color:transparent;border-color:var(--x-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.XLinkComponent, selector: "x-link" }, { kind: "directive", type: i6.XTooltipDirective, selector: "[x-tooltip], x-tooltip" }, { kind: "component", type: i7.XRadioComponent, selector: "x-radio" }, { kind: "component", type: i8.XDatePickerComponent, selector: "x-date-picker" }, { kind: "component", type: i8.XPickerDateComponent, selector: "x-picker-date" }, { kind: "component", type: i8.XPickerMonthComponent, selector: "x-picker-month" }, { kind: "component", type: i9.XButtonComponent, selector: "x-button" }, { kind: "component", type: i9.XButtonsComponent, selector: "x-buttons" }, { kind: "pipe", type: i1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarComponent, decorators: [{
191
191
  type: Component,
192
192
  args: [{ selector: `${XCalendarPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DatePipe, LowerCasePipe], template: "<div #calendar class=\"x-calendar\" [ngClass]=\"classMap\">\r\n <div class=\"x-calendar-header\">\r\n <div class=\"x-calendar-header-left\">\r\n <ng-container *ngIf=\"headerLeftTemp\">\r\n <ng-container *ngTemplateOutlet=\"headerLeftTemp\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"x-calendar-header-right\">\r\n <x-date-picker [(ngModel)]=\"datetime\" [type]=\"model\" showHeader=\"false\" [clearable]=\"false\"></x-date-picker>\r\n <x-buttons>\r\n <x-button (click)=\"action(-1)\">{{ model === 'month' ? locale.lastMonth : locale.lastYear }}</x-button>\r\n <x-button (click)=\"action(1)\">{{ model === 'month' ? locale.nextMonth : locale.nextYear }}</x-button>\r\n </x-buttons>\r\n <x-radio [data]=\"radioData\" [(ngModel)]=\"model\" (ngModelChange)=\"modelOnChange()\" button></x-radio>\r\n </div>\r\n </div>\r\n <div class=\"x-calendar-body\">\r\n <x-picker-date\r\n *ngIf=\"model === 'month'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [dateTemp]=\"dateTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-date>\r\n <x-picker-month\r\n *ngIf=\"model === 'year'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [monthTemp]=\"monthTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-month>\r\n </div>\r\n</div>\r\n\r\n<ng-template #dateTemp let-date=\"date$\">\r\n <div class=\"x-calendar-date\" [class.x-activated]=\"(date | date: 'yyyyMMdd') === (activatedDate | date: 'yyyyMMdd')\">\r\n <span [title]=\"date | date: 'yyyy-MM-dd'\">{{ date | date: 'd' }}</span>\r\n <div class=\"x-calendar-date-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getDate(date)\">\r\n <li *ngFor=\"let item of getDate(date); trackBy: trackByDate\">\r\n <span [title]=\"item.id + item.label\">{{ item.id }}{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #monthTemp let-date=\"date$\">\r\n <div class=\"x-calendar-month\" [class.x-activated]=\"(date | date: 'yyyyMM') === (activatedDate | date: 'yyyyMM')\">\r\n <span [title]=\"date | date: 'yyyy-MM'\">{{ getLocaleMonth(date) }}</span>\r\n <div class=\"x-calendar-month-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getMonth(date)\">\r\n <li *ngFor=\"let item of getMonth(date); trackBy: trackByMonth\">\r\n <x-link x-tooltip [content]=\"item.label\" placement=\"top\">{{ item.id }}</x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: ["x-calendar{display:inline-block}.x-calendar{margin:0;padding:0;box-sizing:border-box}.x-calendar-header{display:flex;align-items:center;justify-content:space-between}.x-calendar-header-right{display:flex;align-items:center;justify-content:flex-end}.x-calendar-header-right>x-date-picker{display:inline-block;width:6rem}.x-calendar-header-right>x-buttons,.x-calendar-header-right>x-radio{margin-left:.5rem}.x-calendar-body>x-picker-date .x-picker-date tr,.x-calendar-body>x-picker-month .x-picker-month tr{display:flex}.x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-body>x-picker-month .x-picker-month tr th{padding:.325rem;margin:0 .25rem;display:inline-block;flex:1;overflow:hidden}.x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-body>x-picker-month .x-picker-month tr td{padding:0;cursor:pointer;position:relative;flex:1;overflow:hidden;margin:0 .25rem;transition:.3s}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{display:block}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{padding-left:.325rem;position:static;width:auto;overflow-y:auto}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li{line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block;position:relative}.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content>ul li>span,.x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content>ul li>span{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x-calendar-calendar{margin:.25rem -.25rem 0}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr th,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr th{height:2.25rem;line-height:2.25rem;text-align:right}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td{height:6.75rem;border-top:.125rem solid var(--x-border);text-align:left}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{text-align:right;padding:.325rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date-content,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month-content{height:4.5rem}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary-900)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-400)}.x-calendar-calendar .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now,.x-calendar-calendar .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now{color:var(--x-primary);border-top-color:var(--x-primary)}.x-calendar-card{border:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-header{padding:.5rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td{margin:.25rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month{border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-color:transparent}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date>span,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month>span{padding:.125rem}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td .x-calendar-month.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-date.x-activated,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td .x-calendar-month.x-activated{background-color:var(--x-primary);color:var(--x-background-100)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td:hover,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td:hover{background-color:var(--x-background-a200);color:var(--x-primary)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-last-or-next,.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-last-or-next{color:var(--x-text-700)}.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-date .x-picker-date tr td.x-date-now .x-calendar-month:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-date:not(.x-activated),.x-calendar-card .x-calendar-body>x-picker-month .x-picker-month tr td.x-date-now .x-calendar-month:not(.x-activated){color:var(--x-primary);background-color:transparent;border-color:var(--x-primary)}\n"] }]
193
193
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.DatePipe }, { type: i1.LowerCasePipe }, { type: i2.XConfigService }, { type: i3.XI18nService }]; } });
194
194
 
195
195
  class XCalendarModule {
196
196
  }
197
- /** @nocollapse */ XCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
198
- /** @nocollapse */ XCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: XCalendarModule, declarations: [XCalendarComponent, XCalendarProperty], imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule, XI18nModule], exports: [XCalendarComponent] });
199
- /** @nocollapse */ XCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarModule, imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule, XI18nModule] });
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCalendarModule, decorators: [{
197
+ /** @nocollapse */ XCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
198
+ /** @nocollapse */ XCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: XCalendarModule, declarations: [XCalendarComponent, XCalendarProperty], imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule, XI18nModule], exports: [XCalendarComponent] });
199
+ /** @nocollapse */ XCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarModule, imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule, XI18nModule] });
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCalendarModule, decorators: [{
201
201
  type: NgModule,
202
202
  args: [{
203
203
  declarations: [XCalendarComponent, XCalendarProperty],
@@ -212,3 +212,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
212
212
 
213
213
  export { XCalendarComponent, XCalendarModule, XCalendarPrefix, XCalendarProperty };
214
214
  //# sourceMappingURL=ng-nest-ui-calendar.mjs.map
215
+ //# sourceMappingURL=ng-nest-ui-calendar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-calendar.mjs","sources":["../../../../lib/ng-nest/ui/calendar/calendar.property.ts","../../../../lib/ng-nest/ui/calendar/calendar.component.ts","../../../../lib/ng-nest/ui/calendar/calendar.component.html","../../../../lib/ng-nest/ui/calendar/calendar.module.ts","../../../../lib/ng-nest/ui/calendar/ng-nest-ui-calendar.ts"],"sourcesContent":["import { XIdentityProperty, XProperty } from '@ng-nest/ui/core';\r\nimport { Input, Output, EventEmitter, Component, TemplateRef } from '@angular/core';\r\n\r\n/**\r\n * Calendar\r\n * @selector x-calendar\r\n * @decorator component\r\n */\r\nexport const XCalendarPrefix = 'x-calendar';\r\n\r\n/**\r\n * Calendar Property\r\n */\r\n@Component({ template: '' })\r\nexport class XCalendarProperty extends XProperty {\r\n /**\r\n * @zh_CN 事务数据对象\r\n * @en_US Transaction data object\r\n */\r\n @Input() data?: XCalendarData;\r\n /**\r\n * @zh_CN 显示模式\r\n * @en_US Display mode\r\n */\r\n @Input() model: XCalendarModel = 'month';\r\n /**\r\n * @zh_CN 显示类型\r\n * @en_US Display type\r\n */\r\n @Input() displayType: XCalendarType = 'calendar';\r\n /**\r\n * @zh_CN 头部显示模版\r\n * @en_US Head display template\r\n */\r\n @Input() headerLeftTemp?: TemplateRef<void>;\r\n /**\r\n * @zh_CN 选择日期变化的事件\r\n * @en_US Select the event of the date change\r\n */\r\n @Output() dateChange = new EventEmitter<Date>();\r\n /**\r\n * @zh_CN 日期范围变化的事件\r\n * @en_US Date range change event\r\n */\r\n @Output() rangeChange = new EventEmitter<Date[]>();\r\n}\r\n\r\n/**\r\n * @zh_CN Calendar 数据对象\r\n * @en_US Calendar data object\r\n */\r\nexport interface XCalendarData {\r\n /**\r\n * key-value\r\n * { \"2020-2-22\": [{id:\"1\",label:\"1\"}] }\r\n */\r\n [property: string]: XCalendarNode[];\r\n}\r\n\r\n/**\r\n * @zh_CN Calendar 数据对象\r\n * @en_US Calendar data object\r\n */\r\nexport interface XCalendarNode extends XIdentityProperty {}\r\n\r\n/**\r\n * @zh_CN 显示模式\r\n * @en_US Display mode\r\n */\r\nexport type XCalendarModel = 'month' | 'year';\r\n\r\n/**\r\n * @zh_CN 显示类型\r\n * @en_US Display type\r\n */\r\nexport type XCalendarType = 'calendar' | 'card';\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n Renderer2,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n OnChanges,\r\n OnDestroy\r\n} from '@angular/core';\r\nimport { XCalendarPrefix, XCalendarProperty, XCalendarNode } from './calendar.property';\r\nimport { XIsChange, XConfigService, XIsEmpty } from '@ng-nest/ui/core';\r\nimport { DatePipe, LowerCasePipe } from '@angular/common';\r\nimport { XI18nService, XI18nCalendar } from '@ng-nest/ui/i18n';\r\nimport { takeUntil, map } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XCalendarPrefix}`,\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [DatePipe, LowerCasePipe]\r\n})\r\nexport class XCalendarComponent extends XCalendarProperty implements OnChanges, OnDestroy {\r\n now: Date = new Date();\r\n datetime: Date = new Date();\r\n activatedDate: Date = new Date();\r\n monthData: { [property: string]: XCalendarNode[] } = {};\r\n locale: XI18nCalendar = {};\r\n radioData = [\r\n { label: '月', id: 'month' },\r\n { label: '年', id: 'year' }\r\n ];\r\n\r\n private _unSubject = new Subject<void>();\r\n\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public datePipe: DatePipe,\r\n public lowerCasePipe: LowerCasePipe,\r\n public configService: XConfigService,\r\n public i18n: XI18nService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n this.i18n.localeChange\r\n .pipe(\r\n map((x) => x.calendar as XI18nCalendar),\r\n takeUntil(this._unSubject)\r\n )\r\n .subscribe((x) => {\r\n this.locale = x;\r\n this.setLocal();\r\n this.cdr.markForCheck();\r\n });\r\n this.setClassMap();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n const { data } = changes;\r\n XIsChange(data) && this.setMonthData();\r\n }\r\n\r\n ngOnDestroy() {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCalendarPrefix}-${this.displayType}`] = !XIsEmpty(this.displayType);\r\n }\r\n\r\n action(next: number) {\r\n let datetime = new Date(this.datetime.getTime());\r\n if (this.model === 'month') {\r\n datetime.setMonth(datetime.getMonth() + next);\r\n } else if (this.model === 'year') {\r\n datetime.setFullYear(datetime.getFullYear() + next);\r\n }\r\n this.datetime = datetime;\r\n this.cdr.markForCheck();\r\n }\r\n\r\n setLocal() {\r\n this.radioData = this.radioData.map((x) => {\r\n x.label = (this.locale as any)[x.id];\r\n return x;\r\n });\r\n }\r\n\r\n setMonthData() {\r\n let dt: { [property: string]: XCalendarNode[] } = {};\r\n for (let key in this.data) {\r\n let month = this.datePipe.transform(key, 'yyyy-MM') as string;\r\n let value = '';\r\n this.data[key].forEach((x) => {\r\n value += `${x.id}${x.label} <br/>`;\r\n });\r\n let item = { id: key, label: value };\r\n if (dt[month]) {\r\n dt[month] = [...dt[month], item];\r\n } else {\r\n dt[month] = [item];\r\n }\r\n }\r\n\r\n this.monthData = dt;\r\n }\r\n\r\n getLocaleMonth(date: Date) {\r\n return (this.locale as any)[this.lowerCasePipe.transform(this.datePipe.transform(date, 'LLLL') as string)];\r\n }\r\n\r\n dateOnChange(date: Date) {\r\n if (this.datePipe.transform(date, 'yyyy-MM-dd') !== this.datePipe.transform(this.activatedDate, 'yyyy-MM-dd')) {\r\n this.activatedDate = date;\r\n this.dateChange.emit(this.activatedDate);\r\n this.cdr.markForCheck();\r\n }\r\n }\r\n\r\n modelOnChange() {\r\n this.cdr.detectChanges();\r\n }\r\n\r\n rangeOnChange(range: Date[]) {\r\n this.rangeChange.emit(range);\r\n }\r\n\r\n getDate(date: Date): XCalendarNode[] {\r\n if (this.data) {\r\n return this.data[this.datePipe.transform(date, 'yyyy-MM-dd') as string];\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n getMonth(date: Date): XCalendarNode[] {\r\n return this.monthData?.[this.datePipe.transform(date, 'yyyy-MM') as string];\r\n }\r\n\r\n trackByDate(_index: number, item: XCalendarNode) {\r\n return `${item.id}-${item.label}`;\r\n }\r\n\r\n trackByMonth(_index: number, item: XCalendarNode) {\r\n return item.id;\r\n }\r\n}\r\n","<div #calendar class=\"x-calendar\" [ngClass]=\"classMap\">\r\n <div class=\"x-calendar-header\">\r\n <div class=\"x-calendar-header-left\">\r\n <ng-container *ngIf=\"headerLeftTemp\">\r\n <ng-container *ngTemplateOutlet=\"headerLeftTemp\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"x-calendar-header-right\">\r\n <x-date-picker [(ngModel)]=\"datetime\" [type]=\"model\" showHeader=\"false\" [clearable]=\"false\"></x-date-picker>\r\n <x-buttons>\r\n <x-button (click)=\"action(-1)\">{{ model === 'month' ? locale.lastMonth : locale.lastYear }}</x-button>\r\n <x-button (click)=\"action(1)\">{{ model === 'month' ? locale.nextMonth : locale.nextYear }}</x-button>\r\n </x-buttons>\r\n <x-radio [data]=\"radioData\" [(ngModel)]=\"model\" (ngModelChange)=\"modelOnChange()\" button></x-radio>\r\n </div>\r\n </div>\r\n <div class=\"x-calendar-body\">\r\n <x-picker-date\r\n *ngIf=\"model === 'month'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [dateTemp]=\"dateTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-date>\r\n <x-picker-month\r\n *ngIf=\"model === 'year'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [monthTemp]=\"monthTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-month>\r\n </div>\r\n</div>\r\n\r\n<ng-template #dateTemp let-date=\"date$\">\r\n <div class=\"x-calendar-date\" [class.x-activated]=\"(date | date: 'yyyyMMdd') === (activatedDate | date: 'yyyyMMdd')\">\r\n <span [title]=\"date | date: 'yyyy-MM-dd'\">{{ date | date: 'd' }}</span>\r\n <div class=\"x-calendar-date-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getDate(date)\">\r\n <li *ngFor=\"let item of getDate(date); trackBy: trackByDate\">\r\n <span [title]=\"item.id + item.label\">{{ item.id }}{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #monthTemp let-date=\"date$\">\r\n <div class=\"x-calendar-month\" [class.x-activated]=\"(date | date: 'yyyyMM') === (activatedDate | date: 'yyyyMM')\">\r\n <span [title]=\"date | date: 'yyyy-MM'\">{{ getLocaleMonth(date) }}</span>\r\n <div class=\"x-calendar-month-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getMonth(date)\">\r\n <li *ngFor=\"let item of getMonth(date); trackBy: trackByMonth\">\r\n <x-link x-tooltip [content]=\"item.label\" placement=\"top\">{{ item.id }}</x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XCalendarComponent } from './calendar.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { XDatePickerModule } from '@ng-nest/ui/date-picker';\r\nimport { XButtonModule } from '@ng-nest/ui/button';\r\nimport { XRadioModule } from '@ng-nest/ui/radio';\r\nimport { XLinkModule } from '@ng-nest/ui/link';\r\nimport { XTooltipModule } from '@ng-nest/ui/tooltip';\r\nimport { XCalendarProperty } from './calendar.property';\r\nimport { XI18nModule } from '@ng-nest/ui/i18n';\r\n\r\n@NgModule({\r\n declarations: [XCalendarComponent, XCalendarProperty],\r\n exports: [XCalendarComponent],\r\n imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule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AAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;oBACrD,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,CAAC;AAC/H,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-calendar.mjs","sources":["../../../../lib/ng-nest/ui/calendar/calendar.property.ts","../../../../lib/ng-nest/ui/calendar/calendar.component.ts","../../../../lib/ng-nest/ui/calendar/calendar.component.html","../../../../lib/ng-nest/ui/calendar/calendar.module.ts","../../../../lib/ng-nest/ui/calendar/ng-nest-ui-calendar.ts"],"sourcesContent":["import { XIdentityProperty, XProperty } from '@ng-nest/ui/core';\r\nimport { Input, Output, EventEmitter, Component, TemplateRef } from '@angular/core';\r\n\r\n/**\r\n * Calendar\r\n * @selector x-calendar\r\n * @decorator component\r\n */\r\nexport const XCalendarPrefix = 'x-calendar';\r\n\r\n/**\r\n * Calendar Property\r\n */\r\n@Component({ template: '' })\r\nexport class XCalendarProperty extends XProperty {\r\n /**\r\n * @zh_CN 事务数据对象\r\n * @en_US Transaction data object\r\n */\r\n @Input() data?: XCalendarData;\r\n /**\r\n * @zh_CN 显示模式\r\n * @en_US Display mode\r\n */\r\n @Input() model: XCalendarModel = 'month';\r\n /**\r\n * @zh_CN 显示类型\r\n * @en_US Display type\r\n */\r\n @Input() displayType: XCalendarType = 'calendar';\r\n /**\r\n * @zh_CN 头部显示模版\r\n * @en_US Head display template\r\n */\r\n @Input() headerLeftTemp?: TemplateRef<void>;\r\n /**\r\n * @zh_CN 选择日期变化的事件\r\n * @en_US Select the event of the date change\r\n */\r\n @Output() dateChange = new EventEmitter<Date>();\r\n /**\r\n * @zh_CN 日期范围变化的事件\r\n * @en_US Date range change event\r\n */\r\n @Output() rangeChange = new EventEmitter<Date[]>();\r\n}\r\n\r\n/**\r\n * @zh_CN Calendar 数据对象\r\n * @en_US Calendar data object\r\n */\r\nexport interface XCalendarData {\r\n /**\r\n * key-value\r\n * { \"2020-2-22\": [{id:\"1\",label:\"1\"}] }\r\n */\r\n [property: string]: XCalendarNode[];\r\n}\r\n\r\n/**\r\n * @zh_CN Calendar 数据对象\r\n * @en_US Calendar data object\r\n */\r\nexport interface XCalendarNode extends XIdentityProperty {}\r\n\r\n/**\r\n * @zh_CN 显示模式\r\n * @en_US Display mode\r\n */\r\nexport type XCalendarModel = 'month' | 'year';\r\n\r\n/**\r\n * @zh_CN 显示类型\r\n * @en_US Display type\r\n */\r\nexport type XCalendarType = 'calendar' | 'card';\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n Renderer2,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n OnChanges,\r\n OnDestroy\r\n} from '@angular/core';\r\nimport { XCalendarPrefix, XCalendarProperty, XCalendarNode } from './calendar.property';\r\nimport { XIsChange, XConfigService, XIsEmpty } from '@ng-nest/ui/core';\r\nimport { DatePipe, LowerCasePipe } from '@angular/common';\r\nimport { XI18nService, XI18nCalendar } from '@ng-nest/ui/i18n';\r\nimport { takeUntil, map } from 'rxjs/operators';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: `${XCalendarPrefix}`,\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [DatePipe, LowerCasePipe]\r\n})\r\nexport class XCalendarComponent extends XCalendarProperty implements OnChanges, OnDestroy {\r\n now: Date = new Date();\r\n datetime: Date = new Date();\r\n activatedDate: Date = new Date();\r\n monthData: { [property: string]: XCalendarNode[] } = {};\r\n locale: XI18nCalendar = {};\r\n radioData = [\r\n { label: '月', id: 'month' },\r\n { label: '年', id: 'year' }\r\n ];\r\n\r\n private _unSubject = new Subject<void>();\r\n\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public datePipe: DatePipe,\r\n public lowerCasePipe: LowerCasePipe,\r\n public configService: XConfigService,\r\n public i18n: XI18nService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n this.i18n.localeChange\r\n .pipe(\r\n map((x) => x.calendar as XI18nCalendar),\r\n takeUntil(this._unSubject)\r\n )\r\n .subscribe((x) => {\r\n this.locale = x;\r\n this.setLocal();\r\n this.cdr.markForCheck();\r\n });\r\n this.setClassMap();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n const { data } = changes;\r\n XIsChange(data) && this.setMonthData();\r\n }\r\n\r\n ngOnDestroy() {\r\n this._unSubject.next();\r\n this._unSubject.unsubscribe();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCalendarPrefix}-${this.displayType}`] = !XIsEmpty(this.displayType);\r\n }\r\n\r\n action(next: number) {\r\n let datetime = new Date(this.datetime.getTime());\r\n if (this.model === 'month') {\r\n datetime.setMonth(datetime.getMonth() + next);\r\n } else if (this.model === 'year') {\r\n datetime.setFullYear(datetime.getFullYear() + next);\r\n }\r\n this.datetime = datetime;\r\n this.cdr.markForCheck();\r\n }\r\n\r\n setLocal() {\r\n this.radioData = this.radioData.map((x) => {\r\n x.label = (this.locale as any)[x.id];\r\n return x;\r\n });\r\n }\r\n\r\n setMonthData() {\r\n let dt: { [property: string]: XCalendarNode[] } = {};\r\n for (let key in this.data) {\r\n let month = this.datePipe.transform(key, 'yyyy-MM') as string;\r\n let value = '';\r\n this.data[key].forEach((x) => {\r\n value += `${x.id}${x.label} <br/>`;\r\n });\r\n let item = { id: key, label: value };\r\n if (dt[month]) {\r\n dt[month] = [...dt[month], item];\r\n } else {\r\n dt[month] = [item];\r\n }\r\n }\r\n\r\n this.monthData = dt;\r\n }\r\n\r\n getLocaleMonth(date: Date) {\r\n return (this.locale as any)[this.lowerCasePipe.transform(this.datePipe.transform(date, 'LLLL') as string)];\r\n }\r\n\r\n dateOnChange(date: Date) {\r\n if (this.datePipe.transform(date, 'yyyy-MM-dd') !== this.datePipe.transform(this.activatedDate, 'yyyy-MM-dd')) {\r\n this.activatedDate = date;\r\n this.dateChange.emit(this.activatedDate);\r\n this.cdr.markForCheck();\r\n }\r\n }\r\n\r\n modelOnChange() {\r\n this.cdr.detectChanges();\r\n }\r\n\r\n rangeOnChange(range: Date[]) {\r\n this.rangeChange.emit(range);\r\n }\r\n\r\n getDate(date: Date): XCalendarNode[] {\r\n if (this.data) {\r\n return this.data[this.datePipe.transform(date, 'yyyy-MM-dd') as string];\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n getMonth(date: Date): XCalendarNode[] {\r\n return this.monthData?.[this.datePipe.transform(date, 'yyyy-MM') as string];\r\n }\r\n\r\n trackByDate(_index: number, item: XCalendarNode) {\r\n return `${item.id}-${item.label}`;\r\n }\r\n\r\n trackByMonth(_index: number, item: XCalendarNode) {\r\n return item.id;\r\n }\r\n}\r\n","<div #calendar class=\"x-calendar\" [ngClass]=\"classMap\">\r\n <div class=\"x-calendar-header\">\r\n <div class=\"x-calendar-header-left\">\r\n <ng-container *ngIf=\"headerLeftTemp\">\r\n <ng-container *ngTemplateOutlet=\"headerLeftTemp\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"x-calendar-header-right\">\r\n <x-date-picker [(ngModel)]=\"datetime\" [type]=\"model\" showHeader=\"false\" [clearable]=\"false\"></x-date-picker>\r\n <x-buttons>\r\n <x-button (click)=\"action(-1)\">{{ model === 'month' ? locale.lastMonth : locale.lastYear }}</x-button>\r\n <x-button (click)=\"action(1)\">{{ model === 'month' ? locale.nextMonth : locale.nextYear }}</x-button>\r\n </x-buttons>\r\n <x-radio [data]=\"radioData\" [(ngModel)]=\"model\" (ngModelChange)=\"modelOnChange()\" button></x-radio>\r\n </div>\r\n </div>\r\n <div class=\"x-calendar-body\">\r\n <x-picker-date\r\n *ngIf=\"model === 'month'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [dateTemp]=\"dateTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-date>\r\n <x-picker-month\r\n *ngIf=\"model === 'year'\"\r\n [display]=\"datetime\"\r\n (modelChange)=\"dateOnChange($event)\"\r\n (rangeChange)=\"rangeOnChange($event)\"\r\n [monthTemp]=\"monthTemp\"\r\n showHeader=\"false\"\r\n ></x-picker-month>\r\n </div>\r\n</div>\r\n\r\n<ng-template #dateTemp let-date=\"date$\">\r\n <div class=\"x-calendar-date\" [class.x-activated]=\"(date | date: 'yyyyMMdd') === (activatedDate | date: 'yyyyMMdd')\">\r\n <span [title]=\"date | date: 'yyyy-MM-dd'\">{{ date | date: 'd' }}</span>\r\n <div class=\"x-calendar-date-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getDate(date)\">\r\n <li *ngFor=\"let item of getDate(date); trackBy: trackByDate\">\r\n <span [title]=\"item.id + item.label\">{{ item.id }}{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #monthTemp let-date=\"date$\">\r\n <div class=\"x-calendar-month\" [class.x-activated]=\"(date | date: 'yyyyMM') === (activatedDate | date: 'yyyyMM')\">\r\n <span [title]=\"date | date: 'yyyy-MM'\">{{ getLocaleMonth(date) }}</span>\r\n <div class=\"x-calendar-month-content\" *ngIf=\"displayType === 'calendar'\">\r\n <ul *ngIf=\"getMonth(date)\">\r\n <li *ngFor=\"let item of getMonth(date); trackBy: trackByMonth\">\r\n <x-link x-tooltip [content]=\"item.label\" placement=\"top\">{{ item.id }}</x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XCalendarComponent } from './calendar.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { XDatePickerModule } from '@ng-nest/ui/date-picker';\r\nimport { XButtonModule } from '@ng-nest/ui/button';\r\nimport { XRadioModule } from '@ng-nest/ui/radio';\r\nimport { XLinkModule } from '@ng-nest/ui/link';\r\nimport { XTooltipModule } from '@ng-nest/ui/tooltip';\r\nimport { XCalendarProperty } from './calendar.property';\r\nimport { XI18nModule } from '@ng-nest/ui/i18n';\r\n\r\n@NgModule({\r\n declarations: [XCalendarComponent, XCalendarProperty],\r\n exports: [XCalendarComponent],\r\n imports: [CommonModule, FormsModule, XLinkModule, XTooltipModule, XRadioModule, XDatePickerModule, XButtonModule, XI18nModule]\r\n})\r\nexport class XCalendarModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,eAAe,GAAG,aAAa;AAE5C;;AAEG;AAEG,MAAO,iBAAkB,SAAQ,SAAS,CAAA;AADhD,IAAA,WAAA,GAAA;;AAOE;;;AAGG;QACM,IAAK,CAAA,KAAA,GAAmB,OAAO,CAAC;AACzC;;;AAGG;QACM,IAAW,CAAA,WAAA,GAAkB,UAAU,CAAC;AAMjD;;;AAGG;AACO,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,YAAY,EAAQ,CAAC;AAChD;;;AAGG;AACO,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAU,CAAC;AACpD,KAAA;;iIA/BY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,mBAAA,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,sPADP,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FACZ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,CAAA;AAGjB,mBAAA,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAFhB,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;2FAElH,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;oBACrD,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,CAAC;AAC/H,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
@@ -29,12 +29,12 @@ class XCardProperty extends XProperty {
29
29
  this.bodyStyle = {};
30
30
  }
31
31
  }
32
- /** @nocollapse */ XCardProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
33
- /** @nocollapse */ XCardProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCardProperty, selector: "ng-component", inputs: { width: "width", bodyStyle: "bodyStyle", header: "header", shadow: "shadow" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
32
+ /** @nocollapse */ XCardProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
33
+ /** @nocollapse */ XCardProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCardProperty, selector: "ng-component", inputs: { width: "width", bodyStyle: "bodyStyle", header: "header", shadow: "shadow" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
34
34
  __decorate([
35
35
  XWithConfig(X_CONFIG_NAME, 'always')
36
36
  ], XCardProperty.prototype, "shadow", void 0);
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardProperty, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardProperty, decorators: [{
38
38
  type: Component,
39
39
  args: [{ template: '' }]
40
40
  }], propDecorators: { width: [{
@@ -62,19 +62,19 @@ class XCardComponent extends XCardProperty {
62
62
  this.classMap[`${XCardPrefix}-${this.shadow}`] = !XIsEmpty(this.shadow);
63
63
  }
64
64
  }
65
- /** @nocollapse */ XCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
66
- /** @nocollapse */ XCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCardComponent, selector: "x-card", usesInheritance: true, ngImport: i0, template: "<div #card class=\"x-card\" [ngClass]=\"classMap\" [style.width]=\"width\">\r\n <div class=\"x-card-header\" *ngIf=\"header\">\r\n <ng-container *xOutlet=\"header\">{{ header }}</ng-container>\r\n </div>\r\n <div class=\"x-card-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".x-card{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);background-color:var(--x-background-a100);transition:box-shadow .3s}.x-card-always,.x-card-hover:hover{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-card-header{display:flex;align-items:center;justify-content:space-between;padding:.675rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-card-body{padding:.875rem;width:100%}.x-card-body>ul li:not(:last-child){margin-bottom:.875rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardComponent, decorators: [{
65
+ /** @nocollapse */ XCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
66
+ /** @nocollapse */ XCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCardComponent, selector: "x-card", usesInheritance: true, ngImport: i0, template: "<div #card class=\"x-card\" [ngClass]=\"classMap\" [style.width]=\"width\">\r\n <div class=\"x-card-header\" *ngIf=\"header\">\r\n <ng-container *xOutlet=\"header\">{{ header }}</ng-container>\r\n </div>\r\n <div class=\"x-card-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".x-card{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);background-color:var(--x-background-a100);transition:box-shadow .3s}.x-card-always,.x-card-hover:hover{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-card-header{display:flex;align-items:center;justify-content:space-between;padding:.675rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-card-body{padding:.875rem;width:100%}.x-card-body>ul li:not(:last-child){margin-bottom:.875rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{ selector: `${XCardPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #card class=\"x-card\" [ngClass]=\"classMap\" [style.width]=\"width\">\r\n <div class=\"x-card-header\" *ngIf=\"header\">\r\n <ng-container *xOutlet=\"header\">{{ header }}</ng-container>\r\n </div>\r\n <div class=\"x-card-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".x-card{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box;position:relative;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);background-color:var(--x-background-a100);transition:box-shadow .3s}.x-card-always,.x-card-hover:hover{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-card-header{display:flex;align-items:center;justify-content:space-between;padding:.675rem;border-bottom:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-card-body{padding:.875rem;width:100%}.x-card-body>ul li:not(:last-child){margin-bottom:.875rem}\n"] }]
70
70
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }]; } });
71
71
 
72
72
  class XCardModule {
73
73
  }
74
- /** @nocollapse */ XCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
- /** @nocollapse */ XCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: XCardModule, declarations: [XCardComponent, XCardProperty], imports: [CommonModule, XIconModule, XOutletModule], exports: [XCardComponent] });
76
- /** @nocollapse */ XCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardModule, imports: [CommonModule, XIconModule, XOutletModule] });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCardModule, decorators: [{
74
+ /** @nocollapse */ XCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
+ /** @nocollapse */ XCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: XCardModule, declarations: [XCardComponent, XCardProperty], imports: [CommonModule, XIconModule, XOutletModule], exports: [XCardComponent] });
76
+ /** @nocollapse */ XCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardModule, imports: [CommonModule, XIconModule, XOutletModule] });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCardModule, decorators: [{
78
78
  type: NgModule,
79
79
  args: [{
80
80
  declarations: [XCardComponent, XCardProperty],
@@ -89,3 +89,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
89
89
 
90
90
  export { XCardComponent, XCardModule, XCardPrefix, XCardProperty };
91
91
  //# sourceMappingURL=ng-nest-ui-card.mjs.map
92
+ //# sourceMappingURL=ng-nest-ui-card.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-card.mjs","sources":["../../../../lib/ng-nest/ui/card/card.property.ts","../../../../lib/ng-nest/ui/card/card.component.ts","../../../../lib/ng-nest/ui/card/card.component.html","../../../../lib/ng-nest/ui/card/card.module.ts","../../../../lib/ng-nest/ui/card/ng-nest-ui-card.ts"],"sourcesContent":["import { XTemplate, XProperty, XNumber, XShadow, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Card\r\n * @selector x-card\r\n * @decorator component\r\n */\r\nexport const XCardPrefix = 'x-card';\r\nconst X_CONFIG_NAME = 'card';\r\n\r\n/**\r\n * Card Property\r\n */\r\n@Component({ template: '' })\r\nexport class XCardProperty extends XProperty {\r\n /**\r\n * @zh_CN 卡片宽度\r\n * @en_US Card width\r\n */\r\n @Input() width?: string;\r\n /**\r\n * @zh_CN 内容样式\r\n * @en_US Content style\r\n */\r\n @Input() bodyStyle: { [property: string]: XNumber } = {};\r\n /**\r\n * @zh_CN 头部模板\r\n * @en_US Head template\r\n */\r\n @Input() header?: XTemplate;\r\n /**\r\n * @zh_CN 阴影显示方式\r\n * @en_US Shadow display method\r\n */\r\n @Input() @XWithConfig<XCardShadow>(X_CONFIG_NAME, 'always') shadow?: XCardShadow;\r\n}\r\n\r\n/**\r\n * @zh_CN 阴影显示配置\r\n * @en_US Shadow display configuration\r\n */\r\nexport type XCardShadow = XShadow;\r\n","import { Component, OnInit, ViewEncapsulation, Renderer2, ElementRef, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { XCardPrefix, XCardProperty } from './card.property';\r\nimport { XIsEmpty, XConfigService } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XCardPrefix}`,\r\n templateUrl: './card.component.html',\r\n styleUrls: ['./card.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCardComponent extends XCardProperty implements OnInit {\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n this.setClassMap();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCardPrefix}-${this.shadow}`] = !XIsEmpty(this.shadow);\r\n }\r\n}\r\n","<div #card class=\"x-card\" [ngClass]=\"classMap\" [style.width]=\"width\">\r\n <div class=\"x-card-header\" *ngIf=\"header\">\r\n <ng-container *xOutlet=\"header\">{{ header }}</ng-container>\r\n </div>\r\n <div class=\"x-card-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XCardComponent } from './card.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XOutletModule } from '@ng-nest/ui/outlet';\r\nimport { XCardProperty } from './card.property';\r\n\r\n@NgModule({\r\n declarations: [XCardComponent, XCardProperty],\r\n exports: [XCardComponent],\r\n imports: [CommonModule, XIconModule, XOutletModule]\r\n})\r\nexport class XCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,WAAW,GAAG,SAAS;AACpC,MAAM,aAAa,GAAG,MAAM,CAAC;AAE7B;;AAEG;AAEG,MAAO,aAAc,SAAQ,SAAS,CAAA;AAD5C,IAAA,WAAA,GAAA;;AAO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/card.component.html","../../../../lib/ng-nest/ui/card/card.module.ts","../../../../lib/ng-nest/ui/card/ng-nest-ui-card.ts"],"sourcesContent":["import { XTemplate, XProperty, XNumber, XShadow, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Card\r\n * @selector x-card\r\n * @decorator component\r\n */\r\nexport const XCardPrefix = 'x-card';\r\nconst X_CONFIG_NAME = 'card';\r\n\r\n/**\r\n * Card Property\r\n */\r\n@Component({ template: '' })\r\nexport class XCardProperty extends XProperty {\r\n /**\r\n * @zh_CN 卡片宽度\r\n * @en_US Card width\r\n */\r\n @Input() width?: string;\r\n /**\r\n * @zh_CN 内容样式\r\n * @en_US Content style\r\n */\r\n @Input() bodyStyle: { [property: string]: XNumber } = {};\r\n /**\r\n * @zh_CN 头部模板\r\n * @en_US Head template\r\n */\r\n @Input() header?: XTemplate;\r\n /**\r\n * @zh_CN 阴影显示方式\r\n * @en_US Shadow display method\r\n */\r\n @Input() @XWithConfig<XCardShadow>(X_CONFIG_NAME, 'always') shadow?: XCardShadow;\r\n}\r\n\r\n/**\r\n * @zh_CN 阴影显示配置\r\n * @en_US Shadow display configuration\r\n */\r\nexport type XCardShadow = XShadow;\r\n","import { Component, OnInit, ViewEncapsulation, Renderer2, ElementRef, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { XCardPrefix, XCardProperty } from './card.property';\r\nimport { XIsEmpty, XConfigService } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XCardPrefix}`,\r\n templateUrl: './card.component.html',\r\n styleUrls: ['./card.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCardComponent extends XCardProperty implements OnInit {\r\n constructor(\r\n public renderer: Renderer2,\r\n public elementRef: ElementRef,\r\n public cdr: ChangeDetectorRef,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n this.setClassMap();\r\n }\r\n\r\n setClassMap() {\r\n this.classMap[`${XCardPrefix}-${this.shadow}`] = !XIsEmpty(this.shadow);\r\n }\r\n}\r\n","<div #card class=\"x-card\" [ngClass]=\"classMap\" [style.width]=\"width\">\r\n <div class=\"x-card-header\" *ngIf=\"header\">\r\n <ng-container *xOutlet=\"header\">{{ header }}</ng-container>\r\n </div>\r\n <div class=\"x-card-body\" [ngStyle]=\"bodyStyle\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XCardComponent } from './card.component';\r\nimport { XIconModule } from '@ng-nest/ui/icon';\r\nimport { XOutletModule } from '@ng-nest/ui/outlet';\r\nimport { XCardProperty } from './card.property';\r\n\r\n@NgModule({\r\n declarations: [XCardComponent, XCardProperty],\r\n exports: [XCardComponent],\r\n imports: [CommonModule, XIconModule, XOutletModule]\r\n})\r\nexport class XCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;AAGA;;;;AAIG;AACI,MAAM,WAAW,GAAG,SAAS;AACpC,MAAM,aAAa,GAAG,MAAM,CAAC;AAE7B;;AAEG;AAEG,MAAO,aAAc,SAAQ,SAAS,CAAA;AAD5C,IAAA,WAAA,GAAA;;AAOE;;;AAGG;QACM,IAAS,CAAA,SAAA,GAAoC,EAAE,CAAC;AAW1D,KAAA;;6HArBY,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,mBAAA,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,mKADH,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;AAqBqC,UAAA,CAAA;AAAlD,IAA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AAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4HAAX,WAAW,EAAA,YAAA,EAAA,CAJP,cAAc,EAAE,aAAa,CAAA,EAAA,OAAA,EAAA,CAElC,YAAY,EAAE,WAAW,EAAE,aAAa,CAAA,EAAA,OAAA,EAAA,CADxC,cAAc,CAAA,EAAA,CAAA,CAAA;AAGb,mBAAA,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EAFZ,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;2FAEvC,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;oBAC7C,OAAO,EAAE,CAAC,cAAc,CAAC;AACzB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,CAAC;AACpD,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -46,8 +46,8 @@ class XCarouselProperty extends XProperty {
46
46
  this.activeChange = new EventEmitter();
47
47
  }
48
48
  }
49
- /** @nocollapse */ XCarouselProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
50
- /** @nocollapse */ XCarouselProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCarouselProperty, selector: "ng-component", inputs: { active: "active", height: "height", trigger: "trigger", arrow: "arrow", direction: "direction", autoplay: "autoplay", interval: "interval", outside: "outside", card: "card" }, outputs: { activeChange: "activeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
49
+ /** @nocollapse */ XCarouselProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
50
+ /** @nocollapse */ XCarouselProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCarouselProperty, selector: "ng-component", inputs: { active: "active", height: "height", trigger: "trigger", arrow: "arrow", direction: "direction", autoplay: "autoplay", interval: "interval", outside: "outside", card: "card" }, outputs: { activeChange: "activeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
51
51
  __decorate([
52
52
  XInputNumber()
53
53
  ], XCarouselProperty.prototype, "active", void 0);
@@ -72,7 +72,7 @@ __decorate([
72
72
  __decorate([
73
73
  XInputBoolean()
74
74
  ], XCarouselProperty.prototype, "card", void 0);
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselProperty, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselProperty, decorators: [{
76
76
  type: Component,
77
77
  args: [{ template: '' }]
78
78
  }], propDecorators: { active: [{
@@ -107,12 +107,12 @@ const XCarouselPanelPrefix = 'x-carousel-panel';
107
107
  */
108
108
  class XCarouselPanelProperty extends XProperty {
109
109
  }
110
- /** @nocollapse */ XCarouselPanelProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselPanelProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
111
- /** @nocollapse */ XCarouselPanelProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: XCarouselPanelProperty, selector: "ng-component", inputs: { active: "active" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
110
+ /** @nocollapse */ XCarouselPanelProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselPanelProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
111
+ /** @nocollapse */ XCarouselPanelProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: XCarouselPanelProperty, selector: "ng-component", inputs: { active: "active" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
112
112
  __decorate([
113
113
  XInputBoolean()
114
114
  ], XCarouselPanelProperty.prototype, "active", void 0);
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselPanelProperty, decorators: [{
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselPanelProperty, decorators: [{
116
116
  type: Component,
117
117
  args: [{ template: '' }]
118
118
  }], propDecorators: { active: [{
@@ -186,9 +186,9 @@ class XCarouselComponent extends XCarouselProperty {
186
186
  return index;
187
187
  }
188
188
  }
189
- /** @nocollapse */ XCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
190
- /** @nocollapse */ XCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 #carousel class=\"x-carousel\" [ngClass]=\"classMap\" [class.x-carousel-arrow-always]=\"arrow === 'always'\">\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>\r\n <ul class=\"x-carousel-indicator\" [class.x-carousel-indicator-outside]=\"outside || card\">\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{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside>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{overflow-x:hidden}.x-carousel-vertical{overflow-y: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}\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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselComponent, decorators: [{
189
+ /** @nocollapse */ XCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
190
+ /** @nocollapse */ XCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", 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 #carousel class=\"x-carousel\" [ngClass]=\"classMap\" [class.x-carousel-arrow-always]=\"arrow === 'always'\">\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>\r\n <ul class=\"x-carousel-indicator\" [class.x-carousel-indicator-outside]=\"outside || card\">\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{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside>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{overflow-x:hidden}.x-carousel-vertical{overflow-y: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}\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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselComponent, decorators: [{
192
192
  type: Component,
193
193
  args: [{ selector: `${XCarouselPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #carousel class=\"x-carousel\" [ngClass]=\"classMap\" [class.x-carousel-arrow-always]=\"arrow === 'always'\">\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>\r\n <ul class=\"x-carousel-indicator\" [class.x-carousel-indicator-outside]=\"outside || card\">\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{position:static;transform:none;display:flex;align-items:center;justify-content:center}.x-carousel-indicator-outside>li>x-button .x-button{background-color:var(--x-text-700)}.x-carousel-indicator-outside>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{overflow-x:hidden}.x-carousel-vertical{overflow-y: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}\n"] }]
194
194
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }]; }, propDecorators: { carousel: [{
@@ -311,9 +311,9 @@ class XCarouselPanelComponent extends XCarouselPanelProperty {
311
311
  this.renderer.removeClass(this.elementRef.nativeElement, cls);
312
312
  }
313
313
  }
314
- /** @nocollapse */ XCarouselPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", 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 });
315
- /** @nocollapse */ XCarouselPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselPanelComponent, decorators: [{
314
+ /** @nocollapse */ XCarouselPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", 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 });
315
+ /** @nocollapse */ XCarouselPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", 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 });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselPanelComponent, decorators: [{
317
317
  type: Component,
318
318
  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"] }]
319
319
  }], ctorParameters: function () { return [{ type: XCarouselComponent, decorators: [{
@@ -324,10 +324,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
324
324
 
325
325
  class XCarouselModule {
326
326
  }
327
- /** @nocollapse */ XCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
328
- /** @nocollapse */ XCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: XCarouselModule, declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty], imports: [CommonModule, XButtonModule], exports: [XCarouselComponent, XCarouselPanelComponent] });
329
- /** @nocollapse */ XCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselModule, imports: [CommonModule, XButtonModule] });
330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: XCarouselModule, decorators: [{
327
+ /** @nocollapse */ XCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
328
+ /** @nocollapse */ XCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: XCarouselModule, declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty], imports: [CommonModule, XButtonModule], exports: [XCarouselComponent, XCarouselPanelComponent] });
329
+ /** @nocollapse */ XCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselModule, imports: [CommonModule, XButtonModule] });
330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: XCarouselModule, decorators: [{
331
331
  type: NgModule,
332
332
  args: [{
333
333
  declarations: [XCarouselComponent, XCarouselPanelComponent, XCarouselProperty, XCarouselPanelProperty],
@@ -342,3 +342,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
342
342
 
343
343
  export { XCarouselComponent, XCarouselModule, XCarouselPanelComponent, XCarouselPanelPrefix, XCarouselPanelProperty, XCarouselPrefix, XCarouselProperty };
344
344
  //# sourceMappingURL=ng-nest-ui-carousel.mjs.map
345
+ //# sourceMappingURL=ng-nest-ui-carousel.mjs.map