@ng-nest/ui 15.0.17 → 15.0.19

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 (578) hide show
  1. package/anchor/anchor.component.d.ts +1 -1
  2. package/avatar/avatar.component.d.ts +1 -1
  3. package/back-top/back-top.component.d.ts +5 -3
  4. package/button/button.component.d.ts +2 -0
  5. package/color/color.component.d.ts +2 -2
  6. package/core/config/config.d.ts +6 -2
  7. package/core/config/config.service.d.ts +4 -3
  8. package/core/functions/resize.d.ts +4 -2
  9. package/core/services/storage.service.d.ts +3 -1
  10. package/core/theme/theme.service.d.ts +2 -2
  11. package/core/util/computed-style.d.ts +2 -1
  12. package/core/util/index.d.ts +1 -0
  13. package/esm2020/affix/affix.component.mjs +3 -3
  14. package/esm2020/affix/affix.module.mjs +4 -4
  15. package/esm2020/affix/affix.property.mjs +3 -3
  16. package/esm2020/alert/alert.component.mjs +3 -3
  17. package/esm2020/alert/alert.module.mjs +4 -4
  18. package/esm2020/alert/alert.property.mjs +3 -3
  19. package/esm2020/anchor/anchor-inner.component.mjs +3 -3
  20. package/esm2020/anchor/anchor.component.mjs +16 -19
  21. package/esm2020/anchor/anchor.module.mjs +4 -4
  22. package/esm2020/anchor/anchor.property.mjs +6 -6
  23. package/esm2020/api/api.component.mjs +3 -3
  24. package/esm2020/api/api.module.mjs +4 -4
  25. package/esm2020/auto-complete/auto-complete-portal.component.mjs +3 -3
  26. package/esm2020/auto-complete/auto-complete.component.mjs +3 -3
  27. package/esm2020/auto-complete/auto-complete.module.mjs +4 -4
  28. package/esm2020/auto-complete/auto-complete.property.mjs +3 -3
  29. package/esm2020/avatar/avatar-group.component.mjs +3 -3
  30. package/esm2020/avatar/avatar.component.mjs +8 -11
  31. package/esm2020/avatar/avatar.module.mjs +4 -4
  32. package/esm2020/avatar/avatar.property.mjs +6 -6
  33. package/esm2020/back-top/back-top.component.mjs +17 -16
  34. package/esm2020/back-top/back-top.module.mjs +4 -4
  35. package/esm2020/back-top/back-top.property.mjs +3 -3
  36. package/esm2020/badge/badge.component.mjs +3 -3
  37. package/esm2020/badge/badge.module.mjs +4 -4
  38. package/esm2020/badge/badge.property.mjs +3 -3
  39. package/esm2020/base-form/base-form.component.mjs +3 -3
  40. package/esm2020/base-form/base-form.module.mjs +4 -4
  41. package/esm2020/base-form/base-form.property.mjs +3 -3
  42. package/esm2020/border/border.component.mjs +3 -3
  43. package/esm2020/border/border.module.mjs +4 -4
  44. package/esm2020/button/button.component.mjs +22 -10
  45. package/esm2020/button/button.module.mjs +4 -4
  46. package/esm2020/button/button.property.mjs +6 -6
  47. package/esm2020/button/buttons.component.mjs +3 -3
  48. package/esm2020/calendar/calendar.component.mjs +3 -3
  49. package/esm2020/calendar/calendar.module.mjs +4 -4
  50. package/esm2020/calendar/calendar.property.mjs +3 -3
  51. package/esm2020/card/card.component.mjs +3 -3
  52. package/esm2020/card/card.module.mjs +4 -4
  53. package/esm2020/card/card.property.mjs +3 -3
  54. package/esm2020/carousel/carousel-panel.component.mjs +3 -3
  55. package/esm2020/carousel/carousel.component.mjs +4 -4
  56. package/esm2020/carousel/carousel.module.mjs +4 -4
  57. package/esm2020/carousel/carousel.property.mjs +6 -6
  58. package/esm2020/cascade/cascade-portal.component.mjs +3 -3
  59. package/esm2020/cascade/cascade.component.mjs +3 -3
  60. package/esm2020/cascade/cascade.module.mjs +4 -4
  61. package/esm2020/cascade/cascade.property.mjs +3 -3
  62. package/esm2020/checkbox/checkbox.component.mjs +3 -3
  63. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  64. package/esm2020/checkbox/checkbox.property.mjs +3 -3
  65. package/esm2020/collapse/collapse-panel.component.mjs +3 -3
  66. package/esm2020/collapse/collapse.component.mjs +3 -3
  67. package/esm2020/collapse/collapse.module.mjs +4 -4
  68. package/esm2020/collapse/collapse.property.mjs +6 -6
  69. package/esm2020/color/color.component.mjs +10 -13
  70. package/esm2020/color/color.module.mjs +4 -4
  71. package/esm2020/color/color.property.mjs +3 -3
  72. package/esm2020/color-picker/color-picker-portal.component.mjs +6 -6
  73. package/esm2020/color-picker/color-picker.component.mjs +3 -3
  74. package/esm2020/color-picker/color-picker.module.mjs +4 -4
  75. package/esm2020/color-picker/color-picker.property.mjs +3 -3
  76. package/esm2020/comment/comment-reply.component.mjs +3 -3
  77. package/esm2020/comment/comment.component.mjs +3 -3
  78. package/esm2020/comment/comment.module.mjs +4 -4
  79. package/esm2020/comment/comment.property.mjs +6 -6
  80. package/esm2020/container/aside.component.mjs +3 -3
  81. package/esm2020/container/container.component.mjs +3 -3
  82. package/esm2020/container/container.module.mjs +4 -4
  83. package/esm2020/container/container.property.mjs +12 -12
  84. package/esm2020/container/footer.component.mjs +3 -3
  85. package/esm2020/container/header.component.mjs +3 -3
  86. package/esm2020/container/main.component.mjs +3 -3
  87. package/esm2020/core/config/config.mjs +1 -1
  88. package/esm2020/core/config/config.service.mjs +11 -20
  89. package/esm2020/core/functions/resize.mjs +4 -1
  90. package/esm2020/core/services/http.service.mjs +3 -3
  91. package/esm2020/core/services/preloading-strategy.service.mjs +3 -3
  92. package/esm2020/core/services/storage.service.mjs +45 -12
  93. package/esm2020/core/theme/theme.service.mjs +10 -12
  94. package/esm2020/core/util/computed-style.mjs +9 -3
  95. package/esm2020/core/util/index.mjs +2 -0
  96. package/esm2020/crumb/crumb.component.mjs +3 -3
  97. package/esm2020/crumb/crumb.module.mjs +4 -4
  98. package/esm2020/crumb/crumb.property.mjs +3 -3
  99. package/esm2020/date-picker/date-picker-portal.component.mjs +3 -3
  100. package/esm2020/date-picker/date-picker.component.mjs +3 -3
  101. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  102. package/esm2020/date-picker/date-picker.property.mjs +18 -18
  103. package/esm2020/date-picker/date-quarter.pipe.mjs +3 -3
  104. package/esm2020/date-picker/date-range-portal.component.mjs +3 -3
  105. package/esm2020/date-picker/date-range.component.mjs +3 -3
  106. package/esm2020/date-picker/picker-date.component.mjs +3 -3
  107. package/esm2020/date-picker/picker-month.component.mjs +3 -3
  108. package/esm2020/date-picker/picker-quarter.component.mjs +3 -3
  109. package/esm2020/date-picker/picker-year.component.mjs +3 -3
  110. package/esm2020/description/description-item.component.mjs +3 -3
  111. package/esm2020/description/description.component.mjs +3 -3
  112. package/esm2020/description/description.module.mjs +4 -4
  113. package/esm2020/description/description.property.mjs +6 -6
  114. package/esm2020/dialog/dialog-container.component.mjs +3 -3
  115. package/esm2020/dialog/dialog-portal.component.mjs +3 -3
  116. package/esm2020/dialog/dialog-portal.directives.mjs +18 -18
  117. package/esm2020/dialog/dialog.component.mjs +3 -3
  118. package/esm2020/dialog/dialog.module.mjs +4 -4
  119. package/esm2020/dialog/dialog.property.mjs +6 -6
  120. package/esm2020/dialog/dialog.service.mjs +3 -3
  121. package/esm2020/doc/doc.component.mjs +3 -3
  122. package/esm2020/doc/doc.module.mjs +4 -4
  123. package/esm2020/drawer/drawer-container.component.mjs +3 -3
  124. package/esm2020/drawer/drawer-portal.component.mjs +3 -3
  125. package/esm2020/drawer/drawer-portal.directives.mjs +9 -9
  126. package/esm2020/drawer/drawer.component.mjs +3 -3
  127. package/esm2020/drawer/drawer.module.mjs +4 -4
  128. package/esm2020/drawer/drawer.property.mjs +6 -6
  129. package/esm2020/drawer/drawer.service.mjs +3 -3
  130. package/esm2020/dropdown/dropdown-portal.component.mjs +3 -3
  131. package/esm2020/dropdown/dropdown.component.mjs +3 -3
  132. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  133. package/esm2020/dropdown/dropdown.property.mjs +3 -3
  134. package/esm2020/empty/empty.component.mjs +3 -3
  135. package/esm2020/empty/empty.module.mjs +4 -4
  136. package/esm2020/empty/empty.property.mjs +7 -4
  137. package/esm2020/examples/examples.component.mjs +3 -3
  138. package/esm2020/examples/examples.module.mjs +4 -4
  139. package/esm2020/find/find.component.mjs +4 -4
  140. package/esm2020/find/find.module.mjs +4 -4
  141. package/esm2020/find/find.property.mjs +3 -3
  142. package/esm2020/form/control.component.mjs +3 -3
  143. package/esm2020/form/form.component.mjs +3 -3
  144. package/esm2020/form/form.module.mjs +4 -4
  145. package/esm2020/form/form.property.mjs +6 -6
  146. package/esm2020/highlight/highlight.component.mjs +9 -8
  147. package/esm2020/highlight/highlight.module.mjs +4 -4
  148. package/esm2020/highlight/highlight.property.mjs +3 -3
  149. package/esm2020/i18n/i18n.directive.mjs +3 -3
  150. package/esm2020/i18n/i18n.module.mjs +4 -4
  151. package/esm2020/i18n/i18n.pipe.mjs +3 -3
  152. package/esm2020/i18n/i18n.property.mjs +1 -1
  153. package/esm2020/i18n/i18n.service.mjs +3 -3
  154. package/esm2020/i18n/languages/en_GB.mjs +5 -2
  155. package/esm2020/i18n/languages/en_US.mjs +5 -2
  156. package/esm2020/i18n/languages/zh_CN.mjs +5 -2
  157. package/esm2020/i18n/languages/zh_TW.mjs +5 -2
  158. package/esm2020/icon/icon.component.mjs +9 -14
  159. package/esm2020/icon/icon.module.mjs +4 -4
  160. package/esm2020/icon/icon.property.mjs +3 -3
  161. package/esm2020/icon/icon.service.mjs +3 -3
  162. package/esm2020/image/image-group.component.mjs +3 -3
  163. package/esm2020/image/image-preview.component.mjs +14 -10
  164. package/esm2020/image/image.component.mjs +3 -3
  165. package/esm2020/image/image.module.mjs +4 -4
  166. package/esm2020/image/image.property.mjs +6 -6
  167. package/esm2020/inner/inner.component.mjs +3 -3
  168. package/esm2020/inner/inner.module.mjs +4 -4
  169. package/esm2020/inner/inner.property.mjs +3 -3
  170. package/esm2020/input/input-group.component.mjs +3 -3
  171. package/esm2020/input/input.component.mjs +3 -3
  172. package/esm2020/input/input.module.mjs +4 -4
  173. package/esm2020/input/input.property.mjs +6 -6
  174. package/esm2020/input-number/input-number.component.mjs +3 -3
  175. package/esm2020/input-number/input-number.module.mjs +4 -4
  176. package/esm2020/input-number/input-number.property.mjs +3 -3
  177. package/esm2020/keyword/keyword.directive.mjs +3 -3
  178. package/esm2020/keyword/keyword.module.mjs +4 -4
  179. package/esm2020/keyword/keyword.property.mjs +3 -3
  180. package/esm2020/layout/col.component.mjs +3 -3
  181. package/esm2020/layout/layout.module.mjs +4 -4
  182. package/esm2020/layout/layout.property.mjs +6 -6
  183. package/esm2020/layout/row.component.mjs +3 -3
  184. package/esm2020/link/link.component.mjs +3 -3
  185. package/esm2020/link/link.module.mjs +4 -4
  186. package/esm2020/link/link.property.mjs +3 -3
  187. package/esm2020/list/list-drop-group.directive.mjs +3 -3
  188. package/esm2020/list/list-option.component.mjs +3 -3
  189. package/esm2020/list/list.component.mjs +5 -5
  190. package/esm2020/list/list.module.mjs +4 -4
  191. package/esm2020/list/list.property.mjs +6 -6
  192. package/esm2020/loading/loading.component.mjs +3 -3
  193. package/esm2020/loading/loading.module.mjs +4 -4
  194. package/esm2020/loading/loading.property.mjs +3 -3
  195. package/esm2020/menu/menu-node.component.mjs +3 -3
  196. package/esm2020/menu/menu.component.mjs +12 -12
  197. package/esm2020/menu/menu.module.mjs +4 -4
  198. package/esm2020/menu/menu.property.mjs +6 -6
  199. package/esm2020/message/message.component.mjs +3 -3
  200. package/esm2020/message/message.module.mjs +4 -4
  201. package/esm2020/message/message.service.mjs +3 -3
  202. package/esm2020/message-box/message-box.component.mjs +3 -3
  203. package/esm2020/message-box/message-box.module.mjs +4 -4
  204. package/esm2020/message-box/message-box.service.mjs +3 -3
  205. package/esm2020/notification/notification.component.mjs +3 -3
  206. package/esm2020/notification/notification.module.mjs +4 -4
  207. package/esm2020/notification/notification.service.mjs +3 -3
  208. package/esm2020/outlet/outlet.directive.mjs +3 -3
  209. package/esm2020/outlet/outlet.module.mjs +4 -4
  210. package/esm2020/page-header/page-header.component.mjs +3 -3
  211. package/esm2020/page-header/page-header.module.mjs +4 -4
  212. package/esm2020/page-header/page-header.property.mjs +3 -3
  213. package/esm2020/pagination/pagination.component.mjs +3 -3
  214. package/esm2020/pagination/pagination.module.mjs +4 -4
  215. package/esm2020/pagination/pagination.property.mjs +3 -3
  216. package/esm2020/pattern/pattern.component.mjs +3 -3
  217. package/esm2020/pattern/pattern.module.mjs +4 -4
  218. package/esm2020/popconfirm/popconfirm.component.mjs +3 -3
  219. package/esm2020/popconfirm/popconfirm.module.mjs +4 -4
  220. package/esm2020/popconfirm/popconfirm.property.mjs +3 -3
  221. package/esm2020/popover/popover-portal.component.mjs +3 -3
  222. package/esm2020/popover/popover.directive.mjs +3 -3
  223. package/esm2020/popover/popover.module.mjs +4 -4
  224. package/esm2020/popover/popover.property.mjs +3 -3
  225. package/esm2020/portal/portal.module.mjs +4 -4
  226. package/esm2020/portal/portal.service.mjs +6 -5
  227. package/esm2020/progress/progress.component.mjs +3 -3
  228. package/esm2020/progress/progress.module.mjs +4 -4
  229. package/esm2020/progress/progress.property.mjs +3 -3
  230. package/esm2020/radio/radio.component.mjs +5 -5
  231. package/esm2020/radio/radio.module.mjs +4 -4
  232. package/esm2020/radio/radio.property.mjs +3 -3
  233. package/esm2020/rate/rate.component.mjs +3 -3
  234. package/esm2020/rate/rate.module.mjs +4 -4
  235. package/esm2020/rate/rate.property.mjs +3 -3
  236. package/esm2020/resizable/resizable.directive.mjs +10 -13
  237. package/esm2020/resizable/resizable.module.mjs +4 -4
  238. package/esm2020/resizable/resizable.property.mjs +3 -3
  239. package/esm2020/result/result.component.mjs +3 -3
  240. package/esm2020/result/result.module.mjs +4 -4
  241. package/esm2020/result/result.property.mjs +3 -3
  242. package/esm2020/ripple/ripple.directive.mjs +6 -5
  243. package/esm2020/ripple/ripple.module.mjs +4 -4
  244. package/esm2020/ripple/ripple.property.mjs +3 -3
  245. package/esm2020/select/select-portal.component.mjs +3 -3
  246. package/esm2020/select/select.component.mjs +6 -6
  247. package/esm2020/select/select.module.mjs +4 -4
  248. package/esm2020/select/select.property.mjs +3 -3
  249. package/esm2020/skeleton/skeleton.component.mjs +3 -3
  250. package/esm2020/skeleton/skeleton.module.mjs +4 -4
  251. package/esm2020/skeleton/skeleton.property.mjs +3 -3
  252. package/esm2020/slider/slider.component.mjs +7 -5
  253. package/esm2020/slider/slider.module.mjs +4 -4
  254. package/esm2020/slider/slider.property.mjs +3 -3
  255. package/esm2020/slider-select/slider-select.component.mjs +21 -14
  256. package/esm2020/slider-select/slider-select.module.mjs +4 -4
  257. package/esm2020/slider-select/slider-select.property.mjs +3 -3
  258. package/esm2020/statistic/countdown.component.mjs +3 -3
  259. package/esm2020/statistic/statistic.component.mjs +3 -3
  260. package/esm2020/statistic/statistic.module.mjs +4 -4
  261. package/esm2020/statistic/statistic.property.mjs +6 -6
  262. package/esm2020/steps/steps.component.mjs +3 -3
  263. package/esm2020/steps/steps.module.mjs +4 -4
  264. package/esm2020/steps/steps.property.mjs +3 -3
  265. package/esm2020/switch/switch.component.mjs +3 -3
  266. package/esm2020/switch/switch.module.mjs +4 -4
  267. package/esm2020/switch/switch.property.mjs +3 -3
  268. package/esm2020/table/drag.directive.mjs +8 -11
  269. package/esm2020/table/table-body.component.mjs +11 -14
  270. package/esm2020/table/table-foot.component.mjs +3 -3
  271. package/esm2020/table/table-head.component.mjs +3 -3
  272. package/esm2020/table/table.component.mjs +3 -3
  273. package/esm2020/table/table.module.mjs +4 -4
  274. package/esm2020/table/table.property.mjs +29 -13
  275. package/esm2020/tabs/tab-content.component.mjs +3 -3
  276. package/esm2020/tabs/tab-link.directive.mjs +6 -6
  277. package/esm2020/tabs/tab.component.mjs +3 -3
  278. package/esm2020/tabs/tabs.component.mjs +4 -4
  279. package/esm2020/tabs/tabs.module.mjs +4 -4
  280. package/esm2020/tabs/tabs.property.mjs +6 -6
  281. package/esm2020/tag/tag.component.mjs +3 -3
  282. package/esm2020/tag/tag.module.mjs +4 -4
  283. package/esm2020/tag/tag.property.mjs +3 -3
  284. package/esm2020/text-retract/text-retract.component.mjs +3 -3
  285. package/esm2020/text-retract/text-retract.module.mjs +4 -4
  286. package/esm2020/text-retract/text-retract.property.mjs +3 -3
  287. package/esm2020/textarea/textarea.component.mjs +3 -3
  288. package/esm2020/textarea/textarea.module.mjs +4 -4
  289. package/esm2020/textarea/textarea.property.mjs +3 -3
  290. package/esm2020/theme/theme.component.mjs +3 -3
  291. package/esm2020/theme/theme.module.mjs +4 -4
  292. package/esm2020/theme/theme.property.mjs +3 -3
  293. package/esm2020/time-ago/time-ago.module.mjs +4 -4
  294. package/esm2020/time-ago/time-ago.pipe.mjs +3 -3
  295. package/esm2020/time-picker/time-picker-frame.component.mjs +3 -3
  296. package/esm2020/time-picker/time-picker-portal.component.mjs +3 -3
  297. package/esm2020/time-picker/time-picker.component.mjs +21 -5
  298. package/esm2020/time-picker/time-picker.module.mjs +4 -4
  299. package/esm2020/time-picker/time-picker.property.mjs +3 -3
  300. package/esm2020/time-range/time-range.module.mjs +4 -4
  301. package/esm2020/time-range/time-range.pipe.mjs +3 -3
  302. package/esm2020/timeline/timeline.component.mjs +3 -3
  303. package/esm2020/timeline/timeline.module.mjs +4 -4
  304. package/esm2020/timeline/timeline.property.mjs +3 -3
  305. package/esm2020/tooltip/tooltip-portal.component.mjs +3 -3
  306. package/esm2020/tooltip/tooltip.directive.mjs +3 -3
  307. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  308. package/esm2020/tooltip/tooltip.property.mjs +3 -3
  309. package/esm2020/transfer/transfer.component.mjs +3 -3
  310. package/esm2020/transfer/transfer.module.mjs +4 -4
  311. package/esm2020/transfer/transfer.property.mjs +3 -3
  312. package/esm2020/tree/tree-node.component.mjs +3 -3
  313. package/esm2020/tree/tree.component.mjs +4 -4
  314. package/esm2020/tree/tree.module.mjs +4 -4
  315. package/esm2020/tree/tree.property.mjs +6 -6
  316. package/esm2020/tree/tree.service.mjs +3 -3
  317. package/esm2020/tree-file/tree-file.component.mjs +9 -6
  318. package/esm2020/tree-file/tree-file.module.mjs +4 -4
  319. package/esm2020/tree-file/tree-file.property.mjs +5 -5
  320. package/esm2020/tree-select/tree-select-portal.component.mjs +3 -3
  321. package/esm2020/tree-select/tree-select.component.mjs +6 -6
  322. package/esm2020/tree-select/tree-select.module.mjs +4 -4
  323. package/esm2020/tree-select/tree-select.property.mjs +3 -3
  324. package/esm2020/typography/typography.component.mjs +3 -3
  325. package/esm2020/typography/typography.module.mjs +4 -4
  326. package/esm2020/typography/typography.property.mjs +3 -3
  327. package/esm2020/upload/upload-portal.component.mjs +8 -11
  328. package/esm2020/upload/upload.component.mjs +3 -3
  329. package/esm2020/upload/upload.module.mjs +4 -4
  330. package/esm2020/upload/upload.property.mjs +3 -3
  331. package/fesm2015/ng-nest-ui-affix.mjs +10 -10
  332. package/fesm2015/ng-nest-ui-alert.mjs +10 -10
  333. package/fesm2015/ng-nest-ui-anchor.mjs +28 -33
  334. package/fesm2015/ng-nest-ui-anchor.mjs.map +1 -1
  335. package/fesm2015/ng-nest-ui-api.mjs +7 -7
  336. package/fesm2015/ng-nest-ui-auto-complete.mjs +13 -13
  337. package/fesm2015/ng-nest-ui-avatar.mjs +20 -25
  338. package/fesm2015/ng-nest-ui-avatar.mjs.map +1 -1
  339. package/fesm2015/ng-nest-ui-back-top.mjs +23 -24
  340. package/fesm2015/ng-nest-ui-back-top.mjs.map +1 -1
  341. package/fesm2015/ng-nest-ui-badge.mjs +10 -10
  342. package/fesm2015/ng-nest-ui-base-form.mjs +10 -10
  343. package/fesm2015/ng-nest-ui-border.mjs +7 -7
  344. package/fesm2015/ng-nest-ui-button.mjs +35 -22
  345. package/fesm2015/ng-nest-ui-button.mjs.map +1 -1
  346. package/fesm2015/ng-nest-ui-calendar.mjs +10 -10
  347. package/fesm2015/ng-nest-ui-card.mjs +10 -10
  348. package/fesm2015/ng-nest-ui-carousel.mjs +16 -16
  349. package/fesm2015/ng-nest-ui-carousel.mjs.map +1 -1
  350. package/fesm2015/ng-nest-ui-cascade.mjs +13 -13
  351. package/fesm2015/ng-nest-ui-checkbox.mjs +10 -10
  352. package/fesm2015/ng-nest-ui-collapse.mjs +16 -16
  353. package/fesm2015/ng-nest-ui-color-picker.mjs +15 -15
  354. package/fesm2015/ng-nest-ui-color-picker.mjs.map +1 -1
  355. package/fesm2015/ng-nest-ui-color.mjs +16 -21
  356. package/fesm2015/ng-nest-ui-color.mjs.map +1 -1
  357. package/fesm2015/ng-nest-ui-comment.mjs +16 -16
  358. package/fesm2015/ng-nest-ui-container.mjs +31 -31
  359. package/fesm2015/ng-nest-ui-core.mjs +78 -51
  360. package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
  361. package/fesm2015/ng-nest-ui-crumb.mjs +10 -10
  362. package/fesm2015/ng-nest-ui-date-picker.mjs +49 -49
  363. package/fesm2015/ng-nest-ui-description.mjs +16 -16
  364. package/fesm2015/ng-nest-ui-dialog.mjs +40 -40
  365. package/fesm2015/ng-nest-ui-doc.mjs +7 -7
  366. package/fesm2015/ng-nest-ui-drawer.mjs +31 -31
  367. package/fesm2015/ng-nest-ui-dropdown.mjs +13 -13
  368. package/fesm2015/ng-nest-ui-empty.mjs +13 -10
  369. package/fesm2015/ng-nest-ui-empty.mjs.map +1 -1
  370. package/fesm2015/ng-nest-ui-examples.mjs +7 -7
  371. package/fesm2015/ng-nest-ui-find.mjs +10 -10
  372. package/fesm2015/ng-nest-ui-find.mjs.map +1 -1
  373. package/fesm2015/ng-nest-ui-form.mjs +16 -16
  374. package/fesm2015/ng-nest-ui-highlight.mjs +15 -14
  375. package/fesm2015/ng-nest-ui-highlight.mjs.map +1 -1
  376. package/fesm2015/ng-nest-ui-i18n.mjs +29 -17
  377. package/fesm2015/ng-nest-ui-i18n.mjs.map +1 -1
  378. package/fesm2015/ng-nest-ui-icon.mjs +18 -25
  379. package/fesm2015/ng-nest-ui-icon.mjs.map +1 -1
  380. package/fesm2015/ng-nest-ui-image.mjs +30 -26
  381. package/fesm2015/ng-nest-ui-image.mjs.map +1 -1
  382. package/fesm2015/ng-nest-ui-inner.mjs +10 -10
  383. package/fesm2015/ng-nest-ui-input-number.mjs +10 -10
  384. package/fesm2015/ng-nest-ui-input.mjs +16 -16
  385. package/fesm2015/ng-nest-ui-keyword.mjs +10 -10
  386. package/fesm2015/ng-nest-ui-layout.mjs +16 -16
  387. package/fesm2015/ng-nest-ui-link.mjs +10 -10
  388. package/fesm2015/ng-nest-ui-list.mjs +20 -20
  389. package/fesm2015/ng-nest-ui-list.mjs.map +1 -1
  390. package/fesm2015/ng-nest-ui-loading.mjs +10 -10
  391. package/fesm2015/ng-nest-ui-menu.mjs +24 -26
  392. package/fesm2015/ng-nest-ui-menu.mjs.map +1 -1
  393. package/fesm2015/ng-nest-ui-message-box.mjs +10 -10
  394. package/fesm2015/ng-nest-ui-message.mjs +10 -10
  395. package/fesm2015/ng-nest-ui-notification.mjs +10 -10
  396. package/fesm2015/ng-nest-ui-outlet.mjs +7 -7
  397. package/fesm2015/ng-nest-ui-page-header.mjs +10 -10
  398. package/fesm2015/ng-nest-ui-pagination.mjs +10 -10
  399. package/fesm2015/ng-nest-ui-pattern.mjs +7 -7
  400. package/fesm2015/ng-nest-ui-popconfirm.mjs +10 -10
  401. package/fesm2015/ng-nest-ui-popover.mjs +13 -13
  402. package/fesm2015/ng-nest-ui-portal.mjs +9 -9
  403. package/fesm2015/ng-nest-ui-portal.mjs.map +1 -1
  404. package/fesm2015/ng-nest-ui-progress.mjs +10 -10
  405. package/fesm2015/ng-nest-ui-radio.mjs +11 -11
  406. package/fesm2015/ng-nest-ui-radio.mjs.map +1 -1
  407. package/fesm2015/ng-nest-ui-rate.mjs +10 -10
  408. package/fesm2015/ng-nest-ui-resizable.mjs +16 -21
  409. package/fesm2015/ng-nest-ui-resizable.mjs.map +1 -1
  410. package/fesm2015/ng-nest-ui-result.mjs +10 -10
  411. package/fesm2015/ng-nest-ui-ripple.mjs +12 -12
  412. package/fesm2015/ng-nest-ui-ripple.mjs.map +1 -1
  413. package/fesm2015/ng-nest-ui-select.mjs +15 -15
  414. package/fesm2015/ng-nest-ui-select.mjs.map +1 -1
  415. package/fesm2015/ng-nest-ui-skeleton.mjs +10 -10
  416. package/fesm2015/ng-nest-ui-slider-select.mjs +27 -20
  417. package/fesm2015/ng-nest-ui-slider-select.mjs.map +1 -1
  418. package/fesm2015/ng-nest-ui-slider.mjs +13 -11
  419. package/fesm2015/ng-nest-ui-slider.mjs.map +1 -1
  420. package/fesm2015/ng-nest-ui-statistic.mjs +16 -16
  421. package/fesm2015/ng-nest-ui-steps.mjs +10 -10
  422. package/fesm2015/ng-nest-ui-switch.mjs +10 -10
  423. package/fesm2015/ng-nest-ui-table.mjs +57 -51
  424. package/fesm2015/ng-nest-ui-table.mjs.map +1 -1
  425. package/fesm2015/ng-nest-ui-tabs.mjs +25 -25
  426. package/fesm2015/ng-nest-ui-tabs.mjs.map +1 -1
  427. package/fesm2015/ng-nest-ui-tag.mjs +10 -10
  428. package/fesm2015/ng-nest-ui-text-retract.mjs +10 -10
  429. package/fesm2015/ng-nest-ui-textarea.mjs +10 -10
  430. package/fesm2015/ng-nest-ui-theme.mjs +10 -10
  431. package/fesm2015/ng-nest-ui-time-ago.mjs +7 -7
  432. package/fesm2015/ng-nest-ui-time-picker.mjs +33 -17
  433. package/fesm2015/ng-nest-ui-time-picker.mjs.map +1 -1
  434. package/fesm2015/ng-nest-ui-time-range.mjs +7 -7
  435. package/fesm2015/ng-nest-ui-timeline.mjs +10 -10
  436. package/fesm2015/ng-nest-ui-tooltip.mjs +13 -13
  437. package/fesm2015/ng-nest-ui-transfer.mjs +10 -10
  438. package/fesm2015/ng-nest-ui-tree-file.mjs +16 -13
  439. package/fesm2015/ng-nest-ui-tree-file.mjs.map +1 -1
  440. package/fesm2015/ng-nest-ui-tree-select.mjs +15 -15
  441. package/fesm2015/ng-nest-ui-tree-select.mjs.map +1 -1
  442. package/fesm2015/ng-nest-ui-tree.mjs +19 -19
  443. package/fesm2015/ng-nest-ui-tree.mjs.map +1 -1
  444. package/fesm2015/ng-nest-ui-typography.mjs +10 -10
  445. package/fesm2015/ng-nest-ui-upload.mjs +17 -22
  446. package/fesm2015/ng-nest-ui-upload.mjs.map +1 -1
  447. package/fesm2020/ng-nest-ui-affix.mjs +10 -10
  448. package/fesm2020/ng-nest-ui-alert.mjs +10 -10
  449. package/fesm2020/ng-nest-ui-anchor.mjs +28 -31
  450. package/fesm2020/ng-nest-ui-anchor.mjs.map +1 -1
  451. package/fesm2020/ng-nest-ui-api.mjs +7 -7
  452. package/fesm2020/ng-nest-ui-auto-complete.mjs +13 -13
  453. package/fesm2020/ng-nest-ui-avatar.mjs +20 -23
  454. package/fesm2020/ng-nest-ui-avatar.mjs.map +1 -1
  455. package/fesm2020/ng-nest-ui-back-top.mjs +23 -22
  456. package/fesm2020/ng-nest-ui-back-top.mjs.map +1 -1
  457. package/fesm2020/ng-nest-ui-badge.mjs +10 -10
  458. package/fesm2020/ng-nest-ui-base-form.mjs +10 -10
  459. package/fesm2020/ng-nest-ui-border.mjs +7 -7
  460. package/fesm2020/ng-nest-ui-button.mjs +34 -22
  461. package/fesm2020/ng-nest-ui-button.mjs.map +1 -1
  462. package/fesm2020/ng-nest-ui-calendar.mjs +10 -10
  463. package/fesm2020/ng-nest-ui-card.mjs +10 -10
  464. package/fesm2020/ng-nest-ui-carousel.mjs +16 -16
  465. package/fesm2020/ng-nest-ui-carousel.mjs.map +1 -1
  466. package/fesm2020/ng-nest-ui-cascade.mjs +13 -13
  467. package/fesm2020/ng-nest-ui-checkbox.mjs +10 -10
  468. package/fesm2020/ng-nest-ui-collapse.mjs +16 -16
  469. package/fesm2020/ng-nest-ui-color-picker.mjs +15 -15
  470. package/fesm2020/ng-nest-ui-color-picker.mjs.map +1 -1
  471. package/fesm2020/ng-nest-ui-color.mjs +16 -19
  472. package/fesm2020/ng-nest-ui-color.mjs.map +1 -1
  473. package/fesm2020/ng-nest-ui-comment.mjs +16 -16
  474. package/fesm2020/ng-nest-ui-container.mjs +31 -31
  475. package/fesm2020/ng-nest-ui-core.mjs +78 -47
  476. package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
  477. package/fesm2020/ng-nest-ui-crumb.mjs +10 -10
  478. package/fesm2020/ng-nest-ui-date-picker.mjs +49 -49
  479. package/fesm2020/ng-nest-ui-description.mjs +16 -16
  480. package/fesm2020/ng-nest-ui-dialog.mjs +40 -40
  481. package/fesm2020/ng-nest-ui-doc.mjs +7 -7
  482. package/fesm2020/ng-nest-ui-drawer.mjs +31 -31
  483. package/fesm2020/ng-nest-ui-dropdown.mjs +13 -13
  484. package/fesm2020/ng-nest-ui-empty.mjs +13 -10
  485. package/fesm2020/ng-nest-ui-empty.mjs.map +1 -1
  486. package/fesm2020/ng-nest-ui-examples.mjs +7 -7
  487. package/fesm2020/ng-nest-ui-find.mjs +10 -10
  488. package/fesm2020/ng-nest-ui-find.mjs.map +1 -1
  489. package/fesm2020/ng-nest-ui-form.mjs +16 -16
  490. package/fesm2020/ng-nest-ui-highlight.mjs +15 -14
  491. package/fesm2020/ng-nest-ui-highlight.mjs.map +1 -1
  492. package/fesm2020/ng-nest-ui-i18n.mjs +29 -17
  493. package/fesm2020/ng-nest-ui-i18n.mjs.map +1 -1
  494. package/fesm2020/ng-nest-ui-icon.mjs +18 -23
  495. package/fesm2020/ng-nest-ui-icon.mjs.map +1 -1
  496. package/fesm2020/ng-nest-ui-image.mjs +29 -26
  497. package/fesm2020/ng-nest-ui-image.mjs.map +1 -1
  498. package/fesm2020/ng-nest-ui-inner.mjs +10 -10
  499. package/fesm2020/ng-nest-ui-input-number.mjs +10 -10
  500. package/fesm2020/ng-nest-ui-input.mjs +16 -16
  501. package/fesm2020/ng-nest-ui-keyword.mjs +10 -10
  502. package/fesm2020/ng-nest-ui-layout.mjs +16 -16
  503. package/fesm2020/ng-nest-ui-link.mjs +10 -10
  504. package/fesm2020/ng-nest-ui-list.mjs +20 -20
  505. package/fesm2020/ng-nest-ui-list.mjs.map +1 -1
  506. package/fesm2020/ng-nest-ui-loading.mjs +10 -10
  507. package/fesm2020/ng-nest-ui-menu.mjs +24 -24
  508. package/fesm2020/ng-nest-ui-menu.mjs.map +1 -1
  509. package/fesm2020/ng-nest-ui-message-box.mjs +10 -10
  510. package/fesm2020/ng-nest-ui-message.mjs +10 -10
  511. package/fesm2020/ng-nest-ui-notification.mjs +10 -10
  512. package/fesm2020/ng-nest-ui-outlet.mjs +7 -7
  513. package/fesm2020/ng-nest-ui-page-header.mjs +10 -10
  514. package/fesm2020/ng-nest-ui-pagination.mjs +10 -10
  515. package/fesm2020/ng-nest-ui-pattern.mjs +7 -7
  516. package/fesm2020/ng-nest-ui-popconfirm.mjs +10 -10
  517. package/fesm2020/ng-nest-ui-popover.mjs +13 -13
  518. package/fesm2020/ng-nest-ui-portal.mjs +9 -9
  519. package/fesm2020/ng-nest-ui-portal.mjs.map +1 -1
  520. package/fesm2020/ng-nest-ui-progress.mjs +10 -10
  521. package/fesm2020/ng-nest-ui-radio.mjs +11 -11
  522. package/fesm2020/ng-nest-ui-radio.mjs.map +1 -1
  523. package/fesm2020/ng-nest-ui-rate.mjs +10 -10
  524. package/fesm2020/ng-nest-ui-resizable.mjs +16 -19
  525. package/fesm2020/ng-nest-ui-resizable.mjs.map +1 -1
  526. package/fesm2020/ng-nest-ui-result.mjs +10 -10
  527. package/fesm2020/ng-nest-ui-ripple.mjs +12 -12
  528. package/fesm2020/ng-nest-ui-ripple.mjs.map +1 -1
  529. package/fesm2020/ng-nest-ui-select.mjs +15 -15
  530. package/fesm2020/ng-nest-ui-select.mjs.map +1 -1
  531. package/fesm2020/ng-nest-ui-skeleton.mjs +10 -10
  532. package/fesm2020/ng-nest-ui-slider-select.mjs +27 -20
  533. package/fesm2020/ng-nest-ui-slider-select.mjs.map +1 -1
  534. package/fesm2020/ng-nest-ui-slider.mjs +13 -11
  535. package/fesm2020/ng-nest-ui-slider.mjs.map +1 -1
  536. package/fesm2020/ng-nest-ui-statistic.mjs +16 -16
  537. package/fesm2020/ng-nest-ui-steps.mjs +10 -10
  538. package/fesm2020/ng-nest-ui-switch.mjs +10 -10
  539. package/fesm2020/ng-nest-ui-table.mjs +57 -47
  540. package/fesm2020/ng-nest-ui-table.mjs.map +1 -1
  541. package/fesm2020/ng-nest-ui-tabs.mjs +25 -25
  542. package/fesm2020/ng-nest-ui-tabs.mjs.map +1 -1
  543. package/fesm2020/ng-nest-ui-tag.mjs +10 -10
  544. package/fesm2020/ng-nest-ui-text-retract.mjs +10 -10
  545. package/fesm2020/ng-nest-ui-textarea.mjs +10 -10
  546. package/fesm2020/ng-nest-ui-theme.mjs +10 -10
  547. package/fesm2020/ng-nest-ui-time-ago.mjs +7 -7
  548. package/fesm2020/ng-nest-ui-time-picker.mjs +33 -17
  549. package/fesm2020/ng-nest-ui-time-picker.mjs.map +1 -1
  550. package/fesm2020/ng-nest-ui-time-range.mjs +7 -7
  551. package/fesm2020/ng-nest-ui-timeline.mjs +10 -10
  552. package/fesm2020/ng-nest-ui-tooltip.mjs +13 -13
  553. package/fesm2020/ng-nest-ui-transfer.mjs +10 -10
  554. package/fesm2020/ng-nest-ui-tree-file.mjs +16 -13
  555. package/fesm2020/ng-nest-ui-tree-file.mjs.map +1 -1
  556. package/fesm2020/ng-nest-ui-tree-select.mjs +15 -15
  557. package/fesm2020/ng-nest-ui-tree-select.mjs.map +1 -1
  558. package/fesm2020/ng-nest-ui-tree.mjs +19 -19
  559. package/fesm2020/ng-nest-ui-tree.mjs.map +1 -1
  560. package/fesm2020/ng-nest-ui-typography.mjs +10 -10
  561. package/fesm2020/ng-nest-ui-upload.mjs +17 -20
  562. package/fesm2020/ng-nest-ui-upload.mjs.map +1 -1
  563. package/i18n/i18n.property.d.ts +3 -0
  564. package/i18n/languages/en_GB.d.ts +3 -0
  565. package/i18n/languages/en_US.d.ts +3 -0
  566. package/i18n/languages/zh_CN.d.ts +3 -0
  567. package/i18n/languages/zh_TW.d.ts +3 -0
  568. package/icon/icon.component.d.ts +4 -4
  569. package/image/image-preview.component.d.ts +1 -0
  570. package/menu/menu.component.d.ts +2 -2
  571. package/package.json +1 -1
  572. package/resizable/resizable.directive.d.ts +1 -1
  573. package/slider-select/slider-select.component.d.ts +1 -1
  574. package/table/drag.directive.d.ts +1 -1
  575. package/table/table-body.component.d.ts +2 -2
  576. package/table/table.property.d.ts +16 -1
  577. package/time-picker/time-picker.component.d.ts +1 -0
  578. package/upload/upload-portal.component.d.ts +1 -1
@@ -1,10 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, ViewEncapsulation, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';
2
+ import { Component, Input, inject, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { DOCUMENT, CommonModule } from '@angular/common';
5
5
  import { __decorate } from 'tslib';
6
6
  import * as i1 from '@ng-nest/ui/core';
7
- import { XProperty, XWithConfig, toHex, mixColors } from '@ng-nest/ui/core';
7
+ import { XProperty, XWithConfig, XComputed, toHex, mixColors } from '@ng-nest/ui/core';
8
8
 
9
9
  /**
10
10
  * Color
@@ -32,15 +32,15 @@ class XColorProperty extends XProperty {
32
32
  this.hex = 'var(--x-primary)';
33
33
  }
34
34
  }
35
- /** @nocollapse */ XColorProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
- /** @nocollapse */ XColorProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XColorProperty, selector: "ng-component", inputs: { label: "label", hex: "hex", merge: "merge", amounts: "amounts" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
35
+ /** @nocollapse */ XColorProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
+ /** @nocollapse */ XColorProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XColorProperty, selector: "ng-component", inputs: { label: "label", hex: "hex", merge: "merge", amounts: "amounts" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
37
37
  __decorate([
38
38
  XWithConfig(X_CONFIG_NAME, '#ffffff')
39
39
  ], XColorProperty.prototype, "merge", void 0);
40
40
  __decorate([
41
41
  XWithConfig(X_CONFIG_NAME, XAmounts)
42
42
  ], XColorProperty.prototype, "amounts", void 0);
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorProperty, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorProperty, decorators: [{
44
44
  type: Component,
45
45
  args: [{ template: '' }]
46
46
  }], propDecorators: { label: [{
@@ -54,18 +54,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
54
54
  }] } });
55
55
 
56
56
  class XColorComponent extends XColorProperty {
57
- constructor(doc, renderer, elementRef, configService) {
57
+ constructor(renderer, elementRef, configService) {
58
58
  super();
59
- this.doc = doc;
60
59
  this.renderer = renderer;
61
60
  this.elementRef = elementRef;
62
61
  this.configService = configService;
63
62
  this.colors = [];
63
+ this.doc = inject(DOCUMENT);
64
64
  this.renderer.addClass(this.elementRef.nativeElement, XColorPrefix);
65
65
  }
66
66
  ngOnInit() {
67
67
  if (!this.hex || this.hex === 'var(--x-primary)')
68
- this.hex = getComputedStyle(this.doc.documentElement).getPropertyValue('--x-primary');
68
+ this.hex = XComputed(this.doc.documentElement).getPropertyValue('--x-primary');
69
69
  if (this.hex)
70
70
  this.setColors();
71
71
  }
@@ -80,24 +80,19 @@ class XColorComponent extends XColorProperty {
80
80
  return item;
81
81
  }
82
82
  }
83
- /** @nocollapse */ XColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorComponent, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
84
- /** @nocollapse */ XColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XColorComponent, selector: "x-color", usesInheritance: true, ngImport: i0, template: "<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hex\" [class.x-color-only]=\"colors.length === 0\">\r\n <span>{{ label }}</span>\r\n <span class=\"x-color-hex\">{{ hex }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n <div class=\"x-color-item\" *ngFor=\"let color of colors; index as i; trackBy: trackByColor\" [style.background-color]=\"color\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-color{margin:0;padding:0;display:block;color:var(--x-white)}.x-color-primary{padding:1rem;border-top-left-radius:.125rem;border-top-right-radius:.125rem}.x-color-only{border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.x-color-hex{margin-top:.25rem;display:block;font-size:.75rem;opacity:.7}.x-color-gradual{display:flex}.x-color-item{flex:1;height:2.5rem}.x-color-item:first-child{border-bottom-left-radius:.125rem}.x-color-item:last-child{border-bottom-right-radius:.125rem}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorComponent, decorators: [{
83
+ /** @nocollapse */ XColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
84
+ /** @nocollapse */ XColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XColorComponent, selector: "x-color", usesInheritance: true, ngImport: i0, template: "<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hex\" [class.x-color-only]=\"colors.length === 0\">\r\n <span>{{ label }}</span>\r\n <span class=\"x-color-hex\">{{ hex }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n <div class=\"x-color-item\" *ngFor=\"let color of colors; index as i; trackBy: trackByColor\" [style.background-color]=\"color\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-color{margin:0;padding:0;display:block;color:var(--x-white)}.x-color-primary{padding:1rem;border-top-left-radius:.125rem;border-top-right-radius:.125rem}.x-color-only{border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.x-color-hex{margin-top:.25rem;display:block;font-size:.75rem;opacity:.7}.x-color-gradual{display:flex}.x-color-item{flex:1;height:2.5rem}.x-color-item:first-child{border-bottom-left-radius:.125rem}.x-color-item:last-child{border-bottom-right-radius:.125rem}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorComponent, decorators: [{
86
86
  type: Component,
87
87
  args: [{ selector: 'x-color', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hex\" [class.x-color-only]=\"colors.length === 0\">\r\n <span>{{ label }}</span>\r\n <span class=\"x-color-hex\">{{ hex }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n <div class=\"x-color-item\" *ngFor=\"let color of colors; index as i; trackBy: trackByColor\" [style.background-color]=\"color\"></div>\r\n </div>\r\n</div>\r\n", styles: [".x-color{margin:0;padding:0;display:block;color:var(--x-white)}.x-color-primary{padding:1rem;border-top-left-radius:.125rem;border-top-right-radius:.125rem}.x-color-only{border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.x-color-hex{margin-top:.25rem;display:block;font-size:.75rem;opacity:.7}.x-color-gradual{display:flex}.x-color-item{flex:1;height:2.5rem}.x-color-item:first-child{border-bottom-left-radius:.125rem}.x-color-item:last-child{border-bottom-right-radius:.125rem}\n"] }]
88
- }], ctorParameters: function () {
89
- return [{ type: undefined, decorators: [{
90
- type: Inject,
91
- args: [DOCUMENT]
92
- }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.XConfigService }];
93
- } });
88
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.XConfigService }]; } });
94
89
 
95
90
  class XColorModule {
96
91
  }
97
- /** @nocollapse */ XColorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
98
- /** @nocollapse */ XColorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: XColorModule, declarations: [XColorComponent, XColorProperty], imports: [CommonModule], exports: [XColorComponent] });
99
- /** @nocollapse */ XColorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorModule, imports: [CommonModule] });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XColorModule, decorators: [{
92
+ /** @nocollapse */ XColorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
93
+ /** @nocollapse */ XColorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: XColorModule, declarations: [XColorComponent, XColorProperty], imports: [CommonModule], exports: [XColorComponent] });
94
+ /** @nocollapse */ XColorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorModule, imports: [CommonModule] });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XColorModule, decorators: [{
101
96
  type: NgModule,
102
97
  args: [{
103
98
  declarations: [XColorComponent, XColorProperty],
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-color.mjs","sources":["../../../../lib/ng-nest/ui/color/color.property.ts","../../../../lib/ng-nest/ui/color/color.component.ts","../../../../lib/ng-nest/ui/color/color.component.html","../../../../lib/ng-nest/ui/color/color.module.ts","../../../../lib/ng-nest/ui/color/ng-nest-ui-color.ts"],"sourcesContent":["import { XProperty, XNumber, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Color\r\n * @selector x-color\r\n * @decorator component\r\n */\r\nexport const XColorPrefix = 'x-color';\r\n\r\nconst X_CONFIG_NAME = 'color';\r\n\r\nexport const XAmounts = [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9];\r\n\r\n/**\r\n * Color Property\r\n */\r\n@Component({ template: '' })\r\nexport class XColorProperty extends XProperty {\r\n /**\r\n * @zh_CN 颜色名称\r\n * @en_US Color name\r\n */\r\n @Input() label: string = 'color';\r\n /**\r\n * @zh_CN 十六进制颜色码,此处默认读取 css 变量中的主色\r\n * @en_US Hexadecimal color code, here the main color in the css variable is read by default\r\n */\r\n @Input() hex: string = 'var(--x-primary)';\r\n /**\r\n * @zh_CN 混合的颜色\r\n * @en_US Mixed colors\r\n */\r\n @Input() @XWithConfig<string>(X_CONFIG_NAME, '#ffffff') merge?: string;\r\n /**\r\n * @zh_CN 混合的颜色占比\r\n * @en_US Proportion of mixed colors\r\n */\r\n @Input() @XWithConfig<XNumber[]>(X_CONFIG_NAME, XAmounts) amounts?: XNumber[];\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, Renderer2, ElementRef, Inject } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { XColorPrefix, XColorProperty } from './color.property';\r\nimport { toHex, mixColors, XConfigService } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: 'x-color',\r\n templateUrl: './color.component.html',\r\n styleUrls: ['./style/index.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XColorComponent extends XColorProperty implements OnInit {\r\n colors: string[] = [];\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private doc: any,\r\n private renderer: Renderer2,\r\n private elementRef: ElementRef<HTMLElement>,\r\n public configService: XConfigService\r\n ) {\r\n super();\r\n this.renderer.addClass(this.elementRef.nativeElement, XColorPrefix);\r\n }\r\n\r\n ngOnInit() {\r\n if (!this.hex || this.hex === 'var(--x-primary)') this.hex = getComputedStyle(this.doc.documentElement).getPropertyValue('--x-primary');\r\n if (this.hex) this.setColors();\r\n }\r\n\r\n setColors() {\r\n let colors = [];\r\n for (let amount of this.amounts as Array<number>) {\r\n colors.push(toHex(mixColors(this.merge as string, this.hex.trim(), amount as number)));\r\n }\r\n this.colors = colors;\r\n }\r\n\r\n trackByColor(_index: number, item: string) {\r\n return item;\r\n }\r\n}\r\n","<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hex\" [class.x-color-only]=\"colors.length === 0\">\r\n <span>{{ label }}</span>\r\n <span class=\"x-color-hex\">{{ hex }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n <div class=\"x-color-item\" *ngFor=\"let color of colors; index as i; trackBy: trackByColor\" [style.background-color]=\"color\"></div>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XColorComponent } from './color.component';\r\nimport { XColorProperty } from './color.property';\r\n\r\n@NgModule({\r\n declarations: [XColorComponent, XColorProperty],\r\n exports: [XColorComponent],\r\n imports: [CommonModule]\r\n})\r\nexport class XColorModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mapp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4HAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,mBAAA,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,iBAJR,eAAe,EAAE,cAAc,CAEpC,EAAA,OAAA,EAAA,CAAA,YAAY,aADZ,eAAe,CAAA,EAAA,CAAA,CAAA;AAGd,mBAAA,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAFb,YAAY,CAAA,EAAA,CAAA,CAAA;2FAEX,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;oBAC/C,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-color.mjs","sources":["../../../../lib/ng-nest/ui/color/color.property.ts","../../../../lib/ng-nest/ui/color/color.component.ts","../../../../lib/ng-nest/ui/color/color.component.html","../../../../lib/ng-nest/ui/color/color.module.ts","../../../../lib/ng-nest/ui/color/ng-nest-ui-color.ts"],"sourcesContent":["import { XProperty, XNumber, XWithConfig } from '@ng-nest/ui/core';\r\nimport { Input, Component } from '@angular/core';\r\n\r\n/**\r\n * Color\r\n * @selector x-color\r\n * @decorator component\r\n */\r\nexport const XColorPrefix = 'x-color';\r\n\r\nconst X_CONFIG_NAME = 'color';\r\n\r\nexport const XAmounts = [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9];\r\n\r\n/**\r\n * Color Property\r\n */\r\n@Component({ template: '' })\r\nexport class XColorProperty extends XProperty {\r\n /**\r\n * @zh_CN 颜色名称\r\n * @en_US Color name\r\n */\r\n @Input() label: string = 'color';\r\n /**\r\n * @zh_CN 十六进制颜色码,此处默认读取 css 变量中的主色\r\n * @en_US Hexadecimal color code, here the main color in the css variable is read by default\r\n */\r\n @Input() hex: string = 'var(--x-primary)';\r\n /**\r\n * @zh_CN 混合的颜色\r\n * @en_US Mixed colors\r\n */\r\n @Input() @XWithConfig<string>(X_CONFIG_NAME, '#ffffff') merge?: string;\r\n /**\r\n * @zh_CN 混合的颜色占比\r\n * @en_US Proportion of mixed colors\r\n */\r\n @Input() @XWithConfig<XNumber[]>(X_CONFIG_NAME, XAmounts) amounts?: XNumber[];\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, Renderer2, ElementRef, inject } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { XColorPrefix, XColorProperty } from './color.property';\r\nimport { toHex, mixColors, XConfigService, XComputed } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: 'x-color',\r\n templateUrl: './color.component.html',\r\n styleUrls: ['./style/index.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XColorComponent extends XColorProperty implements OnInit {\r\n colors: string[] = [];\r\n private doc = inject(DOCUMENT);\r\n\r\n constructor(private renderer: Renderer2, private elementRef: ElementRef<HTMLElement>, public configService: XConfigService) {\r\n super();\r\n this.renderer.addClass(this.elementRef.nativeElement, XColorPrefix);\r\n }\r\n\r\n ngOnInit() {\r\n if (!this.hex || this.hex === 'var(--x-primary)') this.hex = XComputed(this.doc.documentElement).getPropertyValue('--x-primary');\r\n if (this.hex) this.setColors();\r\n }\r\n\r\n setColors() {\r\n let colors = [];\r\n for (let amount of this.amounts as Array<number>) {\r\n colors.push(toHex(mixColors(this.merge as string, this.hex.trim(), amount as number)));\r\n }\r\n this.colors = colors;\r\n }\r\n\r\n trackByColor(_index: number, item: string) {\r\n return item;\r\n }\r\n}\r\n","<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hex\" [class.x-color-only]=\"colors.length === 0\">\r\n <span>{{ label }}</span>\r\n <span class=\"x-color-hex\">{{ hex }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n <div class=\"x-color-item\" *ngFor=\"let color of colors; index as i; trackBy: trackByColor\" [style.background-color]=\"color\"></div>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XColorComponent } from './color.component';\r\nimport { XColorProperty } from './color.property';\r\n\r\n@NgModule({\r\n declarations: [XColorComponent, XColorProperty],\r\n exports: [XColorComponent],\r\n imports: [CommonModule]\r\n})\r\nexport class XColorModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAGA;;;;AAIG;AACI,MAAM,YAAY,GAAG,UAAU;AAEtC,MAAM,aAAa,GAAG,OAAO,CAAC;AAEjB,MAAA,QAAQ,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;AAE5E;;AAEG;AAEG,MAAO,cAAe,SAAQ,SAAS,CAAA;AAD7C,IAAA,WAAA,GAAA;;AAEE;;;AAGG;AACM,QAAA,IAAK,CAAA,KAAA,GAAW,OAAO,CAAC;AACjC;;;AAGG;AACM,QAAA,IAAG,CAAA,GAAA,GAAW,kBAAkB,CAAC;KAW3C;;8HArBY,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,mBAAA,cAAA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BACxB,CAAA;;;ACTD;;AAEG;;;;"}
@@ -69,15 +69,15 @@ class XCommentProperty extends XProperty {
69
69
  this.moreClick = new EventEmitter();
70
70
  }
71
71
  }
72
- /** @nocollapse */ XCommentProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
73
- /** @nocollapse */ XCommentProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XCommentProperty, selector: "ng-component", inputs: { data: "data", contentMax: "contentMax" }, outputs: { likeClick: "likeClick", commentClick: "commentClick", replyClick: "replyClick", sureClick: "sureClick", moreClick: "moreClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
72
+ /** @nocollapse */ XCommentProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
73
+ /** @nocollapse */ XCommentProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XCommentProperty, selector: "ng-component", inputs: { data: "data", contentMax: "contentMax" }, outputs: { likeClick: "likeClick", commentClick: "commentClick", replyClick: "replyClick", sureClick: "sureClick", moreClick: "moreClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
74
74
  __decorate([
75
75
  XDataConvert()
76
76
  ], XCommentProperty.prototype, "data", void 0);
77
77
  __decorate([
78
78
  XWithConfig(X_CONFIG_NAME, 512)
79
79
  ], XCommentProperty.prototype, "contentMax", void 0);
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentProperty, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentProperty, decorators: [{
81
81
  type: Component,
82
82
  args: [{ template: '' }]
83
83
  }], propDecorators: { data: [{
@@ -119,12 +119,12 @@ class XCommentReplyProperty extends XProperty {
119
119
  this.sureClick = new EventEmitter();
120
120
  }
121
121
  }
122
- /** @nocollapse */ XCommentReplyProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentReplyProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
123
- /** @nocollapse */ XCommentReplyProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XCommentReplyProperty, selector: "ng-component", inputs: { maxlength: "maxlength" }, outputs: { sureClick: "sureClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
122
+ /** @nocollapse */ XCommentReplyProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentReplyProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
123
+ /** @nocollapse */ XCommentReplyProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XCommentReplyProperty, selector: "ng-component", inputs: { maxlength: "maxlength" }, outputs: { sureClick: "sureClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
124
124
  __decorate([
125
125
  XInputNumber()
126
126
  ], XCommentReplyProperty.prototype, "maxlength", void 0);
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentReplyProperty, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentReplyProperty, decorators: [{
128
128
  type: Component,
129
129
  args: [{ template: '' }]
130
130
  }], propDecorators: { maxlength: [{
@@ -156,9 +156,9 @@ class XCommentReplyComponent extends XCommentReplyProperty {
156
156
  this.sureClick.emit(this.inputValue);
157
157
  }
158
158
  }
159
- /** @nocollapse */ XCommentReplyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentReplyComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XI18nService }, { token: i2.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
160
- /** @nocollapse */ XCommentReplyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XCommentReplyComponent, selector: "x-comment-reply", usesInheritance: true, ngImport: i0, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input [placeholder]=\"'comment.placeholder' | xI18n\" [maxlength]=\"maxlength\" [(ngModel)]=\"inputValue\"></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-buttons>\r\n <!-- <x-button icon=\"fto-smile\" onlyIcon></x-button>\r\n <x-button icon=\"fto-image\" onlyIcon></x-button> -->\r\n </x-buttons>\r\n <x-button type=\"primary\" (click)=\"sureOnClick()\">{{ 'comment.sure' | xI18n }}</x-button>\r\n </div>\r\n</div>\r\n", styles: [".x-comment-reply{margin:0;padding:0}.x-comment-reply-buttons{display:flex;justify-content:space-between;align-items:center;margin-top:.625rem}.x-comment-reply-buttons .x-button-icon{padding:0}.x-comment-reply-buttons .x-button-icon>.x-button-inner>.x-icon{font-size:1.25rem}.x-comment-reply-buttons .x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.5rem}.x-comment-reply-sure{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.XInputComponent, selector: "x-input" }, { kind: "component", type: i5.XButtonComponent, selector: "x-button" }, { kind: "component", type: i5.XButtonsComponent, selector: "x-buttons" }, { kind: "pipe", type: i1.XI18nPipe, name: "xI18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentReplyComponent, decorators: [{
159
+ /** @nocollapse */ XCommentReplyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentReplyComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XI18nService }, { token: i2.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
160
+ /** @nocollapse */ XCommentReplyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XCommentReplyComponent, selector: "x-comment-reply", usesInheritance: true, ngImport: i0, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input [placeholder]=\"'comment.placeholder' | xI18n\" [maxlength]=\"maxlength\" [(ngModel)]=\"inputValue\"></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-buttons>\r\n <!-- <x-button icon=\"fto-smile\" onlyIcon></x-button>\r\n <x-button icon=\"fto-image\" onlyIcon></x-button> -->\r\n </x-buttons>\r\n <x-button type=\"primary\" (click)=\"sureOnClick()\">{{ 'comment.sure' | xI18n }}</x-button>\r\n </div>\r\n</div>\r\n", styles: [".x-comment-reply{margin:0;padding:0}.x-comment-reply-buttons{display:flex;justify-content:space-between;align-items:center;margin-top:.625rem}.x-comment-reply-buttons .x-button-icon{padding:0}.x-comment-reply-buttons .x-button-icon>.x-button-inner>.x-icon{font-size:1.25rem}.x-comment-reply-buttons .x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.5rem}.x-comment-reply-sure{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.XInputComponent, selector: "x-input" }, { kind: "component", type: i5.XButtonComponent, selector: "x-button" }, { kind: "component", type: i5.XButtonsComponent, selector: "x-buttons" }, { kind: "pipe", type: i1.XI18nPipe, name: "xI18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentReplyComponent, decorators: [{
162
162
  type: Component,
163
163
  args: [{ selector: `${XCommentReplyPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input [placeholder]=\"'comment.placeholder' | xI18n\" [maxlength]=\"maxlength\" [(ngModel)]=\"inputValue\"></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-buttons>\r\n <!-- <x-button icon=\"fto-smile\" onlyIcon></x-button>\r\n <x-button icon=\"fto-image\" onlyIcon></x-button> -->\r\n </x-buttons>\r\n <x-button type=\"primary\" (click)=\"sureOnClick()\">{{ 'comment.sure' | xI18n }}</x-button>\r\n </div>\r\n</div>\r\n", styles: [".x-comment-reply{margin:0;padding:0}.x-comment-reply-buttons{display:flex;justify-content:space-between;align-items:center;margin-top:.625rem}.x-comment-reply-buttons .x-button-icon{padding:0}.x-comment-reply-buttons .x-button-icon>.x-button-inner>.x-icon{font-size:1.25rem}.x-comment-reply-buttons .x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.5rem}.x-comment-reply-sure{display:flex;align-items:center}\n"] }]
164
164
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XI18nService }, { type: i2.XConfigService }]; } });
@@ -221,17 +221,17 @@ class XCommentComponent extends XCommentProperty {
221
221
  });
222
222
  }
223
223
  }
224
- /** @nocollapse */ XCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XI18nService }, { token: i2.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
225
- /** @nocollapse */ XCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XCommentComponent, selector: "x-comment", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n <div class=\"x-comment-item\" *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-comment-avatar\">\r\n <x-avatar [src]=\"node.src\"></x-avatar>\r\n </div>\r\n <div class=\"x-comment-content\">\r\n <div class=\"x-comment-author\">\r\n <x-link>{{ node.author }}</x-link>\r\n <span class=\"x-comment-time\">{{ node.datetime | xTimeAgo }}</span>\r\n </div>\r\n <p>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow\" (click)=\"commentOnClick(node)\" onlyIcon>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" onlyIcon\r\n >{{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply *ngIf=\"node.commentShow\" [maxlength]=\"contentMax\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n <ul>\r\n <li *ngFor=\"let child of node.children; trackBy: trackByNode\">\r\n <div>\r\n <p>\r\n <x-link>{{ child.author }}</x-link>\r\n <ng-container *ngIf=\"child.replyAuthor\">\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span> <x-link>{{ child.replyAuthor }}</x-link></ng-container\r\n >\uFF1A\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"child.commentShow\" (click)=\"replyOnClick(child)\" onlyIcon>{{\r\n 'comment.reply' | xI18n\r\n }}</x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" onlyIcon>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply\r\n *ngIf=\"child.commentShow\"\r\n [maxlength]=\"contentMax\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n </div>\r\n </li>\r\n <li class=\"x-comment-more\" *ngIf=\"hasMore(node)\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight>{{ 'comment.more' | xI18n }} </x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".x-comment{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box}.x-comment p{line-height:1.5;margin:.375rem 0}.x-comment-content{margin-left:1rem;flex:1}.x-comment-content>ul{margin-top:.375rem}.x-comment-content>ul>li{padding:0 .875rem;background-color:var(--x-background);transition:.3s}.x-comment-content>ul>li>div{padding:.5rem 0}.x-comment-content>ul>li>div>p>span{color:var(--x-text-300)}.x-comment-content>ul>li>div>.x-comment-action{display:flex;justify-content:space-between;align-items:center}.x-comment-content>ul>li>div>.x-comment-action>.x-comment-time{margin-left:0}.x-comment-content>ul>li:not(:last-child)>div{border-bottom:.0625rem solid var(--x-border-100)}.x-comment-content>ul>li.x-comment-more{padding:.875rem}.x-comment-content>ul>li:hover{background-color:var(--x-background-a100);border-color:transparent}.x-comment-content .x-comment-reply{margin:.875rem 0 1rem}.x-comment-author{margin:.25rem 0;display:inline-flex;align-items:center;color:var(--x-text-300)}.x-comment-author>.x-button{padding:0}.x-comment-time{margin-left:.5rem;color:var(--x-text-400);font-size:.75rem}.x-comment-action{text-align:right}.x-comment-action>.x-buttons>.x-button{padding:0}.x-comment-action>.x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.65rem}.x-comment-item{display:flex;padding:1rem 0;border-bottom:.0625rem solid var(--x-border-100)}.x-comment-item:first-child{padding-top:0}.x-comment-reply{margin:0 .75rem}\n"], dependencies: [{ kind: "directive", type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.XLinkComponent, selector: "x-link" }, { kind: "component", type: i5$1.XAvatarComponent, selector: "x-avatar" }, { kind: "component", type: i5.XButtonComponent, selector: "x-button" }, { kind: "component", type: i5.XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: i7.XTextRetractComponent, selector: "x-text-retract" }, { kind: "component", type: XCommentReplyComponent, selector: "x-comment-reply" }, { kind: "pipe", type: i1.XI18nPipe, name: "xI18n" }, { kind: "pipe", type: i9.XTimeAgoPipe, name: "xTimeAgo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentComponent, decorators: [{
224
+ /** @nocollapse */ XCommentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XI18nService }, { token: i2.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
225
+ /** @nocollapse */ XCommentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XCommentComponent, selector: "x-comment", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n <div class=\"x-comment-item\" *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-comment-avatar\">\r\n <x-avatar [src]=\"node.src\"></x-avatar>\r\n </div>\r\n <div class=\"x-comment-content\">\r\n <div class=\"x-comment-author\">\r\n <x-link>{{ node.author }}</x-link>\r\n <span class=\"x-comment-time\">{{ node.datetime | xTimeAgo }}</span>\r\n </div>\r\n <p>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow\" (click)=\"commentOnClick(node)\" onlyIcon>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" onlyIcon\r\n >{{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply *ngIf=\"node.commentShow\" [maxlength]=\"contentMax\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n <ul>\r\n <li *ngFor=\"let child of node.children; trackBy: trackByNode\">\r\n <div>\r\n <p>\r\n <x-link>{{ child.author }}</x-link>\r\n <ng-container *ngIf=\"child.replyAuthor\">\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span> <x-link>{{ child.replyAuthor }}</x-link></ng-container\r\n >\uFF1A\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"child.commentShow\" (click)=\"replyOnClick(child)\" onlyIcon>{{\r\n 'comment.reply' | xI18n\r\n }}</x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" onlyIcon>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply\r\n *ngIf=\"child.commentShow\"\r\n [maxlength]=\"contentMax\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n </div>\r\n </li>\r\n <li class=\"x-comment-more\" *ngIf=\"hasMore(node)\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight>{{ 'comment.more' | xI18n }} </x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".x-comment{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box}.x-comment p{line-height:1.5;margin:.375rem 0}.x-comment-content{margin-left:1rem;flex:1}.x-comment-content>ul{margin-top:.375rem}.x-comment-content>ul>li{padding:0 .875rem;background-color:var(--x-background);transition:.3s}.x-comment-content>ul>li>div{padding:.5rem 0}.x-comment-content>ul>li>div>p>span{color:var(--x-text-300)}.x-comment-content>ul>li>div>.x-comment-action{display:flex;justify-content:space-between;align-items:center}.x-comment-content>ul>li>div>.x-comment-action>.x-comment-time{margin-left:0}.x-comment-content>ul>li:not(:last-child)>div{border-bottom:.0625rem solid var(--x-border-100)}.x-comment-content>ul>li.x-comment-more{padding:.875rem}.x-comment-content>ul>li:hover{background-color:var(--x-background-a100);border-color:transparent}.x-comment-content .x-comment-reply{margin:.875rem 0 1rem}.x-comment-author{margin:.25rem 0;display:inline-flex;align-items:center;color:var(--x-text-300)}.x-comment-author>.x-button{padding:0}.x-comment-time{margin-left:.5rem;color:var(--x-text-400);font-size:.75rem}.x-comment-action{text-align:right}.x-comment-action>.x-buttons>.x-button{padding:0}.x-comment-action>.x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.65rem}.x-comment-item{display:flex;padding:1rem 0;border-bottom:.0625rem solid var(--x-border-100)}.x-comment-item:first-child{padding-top:0}.x-comment-reply{margin:0 .75rem}\n"], dependencies: [{ kind: "directive", type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.XLinkComponent, selector: "x-link" }, { kind: "component", type: i5$1.XAvatarComponent, selector: "x-avatar" }, { kind: "component", type: i5.XButtonComponent, selector: "x-button" }, { kind: "component", type: i5.XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: i7.XTextRetractComponent, selector: "x-text-retract" }, { kind: "component", type: XCommentReplyComponent, selector: "x-comment-reply" }, { kind: "pipe", type: i1.XI18nPipe, name: "xI18n" }, { kind: "pipe", type: i9.XTimeAgoPipe, name: "xTimeAgo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentComponent, decorators: [{
227
227
  type: Component,
228
228
  args: [{ selector: `${XCommentPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n <div class=\"x-comment-item\" *ngFor=\"let node of nodes; trackBy: trackByNode\">\r\n <div class=\"x-comment-avatar\">\r\n <x-avatar [src]=\"node.src\"></x-avatar>\r\n </div>\r\n <div class=\"x-comment-content\">\r\n <div class=\"x-comment-author\">\r\n <x-link>{{ node.author }}</x-link>\r\n <span class=\"x-comment-time\">{{ node.datetime | xTimeAgo }}</span>\r\n </div>\r\n <p>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow\" (click)=\"commentOnClick(node)\" onlyIcon>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" onlyIcon\r\n >{{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply *ngIf=\"node.commentShow\" [maxlength]=\"contentMax\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n <ul>\r\n <li *ngFor=\"let child of node.children; trackBy: trackByNode\">\r\n <div>\r\n <p>\r\n <x-link>{{ child.author }}</x-link>\r\n <ng-container *ngIf=\"child.replyAuthor\">\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span> <x-link>{{ child.replyAuthor }}</x-link></ng-container\r\n >\uFF1A\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </p>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons>\r\n <x-button icon=\"fto-message-square\" [activated]=\"child.commentShow\" (click)=\"replyOnClick(child)\" onlyIcon>{{\r\n 'comment.reply' | xI18n\r\n }}</x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" onlyIcon>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n <x-comment-reply\r\n *ngIf=\"child.commentShow\"\r\n [maxlength]=\"contentMax\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n </div>\r\n </li>\r\n <li class=\"x-comment-more\" *ngIf=\"hasMore(node)\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight>{{ 'comment.more' | xI18n }} </x-link>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".x-comment{margin:0;padding:0;font-size:var(--x-font-size);box-sizing:border-box}.x-comment p{line-height:1.5;margin:.375rem 0}.x-comment-content{margin-left:1rem;flex:1}.x-comment-content>ul{margin-top:.375rem}.x-comment-content>ul>li{padding:0 .875rem;background-color:var(--x-background);transition:.3s}.x-comment-content>ul>li>div{padding:.5rem 0}.x-comment-content>ul>li>div>p>span{color:var(--x-text-300)}.x-comment-content>ul>li>div>.x-comment-action{display:flex;justify-content:space-between;align-items:center}.x-comment-content>ul>li>div>.x-comment-action>.x-comment-time{margin-left:0}.x-comment-content>ul>li:not(:last-child)>div{border-bottom:.0625rem solid var(--x-border-100)}.x-comment-content>ul>li.x-comment-more{padding:.875rem}.x-comment-content>ul>li:hover{background-color:var(--x-background-a100);border-color:transparent}.x-comment-content .x-comment-reply{margin:.875rem 0 1rem}.x-comment-author{margin:.25rem 0;display:inline-flex;align-items:center;color:var(--x-text-300)}.x-comment-author>.x-button{padding:0}.x-comment-time{margin-left:.5rem;color:var(--x-text-400);font-size:.75rem}.x-comment-action{text-align:right}.x-comment-action>.x-buttons>.x-button{padding:0}.x-comment-action>.x-buttons:not(.x-buttons-space)>.x-button:not(:first-child){margin-left:.65rem}.x-comment-item{display:flex;padding:1rem 0;border-bottom:.0625rem solid var(--x-border-100)}.x-comment-item:first-child{padding-top:0}.x-comment-reply{margin:0 .75rem}\n"] }]
229
229
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XI18nService }, { type: i2.XConfigService }]; } });
230
230
 
231
231
  class XCommentModule {
232
232
  }
233
- /** @nocollapse */ XCommentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
234
- /** @nocollapse */ XCommentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: XCommentModule, declarations: [XCommentComponent, XCommentReplyComponent, XCommentProperty, XCommentReplyProperty], imports: [CommonModule,
233
+ /** @nocollapse */ XCommentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
234
+ /** @nocollapse */ XCommentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: XCommentModule, declarations: [XCommentComponent, XCommentReplyComponent, XCommentProperty, XCommentReplyProperty], imports: [CommonModule,
235
235
  FormsModule,
236
236
  XI18nModule,
237
237
  XInputModule,
@@ -240,7 +240,7 @@ class XCommentModule {
240
240
  XButtonModule,
241
241
  XTextRetractModule,
242
242
  XTimeAgoModule], exports: [XCommentComponent, XCommentReplyComponent] });
243
- /** @nocollapse */ XCommentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentModule, imports: [CommonModule,
243
+ /** @nocollapse */ XCommentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentModule, imports: [CommonModule,
244
244
  FormsModule,
245
245
  XI18nModule,
246
246
  XInputModule,
@@ -249,7 +249,7 @@ class XCommentModule {
249
249
  XButtonModule,
250
250
  XTextRetractModule,
251
251
  XTimeAgoModule] });
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XCommentModule, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XCommentModule, decorators: [{
253
253
  type: NgModule,
254
254
  args: [{
255
255
  declarations: [XCommentComponent, XCommentReplyComponent, XCommentProperty, XCommentReplyProperty],
@@ -17,12 +17,12 @@ const X_CONFIG_NAME = 'container';
17
17
  */
18
18
  class XContainerProperty extends XProperty {
19
19
  }
20
- /** @nocollapse */ XContainerProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
- /** @nocollapse */ XContainerProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XContainerProperty, selector: "ng-component", inputs: { direction: "direction" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
20
+ /** @nocollapse */ XContainerProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
+ /** @nocollapse */ XContainerProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XContainerProperty, selector: "ng-component", inputs: { direction: "direction" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
22
22
  __decorate([
23
23
  XWithConfig(X_CONFIG_NAME)
24
24
  ], XContainerProperty.prototype, "direction", void 0);
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerProperty, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerProperty, decorators: [{
26
26
  type: Component,
27
27
  args: [{ template: '' }]
28
28
  }], propDecorators: { direction: [{
@@ -40,12 +40,12 @@ const X_CONFIG_NAME_HEADER = 'header';
40
40
  */
41
41
  class XHeaderProperty extends XProperty {
42
42
  }
43
- /** @nocollapse */ XHeaderProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XHeaderProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
44
- /** @nocollapse */ XHeaderProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XHeaderProperty, selector: "ng-component", inputs: { height: "height" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
43
+ /** @nocollapse */ XHeaderProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XHeaderProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
44
+ /** @nocollapse */ XHeaderProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XHeaderProperty, selector: "ng-component", inputs: { height: "height" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
45
45
  __decorate([
46
46
  XWithConfig(X_CONFIG_NAME_HEADER, 3)
47
47
  ], XHeaderProperty.prototype, "height", void 0);
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XHeaderProperty, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XHeaderProperty, decorators: [{
49
49
  type: Component,
50
50
  args: [{ template: '' }]
51
51
  }], propDecorators: { height: [{
@@ -63,12 +63,12 @@ const X_CONFIG_NAME_ASIDE = 'aside';
63
63
  */
64
64
  class XAsideProperty extends XProperty {
65
65
  }
66
- /** @nocollapse */ XAsideProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XAsideProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
67
- /** @nocollapse */ XAsideProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XAsideProperty, selector: "ng-component", inputs: { width: "width" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
66
+ /** @nocollapse */ XAsideProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XAsideProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
67
+ /** @nocollapse */ XAsideProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XAsideProperty, selector: "ng-component", inputs: { width: "width" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
68
68
  __decorate([
69
69
  XWithConfig(X_CONFIG_NAME_ASIDE, 12)
70
70
  ], XAsideProperty.prototype, "width", void 0);
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XAsideProperty, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XAsideProperty, decorators: [{
72
72
  type: Component,
73
73
  args: [{ template: '' }]
74
74
  }], propDecorators: { width: [{
@@ -100,12 +100,12 @@ class XFooterProperty extends XProperty {
100
100
  this.height = 3;
101
101
  }
102
102
  }
103
- /** @nocollapse */ XFooterProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XFooterProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
104
- /** @nocollapse */ XFooterProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XFooterProperty, selector: "ng-component", inputs: { height: "height" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
103
+ /** @nocollapse */ XFooterProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XFooterProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
104
+ /** @nocollapse */ XFooterProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XFooterProperty, selector: "ng-component", inputs: { height: "height" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
105
105
  __decorate([
106
106
  XWithConfig(X_CONFIG_NAME_FOOTER, 3)
107
107
  ], XFooterProperty.prototype, "height", void 0);
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XFooterProperty, decorators: [{
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XFooterProperty, decorators: [{
109
109
  type: Component,
110
110
  args: [{ template: '' }]
111
111
  }], propDecorators: { height: [{
@@ -135,9 +135,9 @@ class XContainerComponent extends XContainerProperty {
135
135
  }
136
136
  }
137
137
  }
138
- /** @nocollapse */ XContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
139
- /** @nocollapse */ XContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XContainerComponent, selector: "x-container", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-container{margin:0;padding:0;display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.x-container.x-direction-column{flex-direction:column}.x-container.x-direction-column-reverse{flex-direction:column-reverse}.x-container.x-direction-row{flex-direction:row}.x-container.x-direction-row-reverse{flex-direction:row-reverse}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerComponent, decorators: [{
138
+ /** @nocollapse */ XContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
139
+ /** @nocollapse */ XContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XContainerComponent, selector: "x-container", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-container{margin:0;padding:0;display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.x-container.x-direction-column{flex-direction:column}.x-container.x-direction-column-reverse{flex-direction:column-reverse}.x-container.x-direction-row{flex-direction:row}.x-container.x-direction-row-reverse{flex-direction:row-reverse}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerComponent, decorators: [{
141
141
  type: Component,
142
142
  args: [{ selector: `${XContainerPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-container{margin:0;padding:0;display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.x-container.x-direction-column{flex-direction:column}.x-container.x-direction-column-reverse{flex-direction:column-reverse}.x-container.x-direction-row{flex-direction:row}.x-container.x-direction-row-reverse{flex-direction:row-reverse}\n"] }]
143
143
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.XConfigService }]; } });
@@ -164,9 +164,9 @@ class XHeaderComponent extends XHeaderProperty {
164
164
  this.container.setDirection();
165
165
  }
166
166
  }
167
- /** @nocollapse */ XHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XHeaderComponent, deps: [{ token: XContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
168
- /** @nocollapse */ XHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XHeaderComponent, selector: "x-header", host: { properties: { "style.height.rem": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-header{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XHeaderComponent, decorators: [{
167
+ /** @nocollapse */ XHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XHeaderComponent, deps: [{ token: XContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
168
+ /** @nocollapse */ XHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XHeaderComponent, selector: "x-header", host: { properties: { "style.height.rem": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-header{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XHeaderComponent, decorators: [{
170
170
  type: Component,
171
171
  args: [{ selector: `${XHeaderPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-header{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"] }]
172
172
  }], ctorParameters: function () {
@@ -192,9 +192,9 @@ class XAsideComponent extends XAsideProperty {
192
192
  return this.width;
193
193
  }
194
194
  }
195
- /** @nocollapse */ XAsideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XAsideComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
196
- /** @nocollapse */ XAsideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XAsideComponent, selector: "x-aside", host: { properties: { "style.width.rem": "this.getWidth" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-aside{margin:0;padding:0;overflow:auto;flex-shrink:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XAsideComponent, decorators: [{
195
+ /** @nocollapse */ XAsideComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XAsideComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
196
+ /** @nocollapse */ XAsideComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XAsideComponent, selector: "x-aside", host: { properties: { "style.width.rem": "this.getWidth" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-aside{margin:0;padding:0;overflow:auto;flex-shrink:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XAsideComponent, decorators: [{
198
198
  type: Component,
199
199
  args: [{ selector: `${XAsidePrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-aside{margin:0;padding:0;overflow:auto;flex-shrink:0}\n"] }]
200
200
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.XConfigService }]; }, propDecorators: { getWidth: [{
@@ -210,9 +210,9 @@ class XMainComponent {
210
210
  this.renderer.addClass(this.elementRef.nativeElement, XMainPrefix);
211
211
  }
212
212
  }
213
- /** @nocollapse */ XMainComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XMainComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
214
- /** @nocollapse */ XMainComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XMainComponent, selector: "x-main", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-main{margin:0;padding:0;display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XMainComponent, decorators: [{
213
+ /** @nocollapse */ XMainComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XMainComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
214
+ /** @nocollapse */ XMainComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XMainComponent, selector: "x-main", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-main{margin:0;padding:0;display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XMainComponent, decorators: [{
216
216
  type: Component,
217
217
  args: [{ selector: `${XMainPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-main{margin:0;padding:0;display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"] }]
218
218
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.XConfigService }]; } });
@@ -239,9 +239,9 @@ class XFooterComponent extends XFooterProperty {
239
239
  this.container.setDirection();
240
240
  }
241
241
  }
242
- /** @nocollapse */ XFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XFooterComponent, deps: [{ token: XContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
243
- /** @nocollapse */ XFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: XFooterComponent, selector: "x-footer", host: { properties: { "style.height.rem": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-footer{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XFooterComponent, decorators: [{
242
+ /** @nocollapse */ XFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XFooterComponent, deps: [{ token: XContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
243
+ /** @nocollapse */ XFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: XFooterComponent, selector: "x-footer", host: { properties: { "style.height.rem": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-footer{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XFooterComponent, decorators: [{
245
245
  type: Component,
246
246
  args: [{ selector: `${XFooterPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-footer{margin:0;padding:0;flex-shrink:0;padding:0 1rem}\n"] }]
247
247
  }], ctorParameters: function () {
@@ -268,8 +268,8 @@ const components = [
268
268
  ];
269
269
  class XContainerModule {
270
270
  }
271
- /** @nocollapse */ XContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
- /** @nocollapse */ XContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: XContainerModule, declarations: [XContainerComponent,
271
+ /** @nocollapse */ XContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
+ /** @nocollapse */ XContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: XContainerModule, declarations: [XContainerComponent,
273
273
  XHeaderComponent,
274
274
  XAsideComponent,
275
275
  XMainComponent,
@@ -286,8 +286,8 @@ class XContainerModule {
286
286
  XHeaderProperty,
287
287
  XAsideProperty,
288
288
  XFooterProperty] });
289
- /** @nocollapse */ XContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerModule, imports: [CommonModule] });
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: XContainerModule, decorators: [{
289
+ /** @nocollapse */ XContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerModule, imports: [CommonModule] });
290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: XContainerModule, decorators: [{
291
291
  type: NgModule,
292
292
  args: [{
293
293
  declarations: [...components],