@ng-nest/ui 18.0.12 → 19.0.0

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 (881) hide show
  1. package/README.md +1 -1
  2. package/affix/affix.property.d.ts +1 -1
  3. package/alert/alert.property.d.ts +1 -1
  4. package/anchor/anchor.property.d.ts +2 -2
  5. package/auto-complete/auto-complete.property.d.ts +16 -19
  6. package/avatar/avatar.property.d.ts +2 -2
  7. package/back-top/back-top.property.d.ts +1 -1
  8. package/badge/badge.property.d.ts +1 -1
  9. package/base-form/base-form.property.d.ts +2 -2
  10. package/button/button.property.d.ts +2 -2
  11. package/calendar/calendar.property.d.ts +1 -1
  12. package/card/card.property.d.ts +1 -1
  13. package/carousel/carousel.property.d.ts +2 -2
  14. package/cascade/cascade.property.d.ts +16 -27
  15. package/checkbox/checkbox.property.d.ts +16 -22
  16. package/collapse/collapse.property.d.ts +2 -2
  17. package/color/color.property.d.ts +1 -1
  18. package/color-picker/color-picker-portal.component.d.ts +10 -10
  19. package/color-picker/color-picker.property.d.ts +15 -15
  20. package/comment/comment.property.d.ts +2 -2
  21. package/container/container.property.d.ts +4 -4
  22. package/crumb/crumb.property.d.ts +1 -1
  23. package/date-picker/date-picker-portal.component.d.ts +1 -1
  24. package/date-picker/date-picker.property.d.ts +34 -34
  25. package/date-picker/date-range-portal.component.d.ts +5 -5
  26. package/description/description.property.d.ts +2 -2
  27. package/dialog/dialog-portal.component.d.ts +0 -2
  28. package/dialog/dialog-portal.directives.d.ts +2 -3
  29. package/dialog/dialog-ref.d.ts +4 -2
  30. package/dialog/dialog.component.d.ts +0 -5
  31. package/dialog/dialog.property.d.ts +14 -10
  32. package/drag/drag.property.d.ts +1 -1
  33. package/drawer/drawer.property.d.ts +2 -2
  34. package/dropdown/dropdown.property.d.ts +1 -1
  35. package/empty/empty.property.d.ts +1 -1
  36. package/fesm2022/ng-nest-ui-affix.mjs +14 -12
  37. package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
  38. package/fesm2022/ng-nest-ui-alert.mjs +14 -12
  39. package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
  40. package/fesm2022/ng-nest-ui-anchor.mjs +23 -20
  41. package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
  42. package/fesm2022/ng-nest-ui-api.mjs +8 -8
  43. package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
  44. package/fesm2022/ng-nest-ui-auto-complete.mjs +16 -16
  45. package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
  46. package/fesm2022/ng-nest-ui-avatar.mjs +18 -18
  47. package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
  48. package/fesm2022/ng-nest-ui-back-top.mjs +13 -12
  49. package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
  50. package/fesm2022/ng-nest-ui-badge.mjs +11 -11
  51. package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
  52. package/fesm2022/ng-nest-ui-base-form.mjs +10 -10
  53. package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
  54. package/fesm2022/ng-nest-ui-button.mjs +18 -18
  55. package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
  56. package/fesm2022/ng-nest-ui-calendar.mjs +14 -15
  57. package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
  58. package/fesm2022/ng-nest-ui-card.mjs +11 -12
  59. package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
  60. package/fesm2022/ng-nest-ui-carousel.mjs +20 -19
  61. package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
  62. package/fesm2022/ng-nest-ui-cascade.mjs +16 -16
  63. package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
  64. package/fesm2022/ng-nest-ui-checkbox.mjs +12 -12
  65. package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
  66. package/fesm2022/ng-nest-ui-collapse.mjs +18 -18
  67. package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
  68. package/fesm2022/ng-nest-ui-color-picker.mjs +15 -15
  69. package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
  70. package/fesm2022/ng-nest-ui-color.mjs +11 -11
  71. package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
  72. package/fesm2022/ng-nest-ui-comment.mjs +18 -18
  73. package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
  74. package/fesm2022/ng-nest-ui-container.mjs +36 -36
  75. package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
  76. package/fesm2022/ng-nest-ui-core.mjs +15 -15
  77. package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
  78. package/fesm2022/ng-nest-ui-crumb.mjs +11 -11
  79. package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
  80. package/fesm2022/ng-nest-ui-date-picker.mjs +57 -57
  81. package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
  82. package/fesm2022/ng-nest-ui-description.mjs +18 -18
  83. package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
  84. package/fesm2022/ng-nest-ui-dialog.mjs +70 -144
  85. package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
  86. package/fesm2022/ng-nest-ui-doc.mjs +8 -8
  87. package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
  88. package/fesm2022/ng-nest-ui-drag.mjs +11 -11
  89. package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
  90. package/fesm2022/ng-nest-ui-drawer.mjs +38 -41
  91. package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
  92. package/fesm2022/ng-nest-ui-dropdown.mjs +15 -16
  93. package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
  94. package/fesm2022/ng-nest-ui-empty.mjs +11 -11
  95. package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
  96. package/fesm2022/ng-nest-ui-examples.mjs +8 -8
  97. package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
  98. package/fesm2022/ng-nest-ui-find.mjs +11 -11
  99. package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
  100. package/fesm2022/ng-nest-ui-form.mjs +21 -40
  101. package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
  102. package/fesm2022/ng-nest-ui-highlight.mjs +14 -14
  103. package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
  104. package/fesm2022/ng-nest-ui-i18n.mjs +15 -17
  105. package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
  106. package/fesm2022/ng-nest-ui-icon.mjs +14 -14
  107. package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
  108. package/fesm2022/ng-nest-ui-image.mjs +24 -24
  109. package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
  110. package/fesm2022/ng-nest-ui-inner.mjs +11 -11
  111. package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
  112. package/fesm2022/ng-nest-ui-input-number.mjs +11 -11
  113. package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
  114. package/fesm2022/ng-nest-ui-input.mjs +19 -19
  115. package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
  116. package/fesm2022/ng-nest-ui-keyword.mjs +12 -13
  117. package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
  118. package/fesm2022/ng-nest-ui-layout.mjs +18 -18
  119. package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
  120. package/fesm2022/ng-nest-ui-link.mjs +11 -11
  121. package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
  122. package/fesm2022/ng-nest-ui-list.mjs +22 -23
  123. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  124. package/fesm2022/ng-nest-ui-loading.mjs +12 -12
  125. package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
  126. package/fesm2022/ng-nest-ui-menu.mjs +19 -20
  127. package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
  128. package/fesm2022/ng-nest-ui-message-box.mjs +11 -13
  129. package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
  130. package/fesm2022/ng-nest-ui-message.mjs +11 -11
  131. package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
  132. package/fesm2022/ng-nest-ui-notification.mjs +11 -11
  133. package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
  134. package/fesm2022/ng-nest-ui-outlet.mjs +8 -8
  135. package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
  136. package/fesm2022/ng-nest-ui-page-header.mjs +11 -11
  137. package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
  138. package/fesm2022/ng-nest-ui-pagination.mjs +11 -11
  139. package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
  140. package/fesm2022/ng-nest-ui-pattern.mjs +8 -8
  141. package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
  142. package/fesm2022/ng-nest-ui-popconfirm.mjs +11 -11
  143. package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
  144. package/fesm2022/ng-nest-ui-popover.mjs +15 -15
  145. package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
  146. package/fesm2022/ng-nest-ui-portal.mjs +7 -7
  147. package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
  148. package/fesm2022/ng-nest-ui-progress.mjs +11 -11
  149. package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
  150. package/fesm2022/ng-nest-ui-radio.mjs +11 -11
  151. package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
  152. package/fesm2022/ng-nest-ui-rate.mjs +11 -12
  153. package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
  154. package/fesm2022/ng-nest-ui-resizable.mjs +12 -12
  155. package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
  156. package/fesm2022/ng-nest-ui-result.mjs +11 -11
  157. package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
  158. package/fesm2022/ng-nest-ui-ripple.mjs +11 -12
  159. package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
  160. package/fesm2022/ng-nest-ui-select.mjs +15 -15
  161. package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
  162. package/fesm2022/ng-nest-ui-skeleton.mjs +11 -11
  163. package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
  164. package/fesm2022/ng-nest-ui-slider-select.mjs +11 -22
  165. package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
  166. package/fesm2022/ng-nest-ui-slider.mjs +11 -11
  167. package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
  168. package/fesm2022/ng-nest-ui-statistic.mjs +18 -18
  169. package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
  170. package/fesm2022/ng-nest-ui-steps.mjs +11 -11
  171. package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
  172. package/fesm2022/ng-nest-ui-switch.mjs +11 -11
  173. package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
  174. package/fesm2022/ng-nest-ui-table.mjs +32 -32
  175. package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
  176. package/fesm2022/ng-nest-ui-tabs.mjs +30 -32
  177. package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
  178. package/fesm2022/ng-nest-ui-tag.mjs +11 -11
  179. package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
  180. package/fesm2022/ng-nest-ui-text-retract.mjs +11 -11
  181. package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
  182. package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
  183. package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
  184. package/fesm2022/ng-nest-ui-theme.mjs +13 -14
  185. package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
  186. package/fesm2022/ng-nest-ui-time-ago.mjs +8 -8
  187. package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
  188. package/fesm2022/ng-nest-ui-time-picker.mjs +19 -19
  189. package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
  190. package/fesm2022/ng-nest-ui-time-range.mjs +8 -8
  191. package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
  192. package/fesm2022/ng-nest-ui-timeline.mjs +11 -11
  193. package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
  194. package/fesm2022/ng-nest-ui-tooltip.mjs +15 -15
  195. package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
  196. package/fesm2022/ng-nest-ui-transfer.mjs +12 -13
  197. package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
  198. package/fesm2022/ng-nest-ui-tree-file.mjs +12 -20
  199. package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
  200. package/fesm2022/ng-nest-ui-tree-select.mjs +15 -15
  201. package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
  202. package/fesm2022/ng-nest-ui-tree.mjs +21 -21
  203. package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
  204. package/fesm2022/ng-nest-ui-typography.mjs +11 -11
  205. package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
  206. package/fesm2022/ng-nest-ui-upload.mjs +15 -15
  207. package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
  208. package/find/find.property.d.ts +12 -18
  209. package/form/form.property.d.ts +10 -21
  210. package/highlight/highlight.property.d.ts +1 -1
  211. package/icon/icon.property.d.ts +1 -1
  212. package/image/image.property.d.ts +2 -2
  213. package/inner/inner.property.d.ts +1 -1
  214. package/input/input.property.d.ts +17 -20
  215. package/input-number/input-number.property.d.ts +13 -13
  216. package/layout/layout.property.d.ts +2 -2
  217. package/link/link.property.d.ts +1 -1
  218. package/list/list.property.d.ts +12 -12
  219. package/loading/loading.property.d.ts +1 -1
  220. package/menu/menu.property.d.ts +2 -2
  221. package/package.json +83 -257
  222. package/page-header/page-header.property.d.ts +1 -1
  223. package/pagination/pagination.property.d.ts +1 -1
  224. package/popconfirm/popconfirm.property.d.ts +1 -1
  225. package/popover/popover.property.d.ts +1 -1
  226. package/progress/progress.property.d.ts +1 -1
  227. package/radio/radio.property.d.ts +13 -16
  228. package/rate/rate.property.d.ts +14 -22
  229. package/result/result.property.d.ts +1 -1
  230. package/ripple/ripple.property.d.ts +1 -1
  231. package/select/select-portal.component.d.ts +1 -1
  232. package/select/select.property.d.ts +15 -15
  233. package/skeleton/skeleton.property.d.ts +1 -1
  234. package/slider/slider.property.d.ts +1 -1
  235. package/slider-select/slider-select.property.d.ts +13 -17
  236. package/statistic/statistic.property.d.ts +2 -2
  237. package/steps/steps.property.d.ts +1 -1
  238. package/style/core/index.css +87 -174
  239. package/style/core/index.css.map +1 -1
  240. package/style/core/index.scss +32 -5
  241. package/style/directives/index.scss +3 -3
  242. package/style/directives/keyword/index.scss +3 -2
  243. package/style/directives/keyword/mixin.scss +9 -11
  244. package/style/directives/keyword/param.scss +2 -1
  245. package/style/directives/resizable/index.scss +3 -2
  246. package/style/directives/resizable/mixin.scss +122 -16
  247. package/style/directives/resizable/param.scss +2 -1
  248. package/style/directives/ripple/index.scss +3 -2
  249. package/style/directives/ripple/mixin.scss +12 -12
  250. package/style/directives/ripple/param.scss +2 -1
  251. package/style/mixins/compatibility.scss +7 -5
  252. package/style/mixins/form.scss +6 -4
  253. package/style/mixins/hidden.scss +5 -2
  254. package/style/params/index.scss +282 -3
  255. package/switch/switch.property.d.ts +14 -14
  256. package/table/table.property.d.ts +4 -4
  257. package/tabs/tabs.property.d.ts +2 -2
  258. package/tag/tag.property.d.ts +1 -1
  259. package/text-retract/text-retract.property.d.ts +1 -1
  260. package/textarea/textarea.property.d.ts +14 -17
  261. package/theme/theme.property.d.ts +6 -10
  262. package/time-picker/time-picker.property.d.ts +17 -23
  263. package/timeline/timeline.property.d.ts +1 -1
  264. package/tooltip/tooltip.property.d.ts +1 -1
  265. package/transfer/transfer.property.d.ts +9 -13
  266. package/tree/tree.property.d.ts +2 -2
  267. package/tree-file/tree-file.property.d.ts +1 -1
  268. package/tree-select/tree-select-portal.component.d.ts +1 -1
  269. package/tree-select/tree-select.property.d.ts +15 -15
  270. package/typography/typography.property.d.ts +1 -1
  271. package/upload/upload.property.d.ts +9 -9
  272. package/esm2022/affix/affix.component.mjs +0 -12
  273. package/esm2022/affix/affix.module.mjs +0 -16
  274. package/esm2022/affix/affix.property.mjs +0 -51
  275. package/esm2022/affix/ng-nest-ui-affix.mjs +0 -5
  276. package/esm2022/affix/public-api.mjs +0 -4
  277. package/esm2022/alert/alert.component.mjs +0 -73
  278. package/esm2022/alert/alert.module.mjs +0 -16
  279. package/esm2022/alert/alert.property.mjs +0 -313
  280. package/esm2022/alert/ng-nest-ui-alert.mjs +0 -5
  281. package/esm2022/alert/public-api.mjs +0 -4
  282. package/esm2022/anchor/anchor-inner.component.mjs +0 -18
  283. package/esm2022/anchor/anchor.component.mjs +0 -160
  284. package/esm2022/anchor/anchor.module.mjs +0 -17
  285. package/esm2022/anchor/anchor.property.mjs +0 -121
  286. package/esm2022/anchor/ng-nest-ui-anchor.mjs +0 -5
  287. package/esm2022/anchor/public-api.mjs +0 -5
  288. package/esm2022/api/api.component.mjs +0 -18
  289. package/esm2022/api/api.module.mjs +0 -16
  290. package/esm2022/api/api.property.mjs +0 -7
  291. package/esm2022/api/ng-nest-ui-api.mjs +0 -5
  292. package/esm2022/api/public-api.mjs +0 -4
  293. package/esm2022/auto-complete/auto-complete-portal.component.mjs +0 -80
  294. package/esm2022/auto-complete/auto-complete.component.mjs +0 -306
  295. package/esm2022/auto-complete/auto-complete.module.mjs +0 -16
  296. package/esm2022/auto-complete/auto-complete.property.mjs +0 -172
  297. package/esm2022/auto-complete/ng-nest-ui-auto-complete.mjs +0 -5
  298. package/esm2022/auto-complete/public-api.mjs +0 -5
  299. package/esm2022/avatar/avatar-group.component.mjs +0 -19
  300. package/esm2022/avatar/avatar.component.mjs +0 -109
  301. package/esm2022/avatar/avatar.module.mjs +0 -17
  302. package/esm2022/avatar/avatar.property.mjs +0 -143
  303. package/esm2022/avatar/ng-nest-ui-avatar.mjs +0 -5
  304. package/esm2022/avatar/public-api.mjs +0 -5
  305. package/esm2022/back-top/back-top.component.mjs +0 -104
  306. package/esm2022/back-top/back-top.module.mjs +0 -16
  307. package/esm2022/back-top/back-top.property.mjs +0 -50
  308. package/esm2022/back-top/ng-nest-ui-back-top.mjs +0 -5
  309. package/esm2022/back-top/public-api.mjs +0 -4
  310. package/esm2022/badge/badge.component.mjs +0 -63
  311. package/esm2022/badge/badge.module.mjs +0 -16
  312. package/esm2022/badge/badge.property.mjs +0 -133
  313. package/esm2022/badge/ng-nest-ui-badge.mjs +0 -5
  314. package/esm2022/badge/public-api.mjs +0 -4
  315. package/esm2022/base-form/base-form.component.mjs +0 -101
  316. package/esm2022/base-form/base-form.module.mjs +0 -15
  317. package/esm2022/base-form/base-form.property.mjs +0 -237
  318. package/esm2022/base-form/ng-nest-ui-base-form.mjs +0 -5
  319. package/esm2022/base-form/public-api.mjs +0 -4
  320. package/esm2022/button/button.component.mjs +0 -71
  321. package/esm2022/button/button.module.mjs +0 -17
  322. package/esm2022/button/button.property.mjs +0 -331
  323. package/esm2022/button/buttons.component.mjs +0 -55
  324. package/esm2022/button/ng-nest-ui-button.mjs +0 -5
  325. package/esm2022/button/public-api.mjs +0 -5
  326. package/esm2022/calendar/calendar.component.mjs +0 -117
  327. package/esm2022/calendar/calendar.module.mjs +0 -16
  328. package/esm2022/calendar/calendar.property.mjs +0 -110
  329. package/esm2022/calendar/ng-nest-ui-calendar.mjs +0 -5
  330. package/esm2022/calendar/public-api.mjs +0 -4
  331. package/esm2022/card/card.component.mjs +0 -22
  332. package/esm2022/card/card.module.mjs +0 -16
  333. package/esm2022/card/card.property.mjs +0 -77
  334. package/esm2022/card/ng-nest-ui-card.mjs +0 -5
  335. package/esm2022/card/public-api.mjs +0 -4
  336. package/esm2022/carousel/carousel-panel.component.mjs +0 -157
  337. package/esm2022/carousel/carousel.component.mjs +0 -95
  338. package/esm2022/carousel/carousel.module.mjs +0 -17
  339. package/esm2022/carousel/carousel.property.mjs +0 -256
  340. package/esm2022/carousel/ng-nest-ui-carousel.mjs +0 -5
  341. package/esm2022/carousel/public-api.mjs +0 -5
  342. package/esm2022/cascade/cascade-portal.component.mjs +0 -141
  343. package/esm2022/cascade/cascade.component.mjs +0 -238
  344. package/esm2022/cascade/cascade.module.mjs +0 -16
  345. package/esm2022/cascade/cascade.property.mjs +0 -167
  346. package/esm2022/cascade/ng-nest-ui-cascade.mjs +0 -5
  347. package/esm2022/cascade/public-api.mjs +0 -5
  348. package/esm2022/checkbox/checkbox.component.mjs +0 -102
  349. package/esm2022/checkbox/checkbox.module.mjs +0 -16
  350. package/esm2022/checkbox/checkbox.property.mjs +0 -136
  351. package/esm2022/checkbox/ng-nest-ui-checkbox.mjs +0 -5
  352. package/esm2022/checkbox/public-api.mjs +0 -4
  353. package/esm2022/collapse/collapse-panel.component.mjs +0 -55
  354. package/esm2022/collapse/collapse.component.mjs +0 -49
  355. package/esm2022/collapse/collapse.module.mjs +0 -17
  356. package/esm2022/collapse/collapse.property.mjs +0 -189
  357. package/esm2022/collapse/ng-nest-ui-collapse.mjs +0 -5
  358. package/esm2022/collapse/public-api.mjs +0 -5
  359. package/esm2022/color/color.component.mjs +0 -35
  360. package/esm2022/color/color.module.mjs +0 -16
  361. package/esm2022/color/color.property.mjs +0 -71
  362. package/esm2022/color/ng-nest-ui-color.mjs +0 -5
  363. package/esm2022/color/public-api.mjs +0 -4
  364. package/esm2022/color-picker/color-picker-portal.component.mjs +0 -396
  365. package/esm2022/color-picker/color-picker.component.mjs +0 -191
  366. package/esm2022/color-picker/color-picker.module.mjs +0 -16
  367. package/esm2022/color-picker/color-picker.property.mjs +0 -142
  368. package/esm2022/color-picker/ng-nest-ui-color-picker.mjs +0 -5
  369. package/esm2022/color-picker/public-api.mjs +0 -5
  370. package/esm2022/comment/comment-reply.component.mjs +0 -24
  371. package/esm2022/comment/comment.component.mjs +0 -55
  372. package/esm2022/comment/comment.module.mjs +0 -17
  373. package/esm2022/comment/comment.property.mjs +0 -90
  374. package/esm2022/comment/ng-nest-ui-comment.mjs +0 -5
  375. package/esm2022/comment/public-api.mjs +0 -5
  376. package/esm2022/container/aside.component.mjs +0 -25
  377. package/esm2022/container/container.component.mjs +0 -31
  378. package/esm2022/container/container.module.mjs +0 -20
  379. package/esm2022/container/container.property.mjs +0 -115
  380. package/esm2022/container/footer.component.mjs +0 -35
  381. package/esm2022/container/header.component.mjs +0 -35
  382. package/esm2022/container/main.component.mjs +0 -18
  383. package/esm2022/container/ng-nest-ui-container.mjs +0 -5
  384. package/esm2022/container/public-api.mjs +0 -8
  385. package/esm2022/core/animation/badge.mjs +0 -53
  386. package/esm2022/core/animation/connect.mjs +0 -31
  387. package/esm2022/core/animation/consts.mjs +0 -11
  388. package/esm2022/core/animation/drop.mjs +0 -13
  389. package/esm2022/core/animation/fade.mjs +0 -24
  390. package/esm2022/core/animation/move.mjs +0 -179
  391. package/esm2022/core/animation/opacity.mjs +0 -13
  392. package/esm2022/core/animation/public-api.mjs +0 -9
  393. package/esm2022/core/animation/slide.mjs +0 -17
  394. package/esm2022/core/config/config.mjs +0 -3
  395. package/esm2022/core/config/config.service.mjs +0 -54
  396. package/esm2022/core/config/index.mjs +0 -2
  397. package/esm2022/core/config/public-api.mjs +0 -3
  398. package/esm2022/core/functions/chunk.mjs +0 -25
  399. package/esm2022/core/functions/clone-deep.mjs +0 -28
  400. package/esm2022/core/functions/convert.mjs +0 -230
  401. package/esm2022/core/functions/csspx.mjs +0 -17
  402. package/esm2022/core/functions/date.mjs +0 -223
  403. package/esm2022/core/functions/drop.mjs +0 -20
  404. package/esm2022/core/functions/flex.mjs +0 -25
  405. package/esm2022/core/functions/group-by.mjs +0 -14
  406. package/esm2022/core/functions/guid.mjs +0 -11
  407. package/esm2022/core/functions/has-in.mjs +0 -8
  408. package/esm2022/core/functions/order-by.mjs +0 -56
  409. package/esm2022/core/functions/parent-path.mjs +0 -27
  410. package/esm2022/core/functions/property.mjs +0 -20
  411. package/esm2022/core/functions/public-api.mjs +0 -16
  412. package/esm2022/core/functions/remove.mjs +0 -19
  413. package/esm2022/core/functions/resize.mjs +0 -22
  414. package/esm2022/core/interfaces/data.type.mjs +0 -164
  415. package/esm2022/core/interfaces/identify.type.mjs +0 -7
  416. package/esm2022/core/interfaces/index.mjs +0 -2
  417. package/esm2022/core/interfaces/layout.type.mjs +0 -2
  418. package/esm2022/core/interfaces/public-api.mjs +0 -5
  419. package/esm2022/core/interfaces/result-list.type.mjs +0 -2
  420. package/esm2022/core/ng-nest-ui-core.mjs +0 -5
  421. package/esm2022/core/public-api.mjs +0 -8
  422. package/esm2022/core/services/http.service.mjs +0 -58
  423. package/esm2022/core/services/preloading-strategy.service.mjs +0 -24
  424. package/esm2022/core/services/public-api.mjs +0 -6
  425. package/esm2022/core/services/repository.service.mjs +0 -29
  426. package/esm2022/core/services/reuse-strategy.service.mjs +0 -47
  427. package/esm2022/core/services/storage.service.mjs +0 -75
  428. package/esm2022/core/theme/index.mjs +0 -2
  429. package/esm2022/core/theme/public-api.mjs +0 -3
  430. package/esm2022/core/theme/theme.mjs +0 -89
  431. package/esm2022/core/theme/theme.service.mjs +0 -270
  432. package/esm2022/core/util/animation.mjs +0 -26
  433. package/esm2022/core/util/camel-to-kebab.mjs +0 -16
  434. package/esm2022/core/util/check.mjs +0 -15
  435. package/esm2022/core/util/computed-style.mjs +0 -20
  436. package/esm2022/core/util/host.mjs +0 -14
  437. package/esm2022/core/util/html.mjs +0 -12
  438. package/esm2022/core/util/index.mjs +0 -2
  439. package/esm2022/core/util/kebab-to-camel.mjs +0 -16
  440. package/esm2022/core/util/log.mjs +0 -15
  441. package/esm2022/core/util/option.mjs +0 -14
  442. package/esm2022/core/util/public-api.mjs +0 -11
  443. package/esm2022/core/util/sleep.mjs +0 -8
  444. package/esm2022/crumb/crumb.component.mjs +0 -25
  445. package/esm2022/crumb/crumb.module.mjs +0 -16
  446. package/esm2022/crumb/crumb.property.mjs +0 -45
  447. package/esm2022/crumb/ng-nest-ui-crumb.mjs +0 -5
  448. package/esm2022/crumb/public-api.mjs +0 -4
  449. package/esm2022/date-picker/date-picker-portal.component.mjs +0 -196
  450. package/esm2022/date-picker/date-picker.component.mjs +0 -320
  451. package/esm2022/date-picker/date-picker.module.mjs +0 -17
  452. package/esm2022/date-picker/date-picker.property.mjs +0 -770
  453. package/esm2022/date-picker/date-quarter.pipe.mjs +0 -19
  454. package/esm2022/date-picker/date-range-portal.component.mjs +0 -349
  455. package/esm2022/date-picker/date-range.component.mjs +0 -432
  456. package/esm2022/date-picker/ng-nest-ui-date-picker.mjs +0 -5
  457. package/esm2022/date-picker/picker-date.component.mjs +0 -334
  458. package/esm2022/date-picker/picker-month.component.mjs +0 -232
  459. package/esm2022/date-picker/picker-quarter.component.mjs +0 -237
  460. package/esm2022/date-picker/picker-year.component.mjs +0 -233
  461. package/esm2022/date-picker/public-api.mjs +0 -12
  462. package/esm2022/description/description-item.component.mjs +0 -24
  463. package/esm2022/description/description.component.mjs +0 -48
  464. package/esm2022/description/description.module.mjs +0 -17
  465. package/esm2022/description/description.property.mjs +0 -219
  466. package/esm2022/description/ng-nest-ui-description.mjs +0 -5
  467. package/esm2022/description/public-api.mjs +0 -5
  468. package/esm2022/dialog/dialog-container.component.mjs +0 -29
  469. package/esm2022/dialog/dialog-portal.component.mjs +0 -97
  470. package/esm2022/dialog/dialog-portal.directives.mjs +0 -119
  471. package/esm2022/dialog/dialog-ref.mjs +0 -100
  472. package/esm2022/dialog/dialog.component.mjs +0 -282
  473. package/esm2022/dialog/dialog.module.mjs +0 -50
  474. package/esm2022/dialog/dialog.property.mjs +0 -207
  475. package/esm2022/dialog/dialog.service.mjs +0 -122
  476. package/esm2022/dialog/ng-nest-ui-dialog.mjs +0 -5
  477. package/esm2022/dialog/public-api.mjs +0 -9
  478. package/esm2022/doc/doc.component.mjs +0 -18
  479. package/esm2022/doc/doc.module.mjs +0 -16
  480. package/esm2022/doc/doc.property.mjs +0 -7
  481. package/esm2022/doc/ng-nest-ui-doc.mjs +0 -5
  482. package/esm2022/doc/public-api.mjs +0 -4
  483. package/esm2022/drag/drag.directive.mjs +0 -57
  484. package/esm2022/drag/drag.module.mjs +0 -16
  485. package/esm2022/drag/drag.property.mjs +0 -25
  486. package/esm2022/drag/ng-nest-ui-drag.mjs +0 -5
  487. package/esm2022/drag/public-api.mjs +0 -4
  488. package/esm2022/drawer/drawer-container.component.mjs +0 -29
  489. package/esm2022/drawer/drawer-portal.component.mjs +0 -50
  490. package/esm2022/drawer/drawer-portal.directives.mjs +0 -58
  491. package/esm2022/drawer/drawer-ref.mjs +0 -17
  492. package/esm2022/drawer/drawer.component.mjs +0 -95
  493. package/esm2022/drawer/drawer.module.mjs +0 -38
  494. package/esm2022/drawer/drawer.property.mjs +0 -84
  495. package/esm2022/drawer/drawer.service.mjs +0 -65
  496. package/esm2022/drawer/ng-nest-ui-drawer.mjs +0 -5
  497. package/esm2022/drawer/public-api.mjs +0 -10
  498. package/esm2022/dropdown/dropdown-portal.component.mjs +0 -204
  499. package/esm2022/dropdown/dropdown.component.mjs +0 -179
  500. package/esm2022/dropdown/dropdown.module.mjs +0 -16
  501. package/esm2022/dropdown/dropdown.property.mjs +0 -96
  502. package/esm2022/dropdown/ng-nest-ui-dropdown.mjs +0 -5
  503. package/esm2022/dropdown/public-api.mjs +0 -5
  504. package/esm2022/empty/empty.component.mjs +0 -15
  505. package/esm2022/empty/empty.module.mjs +0 -16
  506. package/esm2022/empty/empty.property.mjs +0 -54
  507. package/esm2022/empty/ng-nest-ui-empty.mjs +0 -5
  508. package/esm2022/empty/public-api.mjs +0 -4
  509. package/esm2022/examples/examples.component.mjs +0 -18
  510. package/esm2022/examples/examples.module.mjs +0 -16
  511. package/esm2022/examples/examples.property.mjs +0 -7
  512. package/esm2022/examples/ng-nest-ui-examples.mjs +0 -5
  513. package/esm2022/examples/public-api.mjs +0 -4
  514. package/esm2022/find/find.component.mjs +0 -331
  515. package/esm2022/find/find.module.mjs +0 -16
  516. package/esm2022/find/find.property.mjs +0 -260
  517. package/esm2022/find/ng-nest-ui-find.mjs +0 -5
  518. package/esm2022/find/public-api.mjs +0 -4
  519. package/esm2022/form/control.component.mjs +0 -249
  520. package/esm2022/form/form.component.mjs +0 -116
  521. package/esm2022/form/form.module.mjs +0 -17
  522. package/esm2022/form/form.property.mjs +0 -202
  523. package/esm2022/form/ng-nest-ui-form.mjs +0 -5
  524. package/esm2022/form/public-api.mjs +0 -5
  525. package/esm2022/highlight/highlight.component.mjs +0 -85
  526. package/esm2022/highlight/highlight.module.mjs +0 -16
  527. package/esm2022/highlight/highlight.property.mjs +0 -45
  528. package/esm2022/highlight/highlight.service.mjs +0 -17
  529. package/esm2022/highlight/ng-nest-ui-highlight.mjs +0 -5
  530. package/esm2022/highlight/public-api.mjs +0 -5
  531. package/esm2022/i18n/i18n.directive.mjs +0 -29
  532. package/esm2022/i18n/i18n.module.mjs +0 -17
  533. package/esm2022/i18n/i18n.pipe.mjs +0 -28
  534. package/esm2022/i18n/i18n.property.mjs +0 -9
  535. package/esm2022/i18n/i18n.service.mjs +0 -57
  536. package/esm2022/i18n/languages/ar_EG.mjs +0 -169
  537. package/esm2022/i18n/languages/bg_BG.mjs +0 -172
  538. package/esm2022/i18n/languages/ca_ES.mjs +0 -172
  539. package/esm2022/i18n/languages/cs_CZ.mjs +0 -172
  540. package/esm2022/i18n/languages/da_DK.mjs +0 -172
  541. package/esm2022/i18n/languages/de_DE.mjs +0 -172
  542. package/esm2022/i18n/languages/el_GR.mjs +0 -172
  543. package/esm2022/i18n/languages/en_GB.mjs +0 -181
  544. package/esm2022/i18n/languages/en_US.mjs +0 -181
  545. package/esm2022/i18n/languages/es_ES.mjs +0 -172
  546. package/esm2022/i18n/languages/et_EE.mjs +0 -172
  547. package/esm2022/i18n/languages/fa_IR.mjs +0 -172
  548. package/esm2022/i18n/languages/fi_FI.mjs +0 -172
  549. package/esm2022/i18n/languages/fr_BE.mjs +0 -172
  550. package/esm2022/i18n/languages/fr_FR.mjs +0 -172
  551. package/esm2022/i18n/languages/he_IL.mjs +0 -169
  552. package/esm2022/i18n/languages/hi_IN.mjs +0 -172
  553. package/esm2022/i18n/languages/hr_HR.mjs +0 -172
  554. package/esm2022/i18n/languages/hu_HU.mjs +0 -172
  555. package/esm2022/i18n/languages/hy_AM.mjs +0 -172
  556. package/esm2022/i18n/languages/id_ID.mjs +0 -172
  557. package/esm2022/i18n/languages/is_IS.mjs +0 -172
  558. package/esm2022/i18n/languages/it_IT.mjs +0 -172
  559. package/esm2022/i18n/languages/ja_JP.mjs +0 -172
  560. package/esm2022/i18n/languages/ka_GE.mjs +0 -172
  561. package/esm2022/i18n/languages/kn_IN.mjs +0 -172
  562. package/esm2022/i18n/languages/ko_KR.mjs +0 -180
  563. package/esm2022/i18n/languages/ku_IQ.mjs +0 -156
  564. package/esm2022/i18n/languages/lv_LV.mjs +0 -180
  565. package/esm2022/i18n/languages/mn_MN.mjs +0 -180
  566. package/esm2022/i18n/languages/ms_MY.mjs +0 -180
  567. package/esm2022/i18n/languages/nb_NO.mjs +0 -180
  568. package/esm2022/i18n/languages/ne_NP.mjs +0 -180
  569. package/esm2022/i18n/languages/nl_BE.mjs +0 -180
  570. package/esm2022/i18n/languages/nl_NL.mjs +0 -180
  571. package/esm2022/i18n/languages/pl_PL.mjs +0 -180
  572. package/esm2022/i18n/languages/pt_BR.mjs +0 -180
  573. package/esm2022/i18n/languages/pt_PT.mjs +0 -180
  574. package/esm2022/i18n/languages/ro_RO.mjs +0 -180
  575. package/esm2022/i18n/languages/ru_RU.mjs +0 -180
  576. package/esm2022/i18n/languages/sk_SK.mjs +0 -171
  577. package/esm2022/i18n/languages/sl_SI.mjs +0 -172
  578. package/esm2022/i18n/languages/sr_RS.mjs +0 -172
  579. package/esm2022/i18n/languages/sv_SE.mjs +0 -172
  580. package/esm2022/i18n/languages/ta_IN.mjs +0 -180
  581. package/esm2022/i18n/languages/th_TH.mjs +0 -180
  582. package/esm2022/i18n/languages/tr_TR.mjs +0 -180
  583. package/esm2022/i18n/languages/uk_UA.mjs +0 -180
  584. package/esm2022/i18n/languages/vi_VN.mjs +0 -180
  585. package/esm2022/i18n/languages/zh_CN.mjs +0 -180
  586. package/esm2022/i18n/languages/zh_TW.mjs +0 -180
  587. package/esm2022/i18n/ng-nest-ui-i18n.mjs +0 -5
  588. package/esm2022/i18n/public-api.mjs +0 -57
  589. package/esm2022/icon/icon.component.mjs +0 -158
  590. package/esm2022/icon/icon.module.mjs +0 -16
  591. package/esm2022/icon/icon.property.mjs +0 -65
  592. package/esm2022/icon/icon.service.mjs +0 -89
  593. package/esm2022/icon/ng-nest-ui-icon.mjs +0 -5
  594. package/esm2022/icon/public-api.mjs +0 -5
  595. package/esm2022/image/image-group.component.mjs +0 -27
  596. package/esm2022/image/image-preview.component.mjs +0 -135
  597. package/esm2022/image/image.component.mjs +0 -75
  598. package/esm2022/image/image.module.mjs +0 -18
  599. package/esm2022/image/image.property.mjs +0 -196
  600. package/esm2022/image/ng-nest-ui-image.mjs +0 -5
  601. package/esm2022/image/public-api.mjs +0 -6
  602. package/esm2022/index.mjs +0 -106
  603. package/esm2022/inner/inner.component.mjs +0 -25
  604. package/esm2022/inner/inner.module.mjs +0 -16
  605. package/esm2022/inner/inner.property.mjs +0 -30
  606. package/esm2022/inner/ng-nest-ui-inner.mjs +0 -5
  607. package/esm2022/inner/public-api.mjs +0 -4
  608. package/esm2022/input/input-group.component.mjs +0 -16
  609. package/esm2022/input/input.component.mjs +0 -224
  610. package/esm2022/input/input.module.mjs +0 -17
  611. package/esm2022/input/input.property.mjs +0 -281
  612. package/esm2022/input/ng-nest-ui-input.mjs +0 -5
  613. package/esm2022/input/public-api.mjs +0 -5
  614. package/esm2022/input-number/input-number.component.mjs +0 -131
  615. package/esm2022/input-number/input-number.module.mjs +0 -16
  616. package/esm2022/input-number/input-number.property.mjs +0 -146
  617. package/esm2022/input-number/ng-nest-ui-input-number.mjs +0 -5
  618. package/esm2022/input-number/public-api.mjs +0 -4
  619. package/esm2022/keyword/keyword.directive.mjs +0 -61
  620. package/esm2022/keyword/keyword.module.mjs +0 -16
  621. package/esm2022/keyword/keyword.property.mjs +0 -45
  622. package/esm2022/keyword/ng-nest-ui-keyword.mjs +0 -5
  623. package/esm2022/keyword/public-api.mjs +0 -4
  624. package/esm2022/layout/col.component.mjs +0 -68
  625. package/esm2022/layout/layout.module.mjs +0 -17
  626. package/esm2022/layout/layout.property.mjs +0 -150
  627. package/esm2022/layout/ng-nest-ui-layout.mjs +0 -5
  628. package/esm2022/layout/public-api.mjs +0 -5
  629. package/esm2022/layout/row.component.mjs +0 -54
  630. package/esm2022/link/link.component.mjs +0 -28
  631. package/esm2022/link/link.module.mjs +0 -16
  632. package/esm2022/link/link.property.mjs +0 -109
  633. package/esm2022/link/ng-nest-ui-link.mjs +0 -5
  634. package/esm2022/link/public-api.mjs +0 -4
  635. package/esm2022/list/list-drop-group.directive.mjs +0 -39
  636. package/esm2022/list/list-option.component.mjs +0 -37
  637. package/esm2022/list/list.component.mjs +0 -409
  638. package/esm2022/list/list.module.mjs +0 -18
  639. package/esm2022/list/list.property.mjs +0 -273
  640. package/esm2022/list/ng-nest-ui-list.mjs +0 -5
  641. package/esm2022/list/public-api.mjs +0 -6
  642. package/esm2022/loading/loading.component.mjs +0 -77
  643. package/esm2022/loading/loading.module.mjs +0 -16
  644. package/esm2022/loading/loading.property.mjs +0 -70
  645. package/esm2022/loading/ng-nest-ui-loading.mjs +0 -5
  646. package/esm2022/loading/public-api.mjs +0 -4
  647. package/esm2022/menu/menu-node.component.mjs +0 -36
  648. package/esm2022/menu/menu.component.mjs +0 -171
  649. package/esm2022/menu/menu.module.mjs +0 -17
  650. package/esm2022/menu/menu.property.mjs +0 -107
  651. package/esm2022/menu/ng-nest-ui-menu.mjs +0 -5
  652. package/esm2022/menu/public-api.mjs +0 -5
  653. package/esm2022/message/message-ref.mjs +0 -13
  654. package/esm2022/message/message.component.mjs +0 -40
  655. package/esm2022/message/message.module.mjs +0 -15
  656. package/esm2022/message/message.property.mjs +0 -9
  657. package/esm2022/message/message.service.mjs +0 -146
  658. package/esm2022/message/ng-nest-ui-message.mjs +0 -5
  659. package/esm2022/message/public-api.mjs +0 -6
  660. package/esm2022/message-box/message-box.component.mjs +0 -122
  661. package/esm2022/message-box/message-box.module.mjs +0 -15
  662. package/esm2022/message-box/message-box.property.mjs +0 -8
  663. package/esm2022/message-box/message-box.service.mjs +0 -97
  664. package/esm2022/message-box/ng-nest-ui-message-box.mjs +0 -5
  665. package/esm2022/message-box/public-api.mjs +0 -5
  666. package/esm2022/ng-nest-ui.mjs +0 -5
  667. package/esm2022/notification/ng-nest-ui-notification.mjs +0 -5
  668. package/esm2022/notification/notification.component.mjs +0 -42
  669. package/esm2022/notification/notification.module.mjs +0 -15
  670. package/esm2022/notification/notification.property.mjs +0 -8
  671. package/esm2022/notification/notification.service.mjs +0 -107
  672. package/esm2022/notification/public-api.mjs +0 -5
  673. package/esm2022/outlet/ng-nest-ui-outlet.mjs +0 -5
  674. package/esm2022/outlet/outlet.directive.mjs +0 -72
  675. package/esm2022/outlet/outlet.module.mjs +0 -16
  676. package/esm2022/outlet/outlet.property.mjs +0 -7
  677. package/esm2022/outlet/public-api.mjs +0 -4
  678. package/esm2022/page-header/ng-nest-ui-page-header.mjs +0 -5
  679. package/esm2022/page-header/page-header.component.mjs +0 -24
  680. package/esm2022/page-header/page-header.module.mjs +0 -16
  681. package/esm2022/page-header/page-header.property.mjs +0 -50
  682. package/esm2022/page-header/public-api.mjs +0 -4
  683. package/esm2022/pagination/ng-nest-ui-pagination.mjs +0 -5
  684. package/esm2022/pagination/pagination.component.mjs +0 -205
  685. package/esm2022/pagination/pagination.module.mjs +0 -16
  686. package/esm2022/pagination/pagination.property.mjs +0 -149
  687. package/esm2022/pagination/public-api.mjs +0 -4
  688. package/esm2022/pattern/ng-nest-ui-pattern.mjs +0 -5
  689. package/esm2022/pattern/pattern.component.mjs +0 -18
  690. package/esm2022/pattern/pattern.module.mjs +0 -16
  691. package/esm2022/pattern/pattern.property.mjs +0 -7
  692. package/esm2022/pattern/public-api.mjs +0 -4
  693. package/esm2022/popconfirm/ng-nest-ui-popconfirm.mjs +0 -5
  694. package/esm2022/popconfirm/popconfirm.component.mjs +0 -59
  695. package/esm2022/popconfirm/popconfirm.module.mjs +0 -16
  696. package/esm2022/popconfirm/popconfirm.property.mjs +0 -100
  697. package/esm2022/popconfirm/public-api.mjs +0 -4
  698. package/esm2022/popover/ng-nest-ui-popover.mjs +0 -5
  699. package/esm2022/popover/popover-portal.component.mjs +0 -52
  700. package/esm2022/popover/popover.directive.mjs +0 -186
  701. package/esm2022/popover/popover.module.mjs +0 -16
  702. package/esm2022/popover/popover.property.mjs +0 -101
  703. package/esm2022/popover/public-api.mjs +0 -5
  704. package/esm2022/portal/ng-nest-ui-portal.mjs +0 -5
  705. package/esm2022/portal/portal.module.mjs +0 -16
  706. package/esm2022/portal/portal.property.mjs +0 -24
  707. package/esm2022/portal/portal.service.mjs +0 -190
  708. package/esm2022/portal/public-api.mjs +0 -4
  709. package/esm2022/progress/ng-nest-ui-progress.mjs +0 -5
  710. package/esm2022/progress/progress.component.mjs +0 -224
  711. package/esm2022/progress/progress.module.mjs +0 -16
  712. package/esm2022/progress/progress.property.mjs +0 -110
  713. package/esm2022/progress/public-api.mjs +0 -4
  714. package/esm2022/radio/ng-nest-ui-radio.mjs +0 -5
  715. package/esm2022/radio/public-api.mjs +0 -4
  716. package/esm2022/radio/radio.component.mjs +0 -77
  717. package/esm2022/radio/radio.module.mjs +0 -16
  718. package/esm2022/radio/radio.property.mjs +0 -121
  719. package/esm2022/rate/ng-nest-ui-rate.mjs +0 -5
  720. package/esm2022/rate/public-api.mjs +0 -4
  721. package/esm2022/rate/rate.component.mjs +0 -99
  722. package/esm2022/rate/rate.module.mjs +0 -16
  723. package/esm2022/rate/rate.property.mjs +0 -86
  724. package/esm2022/resizable/ng-nest-ui-resizable.mjs +0 -5
  725. package/esm2022/resizable/public-api.mjs +0 -4
  726. package/esm2022/resizable/resizable.directive.mjs +0 -264
  727. package/esm2022/resizable/resizable.module.mjs +0 -16
  728. package/esm2022/resizable/resizable.property.mjs +0 -64
  729. package/esm2022/result/ng-nest-ui-result.mjs +0 -5
  730. package/esm2022/result/public-api.mjs +0 -4
  731. package/esm2022/result/result.component.mjs +0 -25
  732. package/esm2022/result/result.module.mjs +0 -16
  733. package/esm2022/result/result.property.mjs +0 -45
  734. package/esm2022/ripple/ng-nest-ui-ripple.mjs +0 -5
  735. package/esm2022/ripple/public-api.mjs +0 -4
  736. package/esm2022/ripple/ripple.directive.mjs +0 -94
  737. package/esm2022/ripple/ripple.module.mjs +0 -16
  738. package/esm2022/ripple/ripple.property.mjs +0 -40
  739. package/esm2022/select/ng-nest-ui-select.mjs +0 -5
  740. package/esm2022/select/public-api.mjs +0 -5
  741. package/esm2022/select/select-portal.component.mjs +0 -103
  742. package/esm2022/select/select.component.mjs +0 -687
  743. package/esm2022/select/select.module.mjs +0 -16
  744. package/esm2022/select/select.property.mjs +0 -238
  745. package/esm2022/skeleton/ng-nest-ui-skeleton.mjs +0 -5
  746. package/esm2022/skeleton/public-api.mjs +0 -4
  747. package/esm2022/skeleton/skeleton.component.mjs +0 -25
  748. package/esm2022/skeleton/skeleton.module.mjs +0 -16
  749. package/esm2022/skeleton/skeleton.property.mjs +0 -55
  750. package/esm2022/slider/ng-nest-ui-slider.mjs +0 -5
  751. package/esm2022/slider/public-api.mjs +0 -4
  752. package/esm2022/slider/slider.component.mjs +0 -222
  753. package/esm2022/slider/slider.module.mjs +0 -17
  754. package/esm2022/slider/slider.property.mjs +0 -102
  755. package/esm2022/slider-select/ng-nest-ui-slider-select.mjs +0 -5
  756. package/esm2022/slider-select/public-api.mjs +0 -4
  757. package/esm2022/slider-select/slider-select.component.mjs +0 -368
  758. package/esm2022/slider-select/slider-select.module.mjs +0 -16
  759. package/esm2022/slider-select/slider-select.property.mjs +0 -136
  760. package/esm2022/statistic/countdown.component.mjs +0 -70
  761. package/esm2022/statistic/ng-nest-ui-statistic.mjs +0 -5
  762. package/esm2022/statistic/public-api.mjs +0 -5
  763. package/esm2022/statistic/statistic.component.mjs +0 -34
  764. package/esm2022/statistic/statistic.module.mjs +0 -17
  765. package/esm2022/statistic/statistic.property.mjs +0 -106
  766. package/esm2022/steps/ng-nest-ui-steps.mjs +0 -5
  767. package/esm2022/steps/public-api.mjs +0 -4
  768. package/esm2022/steps/steps.component.mjs +0 -49
  769. package/esm2022/steps/steps.module.mjs +0 -16
  770. package/esm2022/steps/steps.property.mjs +0 -60
  771. package/esm2022/switch/ng-nest-ui-switch.mjs +0 -5
  772. package/esm2022/switch/public-api.mjs +0 -4
  773. package/esm2022/switch/switch.component.mjs +0 -37
  774. package/esm2022/switch/switch.module.mjs +0 -16
  775. package/esm2022/switch/switch.property.mjs +0 -91
  776. package/esm2022/table/ng-nest-ui-table.mjs +0 -5
  777. package/esm2022/table/public-api.mjs +0 -7
  778. package/esm2022/table/table-body.component.mjs +0 -236
  779. package/esm2022/table/table-foot.component.mjs +0 -29
  780. package/esm2022/table/table-head.component.mjs +0 -169
  781. package/esm2022/table/table.component.mjs +0 -372
  782. package/esm2022/table/table.module.mjs +0 -19
  783. package/esm2022/table/table.property.mjs +0 -624
  784. package/esm2022/tabs/ng-nest-ui-tabs.mjs +0 -5
  785. package/esm2022/tabs/public-api.mjs +0 -7
  786. package/esm2022/tabs/tab-content.component.mjs +0 -21
  787. package/esm2022/tabs/tab-link.directive.mjs +0 -46
  788. package/esm2022/tabs/tab.component.mjs +0 -19
  789. package/esm2022/tabs/tabs.component.mjs +0 -143
  790. package/esm2022/tabs/tabs.module.mjs +0 -18
  791. package/esm2022/tabs/tabs.property.mjs +0 -141
  792. package/esm2022/tag/ng-nest-ui-tag.mjs +0 -5
  793. package/esm2022/tag/public-api.mjs +0 -4
  794. package/esm2022/tag/tag.component.mjs +0 -51
  795. package/esm2022/tag/tag.module.mjs +0 -16
  796. package/esm2022/tag/tag.property.mjs +0 -80
  797. package/esm2022/text-retract/ng-nest-ui-text-retract.mjs +0 -5
  798. package/esm2022/text-retract/public-api.mjs +0 -4
  799. package/esm2022/text-retract/text-retract.component.mjs +0 -42
  800. package/esm2022/text-retract/text-retract.module.mjs +0 -16
  801. package/esm2022/text-retract/text-retract.property.mjs +0 -35
  802. package/esm2022/textarea/ng-nest-ui-textarea.mjs +0 -5
  803. package/esm2022/textarea/public-api.mjs +0 -4
  804. package/esm2022/textarea/textarea.component.mjs +0 -68
  805. package/esm2022/textarea/textarea.module.mjs +0 -16
  806. package/esm2022/textarea/textarea.property.mjs +0 -126
  807. package/esm2022/theme/ng-nest-ui-theme.mjs +0 -5
  808. package/esm2022/theme/public-api.mjs +0 -4
  809. package/esm2022/theme/theme.component.mjs +0 -179
  810. package/esm2022/theme/theme.module.mjs +0 -16
  811. package/esm2022/theme/theme.property.mjs +0 -63
  812. package/esm2022/time-ago/ng-nest-ui-time-ago.mjs +0 -5
  813. package/esm2022/time-ago/public-api.mjs +0 -4
  814. package/esm2022/time-ago/time-ago.module.mjs +0 -16
  815. package/esm2022/time-ago/time-ago.pipe.mjs +0 -70
  816. package/esm2022/time-ago/time-ago.property.mjs +0 -7
  817. package/esm2022/time-picker/ng-nest-ui-time-picker.mjs +0 -5
  818. package/esm2022/time-picker/public-api.mjs +0 -6
  819. package/esm2022/time-picker/time-picker-frame.component.mjs +0 -312
  820. package/esm2022/time-picker/time-picker-portal.component.mjs +0 -78
  821. package/esm2022/time-picker/time-picker.component.mjs +0 -266
  822. package/esm2022/time-picker/time-picker.module.mjs +0 -17
  823. package/esm2022/time-picker/time-picker.property.mjs +0 -198
  824. package/esm2022/time-range/ng-nest-ui-time-range.mjs +0 -5
  825. package/esm2022/time-range/public-api.mjs +0 -4
  826. package/esm2022/time-range/time-range.module.mjs +0 -16
  827. package/esm2022/time-range/time-range.pipe.mjs +0 -44
  828. package/esm2022/time-range/time-range.property.mjs +0 -7
  829. package/esm2022/timeline/ng-nest-ui-timeline.mjs +0 -5
  830. package/esm2022/timeline/public-api.mjs +0 -4
  831. package/esm2022/timeline/timeline.component.mjs +0 -45
  832. package/esm2022/timeline/timeline.module.mjs +0 -16
  833. package/esm2022/timeline/timeline.property.mjs +0 -50
  834. package/esm2022/tooltip/ng-nest-ui-tooltip.mjs +0 -5
  835. package/esm2022/tooltip/public-api.mjs +0 -5
  836. package/esm2022/tooltip/tooltip-portal.component.mjs +0 -103
  837. package/esm2022/tooltip/tooltip.directive.mjs +0 -143
  838. package/esm2022/tooltip/tooltip.module.mjs +0 -16
  839. package/esm2022/tooltip/tooltip.property.mjs +0 -86
  840. package/esm2022/transfer/ng-nest-ui-transfer.mjs +0 -5
  841. package/esm2022/transfer/public-api.mjs +0 -4
  842. package/esm2022/transfer/transfer.component.mjs +0 -659
  843. package/esm2022/transfer/transfer.module.mjs +0 -16
  844. package/esm2022/transfer/transfer.property.mjs +0 -112
  845. package/esm2022/tree/ng-nest-ui-tree.mjs +0 -5
  846. package/esm2022/tree/public-api.mjs +0 -5
  847. package/esm2022/tree/tree-node.component.mjs +0 -297
  848. package/esm2022/tree/tree.component.mjs +0 -579
  849. package/esm2022/tree/tree.module.mjs +0 -17
  850. package/esm2022/tree/tree.property.mjs +0 -337
  851. package/esm2022/tree/tree.service.mjs +0 -102
  852. package/esm2022/tree-file/ng-nest-ui-tree-file.mjs +0 -5
  853. package/esm2022/tree-file/public-api.mjs +0 -4
  854. package/esm2022/tree-file/tree-file.component.mjs +0 -118
  855. package/esm2022/tree-file/tree-file.module.mjs +0 -16
  856. package/esm2022/tree-file/tree-file.property.mjs +0 -90
  857. package/esm2022/tree-select/ng-nest-ui-tree-select.mjs +0 -5
  858. package/esm2022/tree-select/public-api.mjs +0 -5
  859. package/esm2022/tree-select/tree-select-portal.component.mjs +0 -86
  860. package/esm2022/tree-select/tree-select.component.mjs +0 -659
  861. package/esm2022/tree-select/tree-select.module.mjs +0 -17
  862. package/esm2022/tree-select/tree-select.property.mjs +0 -237
  863. package/esm2022/typography/ng-nest-ui-typography.mjs +0 -5
  864. package/esm2022/typography/public-api.mjs +0 -4
  865. package/esm2022/typography/typography.component.mjs +0 -27
  866. package/esm2022/typography/typography.module.mjs +0 -16
  867. package/esm2022/typography/typography.property.mjs +0 -34
  868. package/esm2022/upload/ng-nest-ui-upload.mjs +0 -5
  869. package/esm2022/upload/public-api.mjs +0 -5
  870. package/esm2022/upload/upload-portal.component.mjs +0 -196
  871. package/esm2022/upload/upload.component.mjs +0 -233
  872. package/esm2022/upload/upload.module.mjs +0 -16
  873. package/esm2022/upload/upload.property.mjs +0 -118
  874. package/style/core/base.scss +0 -20
  875. package/style/core/cdk.scss +0 -72
  876. package/style/core/portal.scss +0 -5
  877. package/style/core/var.scss +0 -4
  878. package/style/mixins/index.scss +0 -9
  879. package/style/params/layout.scss +0 -73
  880. package/style/params/primary.scss +0 -208
  881. package/style/themes/default.scss +0 -1
@@ -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 { XPropertyFunction } from '@ng-nest/ui/core';\r\nimport { Component, input } 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\nconst X_COLOR_CONFIG_NAME = 'color';\r\n\r\n/**\r\n * Color Property\r\n */\r\n@Component({ selector: `${XColorPrefix}-property`, template: '' })\r\nexport class XColorProperty extends XPropertyFunction(X_COLOR_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 颜色名称\r\n * @en_US Color name\r\n * @example\r\n *\r\n * ```html\r\n * <x-color label=\"primary\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly label = input<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 * @default 'var(--x-primary)'\r\n * @example\r\n *\r\n * ```html\r\n * <x-color hex=\"#67c23a\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly hex = input<string>('var(--x-primary)');\r\n /**\r\n * @zh_CN 混合的颜色\r\n * @en_US Mixed colors\r\n * @example\r\n *\r\n * ```html\r\n * <x-color merge=\"#ffffff\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly merge = input<string>(this.config?.merge ?? '#ffffff');\r\n /**\r\n * @zh_CN 混合的颜色占比\r\n * @en_US Proportion of mixed colors\r\n * @default [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]\r\n * @example\r\n *\r\n * ```html\r\n * <x-color [amounts]=\"[0.8, 0.9]\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly amounts = input<number[]>(this.config?.amounts ?? [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]);\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, computed, HostBinding } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { XColorPrefix, XColorProperty } from './color.property';\r\nimport { XToHex, XMixColors, XComputed } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: XColorPrefix,\r\n standalone: true,\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 {\r\n @HostBinding('class') className = XColorPrefix;\r\n private doc = inject(DOCUMENT);\r\n\r\n hexSignal = computed(() => {\r\n if (!this.hex() || this.hex() === 'var(--x-primary)') {\r\n return XComputed(this.doc.documentElement).getPropertyValue('--x-primary');\r\n }\r\n return this.hex();\r\n });\r\n\r\n colors = computed(() => {\r\n const colors = [];\r\n for (let amount of this.amounts()) {\r\n colors.push(XToHex(XMixColors(this.merge(), this.hexSignal().trim(), amount)));\r\n }\r\n return colors;\r\n });\r\n}\r\n","<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hexSignal()\" [class.x-color-only]=\"colors().length === 0\">\r\n <span>{{ label() }}</span>\r\n <span class=\"x-color-hex\">{{ hexSignal() }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n @for (color of colors(); track color) {\r\n <div class=\"x-color-item\" [style.background-color]=\"color\"></div>\r\n }\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XColorComponent } from './color.component';\r\n\r\n@NgModule({\r\n exports: [XColorComponent],\r\n imports: [XColorComponent]\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;AACtC,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAEpC;;AAEG;MAEU,cAAe,SAAQ,iBAAiB,CAAC,mBAAmB,CAAC,CAAA;AAD1E,IAAA,WAAA,GAAA;;AAEE;;;;;;;;;AASG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,OAAO,CAAC,CAAC;AACxC;;;;;;;;;;AAUG;AACM,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAAS,kBAAkB,CAAC,CAAC;AACjD;;;;;;;;;AASG;QACM,IAAK,CAAA,KAAA,GAAG,KAAK,CAAS,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,SAAS,CAAC,CAAC;AAChE;;;;;;;;;;AAUG;AACM,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAW,IAAI,CAAC,MAAM,EAAE,OAAO,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AACjH,KAAA;iIA/CY,cAAc,EAAA,IAAA,EA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,OAAO,EAAE,CAAC,eAAe,CAAC;AAC3B,iBAAA,CAAA;;;ACND;;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 { XPropertyFunction } from '@ng-nest/ui/core';\r\nimport { Component, input } 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\nconst X_COLOR_CONFIG_NAME = 'color';\r\n\r\n/**\r\n * Color Property\r\n */\r\n@Component({ selector: `${XColorPrefix}-property`, template: '' })\r\nexport class XColorProperty extends XPropertyFunction(X_COLOR_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 颜色名称\r\n * @en_US Color name\r\n * @example\r\n *\r\n * ```html\r\n * <x-color label=\"primary\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly label = input<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 * @default 'var(--x-primary)'\r\n * @example\r\n *\r\n * ```html\r\n * <x-color hex=\"#67c23a\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly hex = input<string>('var(--x-primary)');\r\n /**\r\n * @zh_CN 混合的颜色\r\n * @en_US Mixed colors\r\n * @example\r\n *\r\n * ```html\r\n * <x-color merge=\"#ffffff\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly merge = input<string>(this.config?.merge ?? '#ffffff');\r\n /**\r\n * @zh_CN 混合的颜色占比\r\n * @en_US Proportion of mixed colors\r\n * @default [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]\r\n * @example\r\n *\r\n * ```html\r\n * <x-color [amounts]=\"[0.8, 0.9]\"></x-color>\r\n * ```\r\n *\r\n */\r\n readonly amounts = input<number[]>(this.config?.amounts ?? [-0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]);\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, computed, HostBinding } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { XColorPrefix, XColorProperty } from './color.property';\r\nimport { XToHex, XMixColors, XComputed } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: XColorPrefix,\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 {\r\n @HostBinding('class') className = XColorPrefix;\r\n private doc = inject(DOCUMENT);\r\n\r\n hexSignal = computed(() => {\r\n if (!this.hex() || this.hex() === 'var(--x-primary)') {\r\n return XComputed(this.doc.documentElement).getPropertyValue('--x-primary');\r\n }\r\n return this.hex();\r\n });\r\n\r\n colors = computed(() => {\r\n const colors = [];\r\n for (let amount of this.amounts()) {\r\n colors.push(XToHex(XMixColors(this.merge(), this.hexSignal().trim(), amount)));\r\n }\r\n return colors;\r\n });\r\n}\r\n","<div class=\"x-color-box\">\r\n <div class=\"x-color-primary\" [style.background-color]=\"hexSignal()\" [class.x-color-only]=\"colors().length === 0\">\r\n <span>{{ label() }}</span>\r\n <span class=\"x-color-hex\">{{ hexSignal() }}</span>\r\n </div>\r\n <div class=\"x-color-gradual\">\r\n @for (color of colors(); track color) {\r\n <div class=\"x-color-item\" [style.background-color]=\"color\"></div>\r\n }\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XColorComponent } from './color.component';\r\n\r\n@NgModule({\r\n exports: [XColorComponent],\r\n imports: [XColorComponent]\r\n})\r\nexport class XColorModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './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ACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,iBAGP,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0cAAA,EAAA,MAAA,EAAA,CAAA,0mBAAA,CAAA,EAAA;8BAGzB,SAAS,EAAA,CAAA;sBAA9B,WAAW;uBAAC,OAAO;;;MENT,YAAY,CAAA;iIAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kIAAZ,YAAY,EAAA,OAAA,EAAA,CAFb,eAAe,CAAA,EAAA,OAAA,EAAA,CADf,eAAe,CAAA,EAAA,CAAA,CAAA;kIAGd,YAAY,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,eAAe;AAC1B,iBAAA;;;ACND;;AAEG;;;;"}
@@ -60,10 +60,10 @@ class XCommentProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {
60
60
  */
61
61
  this.moreClick = output();
62
62
  }
63
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
64
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XCommentProperty, selector: "x-comment-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, contentMax: { classPropertyName: "contentMax", publicName: "contentMax", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { likeClick: "likeClick", commentClick: "commentClick", replyClick: "replyClick", sureClick: "sureClick", moreClick: "moreClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
63
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
64
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XCommentProperty, isStandalone: true, selector: "x-comment-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, contentMax: { classPropertyName: "contentMax", publicName: "contentMax", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { likeClick: "likeClick", commentClick: "commentClick", replyClick: "replyClick", sureClick: "sureClick", moreClick: "moreClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentProperty, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentProperty, decorators: [{
67
67
  type: Component,
68
68
  args: [{ selector: `${XCommentPrefix}-property`, template: '' }]
69
69
  }] });
@@ -90,10 +90,10 @@ class XCommentReplyProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {
90
90
  */
91
91
  this.sureClick = output();
92
92
  }
93
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentReplyProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XCommentReplyProperty, selector: "x-comment-reply-property", inputs: { maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sureClick: "sureClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
93
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentReplyProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XCommentReplyProperty, isStandalone: true, selector: "x-comment-reply-property", inputs: { maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sureClick: "sureClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
95
95
  }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentReplyProperty, decorators: [{
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentReplyProperty, decorators: [{
97
97
  type: Component,
98
98
  args: [{ selector: `${XCommentReplyPrefix}-property`, template: '' }]
99
99
  }] });
@@ -106,12 +106,12 @@ class XCommentReplyComponent extends XCommentReplyProperty {
106
106
  sureOnClick() {
107
107
  this.sureClick.emit(this.inputValue());
108
108
  }
109
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentReplyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
110
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XCommentReplyComponent, isStandalone: true, selector: "x-comment-reply", usesInheritance: true, ngImport: i0, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (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-input{width:100%}.x-comment-reply-sure{display:flex;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: XInputComponent, selector: "x-input" }, { kind: "pipe", type: XI18nPipe, name: "xI18n" }, { kind: "component", type: XButtonComponent, selector: "x-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
109
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentReplyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
110
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XCommentReplyComponent, isStandalone: true, selector: "x-comment-reply", usesInheritance: true, ngImport: i0, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (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-input{width:100%}.x-comment-reply-sure{display:flex;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: XInputComponent, selector: "x-input" }, { kind: "pipe", type: XI18nPipe, name: "xI18n" }, { kind: "component", type: XButtonComponent, selector: "x-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
111
111
  }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentReplyComponent, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentReplyComponent, decorators: [{
113
113
  type: Component,
114
- args: [{ selector: `${XCommentReplyPrefix}`, standalone: true, imports: [FormsModule, XInputComponent, XI18nPipe, XButtonComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (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-input{width:100%}.x-comment-reply-sure{display:flex;align-items:center}\n"] }]
114
+ args: [{ selector: `${XCommentReplyPrefix}`, imports: [FormsModule, XInputComponent, XI18nPipe, XButtonComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (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-input{width:100%}.x-comment-reply-sure{display:flex;align-items:center}\n"] }]
115
115
  }] });
116
116
 
117
117
  class XCommentComponent extends XCommentProperty {
@@ -141,12 +141,12 @@ class XCommentComponent extends XCommentProperty {
141
141
  hasMore(node) {
142
142
  return node.count > node.children?.length;
143
143
  }
144
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.2", type: XCommentComponent, isStandalone: true, selector: "x-comment", usesInheritance: true, ngImport: i0, template: "<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n @for (node of nodes(); track node.id) {\r\n <div class=\"x-comment-item\">\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 <div>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <x-buttons boxShadow=\"false\">\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow!\" (click)=\"commentOnClick(node)\" text>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}\r\n </x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}\r\n </x-button>\r\n </x-buttons>\r\n </div>\r\n @if (node.commentShow) {\r\n <x-comment-reply [maxlength]=\"contentMax()\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n }\r\n <ul>\r\n @for (child of node.children; track child.id) {\r\n <li>\r\n <div>\r\n <div>\r\n <x-link>{{ child.author }}</x-link>\r\n @if (child.replyAuthor) {\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span>\r\n <x-link>{{ child.replyAuthor }}</x-link>\r\n }\r\n \uFF1A\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons boxShadow=\"false\">\r\n <x-button\r\n icon=\"fto-message-square\"\r\n [activated]=\"child.commentShow!\"\r\n (click)=\"replyOnClick(child)\"\r\n text\r\n >{{ 'comment.reply' | xI18n }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n @if (child.commentShow) {\r\n <x-comment-reply\r\n [maxlength]=\"contentMax()\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n }\r\n </div>\r\n </li>\r\n }\r\n @if (hasMore(node)) {\r\n <li class=\"x-comment-more\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight\r\n >{{ 'comment.more' | xI18n }}\r\n </x-link>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".x-comment{margin:0;padding:0}.x-comment{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,.x-comment-content li{margin:0;padding:0;list-style:none}.x-comment-content>ul{margin-top:.375rem}.x-comment-content>ul>li{padding:0 var(--x-font-size);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:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-comment-content>ul>li.x-comment-more{padding:var(--x-font-size)}.x-comment-content>ul>li:hover{background-color:var(--x-background-a100);border-color:transparent}.x-comment-content .x-comment-reply{margin:var(--x-font-size) 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:var(--x-font-size)}.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:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-comment-item:first-child{padding-top:0}.x-comment-reply{margin:0 .75rem}\n"], dependencies: [{ kind: "pipe", type: XI18nPipe, name: "xI18n" }, { kind: "component", type: XLinkComponent, selector: "x-link" }, { kind: "component", type: XAvatarComponent, selector: "x-avatar" }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: XTextRetractComponent, selector: "x-text-retract" }, { kind: "pipe", type: XTimeAgoPipe, name: "xTimeAgo" }, { kind: "component", type: XCommentReplyComponent, selector: "x-comment-reply" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
144
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.1", type: XCommentComponent, isStandalone: true, selector: "x-comment", usesInheritance: true, ngImport: i0, template: "<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n @for (node of nodes(); track node.id) {\r\n <div class=\"x-comment-item\">\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 <div>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <x-buttons boxShadow=\"false\">\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow!\" (click)=\"commentOnClick(node)\" text>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}\r\n </x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}\r\n </x-button>\r\n </x-buttons>\r\n </div>\r\n @if (node.commentShow) {\r\n <x-comment-reply [maxlength]=\"contentMax()\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n }\r\n <ul>\r\n @for (child of node.children; track child.id) {\r\n <li>\r\n <div>\r\n <div>\r\n <x-link>{{ child.author }}</x-link>\r\n @if (child.replyAuthor) {\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span>\r\n <x-link>{{ child.replyAuthor }}</x-link>\r\n }\r\n \uFF1A\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons boxShadow=\"false\">\r\n <x-button\r\n icon=\"fto-message-square\"\r\n [activated]=\"child.commentShow!\"\r\n (click)=\"replyOnClick(child)\"\r\n text\r\n >{{ 'comment.reply' | xI18n }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n @if (child.commentShow) {\r\n <x-comment-reply\r\n [maxlength]=\"contentMax()\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n }\r\n </div>\r\n </li>\r\n }\r\n @if (hasMore(node)) {\r\n <li class=\"x-comment-more\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight\r\n >{{ 'comment.more' | xI18n }}\r\n </x-link>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".x-comment{margin:0;padding:0}.x-comment{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,.x-comment-content li{margin:0;padding:0;list-style:none}.x-comment-content>ul{margin-top:.375rem}.x-comment-content>ul>li{padding:0 var(--x-font-size);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:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-comment-content>ul>li.x-comment-more{padding:var(--x-font-size)}.x-comment-content>ul>li:hover{background-color:var(--x-background-a100);border-color:transparent}.x-comment-content .x-comment-reply{margin:var(--x-font-size) 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:var(--x-font-size)}.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:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-comment-item:first-child{padding-top:0}.x-comment-reply{margin:0 .75rem}\n"], dependencies: [{ kind: "pipe", type: XI18nPipe, name: "xI18n" }, { kind: "component", type: XLinkComponent, selector: "x-link" }, { kind: "component", type: XAvatarComponent, selector: "x-avatar" }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: XTextRetractComponent, selector: "x-text-retract" }, { kind: "pipe", type: XTimeAgoPipe, name: "xTimeAgo" }, { kind: "component", type: XCommentReplyComponent, selector: "x-comment-reply" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentComponent, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentComponent, decorators: [{
148
148
  type: Component,
149
- args: [{ selector: `${XCommentPrefix}`, standalone: true, imports: [
149
+ args: [{ selector: `${XCommentPrefix}`, imports: [
150
150
  XI18nPipe,
151
151
  XLinkComponent,
152
152
  XAvatarComponent,
@@ -159,11 +159,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
159
159
  }] });
160
160
 
161
161
  class XCommentModule {
162
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
163
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: XCommentModule, imports: [XCommentComponent, XCommentReplyComponent], exports: [XCommentComponent, XCommentReplyComponent] }); }
164
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentModule, imports: [XCommentComponent, XCommentReplyComponent] }); }
162
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
163
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XCommentModule, imports: [XCommentComponent, XCommentReplyComponent], exports: [XCommentComponent, XCommentReplyComponent] }); }
164
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentModule, imports: [XCommentComponent, XCommentReplyComponent] }); }
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XCommentModule, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XCommentModule, decorators: [{
167
167
  type: NgModule,
168
168
  args: [{
169
169
  exports: [XCommentComponent, XCommentReplyComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-comment.mjs","sources":["../../../../lib/ng-nest/ui/comment/comment.property.ts","../../../../lib/ng-nest/ui/comment/comment-reply.component.ts","../../../../lib/ng-nest/ui/comment/comment-reply.component.html","../../../../lib/ng-nest/ui/comment/comment.component.ts","../../../../lib/ng-nest/ui/comment/comment.component.html","../../../../lib/ng-nest/ui/comment/comment.module.ts","../../../../lib/ng-nest/ui/comment/ng-nest-ui-comment.ts"],"sourcesContent":["import { XPropertyFunction, XToDataArray, XToNumber } from '@ng-nest/ui/core';\r\nimport { Component, input, output } from '@angular/core';\r\nimport type { XDate, XParentIdentityProperty, XNumber, XDataArray } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Comment\r\n * @selector x-comment\r\n * @decorator component\r\n */\r\nexport const XCommentPrefix = 'x-comment';\r\nconst X_COMMENT_CONFIG_NAME = 'comment';\r\n\r\n/**\r\n * Comment Property\r\n */\r\n@Component({ selector: `${XCommentPrefix}-property`, template: '' })\r\nexport class XCommentProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 评论数据\r\n * @en_US Comment data\r\n */\r\n readonly data = input<XCommentNode[], XDataArray<XCommentNode>>([], { transform: XToDataArray });\r\n /**\r\n * @zh_CN 评论最大字数\r\n * @en_US Maximum number of comments\r\n */\r\n readonly contentMax = input<number, XNumber>(this.config?.contentMax ?? 512, { transform: XToNumber });\r\n /**\r\n * @zh_CN 点赞的事件\r\n * @en_US Like events\r\n */\r\n readonly likeClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 评论的事件\r\n * @en_US Commented event\r\n */\r\n readonly commentClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 回复的事件\r\n * @en_US Reply event\r\n */\r\n readonly replyClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 确认提交的事件\r\n * @en_US Confirm the submitted event\r\n */\r\n readonly sureClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 更多的事件\r\n * @en_US More events\r\n */\r\n readonly moreClick = output<XCommentNode>();\r\n}\r\n\r\n/**\r\n * @zh_CN Comment 数据对象\r\n * @en_US Comment data object\r\n */\r\nexport interface XCommentNode extends XParentIdentityProperty<XCommentNode> {\r\n /**\r\n * @zh_CN 作者\r\n * @en_US Author\r\n */\r\n author?: string;\r\n /**\r\n * @zh_CN 作者头像地址\r\n * @en_US Author avatar address\r\n */\r\n src?: string;\r\n /**\r\n * @zh_CN 发布时间\r\n * @en_US release time\r\n */\r\n datetime?: XDate;\r\n /**\r\n * @zh_CN 发布内容\r\n * @en_US Publish content\r\n */\r\n content?: string;\r\n /**\r\n * @zh_CN 点赞数量\r\n * @en_US Like number\r\n */\r\n likes?: number;\r\n /**\r\n * @zh_CN 评论数量\r\n * @en_US Number of comments\r\n */\r\n count?: number;\r\n /**\r\n * @zh_CN 回复作者\r\n * @en_US Reply to author\r\n */\r\n replyAuthor?: string;\r\n /**\r\n * @zh_CN 点击评论/回复提交的内容\r\n * @en_US Click to comment/reply to submitted content\r\n */\r\n replyContent?: string;\r\n /**\r\n * @zh_CN 显示评论/回复框\r\n * @en_US Show comment/reply box\r\n */\r\n commentShow?: boolean;\r\n}\r\n\r\n/**\r\n * Comment Reply\r\n * @selector x-comment-reply\r\n * @decorator component\r\n */\r\nexport const XCommentReplyPrefix = 'x-comment-reply';\r\n\r\n/**\r\n * Comment Reply Property\r\n */\r\n@Component({ selector: `${XCommentReplyPrefix}-property`, template: '' })\r\nexport class XCommentReplyProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 回复的最大字数\r\n * @en_US Maximum number of words to reply\r\n */\r\n readonly maxlength = input<number, XNumber>(this.config?.maxlength ?? 512, { transform: XToNumber });\r\n /**\r\n * @zh_CN 回复确认的事件\r\n * @en_US Reply to confirmed event\r\n */\r\n readonly sureClick = output<string>();\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, signal } from '@angular/core';\r\nimport { XCommentReplyPrefix, XCommentReplyProperty } from './comment.property';\r\nimport { XI18nPipe } from '@ng-nest/ui/i18n';\r\nimport { XInputComponent } from '@ng-nest/ui/input';\r\nimport { XButtonComponent } from '@ng-nest/ui/button';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: `${XCommentReplyPrefix}`,\r\n standalone: true,\r\n imports: [FormsModule, XInputComponent, XI18nPipe, XButtonComponent],\r\n templateUrl: './comment-reply.component.html',\r\n styleUrls: ['./comment-reply.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCommentReplyComponent extends XCommentReplyProperty {\r\n inputValue = signal<string>('');\r\n\r\n sureOnClick() {\r\n this.sureClick.emit(this.inputValue());\r\n }\r\n}\r\n","<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (click)=\"sureOnClick()\">{{ 'comment.sure' | xI18n }}</x-button>\r\n </div>\r\n</div>\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, computed } from '@angular/core';\r\nimport { XCommentPrefix, XCommentProperty } from './comment.property';\r\nimport { XIsEmpty, XGetChildren } from '@ng-nest/ui/core';\r\nimport { XI18nPipe } from '@ng-nest/ui/i18n';\r\nimport { XAvatarComponent } from '@ng-nest/ui/avatar';\r\nimport { XButtonComponent, XButtonsComponent } from '@ng-nest/ui/button';\r\nimport { XLinkComponent } from '@ng-nest/ui/link';\r\nimport { XTextRetractComponent } from '@ng-nest/ui/text-retract';\r\nimport { XTimeAgoPipe } from '@ng-nest/ui/time-ago';\r\nimport { XCommentReplyComponent } from './comment-reply.component';\r\nimport type { XCommentNode } from './comment.property';\r\n\r\n@Component({\r\n selector: `${XCommentPrefix}`,\r\n standalone: true,\r\n imports: [\r\n XI18nPipe,\r\n XLinkComponent,\r\n XAvatarComponent,\r\n XButtonComponent,\r\n XButtonsComponent,\r\n XTextRetractComponent,\r\n XTimeAgoPipe,\r\n XCommentReplyComponent\r\n ],\r\n templateUrl: './comment.component.html',\r\n styleUrls: ['./comment.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCommentComponent extends XCommentProperty {\r\n nodes = computed(() =>\r\n this.data()\r\n .filter((dt) => XIsEmpty(dt.pid))\r\n .map((dt) => XGetChildren<XCommentNode>(this.data(), dt, 0))\r\n );\r\n\r\n likeOnClick(node: XCommentNode) {\r\n this.likeClick.emit(node);\r\n }\r\n\r\n commentOnClick(node: XCommentNode) {\r\n node.commentShow = !node.commentShow;\r\n this.commentClick.emit(node);\r\n }\r\n\r\n replyOnClick(node: XCommentNode) {\r\n node.commentShow = !node.commentShow;\r\n this.replyClick.emit(node);\r\n }\r\n\r\n sureOnClick(content: string, node: XCommentNode) {\r\n node.replyContent = content;\r\n }\r\n\r\n moreOnClick(node: XCommentNode) {\r\n this.moreClick.emit(node);\r\n }\r\n\r\n hasMore(node: XCommentNode) {\r\n return (node.count as number) > (node.children?.length as number);\r\n }\r\n}\r\n","<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n @for (node of nodes(); track node.id) {\r\n <div class=\"x-comment-item\">\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 <div>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <x-buttons boxShadow=\"false\">\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow!\" (click)=\"commentOnClick(node)\" text>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}\r\n </x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}\r\n </x-button>\r\n </x-buttons>\r\n </div>\r\n @if (node.commentShow) {\r\n <x-comment-reply [maxlength]=\"contentMax()\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n }\r\n <ul>\r\n @for (child of node.children; track child.id) {\r\n <li>\r\n <div>\r\n <div>\r\n <x-link>{{ child.author }}</x-link>\r\n @if (child.replyAuthor) {\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span>\r\n <x-link>{{ child.replyAuthor }}</x-link>\r\n }\r\n :\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons boxShadow=\"false\">\r\n <x-button\r\n icon=\"fto-message-square\"\r\n [activated]=\"child.commentShow!\"\r\n (click)=\"replyOnClick(child)\"\r\n text\r\n >{{ 'comment.reply' | xI18n }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n @if (child.commentShow) {\r\n <x-comment-reply\r\n [maxlength]=\"contentMax()\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n }\r\n </div>\r\n </li>\r\n }\r\n @if (hasMore(node)) {\r\n <li class=\"x-comment-more\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight\r\n >{{ 'comment.more' | xI18n }}\r\n </x-link>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XCommentComponent } from './comment.component';\r\nimport { XCommentReplyComponent } from './comment-reply.component';\r\n\r\n@NgModule({\r\n exports: [XCommentComponent, XCommentReplyComponent],\r\n imports: [XCommentComponent, XCommentReplyComponent]\r\n})\r\nexport class XCommentModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIA;;;;AAIG;AACI,MAAM,cAAc,GAAG,YAAY;AAC1C,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAExC;;AAEG;MAEU,gBAAiB,SAAQ,iBAAiB,CAAC,qBAAqB,CAAC,CAAA;AAD9E,IAAA,WAAA,GAAA;;AAEE;;;AAGG;QACM,IAAI,CAAA,IAAA,GAAG,KAAK,CA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;kIAGxC,cAAc,EAAA,OAAA,EAAA,CAFf,iBAAiB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAExC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;AACrD,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-comment.mjs","sources":["../../../../lib/ng-nest/ui/comment/comment.property.ts","../../../../lib/ng-nest/ui/comment/comment-reply.component.ts","../../../../lib/ng-nest/ui/comment/comment-reply.component.html","../../../../lib/ng-nest/ui/comment/comment.component.ts","../../../../lib/ng-nest/ui/comment/comment.component.html","../../../../lib/ng-nest/ui/comment/comment.module.ts","../../../../lib/ng-nest/ui/comment/ng-nest-ui-comment.ts"],"sourcesContent":["import { XPropertyFunction, XToDataArray, XToNumber } from '@ng-nest/ui/core';\r\nimport { Component, input, output } from '@angular/core';\r\nimport type { XDate, XParentIdentityProperty, XNumber, XDataArray } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Comment\r\n * @selector x-comment\r\n * @decorator component\r\n */\r\nexport const XCommentPrefix = 'x-comment';\r\nconst X_COMMENT_CONFIG_NAME = 'comment';\r\n\r\n/**\r\n * Comment Property\r\n */\r\n@Component({ selector: `${XCommentPrefix}-property`, template: '' })\r\nexport class XCommentProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 评论数据\r\n * @en_US Comment data\r\n */\r\n readonly data = input<XCommentNode[], XDataArray<XCommentNode>>([], { transform: XToDataArray });\r\n /**\r\n * @zh_CN 评论最大字数\r\n * @en_US Maximum number of comments\r\n */\r\n readonly contentMax = input<number, XNumber>(this.config?.contentMax ?? 512, { transform: XToNumber });\r\n /**\r\n * @zh_CN 点赞的事件\r\n * @en_US Like events\r\n */\r\n readonly likeClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 评论的事件\r\n * @en_US Commented event\r\n */\r\n readonly commentClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 回复的事件\r\n * @en_US Reply event\r\n */\r\n readonly replyClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 确认提交的事件\r\n * @en_US Confirm the submitted event\r\n */\r\n readonly sureClick = output<XCommentNode>();\r\n /**\r\n * @zh_CN 更多的事件\r\n * @en_US More events\r\n */\r\n readonly moreClick = output<XCommentNode>();\r\n}\r\n\r\n/**\r\n * @zh_CN Comment 数据对象\r\n * @en_US Comment data object\r\n */\r\nexport interface XCommentNode extends XParentIdentityProperty<XCommentNode> {\r\n /**\r\n * @zh_CN 作者\r\n * @en_US Author\r\n */\r\n author?: string;\r\n /**\r\n * @zh_CN 作者头像地址\r\n * @en_US Author avatar address\r\n */\r\n src?: string;\r\n /**\r\n * @zh_CN 发布时间\r\n * @en_US release time\r\n */\r\n datetime?: XDate;\r\n /**\r\n * @zh_CN 发布内容\r\n * @en_US Publish content\r\n */\r\n content?: string;\r\n /**\r\n * @zh_CN 点赞数量\r\n * @en_US Like number\r\n */\r\n likes?: number;\r\n /**\r\n * @zh_CN 评论数量\r\n * @en_US Number of comments\r\n */\r\n count?: number;\r\n /**\r\n * @zh_CN 回复作者\r\n * @en_US Reply to author\r\n */\r\n replyAuthor?: string;\r\n /**\r\n * @zh_CN 点击评论/回复提交的内容\r\n * @en_US Click to comment/reply to submitted content\r\n */\r\n replyContent?: string;\r\n /**\r\n * @zh_CN 显示评论/回复框\r\n * @en_US Show comment/reply box\r\n */\r\n commentShow?: boolean;\r\n}\r\n\r\n/**\r\n * Comment Reply\r\n * @selector x-comment-reply\r\n * @decorator component\r\n */\r\nexport const XCommentReplyPrefix = 'x-comment-reply';\r\n\r\n/**\r\n * Comment Reply Property\r\n */\r\n@Component({ selector: `${XCommentReplyPrefix}-property`, template: '' })\r\nexport class XCommentReplyProperty extends XPropertyFunction(X_COMMENT_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 回复的最大字数\r\n * @en_US Maximum number of words to reply\r\n */\r\n readonly maxlength = input<number, XNumber>(this.config?.maxlength ?? 512, { transform: XToNumber });\r\n /**\r\n * @zh_CN 回复确认的事件\r\n * @en_US Reply to confirmed event\r\n */\r\n readonly sureClick = output<string>();\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, signal } from '@angular/core';\r\nimport { XCommentReplyPrefix, XCommentReplyProperty } from './comment.property';\r\nimport { XI18nPipe } from '@ng-nest/ui/i18n';\r\nimport { XInputComponent } from '@ng-nest/ui/input';\r\nimport { XButtonComponent } from '@ng-nest/ui/button';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: `${XCommentReplyPrefix}`,\r\n imports: [FormsModule, XInputComponent, XI18nPipe, XButtonComponent],\r\n templateUrl: './comment-reply.component.html',\r\n styleUrls: ['./comment-reply.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCommentReplyComponent extends XCommentReplyProperty {\r\n inputValue = signal<string>('');\r\n\r\n sureOnClick() {\r\n this.sureClick.emit(this.inputValue());\r\n }\r\n}\r\n","<div #commentReply class=\"x-comment-reply\">\r\n <x-input\r\n class=\"x-comment-reply-input\"\r\n [placeholder]=\"'comment.placeholder' | xI18n\"\r\n [maxlength]=\"maxlength()\"\r\n [(ngModel)]=\"inputValue\"\r\n ></x-input>\r\n <div class=\"x-comment-reply-buttons\">\r\n <x-button type=\"primary\" flat (click)=\"sureOnClick()\">{{ 'comment.sure' | xI18n }}</x-button>\r\n </div>\r\n</div>\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, computed } from '@angular/core';\r\nimport { XCommentPrefix, XCommentProperty } from './comment.property';\r\nimport { XIsEmpty, XGetChildren } from '@ng-nest/ui/core';\r\nimport { XI18nPipe } from '@ng-nest/ui/i18n';\r\nimport { XAvatarComponent } from '@ng-nest/ui/avatar';\r\nimport { XButtonComponent, XButtonsComponent } from '@ng-nest/ui/button';\r\nimport { XLinkComponent } from '@ng-nest/ui/link';\r\nimport { XTextRetractComponent } from '@ng-nest/ui/text-retract';\r\nimport { XTimeAgoPipe } from '@ng-nest/ui/time-ago';\r\nimport { XCommentReplyComponent } from './comment-reply.component';\r\nimport type { XCommentNode } from './comment.property';\r\n\r\n@Component({\r\n selector: `${XCommentPrefix}`,\r\n imports: [\r\n XI18nPipe,\r\n XLinkComponent,\r\n XAvatarComponent,\r\n XButtonComponent,\r\n XButtonsComponent,\r\n XTextRetractComponent,\r\n XTimeAgoPipe,\r\n XCommentReplyComponent\r\n ],\r\n templateUrl: './comment.component.html',\r\n styleUrls: ['./comment.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XCommentComponent extends XCommentProperty {\r\n nodes = computed(() =>\r\n this.data()\r\n .filter((dt) => XIsEmpty(dt.pid))\r\n .map((dt) => XGetChildren<XCommentNode>(this.data(), dt, 0))\r\n );\r\n\r\n likeOnClick(node: XCommentNode) {\r\n this.likeClick.emit(node);\r\n }\r\n\r\n commentOnClick(node: XCommentNode) {\r\n node.commentShow = !node.commentShow;\r\n this.commentClick.emit(node);\r\n }\r\n\r\n replyOnClick(node: XCommentNode) {\r\n node.commentShow = !node.commentShow;\r\n this.replyClick.emit(node);\r\n }\r\n\r\n sureOnClick(content: string, node: XCommentNode) {\r\n node.replyContent = content;\r\n }\r\n\r\n moreOnClick(node: XCommentNode) {\r\n this.moreClick.emit(node);\r\n }\r\n\r\n hasMore(node: XCommentNode) {\r\n return (node.count as number) > (node.children?.length as number);\r\n }\r\n}\r\n","<div #comment class=\"x-comment\">\r\n <div class=\"x-comment-list\">\r\n @for (node of nodes(); track node.id) {\r\n <div class=\"x-comment-item\">\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 <div>\r\n <x-text-retract [content]=\"node.content\"></x-text-retract>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <x-buttons boxShadow=\"false\">\r\n <x-button icon=\"fto-message-square\" [activated]=\"node.commentShow!\" (click)=\"commentOnClick(node)\" text>\r\n {{ 'comment.comments' | xI18n }} {{ node.count ? node.count : '' }}\r\n </x-button>\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(node)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ node.likes ? node.likes : '' }}\r\n </x-button>\r\n </x-buttons>\r\n </div>\r\n @if (node.commentShow) {\r\n <x-comment-reply [maxlength]=\"contentMax()\" (sureClick)=\"sureOnClick($event, node)\"></x-comment-reply>\r\n }\r\n <ul>\r\n @for (child of node.children; track child.id) {\r\n <li>\r\n <div>\r\n <div>\r\n <x-link>{{ child.author }}</x-link>\r\n @if (child.replyAuthor) {\r\n <span class=\"x-comment-reply\">{{ 'comment.reply' | xI18n }}</span>\r\n <x-link>{{ child.replyAuthor }}</x-link>\r\n }\r\n :\r\n <span>\r\n <x-text-retract [content]=\"child.content\"></x-text-retract>\r\n </span>\r\n </div>\r\n <div class=\"x-comment-action\">\r\n <span class=\"x-comment-time\">{{ child.datetime | xTimeAgo }}</span>\r\n <x-buttons boxShadow=\"false\">\r\n <x-button\r\n icon=\"fto-message-square\"\r\n [activated]=\"child.commentShow!\"\r\n (click)=\"replyOnClick(child)\"\r\n text\r\n >{{ 'comment.reply' | xI18n }}</x-button\r\n >\r\n <x-button icon=\"fto-thumbs-up\" (click)=\"likeOnClick(child)\" text>\r\n {{ 'comment.giveALike' | xI18n }} {{ child.likes ? child.likes : '' }}</x-button\r\n >\r\n </x-buttons>\r\n </div>\r\n @if (child.commentShow) {\r\n <x-comment-reply\r\n [maxlength]=\"contentMax()\"\r\n (sureClick)=\"sureOnClick($event, child)\"\r\n ></x-comment-reply>\r\n }\r\n </div>\r\n </li>\r\n }\r\n @if (hasMore(node)) {\r\n <li class=\"x-comment-more\">\r\n <x-link icon=\"fto-chevron-right\" type=\"primary\" (click)=\"moreOnClick(node)\" iconRight\r\n >{{ 'comment.more' | xI18n }}\r\n </x-link>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XCommentComponent } from './comment.component';\r\nimport { XCommentReplyComponent } from './comment-reply.component';\r\n\r\n@NgModule({\r\n exports: [XCommentComponent, XCommentReplyComponent],\r\n imports: [XCommentComponent, XCommentReplyComponent]\r\n})\r\nexport class XCommentModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIA;;;;AAIG;AACI,MAAM,cAAc,GAAG;AAC9B,MAAM,qBAAqB,GAAG,SAAS;AAEvC;;AAEG;MAEU,gBAAiB,SAAQ,iBAAiB,CAAC,qBAAqB,CAAC,CAAA;AAD9E,IAAA,WAAA,GAAA;;AAEE;;;AAGG;QACM,IAAI,CAAA,IAAA,GAAG,KAAK,CAA2C,EAAE,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;AAChG;;;AAGG;AACM,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAkB,IAAI,CAAC,MAAM,EAAE,UAAU,IAAI,GAAG,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AACtG;;;AAGG;QACM,IAAS,CAAA,SAAA,GAAG,MAAM,EAAgB;AAC3C;;;AAGG;QACM,IAAY,CAAA,YAAA,GAAG,MAAM,EAAgB;AAC9C;;;AAGG;QACM,IAAU,CAAA,UAAA,GAAG,MAAM,EAAgB;AAC5C;;;AAGG;QACM,IAAS,CAAA,SAAA,GAAG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EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8iHAAA,EAAA,MAAA,EAAA,CAAA,qnDAAA,CAAA,EAAA;;;MEnBpC,cAAc,CAAA;iIAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,iBAAiB,EAAE,sBAAsB,CADzC,EAAA,OAAA,EAAA,CAAA,iBAAiB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;kIAGxC,cAAc,EAAA,OAAA,EAAA,CAFf,iBAAiB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;;2FAExC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,sBAAsB;AACpD,iBAAA;;;ACPD;;AAEG;;;;"}
@@ -22,10 +22,10 @@ class XContainerProperty extends XPropertyFunction(X_CONTAINER_CONFIG_NAME) {
22
22
  */
23
23
  this.direction = input(this.config?.direction);
24
24
  }
25
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
26
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XContainerProperty, selector: "x-container-property", inputs: { direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
25
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
26
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XContainerProperty, isStandalone: true, selector: "x-container-property", inputs: { direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerProperty, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerProperty, decorators: [{
29
29
  type: Component,
30
30
  args: [{ selector: `${XContainerPrefix}-property`, template: '' }]
31
31
  }] });
@@ -48,10 +48,10 @@ class XHeaderProperty extends XPropertyFunction(X_HEADER_CONFIG_NAME) {
48
48
  */
49
49
  this.height = input(this.config?.height ?? '3rem', { transform: XToCssPixelValue });
50
50
  }
51
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XHeaderProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
52
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XHeaderProperty, selector: "x-header-property", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
51
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XHeaderProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
52
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XHeaderProperty, isStandalone: true, selector: "x-header-property", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XHeaderProperty, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XHeaderProperty, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: `${XHeaderPrefix}-property`, template: '' }]
57
57
  }] });
@@ -74,10 +74,10 @@ class XAsideProperty extends XPropertyFunction(X_ASIDE_CONFIG_NAME) {
74
74
  */
75
75
  this.width = input(this.config?.width ?? '12rem', { transform: XToCssPixelValue });
76
76
  }
77
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XAsideProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
78
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XAsideProperty, selector: "x-aside-property", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
77
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XAsideProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
78
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XAsideProperty, isStandalone: true, selector: "x-aside-property", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XAsideProperty, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XAsideProperty, decorators: [{
81
81
  type: Component,
82
82
  args: [{ selector: `${XAsidePrefix}-property`, template: '' }]
83
83
  }] });
@@ -106,10 +106,10 @@ class XFooterProperty extends XPropertyFunction(X_FOOTER_CONFIG_NAME) {
106
106
  */
107
107
  this.height = input(this.config?.height ?? '3rem', { transform: XToCssPixelValue });
108
108
  }
109
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XFooterProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
110
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: XFooterProperty, selector: "x-footer-property", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
109
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XFooterProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
110
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XFooterProperty, isStandalone: true, selector: "x-footer-property", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
111
111
  }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XFooterProperty, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XFooterProperty, decorators: [{
113
113
  type: Component,
114
114
  args: [{ selector: `${XFooterPrefix}-property`, template: '' }]
115
115
  }] });
@@ -131,12 +131,12 @@ class XContainerComponent extends XContainerProperty {
131
131
  get className() {
132
132
  return `${XContainerPrefix} ${this.directionClass()}`;
133
133
  }
134
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
135
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XContainerComponent, isStandalone: true, selector: "x-container", host: { properties: { "class": "this.className" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-container{margin:0;padding:0}.x-container{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 }); }
134
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
135
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XContainerComponent, isStandalone: true, selector: "x-container", host: { properties: { "class": "this.className" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-container{margin:0;padding:0}.x-container{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 }); }
136
136
  }
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerComponent, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerComponent, decorators: [{
138
138
  type: Component,
139
- args: [{ selector: `${XContainerPrefix}`, standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-container{margin:0;padding:0}.x-container{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"] }]
139
+ args: [{ selector: `${XContainerPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-container{margin:0;padding:0}.x-container{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"] }]
140
140
  }], propDecorators: { className: [{
141
141
  type: HostBinding,
142
142
  args: ['class']
@@ -159,12 +159,12 @@ class XHeaderComponent extends XHeaderProperty {
159
159
  return;
160
160
  this.container.directionSignal.set('column');
161
161
  }
162
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
163
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XHeaderComponent, isStandalone: true, selector: "x-header", host: { properties: { "class": "this.className", "style.height": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-header{margin:0;padding:0}.x-header{flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
162
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
163
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XHeaderComponent, isStandalone: true, selector: "x-header", host: { properties: { "class": "this.className", "style.height": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-header{margin:0;padding:0}.x-header{flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XHeaderComponent, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XHeaderComponent, decorators: [{
166
166
  type: Component,
167
- args: [{ selector: `${XHeaderPrefix}`, standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-header{margin:0;padding:0}.x-header{flex-shrink:0;padding:0 1rem}\n"] }]
167
+ args: [{ selector: `${XHeaderPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-header{margin:0;padding:0}.x-header{flex-shrink:0;padding:0 1rem}\n"] }]
168
168
  }], propDecorators: { className: [{
169
169
  type: HostBinding,
170
170
  args: ['class']
@@ -181,12 +181,12 @@ class XAsideComponent extends XAsideProperty {
181
181
  get getWidth() {
182
182
  return this.width();
183
183
  }
184
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XAsideComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
185
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XAsideComponent, isStandalone: true, selector: "x-aside", host: { properties: { "class": "this.className", "style.width": "this.getWidth" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-aside{margin:0;padding:0}.x-aside{overflow:auto;flex-shrink:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
184
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XAsideComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
185
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XAsideComponent, isStandalone: true, selector: "x-aside", host: { properties: { "class": "this.className", "style.width": "this.getWidth" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-aside{margin:0;padding:0}.x-aside{overflow:auto;flex-shrink:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
186
186
  }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XAsideComponent, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XAsideComponent, decorators: [{
188
188
  type: Component,
189
- args: [{ selector: `${XAsidePrefix}`, standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-aside{margin:0;padding:0}.x-aside{overflow:auto;flex-shrink:0}\n"] }]
189
+ args: [{ selector: `${XAsidePrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-aside{margin:0;padding:0}.x-aside{overflow:auto;flex-shrink:0}\n"] }]
190
190
  }], propDecorators: { className: [{
191
191
  type: HostBinding,
192
192
  args: ['class']
@@ -199,12 +199,12 @@ class XMainComponent {
199
199
  constructor() {
200
200
  this.className = XMainPrefix;
201
201
  }
202
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XMainComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
203
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XMainComponent, isStandalone: true, selector: "x-main", host: { properties: { "class": "this.className" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-main{margin:0;padding:0}.x-main{display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
202
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XMainComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
203
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XMainComponent, isStandalone: true, selector: "x-main", host: { properties: { "class": "this.className" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-main{margin:0;padding:0}.x-main{display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
204
204
  }
205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XMainComponent, decorators: [{
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XMainComponent, decorators: [{
206
206
  type: Component,
207
- args: [{ selector: `${XMainPrefix}`, standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-main{margin:0;padding:0}.x-main{display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"] }]
207
+ args: [{ selector: `${XMainPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-main{margin:0;padding:0}.x-main{display:block;flex:1;flex-basis:auto;padding:1rem;overflow:auto}\n"] }]
208
208
  }], propDecorators: { className: [{
209
209
  type: HostBinding,
210
210
  args: ['class']
@@ -227,12 +227,12 @@ class XFooterComponent extends XFooterProperty {
227
227
  return;
228
228
  this.container.directionSignal.set('column');
229
229
  }
230
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
231
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: XFooterComponent, isStandalone: true, selector: "x-footer", host: { properties: { "class": "this.className", "style.height": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-footer{margin:0;padding:0}.x-footer{flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
230
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
231
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.1", type: XFooterComponent, isStandalone: true, selector: "x-footer", host: { properties: { "class": "this.className", "style.height": "this.getHeight" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".x-footer{margin:0;padding:0}.x-footer{flex-shrink:0;padding:0 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
232
232
  }
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XFooterComponent, decorators: [{
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XFooterComponent, decorators: [{
234
234
  type: Component,
235
- args: [{ selector: `${XFooterPrefix}`, standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-footer{margin:0;padding:0}.x-footer{flex-shrink:0;padding:0 1rem}\n"] }]
235
+ args: [{ selector: `${XFooterPrefix}`, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".x-footer{margin:0;padding:0}.x-footer{flex-shrink:0;padding:0 1rem}\n"] }]
236
236
  }], propDecorators: { className: [{
237
237
  type: HostBinding,
238
238
  args: ['class']
@@ -242,11 +242,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
242
242
  }] } });
243
243
 
244
244
  class XContainerModule {
245
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: XContainerModule, imports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent], exports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent] }); }
247
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerModule }); }
245
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
246
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XContainerModule, imports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent], exports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent] }); }
247
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerModule }); }
248
248
  }
249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: XContainerModule, decorators: [{
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XContainerModule, decorators: [{
250
250
  type: NgModule,
251
251
  args: [{
252
252
  imports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-container.mjs","sources":["../../../../lib/ng-nest/ui/container/container.property.ts","../../../../lib/ng-nest/ui/container/container.component.ts","../../../../lib/ng-nest/ui/container/header.component.ts","../../../../lib/ng-nest/ui/container/aside.component.ts","../../../../lib/ng-nest/ui/container/main.component.ts","../../../../lib/ng-nest/ui/container/footer.component.ts","../../../../lib/ng-nest/ui/container/container.module.ts","../../../../lib/ng-nest/ui/container/ng-nest-ui-container.ts"],"sourcesContent":["import { XPropertyFunction, XToCssPixelValue } from '@ng-nest/ui/core';\r\nimport { Component, input } from '@angular/core';\r\nimport type { XDirection, XNumber } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Container\r\n * @selector x-container\r\n * @decorator component\r\n */\r\nexport const XContainerPrefix = 'x-container';\r\nconst X_CONTAINER_CONFIG_NAME = 'container';\r\n\r\n/**\r\n * Container Property\r\n */\r\n@Component({ selector: `${XContainerPrefix}-property`, template: '' })\r\nexport class XContainerProperty extends XPropertyFunction(X_CONTAINER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN flex 布局下的子元素排列方向,子元素中有 x-header 或 x-footer 时为 column\r\n * @en_US The arrangement direction of the sub-elements under the flex layout. When the sub-elements have x-header or x-footer, it is column\r\n * @default ''\r\n */\r\n readonly direction = input<XDirection>(this.config?.direction!);\r\n}\r\n\r\n/**\r\n * Header\r\n * @selector x-header\r\n * @decorator component\r\n */\r\nexport const XHeaderPrefix = 'x-header';\r\nconst X_HEADER_CONFIG_NAME = 'header';\r\n\r\n/**\r\n * Header Property\r\n */\r\n@Component({ selector: `${XHeaderPrefix}-property`, template: '' })\r\nexport class XHeaderProperty extends XPropertyFunction(X_HEADER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n readonly height = input<string, XNumber>(this.config?.height ?? '3rem', { transform: XToCssPixelValue });\r\n}\r\n\r\n/**\r\n * Aside\r\n * @selector x-aside\r\n * @decorator component\r\n */\r\nexport const XAsidePrefix = 'x-aside';\r\nconst X_ASIDE_CONFIG_NAME = 'aside';\r\n\r\n/**\r\n * Aside Property\r\n */\r\n@Component({ selector: `${XAsidePrefix}-property`, template: '' })\r\nexport class XAsideProperty extends XPropertyFunction(X_ASIDE_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 宽度\r\n * @en_US Width\r\n */\r\n readonly width = input<string, XNumber>(this.config?.width ?? '12rem', { transform: XToCssPixelValue });\r\n}\r\n\r\n/**\r\n * main\r\n * @selector x-main\r\n * @decorator component\r\n */\r\nexport const XMainPrefix = 'x-main';\r\n\r\n/**\r\n * Footer\r\n * @selector x-footer\r\n * @decorator component\r\n */\r\nexport const XFooterPrefix = 'x-footer';\r\nconst X_FOOTER_CONFIG_NAME = 'footer';\r\n\r\n/**\r\n * Footer Property\r\n */\r\n@Component({ selector: `${XFooterPrefix}-property`, template: '' })\r\nexport class XFooterProperty extends XPropertyFunction(X_FOOTER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n readonly height = input<string, XNumber>(this.config?.height ?? '3rem', { transform: XToCssPixelValue });\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, computed, signal } from '@angular/core';\r\nimport { XContainerPrefix, XContainerProperty } from './container.property';\r\nimport type { XDirection } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XContainerPrefix}`,\r\n standalone: true,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./container.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XContainerComponent extends XContainerProperty {\r\n @HostBinding('class') get className() {\r\n return `${XContainerPrefix} ${this.directionClass()}`;\r\n }\r\n\r\n directionSignal = signal<XDirection | null>(null);\r\n\r\n directionClass = computed(() => {\r\n const direction = this.directionSignal() || this.direction();\r\n if (direction) {\r\n return `x-direction-${direction}`;\r\n } else {\r\n return ``;\r\n }\r\n });\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, inject } from '@angular/core';\r\nimport { XHeaderPrefix, XHeaderProperty } from './container.property';\r\nimport { XContainerComponent } from './container.component';\r\n\r\n@Component({\r\n selector: `${XHeaderPrefix}`,\r\n standalone: true,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./header.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XHeaderComponent extends XHeaderProperty implements OnInit {\r\n @HostBinding('class') className = XHeaderPrefix;\r\n @HostBinding(`style.height`) get getHeight() {\r\n return this.height();\r\n }\r\n private container = inject(XContainerComponent, { optional: true, host: true });\r\n\r\n ngOnInit() {\r\n this.setDirection();\r\n }\r\n\r\n setDirection() {\r\n if (!this.container || this.container.direction()) return;\r\n this.container.directionSignal.set('column');\r\n }\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding } from '@angular/core';\r\nimport { XAsidePrefix, XAsideProperty } from './container.property';\r\n\r\n@Component({\r\n selector: `${XAsidePrefix}`,\r\n standalone: true,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./aside.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XAsideComponent extends XAsideProperty {\r\n @HostBinding('class') className = XAsidePrefix;\r\n @HostBinding(`style.width`) get getWidth() {\r\n return this.width();\r\n }\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding } from '@angular/core';\r\nimport { XMainPrefix } from './container.property';\r\n\r\n@Component({\r\n selector: `${XMainPrefix}`,\r\n standalone: true,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./main.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XMainComponent {\r\n @HostBinding('class') className = XMainPrefix;\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, inject } from '@angular/core';\r\nimport { XFooterPrefix, XFooterProperty } from './container.property';\r\nimport { XContainerComponent } from './container.component';\r\n\r\n@Component({\r\n selector: `${XFooterPrefix}`,\r\n standalone: true,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./footer.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XFooterComponent extends XFooterProperty implements OnInit {\r\n @HostBinding('class') className = XFooterPrefix;\r\n @HostBinding(`style.height`) get getHeight() {\r\n return this.height();\r\n }\r\n private container = inject(XContainerComponent, { optional: true, host: true });\r\n\r\n ngOnInit() {\r\n this.setDirection();\r\n }\r\n\r\n setDirection() {\r\n if (!this.container || this.container.direction()) return;\r\n this.container.directionSignal.set('column');\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { XContainerComponent } from './container.component';\r\nimport { XFooterComponent } from './footer.component';\r\nimport { XMainComponent } from './main.component';\r\nimport { XAsideComponent } from './aside.component';\r\nimport { XHeaderComponent } from './header.component';\r\n\r\n@NgModule({\r\n imports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent],\r\n exports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent]\r\n})\r\nexport class XContainerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA;;;;AAIG;AACI,MAAM,gBAAgB,GAAG,cAAc;AAC9C,MAAM,uBAAuB,GAAG,WAAW,CAAC;AAE5C;;AAEG;MAEU,kBAAmB,SAAQ,iBAAiB,CAAC,uBAAuB,CAAC,CAAA;AADlF,IAAA,WAAA,GAAA;;AAEE;;;;AAIG;QACM,IAAS,CAAA,SAAA,GAAG,KAAK,CAAa,IAAI,CAAC,MAAM,EAAE,SAAU,CAAC,CAAC;AACjE,KAAA;iIAPY,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,mOADkC,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FACtD,kBAAkB,EAAA,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/ui/container/container.property.ts","../../../../lib/ng-nest/ui/container/container.component.ts","../../../../lib/ng-nest/ui/container/header.component.ts","../../../../lib/ng-nest/ui/container/aside.component.ts","../../../../lib/ng-nest/ui/container/main.component.ts","../../../../lib/ng-nest/ui/container/footer.component.ts","../../../../lib/ng-nest/ui/container/container.module.ts","../../../../lib/ng-nest/ui/container/ng-nest-ui-container.ts"],"sourcesContent":["import { XPropertyFunction, XToCssPixelValue } from '@ng-nest/ui/core';\r\nimport { Component, input } from '@angular/core';\r\nimport type { XDirection, XNumber } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Container\r\n * @selector x-container\r\n * @decorator component\r\n */\r\nexport const XContainerPrefix = 'x-container';\r\nconst X_CONTAINER_CONFIG_NAME = 'container';\r\n\r\n/**\r\n * Container Property\r\n */\r\n@Component({ selector: `${XContainerPrefix}-property`, template: '' })\r\nexport class XContainerProperty extends XPropertyFunction(X_CONTAINER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN flex 布局下的子元素排列方向,子元素中有 x-header 或 x-footer 时为 column\r\n * @en_US The arrangement direction of the sub-elements under the flex layout. When the sub-elements have x-header or x-footer, it is column\r\n * @default ''\r\n */\r\n readonly direction = input<XDirection>(this.config?.direction!);\r\n}\r\n\r\n/**\r\n * Header\r\n * @selector x-header\r\n * @decorator component\r\n */\r\nexport const XHeaderPrefix = 'x-header';\r\nconst X_HEADER_CONFIG_NAME = 'header';\r\n\r\n/**\r\n * Header Property\r\n */\r\n@Component({ selector: `${XHeaderPrefix}-property`, template: '' })\r\nexport class XHeaderProperty extends XPropertyFunction(X_HEADER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n readonly height = input<string, XNumber>(this.config?.height ?? '3rem', { transform: XToCssPixelValue });\r\n}\r\n\r\n/**\r\n * Aside\r\n * @selector x-aside\r\n * @decorator component\r\n */\r\nexport const XAsidePrefix = 'x-aside';\r\nconst X_ASIDE_CONFIG_NAME = 'aside';\r\n\r\n/**\r\n * Aside Property\r\n */\r\n@Component({ selector: `${XAsidePrefix}-property`, template: '' })\r\nexport class XAsideProperty extends XPropertyFunction(X_ASIDE_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 宽度\r\n * @en_US Width\r\n */\r\n readonly width = input<string, XNumber>(this.config?.width ?? '12rem', { transform: XToCssPixelValue });\r\n}\r\n\r\n/**\r\n * main\r\n * @selector x-main\r\n * @decorator component\r\n */\r\nexport const XMainPrefix = 'x-main';\r\n\r\n/**\r\n * Footer\r\n * @selector x-footer\r\n * @decorator component\r\n */\r\nexport const XFooterPrefix = 'x-footer';\r\nconst X_FOOTER_CONFIG_NAME = 'footer';\r\n\r\n/**\r\n * Footer Property\r\n */\r\n@Component({ selector: `${XFooterPrefix}-property`, template: '' })\r\nexport class XFooterProperty extends XPropertyFunction(X_FOOTER_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n readonly height = input<string, XNumber>(this.config?.height ?? '3rem', { transform: XToCssPixelValue });\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, computed, signal } from '@angular/core';\r\nimport { XContainerPrefix, XContainerProperty } from './container.property';\r\nimport type { XDirection } from '@ng-nest/ui/core';\r\n\r\n@Component({\r\n selector: `${XContainerPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./container.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XContainerComponent extends XContainerProperty {\r\n @HostBinding('class') get className() {\r\n return `${XContainerPrefix} ${this.directionClass()}`;\r\n }\r\n\r\n directionSignal = signal<XDirection | null>(null);\r\n\r\n directionClass = computed(() => {\r\n const direction = this.directionSignal() || this.direction();\r\n if (direction) {\r\n return `x-direction-${direction}`;\r\n } else {\r\n return ``;\r\n }\r\n });\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, inject } from '@angular/core';\r\nimport { XHeaderPrefix, XHeaderProperty } from './container.property';\r\nimport { XContainerComponent } from './container.component';\r\n\r\n@Component({\r\n selector: `${XHeaderPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./header.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XHeaderComponent extends XHeaderProperty implements OnInit {\r\n @HostBinding('class') className = XHeaderPrefix;\r\n @HostBinding(`style.height`) get getHeight() {\r\n return this.height();\r\n }\r\n private container = inject(XContainerComponent, { optional: true, host: true });\r\n\r\n ngOnInit() {\r\n this.setDirection();\r\n }\r\n\r\n setDirection() {\r\n if (!this.container || this.container.direction()) return;\r\n this.container.directionSignal.set('column');\r\n }\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding } from '@angular/core';\r\nimport { XAsidePrefix, XAsideProperty } from './container.property';\r\n\r\n@Component({\r\n selector: `${XAsidePrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./aside.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XAsideComponent extends XAsideProperty {\r\n @HostBinding('class') className = XAsidePrefix;\r\n @HostBinding(`style.width`) get getWidth() {\r\n return this.width();\r\n }\r\n}\r\n","import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding } from '@angular/core';\r\nimport { XMainPrefix } from './container.property';\r\n\r\n@Component({\r\n selector: `${XMainPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./main.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XMainComponent {\r\n @HostBinding('class') className = XMainPrefix;\r\n}\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, inject } from '@angular/core';\r\nimport { XFooterPrefix, XFooterProperty } from './container.property';\r\nimport { XContainerComponent } from './container.component';\r\n\r\n@Component({\r\n selector: `${XFooterPrefix}`,\r\n template: '<ng-content></ng-content>',\r\n styleUrls: ['./footer.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class XFooterComponent extends XFooterProperty implements OnInit {\r\n @HostBinding('class') className = XFooterPrefix;\r\n @HostBinding(`style.height`) get getHeight() {\r\n return this.height();\r\n }\r\n private container = inject(XContainerComponent, { optional: true, host: true });\r\n\r\n ngOnInit() {\r\n this.setDirection();\r\n }\r\n\r\n setDirection() {\r\n if (!this.container || this.container.direction()) return;\r\n this.container.directionSignal.set('column');\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { XContainerComponent } from './container.component';\r\nimport { XFooterComponent } from './footer.component';\r\nimport { XMainComponent } from './main.component';\r\nimport { XAsideComponent } from './aside.component';\r\nimport { XHeaderComponent } from './header.component';\r\n\r\n@NgModule({\r\n imports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent],\r\n exports: [XContainerComponent, XHeaderComponent, XAsideComponent, XMainComponent, XFooterComponent]\r\n})\r\nexport class XContainerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA;;;;AAIG;AACI,MAAM,gBAAgB,GAAG;AAChC,MAAM,uBAAuB,GAAG,WAAW;AAE3C;;AAEG;MAEU,kBAAmB,SAAQ,iBAAiB,CAAC,uBAAuB,CAAC,CAAA;AADlF,IAAA,WAAA,GAAA;;AAEE;;;;AAIG;QACM,IAAS,CAAA,SAAA,GAAG,KAAK,CAAa,IAAI,CAAC,MAAM,EAAE,SAAU,CAAC;AAChE;iIAPY,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,o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