@ng-nest/ui 13.0.3 → 13.0.4

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 (515) hide show
  1. package/core/config/config.d.ts +4 -0
  2. package/dialog/dialog-container.component.d.ts +18 -0
  3. package/dialog/dialog-container.directives.d.ts +24 -0
  4. package/dialog/dialog-ref.d.ts +9 -0
  5. package/dialog/dialog.module.d.ts +13 -11
  6. package/dialog/dialog.property.d.ts +84 -6
  7. package/dialog/dialog.service.d.ts +19 -0
  8. package/dialog/examples/en_US/default/service/README.md +6 -0
  9. package/dialog/examples/zh_CN/default/service/README.md +6 -0
  10. package/dialog/public-api.d.ts +4 -0
  11. package/drawer/drawer-container.component.d.ts +18 -0
  12. package/drawer/drawer-container.directives.d.ts +19 -0
  13. package/drawer/drawer-ref.d.ts +9 -0
  14. package/drawer/drawer.module.d.ts +8 -6
  15. package/drawer/drawer.property.d.ts +83 -2
  16. package/drawer/drawer.service.d.ts +19 -0
  17. package/drawer/examples/en_US/default/service/README.md +6 -0
  18. package/drawer/examples/zh_CN/default/service/README.md +6 -0
  19. package/drawer/public-api.d.ts +5 -0
  20. package/esm2020/affix/affix.component.mjs +3 -3
  21. package/esm2020/affix/affix.module.mjs +4 -4
  22. package/esm2020/affix/affix.property.mjs +3 -3
  23. package/esm2020/alert/alert.component.mjs +5 -5
  24. package/esm2020/alert/alert.module.mjs +4 -4
  25. package/esm2020/alert/alert.property.mjs +3 -3
  26. package/esm2020/anchor/anchor.component.mjs +3 -3
  27. package/esm2020/anchor/anchor.module.mjs +4 -4
  28. package/esm2020/anchor/anchor.property.mjs +3 -3
  29. package/esm2020/api/api.component.mjs +3 -3
  30. package/esm2020/api/api.module.mjs +4 -4
  31. package/esm2020/auto-complete/auto-complete-portal.component.mjs +3 -3
  32. package/esm2020/auto-complete/auto-complete.component.mjs +3 -3
  33. package/esm2020/auto-complete/auto-complete.module.mjs +4 -4
  34. package/esm2020/auto-complete/auto-complete.property.mjs +3 -3
  35. package/esm2020/avatar/avatar.component.mjs +3 -3
  36. package/esm2020/avatar/avatar.module.mjs +4 -4
  37. package/esm2020/avatar/avatar.property.mjs +3 -3
  38. package/esm2020/back-top/back-top.component.mjs +3 -3
  39. package/esm2020/back-top/back-top.module.mjs +4 -4
  40. package/esm2020/back-top/back-top.property.mjs +3 -3
  41. package/esm2020/badge/badge.component.mjs +3 -3
  42. package/esm2020/badge/badge.module.mjs +4 -4
  43. package/esm2020/badge/badge.property.mjs +3 -3
  44. package/esm2020/base-form/base-form.component.mjs +3 -3
  45. package/esm2020/base-form/base-form.module.mjs +4 -4
  46. package/esm2020/base-form/base-form.property.mjs +3 -3
  47. package/esm2020/border/border.component.mjs +3 -3
  48. package/esm2020/border/border.module.mjs +4 -4
  49. package/esm2020/button/button.component.mjs +4 -4
  50. package/esm2020/button/button.module.mjs +4 -4
  51. package/esm2020/button/button.property.mjs +6 -6
  52. package/esm2020/button/buttons.component.mjs +3 -3
  53. package/esm2020/calendar/calendar.component.mjs +3 -3
  54. package/esm2020/calendar/calendar.module.mjs +4 -4
  55. package/esm2020/calendar/calendar.property.mjs +3 -3
  56. package/esm2020/card/card.component.mjs +4 -4
  57. package/esm2020/card/card.module.mjs +4 -4
  58. package/esm2020/card/card.property.mjs +3 -3
  59. package/esm2020/carousel/carousel-panel.component.mjs +3 -3
  60. package/esm2020/carousel/carousel.component.mjs +3 -3
  61. package/esm2020/carousel/carousel.module.mjs +4 -4
  62. package/esm2020/carousel/carousel.property.mjs +6 -6
  63. package/esm2020/cascade/cascade-portal.component.mjs +3 -3
  64. package/esm2020/cascade/cascade.component.mjs +3 -3
  65. package/esm2020/cascade/cascade.module.mjs +4 -4
  66. package/esm2020/cascade/cascade.property.mjs +3 -3
  67. package/esm2020/checkbox/checkbox.component.mjs +4 -4
  68. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  69. package/esm2020/checkbox/checkbox.property.mjs +3 -3
  70. package/esm2020/collapse/collapse-panel.component.mjs +3 -3
  71. package/esm2020/collapse/collapse.component.mjs +3 -3
  72. package/esm2020/collapse/collapse.module.mjs +4 -4
  73. package/esm2020/collapse/collapse.property.mjs +6 -6
  74. package/esm2020/color/color.component.mjs +3 -3
  75. package/esm2020/color/color.module.mjs +4 -4
  76. package/esm2020/color/color.property.mjs +3 -3
  77. package/esm2020/color-picker/color-picker-portal.component.mjs +3 -3
  78. package/esm2020/color-picker/color-picker.component.mjs +3 -3
  79. package/esm2020/color-picker/color-picker.module.mjs +4 -4
  80. package/esm2020/color-picker/color-picker.property.mjs +3 -3
  81. package/esm2020/comment/comment-reply.component.mjs +3 -3
  82. package/esm2020/comment/comment.component.mjs +3 -3
  83. package/esm2020/comment/comment.module.mjs +4 -4
  84. package/esm2020/comment/comment.property.mjs +6 -6
  85. package/esm2020/container/aside.component.mjs +3 -3
  86. package/esm2020/container/container.component.mjs +3 -3
  87. package/esm2020/container/container.module.mjs +4 -4
  88. package/esm2020/container/container.property.mjs +12 -12
  89. package/esm2020/container/footer.component.mjs +4 -4
  90. package/esm2020/container/header.component.mjs +4 -4
  91. package/esm2020/container/main.component.mjs +4 -4
  92. package/esm2020/core/config/config.mjs +1 -1
  93. package/esm2020/core/config/config.service.mjs +3 -3
  94. package/esm2020/core/services/http.service.mjs +3 -3
  95. package/esm2020/core/services/preloading-strategy.service.mjs +3 -3
  96. package/esm2020/core/services/storage.service.mjs +3 -3
  97. package/esm2020/core/theme/theme.service.mjs +3 -3
  98. package/esm2020/crumb/crumb.component.mjs +3 -3
  99. package/esm2020/crumb/crumb.module.mjs +4 -4
  100. package/esm2020/crumb/crumb.property.mjs +3 -3
  101. package/esm2020/date-picker/date-picker-portal.component.mjs +3 -3
  102. package/esm2020/date-picker/date-picker.component.mjs +3 -3
  103. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  104. package/esm2020/date-picker/date-picker.property.mjs +15 -15
  105. package/esm2020/date-picker/date-range-portal.component.mjs +5 -5
  106. package/esm2020/date-picker/date-range.component.mjs +3 -3
  107. package/esm2020/date-picker/picker-date.component.mjs +3 -3
  108. package/esm2020/date-picker/picker-month.component.mjs +3 -3
  109. package/esm2020/date-picker/picker-year.component.mjs +3 -3
  110. package/esm2020/description/description-item.component.mjs +3 -3
  111. package/esm2020/description/description.component.mjs +3 -3
  112. package/esm2020/description/description.module.mjs +4 -4
  113. package/esm2020/description/description.property.mjs +6 -6
  114. package/esm2020/dialog/dialog-container.component.mjs +52 -0
  115. package/esm2020/dialog/dialog-container.directives.mjs +73 -0
  116. package/esm2020/dialog/dialog-ref.mjs +17 -0
  117. package/esm2020/dialog/dialog.component.mjs +5 -5
  118. package/esm2020/dialog/dialog.module.mjs +39 -9
  119. package/esm2020/dialog/dialog.property.mjs +20 -19
  120. package/esm2020/dialog/dialog.service.mjs +67 -0
  121. package/esm2020/dialog/public-api.mjs +5 -1
  122. package/esm2020/doc/doc.component.mjs +4 -4
  123. package/esm2020/doc/doc.module.mjs +4 -4
  124. package/esm2020/drawer/drawer-container.component.mjs +52 -0
  125. package/esm2020/drawer/drawer-container.directives.mjs +57 -0
  126. package/esm2020/drawer/drawer-ref.mjs +17 -0
  127. package/esm2020/drawer/drawer.component.mjs +5 -5
  128. package/esm2020/drawer/drawer.module.mjs +24 -8
  129. package/esm2020/drawer/drawer.property.mjs +24 -8
  130. package/esm2020/drawer/drawer.service.mjs +65 -0
  131. package/esm2020/drawer/public-api.mjs +6 -1
  132. package/esm2020/dropdown/dropdown-portal.component.mjs +3 -3
  133. package/esm2020/dropdown/dropdown.component.mjs +3 -3
  134. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  135. package/esm2020/dropdown/dropdown.property.mjs +3 -3
  136. package/esm2020/empty/empty.component.mjs +3 -3
  137. package/esm2020/empty/empty.module.mjs +4 -4
  138. package/esm2020/empty/empty.property.mjs +3 -3
  139. package/esm2020/examples/examples.component.mjs +3 -3
  140. package/esm2020/examples/examples.module.mjs +4 -4
  141. package/esm2020/find/find.component.mjs +4 -4
  142. package/esm2020/find/find.module.mjs +4 -4
  143. package/esm2020/find/find.property.mjs +3 -3
  144. package/esm2020/form/control.component.mjs +3 -3
  145. package/esm2020/form/form.component.mjs +3 -3
  146. package/esm2020/form/form.module.mjs +4 -4
  147. package/esm2020/form/form.property.mjs +6 -6
  148. package/esm2020/highlight/highlight.component.mjs +3 -3
  149. package/esm2020/highlight/highlight.module.mjs +4 -4
  150. package/esm2020/highlight/highlight.property.mjs +3 -3
  151. package/esm2020/i18n/i18n.directive.mjs +3 -3
  152. package/esm2020/i18n/i18n.module.mjs +4 -4
  153. package/esm2020/i18n/i18n.pipe.mjs +3 -3
  154. package/esm2020/i18n/i18n.service.mjs +3 -3
  155. package/esm2020/icon/icon.component.mjs +3 -3
  156. package/esm2020/icon/icon.module.mjs +4 -4
  157. package/esm2020/icon/icon.property.mjs +3 -3
  158. package/esm2020/icon/icon.service.mjs +3 -3
  159. package/esm2020/inner/inner.component.mjs +3 -3
  160. package/esm2020/inner/inner.module.mjs +4 -4
  161. package/esm2020/inner/inner.property.mjs +3 -3
  162. package/esm2020/input/input-group.component.mjs +3 -3
  163. package/esm2020/input/input.component.mjs +6 -5
  164. package/esm2020/input/input.module.mjs +4 -4
  165. package/esm2020/input/input.property.mjs +6 -6
  166. package/esm2020/input-number/input-number.component.mjs +3 -3
  167. package/esm2020/input-number/input-number.module.mjs +4 -4
  168. package/esm2020/input-number/input-number.property.mjs +3 -3
  169. package/esm2020/layout/col.component.mjs +3 -3
  170. package/esm2020/layout/layout.module.mjs +4 -4
  171. package/esm2020/layout/layout.property.mjs +6 -6
  172. package/esm2020/layout/row.component.mjs +3 -3
  173. package/esm2020/link/link.component.mjs +3 -3
  174. package/esm2020/link/link.module.mjs +4 -4
  175. package/esm2020/link/link.property.mjs +3 -3
  176. package/esm2020/list/list-option.component.mjs +3 -3
  177. package/esm2020/list/list.component.mjs +3 -3
  178. package/esm2020/list/list.module.mjs +4 -4
  179. package/esm2020/list/list.property.mjs +6 -6
  180. package/esm2020/loading/loading.component.mjs +3 -3
  181. package/esm2020/loading/loading.module.mjs +4 -4
  182. package/esm2020/loading/loading.property.mjs +3 -3
  183. package/esm2020/menu/menu-node.component.mjs +3 -3
  184. package/esm2020/menu/menu.component.mjs +3 -3
  185. package/esm2020/menu/menu.module.mjs +4 -4
  186. package/esm2020/menu/menu.property.mjs +6 -6
  187. package/esm2020/message/message.component.mjs +3 -3
  188. package/esm2020/message/message.module.mjs +4 -4
  189. package/esm2020/message/message.property.mjs +2 -2
  190. package/esm2020/message/message.service.mjs +6 -6
  191. package/esm2020/message-box/message-box.component.mjs +3 -3
  192. package/esm2020/message-box/message-box.module.mjs +4 -4
  193. package/esm2020/message-box/message-box.service.mjs +3 -3
  194. package/esm2020/notification/notification.component.mjs +3 -3
  195. package/esm2020/notification/notification.module.mjs +4 -4
  196. package/esm2020/notification/notification.service.mjs +3 -3
  197. package/esm2020/outlet/outlet.directive.mjs +3 -3
  198. package/esm2020/outlet/outlet.module.mjs +4 -4
  199. package/esm2020/page-header/page-header.component.mjs +3 -3
  200. package/esm2020/page-header/page-header.module.mjs +4 -4
  201. package/esm2020/page-header/page-header.property.mjs +3 -3
  202. package/esm2020/pagination/pagination.component.mjs +4 -4
  203. package/esm2020/pagination/pagination.module.mjs +4 -4
  204. package/esm2020/pagination/pagination.property.mjs +3 -3
  205. package/esm2020/pattern/pattern.component.mjs +3 -3
  206. package/esm2020/pattern/pattern.module.mjs +4 -4
  207. package/esm2020/popconfirm/popconfirm.component.mjs +3 -3
  208. package/esm2020/popconfirm/popconfirm.module.mjs +4 -4
  209. package/esm2020/popconfirm/popconfirm.property.mjs +3 -3
  210. package/esm2020/popover/popover-portal.component.mjs +3 -3
  211. package/esm2020/popover/popover.directive.mjs +3 -3
  212. package/esm2020/popover/popover.module.mjs +4 -4
  213. package/esm2020/popover/popover.property.mjs +3 -3
  214. package/esm2020/portal/portal.module.mjs +6 -5
  215. package/esm2020/portal/portal.service.mjs +11 -12
  216. package/esm2020/progress/progress.component.mjs +179 -18
  217. package/esm2020/progress/progress.module.mjs +4 -4
  218. package/esm2020/progress/progress.property.mjs +52 -5
  219. package/esm2020/radio/radio.component.mjs +4 -4
  220. package/esm2020/radio/radio.module.mjs +4 -4
  221. package/esm2020/radio/radio.property.mjs +3 -3
  222. package/esm2020/rate/rate.component.mjs +4 -4
  223. package/esm2020/rate/rate.module.mjs +4 -4
  224. package/esm2020/rate/rate.property.mjs +3 -3
  225. package/esm2020/result/result.component.mjs +4 -4
  226. package/esm2020/result/result.module.mjs +4 -4
  227. package/esm2020/result/result.property.mjs +3 -3
  228. package/esm2020/ripple/ripple.directive.mjs +3 -3
  229. package/esm2020/ripple/ripple.module.mjs +4 -4
  230. package/esm2020/ripple/ripple.property.mjs +3 -3
  231. package/esm2020/select/select-portal.component.mjs +3 -3
  232. package/esm2020/select/select.component.mjs +3 -3
  233. package/esm2020/select/select.module.mjs +4 -4
  234. package/esm2020/select/select.property.mjs +3 -3
  235. package/esm2020/skeleton/skeleton.component.mjs +3 -3
  236. package/esm2020/skeleton/skeleton.module.mjs +4 -4
  237. package/esm2020/skeleton/skeleton.property.mjs +3 -3
  238. package/esm2020/slider/slider.component.mjs +3 -3
  239. package/esm2020/slider/slider.module.mjs +4 -4
  240. package/esm2020/slider/slider.property.mjs +3 -3
  241. package/esm2020/slider-select/slider-select.component.mjs +4 -4
  242. package/esm2020/slider-select/slider-select.module.mjs +4 -4
  243. package/esm2020/slider-select/slider-select.property.mjs +3 -3
  244. package/esm2020/statistic/countdown.component.mjs +3 -3
  245. package/esm2020/statistic/statistic.component.mjs +3 -3
  246. package/esm2020/statistic/statistic.module.mjs +4 -4
  247. package/esm2020/statistic/statistic.property.mjs +6 -6
  248. package/esm2020/steps/steps.component.mjs +18 -11
  249. package/esm2020/steps/steps.module.mjs +4 -4
  250. package/esm2020/steps/steps.property.mjs +10 -5
  251. package/esm2020/switch/switch.component.mjs +4 -4
  252. package/esm2020/switch/switch.module.mjs +4 -4
  253. package/esm2020/switch/switch.property.mjs +3 -3
  254. package/esm2020/table/drag.directive.mjs +3 -3
  255. package/esm2020/table/table-body.component.mjs +3 -3
  256. package/esm2020/table/table-foot.component.mjs +3 -3
  257. package/esm2020/table/table-head.component.mjs +3 -3
  258. package/esm2020/table/table.component.mjs +3 -3
  259. package/esm2020/table/table.module.mjs +4 -4
  260. package/esm2020/table/table.property.mjs +12 -12
  261. package/esm2020/tabs/tab-content.component.mjs +3 -3
  262. package/esm2020/tabs/tab.component.mjs +3 -3
  263. package/esm2020/tabs/tabs.component.mjs +3 -3
  264. package/esm2020/tabs/tabs.module.mjs +4 -4
  265. package/esm2020/tabs/tabs.property.mjs +6 -6
  266. package/esm2020/tag/tag.component.mjs +4 -4
  267. package/esm2020/tag/tag.module.mjs +4 -4
  268. package/esm2020/tag/tag.property.mjs +3 -3
  269. package/esm2020/text-retract/text-retract.component.mjs +3 -3
  270. package/esm2020/text-retract/text-retract.module.mjs +4 -4
  271. package/esm2020/text-retract/text-retract.property.mjs +3 -3
  272. package/esm2020/textarea/textarea.component.mjs +4 -4
  273. package/esm2020/textarea/textarea.module.mjs +4 -4
  274. package/esm2020/textarea/textarea.property.mjs +3 -3
  275. package/esm2020/theme/theme.component.mjs +3 -3
  276. package/esm2020/theme/theme.module.mjs +4 -4
  277. package/esm2020/theme/theme.property.mjs +3 -3
  278. package/esm2020/time-ago/time-ago.module.mjs +4 -4
  279. package/esm2020/time-ago/time-ago.pipe.mjs +3 -3
  280. package/esm2020/time-picker/time-picker-frame.component.mjs +4 -4
  281. package/esm2020/time-picker/time-picker-portal.component.mjs +3 -3
  282. package/esm2020/time-picker/time-picker.component.mjs +3 -3
  283. package/esm2020/time-picker/time-picker.module.mjs +4 -4
  284. package/esm2020/time-picker/time-picker.property.mjs +3 -3
  285. package/esm2020/time-range/time-range.module.mjs +4 -4
  286. package/esm2020/time-range/time-range.pipe.mjs +3 -3
  287. package/esm2020/timeline/timeline.component.mjs +3 -3
  288. package/esm2020/timeline/timeline.module.mjs +4 -4
  289. package/esm2020/timeline/timeline.property.mjs +3 -3
  290. package/esm2020/tooltip/tooltip-portal.component.mjs +3 -3
  291. package/esm2020/tooltip/tooltip.directive.mjs +3 -3
  292. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  293. package/esm2020/tooltip/tooltip.property.mjs +3 -3
  294. package/esm2020/transfer/transfer.component.mjs +3 -3
  295. package/esm2020/transfer/transfer.module.mjs +4 -4
  296. package/esm2020/transfer/transfer.property.mjs +3 -3
  297. package/esm2020/tree/tree-node.component.mjs +3 -3
  298. package/esm2020/tree/tree.component.mjs +3 -3
  299. package/esm2020/tree/tree.module.mjs +4 -4
  300. package/esm2020/tree/tree.property.mjs +6 -6
  301. package/esm2020/tree-file/tree-file.component.mjs +4 -4
  302. package/esm2020/tree-file/tree-file.module.mjs +4 -4
  303. package/esm2020/tree-file/tree-file.property.mjs +3 -3
  304. package/esm2020/typography/typography.component.mjs +3 -3
  305. package/esm2020/typography/typography.module.mjs +4 -4
  306. package/esm2020/typography/typography.property.mjs +3 -3
  307. package/esm2020/upload/upload-portal.component.mjs +4 -4
  308. package/esm2020/upload/upload.component.mjs +3 -3
  309. package/esm2020/upload/upload.module.mjs +4 -4
  310. package/esm2020/upload/upload.property.mjs +3 -3
  311. package/fesm2015/ng-nest-ui-affix.mjs +10 -10
  312. package/fesm2015/ng-nest-ui-alert.mjs +11 -11
  313. package/fesm2015/ng-nest-ui-alert.mjs.map +1 -1
  314. package/fesm2015/ng-nest-ui-anchor.mjs +10 -10
  315. package/fesm2015/ng-nest-ui-api.mjs +7 -7
  316. package/fesm2015/ng-nest-ui-auto-complete.mjs +13 -13
  317. package/fesm2015/ng-nest-ui-avatar.mjs +10 -10
  318. package/fesm2015/ng-nest-ui-back-top.mjs +10 -10
  319. package/fesm2015/ng-nest-ui-badge.mjs +10 -10
  320. package/fesm2015/ng-nest-ui-base-form.mjs +10 -10
  321. package/fesm2015/ng-nest-ui-border.mjs +7 -7
  322. package/fesm2015/ng-nest-ui-button.mjs +17 -17
  323. package/fesm2015/ng-nest-ui-calendar.mjs +10 -10
  324. package/fesm2015/ng-nest-ui-card.mjs +11 -11
  325. package/fesm2015/ng-nest-ui-carousel.mjs +16 -16
  326. package/fesm2015/ng-nest-ui-cascade.mjs +13 -13
  327. package/fesm2015/ng-nest-ui-checkbox.mjs +11 -11
  328. package/fesm2015/ng-nest-ui-collapse.mjs +16 -16
  329. package/fesm2015/ng-nest-ui-color-picker.mjs +13 -13
  330. package/fesm2015/ng-nest-ui-color.mjs +10 -10
  331. package/fesm2015/ng-nest-ui-comment.mjs +16 -16
  332. package/fesm2015/ng-nest-ui-container.mjs +34 -34
  333. package/fesm2015/ng-nest-ui-core.mjs +15 -15
  334. package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
  335. package/fesm2015/ng-nest-ui-crumb.mjs +10 -10
  336. package/fesm2015/ng-nest-ui-date-picker.mjs +41 -41
  337. package/fesm2015/ng-nest-ui-date-picker.mjs.map +1 -1
  338. package/fesm2015/ng-nest-ui-description.mjs +16 -16
  339. package/fesm2015/ng-nest-ui-dialog.mjs +257 -33
  340. package/fesm2015/ng-nest-ui-dialog.mjs.map +1 -1
  341. package/fesm2015/ng-nest-ui-doc.mjs +8 -8
  342. package/fesm2015/ng-nest-ui-drawer.mjs +226 -20
  343. package/fesm2015/ng-nest-ui-drawer.mjs.map +1 -1
  344. package/fesm2015/ng-nest-ui-dropdown.mjs +13 -13
  345. package/fesm2015/ng-nest-ui-empty.mjs +10 -10
  346. package/fesm2015/ng-nest-ui-examples.mjs +7 -7
  347. package/fesm2015/ng-nest-ui-find.mjs +11 -11
  348. package/fesm2015/ng-nest-ui-form.mjs +16 -16
  349. package/fesm2015/ng-nest-ui-highlight.mjs +10 -10
  350. package/fesm2015/ng-nest-ui-i18n.mjs +13 -13
  351. package/fesm2015/ng-nest-ui-icon.mjs +13 -13
  352. package/fesm2015/ng-nest-ui-inner.mjs +10 -10
  353. package/fesm2015/ng-nest-ui-input-number.mjs +10 -10
  354. package/fesm2015/ng-nest-ui-input.mjs +18 -17
  355. package/fesm2015/ng-nest-ui-input.mjs.map +1 -1
  356. package/fesm2015/ng-nest-ui-layout.mjs +16 -16
  357. package/fesm2015/ng-nest-ui-link.mjs +10 -10
  358. package/fesm2015/ng-nest-ui-list.mjs +16 -16
  359. package/fesm2015/ng-nest-ui-loading.mjs +10 -10
  360. package/fesm2015/ng-nest-ui-menu.mjs +16 -16
  361. package/fesm2015/ng-nest-ui-message-box.mjs +10 -10
  362. package/fesm2015/ng-nest-ui-message.mjs +13 -13
  363. package/fesm2015/ng-nest-ui-message.mjs.map +1 -1
  364. package/fesm2015/ng-nest-ui-notification.mjs +10 -10
  365. package/fesm2015/ng-nest-ui-outlet.mjs +7 -7
  366. package/fesm2015/ng-nest-ui-page-header.mjs +10 -10
  367. package/fesm2015/ng-nest-ui-pagination.mjs +11 -11
  368. package/fesm2015/ng-nest-ui-pattern.mjs +7 -7
  369. package/fesm2015/ng-nest-ui-popconfirm.mjs +10 -10
  370. package/fesm2015/ng-nest-ui-popover.mjs +13 -13
  371. package/fesm2015/ng-nest-ui-portal.mjs +15 -15
  372. package/fesm2015/ng-nest-ui-portal.mjs.map +1 -1
  373. package/fesm2015/ng-nest-ui-progress.mjs +234 -26
  374. package/fesm2015/ng-nest-ui-progress.mjs.map +1 -1
  375. package/fesm2015/ng-nest-ui-radio.mjs +11 -11
  376. package/fesm2015/ng-nest-ui-rate.mjs +11 -11
  377. package/fesm2015/ng-nest-ui-result.mjs +11 -11
  378. package/fesm2015/ng-nest-ui-ripple.mjs +10 -10
  379. package/fesm2015/ng-nest-ui-select.mjs +13 -13
  380. package/fesm2015/ng-nest-ui-skeleton.mjs +10 -10
  381. package/fesm2015/ng-nest-ui-slider-select.mjs +11 -11
  382. package/fesm2015/ng-nest-ui-slider.mjs +10 -10
  383. package/fesm2015/ng-nest-ui-statistic.mjs +16 -16
  384. package/fesm2015/ng-nest-ui-steps.mjs +30 -18
  385. package/fesm2015/ng-nest-ui-steps.mjs.map +1 -1
  386. package/fesm2015/ng-nest-ui-switch.mjs +11 -11
  387. package/fesm2015/ng-nest-ui-table.mjs +31 -31
  388. package/fesm2015/ng-nest-ui-tabs.mjs +19 -19
  389. package/fesm2015/ng-nest-ui-tag.mjs +11 -11
  390. package/fesm2015/ng-nest-ui-text-retract.mjs +10 -10
  391. package/fesm2015/ng-nest-ui-textarea.mjs +11 -11
  392. package/fesm2015/ng-nest-ui-theme.mjs +10 -10
  393. package/fesm2015/ng-nest-ui-time-ago.mjs +7 -7
  394. package/fesm2015/ng-nest-ui-time-picker.mjs +17 -17
  395. package/fesm2015/ng-nest-ui-time-range.mjs +7 -7
  396. package/fesm2015/ng-nest-ui-timeline.mjs +10 -10
  397. package/fesm2015/ng-nest-ui-tooltip.mjs +13 -13
  398. package/fesm2015/ng-nest-ui-transfer.mjs +10 -10
  399. package/fesm2015/ng-nest-ui-tree-file.mjs +11 -11
  400. package/fesm2015/ng-nest-ui-tree.mjs +16 -16
  401. package/fesm2015/ng-nest-ui-typography.mjs +10 -10
  402. package/fesm2015/ng-nest-ui-upload.mjs +14 -14
  403. package/fesm2020/ng-nest-ui-affix.mjs +10 -10
  404. package/fesm2020/ng-nest-ui-alert.mjs +11 -11
  405. package/fesm2020/ng-nest-ui-alert.mjs.map +1 -1
  406. package/fesm2020/ng-nest-ui-anchor.mjs +10 -10
  407. package/fesm2020/ng-nest-ui-api.mjs +7 -7
  408. package/fesm2020/ng-nest-ui-auto-complete.mjs +13 -13
  409. package/fesm2020/ng-nest-ui-avatar.mjs +10 -10
  410. package/fesm2020/ng-nest-ui-back-top.mjs +10 -10
  411. package/fesm2020/ng-nest-ui-badge.mjs +10 -10
  412. package/fesm2020/ng-nest-ui-base-form.mjs +10 -10
  413. package/fesm2020/ng-nest-ui-border.mjs +7 -7
  414. package/fesm2020/ng-nest-ui-button.mjs +17 -17
  415. package/fesm2020/ng-nest-ui-calendar.mjs +10 -10
  416. package/fesm2020/ng-nest-ui-card.mjs +11 -11
  417. package/fesm2020/ng-nest-ui-carousel.mjs +16 -16
  418. package/fesm2020/ng-nest-ui-cascade.mjs +13 -13
  419. package/fesm2020/ng-nest-ui-checkbox.mjs +11 -11
  420. package/fesm2020/ng-nest-ui-collapse.mjs +16 -16
  421. package/fesm2020/ng-nest-ui-color-picker.mjs +13 -13
  422. package/fesm2020/ng-nest-ui-color.mjs +10 -10
  423. package/fesm2020/ng-nest-ui-comment.mjs +16 -16
  424. package/fesm2020/ng-nest-ui-container.mjs +34 -34
  425. package/fesm2020/ng-nest-ui-core.mjs +15 -15
  426. package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
  427. package/fesm2020/ng-nest-ui-crumb.mjs +10 -10
  428. package/fesm2020/ng-nest-ui-date-picker.mjs +41 -41
  429. package/fesm2020/ng-nest-ui-date-picker.mjs.map +1 -1
  430. package/fesm2020/ng-nest-ui-description.mjs +16 -16
  431. package/fesm2020/ng-nest-ui-dialog.mjs +255 -33
  432. package/fesm2020/ng-nest-ui-dialog.mjs.map +1 -1
  433. package/fesm2020/ng-nest-ui-doc.mjs +8 -8
  434. package/fesm2020/ng-nest-ui-drawer.mjs +224 -20
  435. package/fesm2020/ng-nest-ui-drawer.mjs.map +1 -1
  436. package/fesm2020/ng-nest-ui-dropdown.mjs +13 -13
  437. package/fesm2020/ng-nest-ui-empty.mjs +10 -10
  438. package/fesm2020/ng-nest-ui-examples.mjs +7 -7
  439. package/fesm2020/ng-nest-ui-find.mjs +11 -11
  440. package/fesm2020/ng-nest-ui-form.mjs +16 -16
  441. package/fesm2020/ng-nest-ui-highlight.mjs +10 -10
  442. package/fesm2020/ng-nest-ui-i18n.mjs +13 -13
  443. package/fesm2020/ng-nest-ui-icon.mjs +13 -13
  444. package/fesm2020/ng-nest-ui-inner.mjs +10 -10
  445. package/fesm2020/ng-nest-ui-input-number.mjs +10 -10
  446. package/fesm2020/ng-nest-ui-input.mjs +18 -17
  447. package/fesm2020/ng-nest-ui-input.mjs.map +1 -1
  448. package/fesm2020/ng-nest-ui-layout.mjs +16 -16
  449. package/fesm2020/ng-nest-ui-link.mjs +10 -10
  450. package/fesm2020/ng-nest-ui-list.mjs +16 -16
  451. package/fesm2020/ng-nest-ui-loading.mjs +10 -10
  452. package/fesm2020/ng-nest-ui-menu.mjs +16 -16
  453. package/fesm2020/ng-nest-ui-message-box.mjs +10 -10
  454. package/fesm2020/ng-nest-ui-message.mjs +13 -13
  455. package/fesm2020/ng-nest-ui-message.mjs.map +1 -1
  456. package/fesm2020/ng-nest-ui-notification.mjs +10 -10
  457. package/fesm2020/ng-nest-ui-outlet.mjs +7 -7
  458. package/fesm2020/ng-nest-ui-page-header.mjs +10 -10
  459. package/fesm2020/ng-nest-ui-pagination.mjs +11 -11
  460. package/fesm2020/ng-nest-ui-pattern.mjs +7 -7
  461. package/fesm2020/ng-nest-ui-popconfirm.mjs +10 -10
  462. package/fesm2020/ng-nest-ui-popover.mjs +13 -13
  463. package/fesm2020/ng-nest-ui-portal.mjs +15 -15
  464. package/fesm2020/ng-nest-ui-portal.mjs.map +1 -1
  465. package/fesm2020/ng-nest-ui-progress.mjs +233 -25
  466. package/fesm2020/ng-nest-ui-progress.mjs.map +1 -1
  467. package/fesm2020/ng-nest-ui-radio.mjs +11 -11
  468. package/fesm2020/ng-nest-ui-rate.mjs +11 -11
  469. package/fesm2020/ng-nest-ui-result.mjs +11 -11
  470. package/fesm2020/ng-nest-ui-ripple.mjs +10 -10
  471. package/fesm2020/ng-nest-ui-select.mjs +13 -13
  472. package/fesm2020/ng-nest-ui-skeleton.mjs +10 -10
  473. package/fesm2020/ng-nest-ui-slider-select.mjs +11 -11
  474. package/fesm2020/ng-nest-ui-slider.mjs +10 -10
  475. package/fesm2020/ng-nest-ui-statistic.mjs +16 -16
  476. package/fesm2020/ng-nest-ui-steps.mjs +30 -18
  477. package/fesm2020/ng-nest-ui-steps.mjs.map +1 -1
  478. package/fesm2020/ng-nest-ui-switch.mjs +11 -11
  479. package/fesm2020/ng-nest-ui-table.mjs +31 -31
  480. package/fesm2020/ng-nest-ui-tabs.mjs +19 -19
  481. package/fesm2020/ng-nest-ui-tag.mjs +11 -11
  482. package/fesm2020/ng-nest-ui-text-retract.mjs +10 -10
  483. package/fesm2020/ng-nest-ui-textarea.mjs +11 -11
  484. package/fesm2020/ng-nest-ui-theme.mjs +10 -10
  485. package/fesm2020/ng-nest-ui-time-ago.mjs +7 -7
  486. package/fesm2020/ng-nest-ui-time-picker.mjs +17 -17
  487. package/fesm2020/ng-nest-ui-time-range.mjs +7 -7
  488. package/fesm2020/ng-nest-ui-timeline.mjs +10 -10
  489. package/fesm2020/ng-nest-ui-tooltip.mjs +13 -13
  490. package/fesm2020/ng-nest-ui-transfer.mjs +10 -10
  491. package/fesm2020/ng-nest-ui-tree-file.mjs +11 -11
  492. package/fesm2020/ng-nest-ui-tree.mjs +16 -16
  493. package/fesm2020/ng-nest-ui-typography.mjs +10 -10
  494. package/fesm2020/ng-nest-ui-upload.mjs +14 -14
  495. package/layout/examples/en_US/default/flex/README.md +1 -1
  496. package/layout/examples/zh_CN/default/flex/README.md +1 -1
  497. package/message/message.property.d.ts +1 -1
  498. package/package.json +1 -1
  499. package/portal/portal.module.d.ts +1 -1
  500. package/portal/portal.service.d.ts +2 -3
  501. package/progress/examples/en_US/default/circle/README.md +6 -0
  502. package/progress/examples/en_US/default/dashboard/README.md +6 -0
  503. package/progress/examples/en_US/default/gradient/README.md +6 -0
  504. package/progress/examples/en_US/default/steps/README.md +6 -0
  505. package/progress/examples/en_US/default/subsection/README.md +6 -0
  506. package/progress/examples/zh_CN/default/circle/README.md +6 -0
  507. package/progress/examples/zh_CN/default/dashboard/README.md +6 -0
  508. package/progress/examples/zh_CN/default/gradient/README.md +6 -0
  509. package/progress/examples/zh_CN/default/steps/README.md +6 -0
  510. package/progress/examples/zh_CN/default/subsection/README.md +6 -0
  511. package/progress/progress.component.d.ts +31 -3
  512. package/progress/progress.property.d.ts +80 -5
  513. package/steps/examples/en_US/default/node-status/README.md +6 -0
  514. package/steps/examples/zh_CN/default/node-status/README.md +6 -0
  515. package/steps/steps.property.d.ts +7 -2
@@ -18,7 +18,7 @@ import { XPortalModule } from '@ng-nest/ui/portal';
18
18
  */
19
19
  const XMessagePrefix = 'x-message';
20
20
  const XMessagePortal = 'x-message-portal';
21
- const X_CONFIG_NAME = 'message';
21
+ const X_MESSAGE_CONFIG_NAME = 'message';
22
22
 
23
23
  class XMessageComponent {
24
24
  constructor(renderer, elementRef, cdr) {
@@ -54,9 +54,9 @@ class XMessageComponent {
54
54
  return `${item.title}-${item.content}`;
55
55
  }
56
56
  }
57
- /** @nocollapse */ /** @nocollapse */ XMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
58
- /** @nocollapse */ /** @nocollapse */ XMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XMessageComponent, selector: "x-message", ngImport: i0, template: "<div class=\"x-message\">\r\n <ng-container *ngFor=\"let item of message.list; trackBy: trackByNode\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-message{margin:0;padding:0}.x-message>x-alert{padding:.25rem 0}.x-message>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-message-portal x-message{width:100%}\n"], components: [{ type: i1.XAlertComponent, selector: "x-alert" }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [XMoveAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageComponent, decorators: [{
57
+ /** @nocollapse */ /** @nocollapse */ XMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
58
+ /** @nocollapse */ /** @nocollapse */ XMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XMessageComponent, selector: "x-message", ngImport: i0, template: "<div class=\"x-message\">\r\n <ng-container *ngFor=\"let item of message.list; trackBy: trackByNode\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-message{margin:0;padding:0}.x-message>x-alert{padding:.25rem 0}.x-message>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-message-portal x-message{width:100%}\n"], components: [{ type: i1.XAlertComponent, selector: "x-alert" }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [XMoveAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageComponent, decorators: [{
60
60
  type: Component,
61
61
  args: [{ selector: `${XMessagePrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveAnimation], template: "<div class=\"x-message\">\r\n <ng-container *ngFor=\"let item of message.list; trackBy: trackByNode\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-message{margin:0;padding:0}.x-message>x-alert{padding:.25rem 0}.x-message>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-message-portal x-message{width:100%}\n"] }]
62
62
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
@@ -78,7 +78,7 @@ class XMessageService {
78
78
  showIcon: true,
79
79
  hide: false
80
80
  };
81
- this.configDefault = this.configService.getConfigForComponent(X_CONFIG_NAME);
81
+ this.configDefault = this.configService.getConfigForComponent(X_MESSAGE_CONFIG_NAME);
82
82
  Object.assign(this.default, this.configDefault);
83
83
  }
84
84
  info(option) {
@@ -170,18 +170,18 @@ class XMessageService {
170
170
  (_b = (_a = this.messages[option.placement].ref) === null || _a === void 0 ? void 0 : _a.componentRef) === null || _b === void 0 ? void 0 : _b.instance.onClose(option);
171
171
  }
172
172
  }
173
- /** @nocollapse */ /** @nocollapse */ XMessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageService, deps: [{ token: i1$1.XPortalService }, { token: i2$1.XConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
174
- /** @nocollapse */ /** @nocollapse */ XMessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageService });
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageService, decorators: [{
173
+ /** @nocollapse */ /** @nocollapse */ XMessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageService, deps: [{ token: i1$1.XPortalService }, { token: i2$1.XConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
174
+ /** @nocollapse */ /** @nocollapse */ XMessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageService });
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageService, decorators: [{
176
176
  type: Injectable
177
177
  }], ctorParameters: function () { return [{ type: i1$1.XPortalService }, { type: i2$1.XConfigService }]; } });
178
178
 
179
179
  class XMessageModule {
180
180
  }
181
- /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
182
- /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageModule, declarations: [XMessageComponent], imports: [CommonModule, XPortalModule, XAlertModule], exports: [XMessageComponent] });
183
- /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageModule, providers: [XMessageService], imports: [[CommonModule, XPortalModule, XAlertModule]] });
184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XMessageModule, decorators: [{
181
+ /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
182
+ /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageModule, declarations: [XMessageComponent], imports: [CommonModule, XPortalModule, XAlertModule], exports: [XMessageComponent] });
183
+ /** @nocollapse */ /** @nocollapse */ XMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageModule, providers: [XMessageService], imports: [[CommonModule, XPortalModule, XAlertModule]] });
184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XMessageModule, decorators: [{
185
185
  type: NgModule,
186
186
  args: [{
187
187
  declarations: [XMessageComponent],
@@ -195,5 +195,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
195
195
  * Generated bundle index. Do not edit.
196
196
  */
197
197
 
198
- export { XMessageComponent, XMessageModule, XMessagePortal, XMessagePrefix, XMessageService, X_CONFIG_NAME };
198
+ export { XMessageComponent, XMessageModule, XMessagePortal, XMessagePrefix, XMessageService, X_MESSAGE_CONFIG_NAME };
199
199
  //# sourceMappingURL=ng-nest-ui-message.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-message.mjs","sources":["../../../../lib/ng-nest/ui/message/message.property.ts","../../../../lib/ng-nest/ui/message/message.component.ts","../../../../lib/ng-nest/ui/message/message.component.html","../../../../lib/ng-nest/ui/message/message.service.ts","../../../../lib/ng-nest/ui/message/message.module.ts","../../../../lib/ng-nest/ui/message/ng-nest-ui-message.ts"],"sourcesContent":["import { XStatus, XPlace } from '@ng-nest/ui/core';\r\nimport { XAlertOption } from '@ng-nest/ui/alert';\r\nimport { Subscription, Subject } from 'rxjs';\r\nimport { XPortalOverlayRef } from '@ng-nest/ui/portal';\r\nimport { XMessageComponent } from './message.component';\r\n\r\n/**\r\n * Message\r\n * @selector x-message\r\n * @decorator component\r\n */\r\nexport const XMessagePrefix = 'x-message';\r\n\r\nexport const XMessagePortal = 'x-message-portal';\r\nexport const X_CONFIG_NAME = 'message';\r\n\r\n/**\r\n * Message Option\r\n */\r\nexport interface XMessageOption extends XAlertOption {\r\n /**\r\n * @zh_CN 方位,九宫格\r\n * @en_US Direction, nine grid\r\n * @default 'top'\r\n * @withConfig true\r\n */\r\n placement?: XPlace;\r\n /**\r\n * @zh_CN 偏移距离\r\n * @en_US Offset distance\r\n * @default '2rem'\r\n * @withConfig true\r\n */\r\n offset?: string | string[];\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n * @default 'info'\r\n * @withConfig true\r\n */\r\n type?: XMessageType;\r\n /**\r\n * @zh_CN 多个消息的时候,显示类型\r\n * @en_US When multiple messages, the display type\r\n * @default 'list'\r\n * @withConfig true\r\n */\r\n displayType?: XMessageDisplayType;\r\n /**\r\n * @zh_CN 宽度\r\n * @en_US Width\r\n * @default '16rem'\r\n * @withConfig true\r\n */\r\n width?: string;\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n height?: string;\r\n /**\r\n * @zh_CN 延迟关闭时间\r\n * @en_US Delay off time\r\n * @default 3000\r\n * @withConfig true\r\n */\r\n duration?: number;\r\n /**\r\n * @zh_CN 隐藏关闭按钮\r\n * @en_US Hide close button\r\n * @default true\r\n * @withConfig true\r\n */\r\n hideClose?: boolean;\r\n /**\r\n * @zh_CN 显示图标\r\n * @en_US Show icon\r\n * @default true\r\n * @withConfig true\r\n */\r\n showIcon?: boolean;\r\n /**\r\n * @zh_CN 延迟关闭订阅后的对象,用来释放或取消\r\n * @en_US Delayed closing the subscribed object, used to release or cancel\r\n */\r\n duration$?: Subscription | null;\r\n /**\r\n * @zh_CN 延迟关闭订阅对象\r\n * @en_US Delay in closing the subscription object\r\n */\r\n durationSub?: Subject<any>;\r\n}\r\n\r\n/**\r\n * @zh_CN 创建的消息对象\r\n * @en_US Message object created\r\n */\r\nexport interface XMessageOverlayRef extends XPortalOverlayRef<XMessageComponent> {}\r\n\r\n/**\r\n * @zh_CN 九宫格中的消息对象\r\n * @en_US Message object in Jiugongge\r\n */\r\nexport interface XMessagePlacement {\r\n [property: string]: XMessageRef;\r\n}\r\n\r\nexport interface XMessageRef {\r\n ref: XMessageOverlayRef;\r\n list: XMessageOption[];\r\n currentClose: () => void;\r\n closeAll: () => void;\r\n}\r\n\r\n/**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\nexport type XMessageType = XStatus;\r\n\r\n/**\r\n * @zh_CN 多个消息的时候,显示类型\r\n * @en_US When multiple messages, the display type\r\n */\r\nexport type XMessageDisplayType = 'list' | 'single';\r\n","import { Component, ViewEncapsulation, Renderer2, ElementRef, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { XMoveAnimation, XIsEmpty } from '@ng-nest/ui/core';\r\nimport { XMessagePrefix, XMessageOption, XMessageRef } from './message.property';\r\nimport { of } from 'rxjs';\r\nimport { delay } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: `${XMessagePrefix}`,\r\n templateUrl: './message.component.html',\r\n styleUrls: ['./message.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [XMoveAnimation]\r\n})\r\nexport class XMessageComponent {\r\n message: XMessageRef = { ref: {}, list: [], currentClose: () => {}, closeAll: () => {} };\r\n\r\n constructor(public renderer: Renderer2, public elementRef: ElementRef, public cdr: ChangeDetectorRef) {}\r\n\r\n onClose(item: XMessageOption) {\r\n this.message.list?.splice(this.message.list.indexOf(item), 1);\r\n item.duration$?.unsubscribe();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n moveDone($event: { toState: string }) {\r\n if ($event.toState === 'void' && XIsEmpty(this.message.list)) {\r\n this.message.ref?.overlayRef?.detach();\r\n }\r\n }\r\n\r\n onEnter(item: XMessageOption) {\r\n item.duration$?.unsubscribe();\r\n }\r\n\r\n onLeave(item: XMessageOption) {\r\n if (item.duration) {\r\n item.duration$ = of(true)\r\n .pipe(delay(item.duration))\r\n .subscribe(() => this.onClose(item));\r\n }\r\n }\r\n\r\n trackByNode(_index: number, item: XMessageOption) {\r\n return `${item.title}-${item.content}`;\r\n }\r\n}\r\n","<div class=\"x-message\">\r\n <ng-container *ngFor=\"let item of message.list; trackBy: trackByNode\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n","import { Injectable } from '@angular/core';\r\nimport { XTemplate, XIsXTemplate, XIsEmpty, fillDefault, XIsString, XConfigService, XMessageConfig } from '@ng-nest/ui/core';\r\nimport {\r\n XMessageOverlayRef,\r\n XMessageType,\r\n XMessagePlacement,\r\n XMessageRef,\r\n XMessagePortal,\r\n XMessageOption,\r\n X_CONFIG_NAME\r\n} from './message.property';\r\nimport { XMessageComponent } from './message.component';\r\nimport { of } from 'rxjs';\r\nimport { delay } from 'rxjs/operators';\r\nimport { XPortalService } from '@ng-nest/ui/portal';\r\n\r\n@Injectable()\r\nexport class XMessageService {\r\n messages: XMessagePlacement = {};\r\n\r\n default: XMessageOption = {\r\n type: 'info',\r\n width: '16rem',\r\n placement: 'top',\r\n offset: '2rem',\r\n effect: 'white',\r\n displayType: 'list',\r\n duration: 3000,\r\n hideClose: true,\r\n showIcon: true,\r\n hide: false\r\n };\r\n\r\n configDefault?: XMessageConfig;\r\n\r\n constructor(public portal: XPortalService, public configService: XConfigService) {\r\n this.configDefault = this.configService.getConfigForComponent(X_CONFIG_NAME);\r\n Object.assign(this.default, this.configDefault);\r\n }\r\n\r\n info(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'info');\r\n }\r\n\r\n success(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'success');\r\n }\r\n\r\n warning(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'warning');\r\n }\r\n\r\n error(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'error');\r\n }\r\n\r\n create(option: XMessageOption): XMessageOverlayRef {\r\n const offset = XIsString(option.offset) ? [option.offset as string] : (option.offset as string[]);\r\n\r\n return this.portal.attach({\r\n content: XMessageComponent,\r\n overlayConfig: {\r\n panelClass: XMessagePortal,\r\n positionStrategy: this.portal.setPlace(option.placement, option.width, option.height, ...offset)\r\n }\r\n });\r\n }\r\n\r\n private createMessage(option: XTemplate | XMessageOption, type: XMessageType): XMessageRef {\r\n let opt: XMessageOption;\r\n if (XIsXTemplate(option)) {\r\n opt = { title: option as XTemplate, type: type };\r\n } else {\r\n opt = option as XMessageOption;\r\n opt.type = type;\r\n }\r\n fillDefault(opt, this.default);\r\n return this.createMessagePlacement(opt);\r\n }\r\n\r\n private closeAll(excludeOption?: XMessageOption) {\r\n for (let key in this.messages) {\r\n for (let option of this.messages[key].list) {\r\n option !== excludeOption && this.removeMessage(option);\r\n }\r\n }\r\n }\r\n\r\n private createMessagePlacement(option: XMessageOption): XMessageRef {\r\n if (typeof option.placement === 'undefined') return { ref: {}, list: [], currentClose: () => {}, closeAll: () => {} };\r\n let msgPlacement = this.messages[option.placement];\r\n this.setDuration(option);\r\n if (XIsEmpty(msgPlacement) || !msgPlacement.ref?.overlayRef?.hasAttached()) {\r\n this.messages[option.placement] = {\r\n ref: this.create(option),\r\n list: [option],\r\n currentClose: () => {\r\n this.removeMessage(option);\r\n },\r\n closeAll: () => {\r\n this.closeAll();\r\n }\r\n };\r\n } else {\r\n this.messages[option.placement].list = [...(this.messages[option.placement].list as XMessageOption[]), option];\r\n }\r\n this.messageChange(this.messages[option.placement]);\r\n\r\n option.displayType === 'single' && this.closeAll(option);\r\n\r\n return this.messages[option.placement];\r\n }\r\n\r\n private messageChange(message: XMessageRef) {\r\n if (!message.ref?.overlayRef?.hasAttached() || !message?.ref?.componentRef?.instance) return;\r\n message.ref.componentRef.instance.message = message;\r\n message.ref.componentRef.instance.cdr.detectChanges();\r\n }\r\n\r\n private setDuration(option: XMessageOption) {\r\n if (option.duration) {\r\n option.duration$ = of(true)\r\n .pipe(delay(option.duration))\r\n .subscribe(() => {\r\n this.removeMessage(option);\r\n });\r\n }\r\n }\r\n\r\n private removeMessage(option: XMessageOption) {\r\n if (typeof option.placement === 'undefined') return;\r\n this.messages[option.placement].ref?.componentRef?.instance.onClose(option);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XMessageComponent } from './message.component';\r\nimport { XAlertModule } from '@ng-nest/ui/alert';\r\nimport { XMessageService } from './message.service';\r\nimport { XPortalModule } from '@ng-nest/ui/portal';\r\n\r\n@NgModule({\r\n declarations: [XMessageComponent],\r\n exports: [XMessageComponent],\r\n imports: [CommonModule, XPortalModule, XAlertModule],\r\n providers: [XMessageService]\r\n})\r\nexport class XMessageModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAMA;;;;;MAKa,cAAc,GAAG,YAAY;MAE7B,cAAc,GAAG,mBAAmB;MACpC,aAAa,GAAG;;MCAhB,iBAAiB;IAG5B,YAAmB,QAAmB,EAAS,UAAsB,EAAS,GAAsB;QAAjF,aAAQ,GAAR,QAAQ,CAAW;QAAS,eAAU,GAAV,UAAU,CAAY;QAAS,QAAG,GAAH,GAAG,CAAmB;QAFpG,YAAO,GAAgB,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,SAAQ,EAAE,QAAQ,EAAE,SAAQ,EAAE,CAAC;KAEe;IAExG,OAAO,CAAC,IAAoB;;QAC1B,MAAA,IAAI,CAAC,OAAO,CAAC,IAAI,0CAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QAC9D,MAAA,IAAI,CAAC,SAAS,0CAAE,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;KAC1B;IAED,QAAQ,CAAC,MAA2B;;QAClC,IAAI,MAAM,CAAC,OAAO,KAAK,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAC5D,MAAA,MAAA,IAAI,CAAC,OAAO,CAAC,GAAG,0CAAE,UAAU,0CAAE,MAAM,EAAE,CAAC;SACxC;KACF;IAED,OAAO,CAAC,IAAoB;;QAC1B,MAAA,IAAI,CAAC,SAAS,0CAAE,WAAW,EAAE,CAAC;KAC/B;IAED,OAAO,CAAC,IAAoB;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,SAAS,GA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AC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;2FAGzC,cAAc;kBAN1B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;oBACpD,SAAS,EAAE,CAAC,eAAe,CAAC;iBAC7B;;;ACZD;;;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-message.mjs","sources":["../../../../lib/ng-nest/ui/message/message.property.ts","../../../../lib/ng-nest/ui/message/message.component.ts","../../../../lib/ng-nest/ui/message/message.component.html","../../../../lib/ng-nest/ui/message/message.service.ts","../../../../lib/ng-nest/ui/message/message.module.ts","../../../../lib/ng-nest/ui/message/ng-nest-ui-message.ts"],"sourcesContent":["import { XStatus, XPlace } from '@ng-nest/ui/core';\r\nimport { XAlertOption } from '@ng-nest/ui/alert';\r\nimport { Subscription, Subject } from 'rxjs';\r\nimport { XPortalOverlayRef } from '@ng-nest/ui/portal';\r\nimport { XMessageComponent } from './message.component';\r\n\r\n/**\r\n * Message\r\n * @selector x-message\r\n * @decorator component\r\n */\r\nexport const XMessagePrefix = 'x-message';\r\nexport const XMessagePortal = 'x-message-portal';\r\nexport const X_MESSAGE_CONFIG_NAME = 'message';\r\n\r\n/**\r\n * Message Option\r\n */\r\nexport interface XMessageOption extends XAlertOption {\r\n /**\r\n * @zh_CN 方位,九宫格\r\n * @en_US Direction, nine grid\r\n * @default 'top'\r\n * @withConfig true\r\n */\r\n placement?: XPlace;\r\n /**\r\n * @zh_CN 偏移距离\r\n * @en_US Offset distance\r\n * @default '2rem'\r\n * @withConfig true\r\n */\r\n offset?: string | string[];\r\n /**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n * @default 'info'\r\n * @withConfig true\r\n */\r\n type?: XMessageType;\r\n /**\r\n * @zh_CN 多个消息的时候,显示类型\r\n * @en_US When multiple messages, the display type\r\n * @default 'list'\r\n * @withConfig true\r\n */\r\n displayType?: XMessageDisplayType;\r\n /**\r\n * @zh_CN 宽度\r\n * @en_US Width\r\n * @default '16rem'\r\n * @withConfig true\r\n */\r\n width?: string;\r\n /**\r\n * @zh_CN 高度\r\n * @en_US Height\r\n */\r\n height?: string;\r\n /**\r\n * @zh_CN 延迟关闭时间\r\n * @en_US Delay off time\r\n * @default 3000\r\n * @withConfig true\r\n */\r\n duration?: number;\r\n /**\r\n * @zh_CN 隐藏关闭按钮\r\n * @en_US Hide close button\r\n * @default true\r\n * @withConfig true\r\n */\r\n hideClose?: boolean;\r\n /**\r\n * @zh_CN 显示图标\r\n * @en_US Show icon\r\n * @default true\r\n * @withConfig true\r\n */\r\n showIcon?: boolean;\r\n /**\r\n * @zh_CN 延迟关闭订阅后的对象,用来释放或取消\r\n * @en_US Delayed closing the subscribed object, used to release or cancel\r\n */\r\n duration$?: Subscription | null;\r\n /**\r\n * @zh_CN 延迟关闭订阅对象\r\n * @en_US Delay in closing the subscription object\r\n */\r\n durationSub?: Subject<any>;\r\n}\r\n\r\n/**\r\n * @zh_CN 创建的消息对象\r\n * @en_US Message object created\r\n */\r\nexport interface XMessageOverlayRef extends XPortalOverlayRef<XMessageComponent> {}\r\n\r\n/**\r\n * @zh_CN 九宫格中的消息对象\r\n * @en_US Message object in Jiugongge\r\n */\r\nexport interface XMessagePlacement {\r\n [property: string]: XMessageRef;\r\n}\r\n\r\nexport interface XMessageRef {\r\n ref: XMessageOverlayRef;\r\n list: XMessageOption[];\r\n currentClose: () => void;\r\n closeAll: () => void;\r\n}\r\n\r\n/**\r\n * @zh_CN 类型\r\n * @en_US Types of\r\n */\r\nexport type XMessageType = XStatus;\r\n\r\n/**\r\n * @zh_CN 多个消息的时候,显示类型\r\n * @en_US When multiple messages, the display type\r\n */\r\nexport type XMessageDisplayType = 'list' | 'single';\r\n","import { Component, ViewEncapsulation, Renderer2, ElementRef, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { XMoveAnimation, XIsEmpty } from '@ng-nest/ui/core';\r\nimport { XMessagePrefix, XMessageOption, XMessageRef } from './message.property';\r\nimport { of } from 'rxjs';\r\nimport { delay } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: `${XMessagePrefix}`,\r\n templateUrl: './message.component.html',\r\n styleUrls: ['./message.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [XMoveAnimation]\r\n})\r\nexport class XMessageComponent {\r\n message: XMessageRef = { ref: {}, list: [], currentClose: () => {}, closeAll: () => {} };\r\n\r\n constructor(public renderer: Renderer2, public elementRef: ElementRef, public cdr: ChangeDetectorRef) {}\r\n\r\n onClose(item: XMessageOption) {\r\n this.message.list?.splice(this.message.list.indexOf(item), 1);\r\n item.duration$?.unsubscribe();\r\n this.cdr.detectChanges();\r\n }\r\n\r\n moveDone($event: { toState: string }) {\r\n if ($event.toState === 'void' && XIsEmpty(this.message.list)) {\r\n this.message.ref?.overlayRef?.detach();\r\n }\r\n }\r\n\r\n onEnter(item: XMessageOption) {\r\n item.duration$?.unsubscribe();\r\n }\r\n\r\n onLeave(item: XMessageOption) {\r\n if (item.duration) {\r\n item.duration$ = of(true)\r\n .pipe(delay(item.duration))\r\n .subscribe(() => this.onClose(item));\r\n }\r\n }\r\n\r\n trackByNode(_index: number, item: XMessageOption) {\r\n return `${item.title}-${item.content}`;\r\n }\r\n}\r\n","<div class=\"x-message\">\r\n <ng-container *ngFor=\"let item of message.list; trackBy: trackByNode\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n","import { Injectable } from '@angular/core';\r\nimport { XTemplate, XIsXTemplate, XIsEmpty, fillDefault, XIsString, XConfigService, XMessageConfig } from '@ng-nest/ui/core';\r\nimport {\r\n XMessageOverlayRef,\r\n XMessageType,\r\n XMessagePlacement,\r\n XMessageRef,\r\n XMessagePortal,\r\n XMessageOption,\r\n X_MESSAGE_CONFIG_NAME\r\n} from './message.property';\r\nimport { XMessageComponent } from './message.component';\r\nimport { of } from 'rxjs';\r\nimport { delay } from 'rxjs/operators';\r\nimport { XPortalService } from '@ng-nest/ui/portal';\r\n\r\n@Injectable()\r\nexport class XMessageService {\r\n messages: XMessagePlacement = {};\r\n\r\n default: XMessageOption = {\r\n type: 'info',\r\n width: '16rem',\r\n placement: 'top',\r\n offset: '2rem',\r\n effect: 'white',\r\n displayType: 'list',\r\n duration: 3000,\r\n hideClose: true,\r\n showIcon: true,\r\n hide: false\r\n };\r\n\r\n configDefault?: XMessageConfig;\r\n\r\n constructor(public portal: XPortalService, public configService: XConfigService) {\r\n this.configDefault = this.configService.getConfigForComponent(X_MESSAGE_CONFIG_NAME);\r\n Object.assign(this.default, this.configDefault);\r\n }\r\n\r\n info(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'info');\r\n }\r\n\r\n success(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'success');\r\n }\r\n\r\n warning(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'warning');\r\n }\r\n\r\n error(option: XTemplate | XMessageOption): XMessageRef {\r\n return this.createMessage(option, 'error');\r\n }\r\n\r\n create(option: XMessageOption): XMessageOverlayRef {\r\n const offset = XIsString(option.offset) ? [option.offset as string] : (option.offset as string[]);\r\n\r\n return this.portal.attach({\r\n content: XMessageComponent,\r\n overlayConfig: {\r\n panelClass: XMessagePortal,\r\n positionStrategy: this.portal.setPlace(option.placement, option.width, option.height, ...offset)\r\n }\r\n });\r\n }\r\n\r\n private createMessage(option: XTemplate | XMessageOption, type: XMessageType): XMessageRef {\r\n let opt: XMessageOption;\r\n if (XIsXTemplate(option)) {\r\n opt = { title: option as XTemplate, type: type };\r\n } else {\r\n opt = option as XMessageOption;\r\n opt.type = type;\r\n }\r\n fillDefault(opt, this.default);\r\n return this.createMessagePlacement(opt);\r\n }\r\n\r\n private closeAll(excludeOption?: XMessageOption) {\r\n for (let key in this.messages) {\r\n for (let option of this.messages[key].list) {\r\n option !== excludeOption && this.removeMessage(option);\r\n }\r\n }\r\n }\r\n\r\n private createMessagePlacement(option: XMessageOption): XMessageRef {\r\n if (typeof option.placement === 'undefined') return { ref: {}, list: [], currentClose: () => {}, closeAll: () => {} };\r\n let msgPlacement = this.messages[option.placement];\r\n this.setDuration(option);\r\n if (XIsEmpty(msgPlacement) || !msgPlacement.ref?.overlayRef?.hasAttached()) {\r\n this.messages[option.placement] = {\r\n ref: this.create(option),\r\n list: [option],\r\n currentClose: () => {\r\n this.removeMessage(option);\r\n },\r\n closeAll: () => {\r\n this.closeAll();\r\n }\r\n };\r\n } else {\r\n this.messages[option.placement].list = [...(this.messages[option.placement].list as XMessageOption[]), option];\r\n }\r\n this.messageChange(this.messages[option.placement]);\r\n\r\n option.displayType === 'single' && this.closeAll(option);\r\n\r\n return this.messages[option.placement];\r\n }\r\n\r\n private messageChange(message: XMessageRef) {\r\n if (!message.ref?.overlayRef?.hasAttached() || !message?.ref?.componentRef?.instance) return;\r\n message.ref.componentRef.instance.message = message;\r\n message.ref.componentRef.instance.cdr.detectChanges();\r\n }\r\n\r\n private setDuration(option: XMessageOption) {\r\n if (option.duration) {\r\n option.duration$ = of(true)\r\n .pipe(delay(option.duration))\r\n .subscribe(() => {\r\n this.removeMessage(option);\r\n });\r\n }\r\n }\r\n\r\n private removeMessage(option: XMessageOption) {\r\n if (typeof option.placement === 'undefined') return;\r\n this.messages[option.placement].ref?.componentRef?.instance.onClose(option);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { XMessageComponent } from './message.component';\r\nimport { XAlertModule } from '@ng-nest/ui/alert';\r\nimport { XMessageService } from './message.service';\r\nimport { XPortalModule } from '@ng-nest/ui/portal';\r\n\r\n@NgModule({\r\n declarations: [XMessageComponent],\r\n exports: [XMessageComponent],\r\n imports: [CommonModule, XPortalModule, XAlertModule],\r\n providers: [XMessageService]\r\n})\r\nexport class XMessageModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAMA;;;;;MAKa,cAAc,GAAG,YAAY;MAC7B,cAAc,GAAG,mBAAmB;MACpC,qBAAqB,GAAG;;MCCxB,iBAAiB;IAG5B,YAAmB,QAAmB,EAAS,UAAsB,EAAS,GAAsB;QAAjF,aAAQ,GAAR,QAAQ,CAAW;QAAS,eAAU,GAAV,UAAU,CAAY;QAAS,QAAG,GAAH,GAAG,CAAmB;QAFpG,YAAO,GAAgB,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,SAAQ,EAAE,QAAQ,EAAE,SAAQ,EAAE,CAAC;KAEe;IAExG,OAAO,CAAC,IAAoB;;QAC1B,MAAA,IAAI,CAAC,OAAO,CAAC,IAAI,0CAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QAC9D,MAAA,IAAI,CAAC,SAAS,0CAAE,WAAW,EAAE,CAAC;QAC9B,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;KAC1B;IAED,QAAQ,CAAC,MAA2B;;QAClC,IAAI,MAAM,CAAC,OAAO,KAAK,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAC5D,MAAA,M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,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;KAC7E;;kJAnHU,eAAe;sJAAf,eAAe;2FAAf,eAAe;kBAD3B,UAAU;;;MCHE,cAAc;;iJAAd,cAAc;kJAAd,cAAc,iBALV,iBAAiB,aAEtB,YAAY,EAAE,aAAa,EAAE,YAAY,aADzC,iBAAiB;kJAIhB,cAAc,aAFd,CAAC,eAAe,CAAC,YADnB,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;2FAGzC,cAAc;kBAN1B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;oBACpD,SAAS,EAAE,CAAC,eAAe,CAAC;iBAC7B;;;ACZD;;;;;;"}
@@ -53,9 +53,9 @@ class XNotificationComponent {
53
53
  return `${item.title}-${item.content}`;
54
54
  }
55
55
  }
56
- /** @nocollapse */ /** @nocollapse */ XNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
57
- /** @nocollapse */ /** @nocollapse */ XNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XNotificationComponent, selector: "x-notification", ngImport: i0, template: "<div class=\"x-notification\">\r\n <ng-container *ngFor=\"let item of notification.list; trackBy: trackByItem\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-notification{margin:0;padding:0}.x-notification>x-alert{padding:.25rem}.x-notification>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-notification>x-alert .x-alert-icon.x-icon{margin-top:.125rem;font-size:1.25rem;align-self:flex-start}.x-notification-portal x-notification{width:100%}\n"], components: [{ type: i1.XAlertComponent, selector: "x-alert" }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [XMoveAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationComponent, decorators: [{
56
+ /** @nocollapse */ /** @nocollapse */ XNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
57
+ /** @nocollapse */ /** @nocollapse */ XNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XNotificationComponent, selector: "x-notification", ngImport: i0, template: "<div class=\"x-notification\">\r\n <ng-container *ngFor=\"let item of notification.list; trackBy: trackByItem\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-notification{margin:0;padding:0}.x-notification>x-alert{padding:.25rem}.x-notification>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-notification>x-alert .x-alert-icon.x-icon{margin-top:.125rem;font-size:1.25rem;align-self:flex-start}.x-notification-portal x-notification{width:100%}\n"], components: [{ type: i1.XAlertComponent, selector: "x-alert" }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], animations: [XMoveAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: `${XNotificationPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveAnimation], template: "<div class=\"x-notification\">\r\n <ng-container *ngFor=\"let item of notification.list; trackBy: trackByItem\">\r\n <x-alert\r\n [@x-move-animation]=\"item.placement\"\r\n (@x-move-animation.done)=\"moveDone($event)\"\r\n (mouseenter)=\"onEnter(item)\"\r\n (mouseleave)=\"onLeave(item)\"\r\n (close)=\"onClose(item)\"\r\n [hide]=\"item.hide\"\r\n [title]=\"item.title\"\r\n [content]=\"item.content\"\r\n [type]=\"item.type\"\r\n [effect]=\"item.effect\"\r\n [hideClose]=\"item.hideClose\"\r\n [closeText]=\"item.closeText\"\r\n [showIcon]=\"item.showIcon\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </ng-container>\r\n</div>\r\n", styles: [".x-notification{margin:0;padding:0}.x-notification>x-alert{padding:.25rem}.x-notification>x-alert>.x-alert{box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color)}.x-notification>x-alert .x-alert-icon.x-icon{margin-top:.125rem;font-size:1.25rem;align-self:flex-start}.x-notification-portal x-notification{width:100%}\n"] }]
61
61
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
@@ -150,18 +150,18 @@ class XNotificationService {
150
150
  (_b = (_a = this.notifications[option.placement].ref) === null || _a === void 0 ? void 0 : _a.componentRef) === null || _b === void 0 ? void 0 : _b.instance.onClose(option);
151
151
  }
152
152
  }
153
- /** @nocollapse */ /** @nocollapse */ XNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationService, deps: [{ token: i1$1.XPortalService }], target: i0.ɵɵFactoryTarget.Injectable });
154
- /** @nocollapse */ /** @nocollapse */ XNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationService });
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationService, decorators: [{
153
+ /** @nocollapse */ /** @nocollapse */ XNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationService, deps: [{ token: i1$1.XPortalService }], target: i0.ɵɵFactoryTarget.Injectable });
154
+ /** @nocollapse */ /** @nocollapse */ XNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationService });
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationService, decorators: [{
156
156
  type: Injectable
157
157
  }], ctorParameters: function () { return [{ type: i1$1.XPortalService }]; } });
158
158
 
159
159
  class XNotificationModule {
160
160
  }
161
- /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
- /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationModule, declarations: [XNotificationComponent], imports: [CommonModule, XPortalModule, XAlertModule], exports: [XNotificationComponent] });
163
- /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationModule, providers: [XNotificationService], imports: [[CommonModule, XPortalModule, XAlertModule]] });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XNotificationModule, decorators: [{
161
+ /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
+ /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationModule, declarations: [XNotificationComponent], imports: [CommonModule, XPortalModule, XAlertModule], exports: [XNotificationComponent] });
163
+ /** @nocollapse */ /** @nocollapse */ XNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationModule, providers: [XNotificationService], imports: [[CommonModule, XPortalModule, XAlertModule]] });
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XNotificationModule, decorators: [{
165
165
  type: NgModule,
166
166
  args: [{
167
167
  declarations: [XNotificationComponent],
@@ -63,9 +63,9 @@ class XOutletDirective {
63
63
  }
64
64
  }
65
65
  }
66
- /** @nocollapse */ /** @nocollapse */ XOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
67
- /** @nocollapse */ /** @nocollapse */ XOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: XOutletDirective, selector: "[xOutlet]", inputs: { xOutletContext: "xOutletContext", xOutlet: "xOutlet" }, usesOnChanges: true, ngImport: i0 });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletDirective, decorators: [{
66
+ /** @nocollapse */ /** @nocollapse */ XOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
67
+ /** @nocollapse */ /** @nocollapse */ XOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: XOutletDirective, selector: "[xOutlet]", inputs: { xOutletContext: "xOutletContext", xOutlet: "xOutlet" }, usesOnChanges: true, ngImport: i0 });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletDirective, decorators: [{
69
69
  type: Directive,
70
70
  args: [{ selector: '[xOutlet]' }]
71
71
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { xOutletContext: [{
@@ -76,10 +76,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
76
76
 
77
77
  class XOutletModule {
78
78
  }
79
- /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
80
- /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletModule, declarations: [XOutletDirective], imports: [CommonModule], exports: [XOutletDirective] });
81
- /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletModule, imports: [[CommonModule]] });
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XOutletModule, decorators: [{
79
+ /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
80
+ /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletModule, declarations: [XOutletDirective], imports: [CommonModule], exports: [XOutletDirective] });
81
+ /** @nocollapse */ /** @nocollapse */ XOutletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletModule, imports: [[CommonModule]] });
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XOutletModule, decorators: [{
83
83
  type: NgModule,
84
84
  args: [{
85
85
  declarations: [XOutletDirective],
@@ -30,15 +30,15 @@ class XPageHeaderProperty {
30
30
  this.backClick = new EventEmitter();
31
31
  }
32
32
  }
33
- /** @nocollapse */ /** @nocollapse */ XPageHeaderProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderProperty, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- /** @nocollapse */ /** @nocollapse */ XPageHeaderProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPageHeaderProperty, selector: "ng-component", inputs: { backIcon: "backIcon", backText: "backText", title: "title", subTitle: "subTitle" }, outputs: { backClick: "backClick" }, ngImport: i0, template: '', isInline: true });
33
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderProperty, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPageHeaderProperty, selector: "ng-component", inputs: { backIcon: "backIcon", backText: "backText", title: "title", subTitle: "subTitle" }, outputs: { backClick: "backClick" }, ngImport: i0, template: '', isInline: true });
35
35
  __decorate([
36
36
  XWithConfig(X_CONFIG_NAME, 'fto-arrow-left')
37
37
  ], XPageHeaderProperty.prototype, "backIcon", void 0);
38
38
  __decorate([
39
39
  XWithConfig(X_CONFIG_NAME)
40
40
  ], XPageHeaderProperty.prototype, "backText", void 0);
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderProperty, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderProperty, decorators: [{
42
42
  type: Component,
43
43
  args: [{ template: '' }]
44
44
  }], propDecorators: { backIcon: [{
@@ -78,19 +78,19 @@ class XPageHeaderComponent extends XPageHeaderProperty {
78
78
  this._unSubject.unsubscribe();
79
79
  }
80
80
  }
81
- /** @nocollapse */ /** @nocollapse */ XPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderComponent, deps: [{ token: i1.XConfigService }, { token: i0.ChangeDetectorRef }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
82
- /** @nocollapse */ /** @nocollapse */ XPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPageHeaderComponent, selector: "x-page-header", usesInheritance: true, ngImport: i0, template: "<div class=\"x-page-header\">\r\n <x-button class=\"x-page-header-backIcon\" [icon]=\"backIcon\" type=\"text\" (click)=\"backClick.emit()\">{{ getBackText }}</x-button>\r\n <span class=\"x-page-header-divided\"></span>\r\n <span class=\"x-page-header-title\" *ngIf=\"title\">{{ title }}</span>\r\n <span class=\"x-page-header-subTitle\" *ngIf=\"subTitle\">{{ subTitle }}</span>\r\n</div>\r\n", styles: [".x-page-header{margin:0;padding:0;display:inline-flex;align-items:center;height:var(--x-height-large)}.x-page-header-backIcon .x-button{font-size:.875rem}.x-page-header-divided{margin:0 .875rem 0 .25rem;height:1rem;border-right:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-page-header-title{font-size:1rem}.x-page-header-subTitle{font-size:.75rem;color:var(--x-text-400);margin-left:.5rem}\n"], components: [{ type: i3.XButtonComponent, selector: "x-button" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderComponent, decorators: [{
81
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderComponent, deps: [{ token: i1.XConfigService }, { token: i0.ChangeDetectorRef }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
82
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPageHeaderComponent, selector: "x-page-header", usesInheritance: true, ngImport: i0, template: "<div class=\"x-page-header\">\r\n <x-button class=\"x-page-header-backIcon\" [icon]=\"backIcon\" type=\"text\" (click)=\"backClick.emit()\">{{ getBackText }}</x-button>\r\n <span class=\"x-page-header-divided\"></span>\r\n <span class=\"x-page-header-title\" *ngIf=\"title\">{{ title }}</span>\r\n <span class=\"x-page-header-subTitle\" *ngIf=\"subTitle\">{{ subTitle }}</span>\r\n</div>\r\n", styles: [".x-page-header{margin:0;padding:0;display:inline-flex;align-items:center;height:var(--x-height-large)}.x-page-header-backIcon .x-button{font-size:.875rem}.x-page-header-divided{margin:0 .875rem 0 .25rem;height:1rem;border-right:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-page-header-title{font-size:1rem}.x-page-header-subTitle{font-size:.75rem;color:var(--x-text-400);margin-left:.5rem}\n"], components: [{ type: i3.XButtonComponent, selector: "x-button" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: `${XPageHeaderPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-page-header\">\r\n <x-button class=\"x-page-header-backIcon\" [icon]=\"backIcon\" type=\"text\" (click)=\"backClick.emit()\">{{ getBackText }}</x-button>\r\n <span class=\"x-page-header-divided\"></span>\r\n <span class=\"x-page-header-title\" *ngIf=\"title\">{{ title }}</span>\r\n <span class=\"x-page-header-subTitle\" *ngIf=\"subTitle\">{{ subTitle }}</span>\r\n</div>\r\n", styles: [".x-page-header{margin:0;padding:0;display:inline-flex;align-items:center;height:var(--x-height-large)}.x-page-header-backIcon .x-button{font-size:.875rem}.x-page-header-divided{margin:0 .875rem 0 .25rem;height:1rem;border-right:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-page-header-title{font-size:1rem}.x-page-header-subTitle{font-size:.75rem;color:var(--x-text-400);margin-left:.5rem}\n"] }]
86
86
  }], ctorParameters: function () { return [{ type: i1.XConfigService }, { type: i0.ChangeDetectorRef }, { type: i2.XI18nService }]; } });
87
87
 
88
88
  class XPageHeaderModule {
89
89
  }
90
- /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
- /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderModule, declarations: [XPageHeaderComponent, XPageHeaderProperty], imports: [CommonModule, XButtonModule], exports: [XPageHeaderComponent] });
92
- /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderModule, imports: [[CommonModule, XButtonModule]] });
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPageHeaderModule, decorators: [{
90
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderModule, declarations: [XPageHeaderComponent, XPageHeaderProperty], imports: [CommonModule, XButtonModule], exports: [XPageHeaderComponent] });
92
+ /** @nocollapse */ /** @nocollapse */ XPageHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderModule, imports: [[CommonModule, XButtonModule]] });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPageHeaderModule, decorators: [{
94
94
  type: NgModule,
95
95
  args: [{
96
96
  declarations: [XPageHeaderComponent, XPageHeaderProperty],
@@ -61,8 +61,8 @@ class XPaginationProperty extends XProperty {
61
61
  this.sizeChange = new EventEmitter();
62
62
  }
63
63
  }
64
- /** @nocollapse */ /** @nocollapse */ XPaginationProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
65
- /** @nocollapse */ /** @nocollapse */ XPaginationProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPaginationProperty, selector: "ng-component", inputs: { index: "index", size: "size", total: "total", query: "query", pageLinkSize: "pageLinkSize", showEllipsis: "showEllipsis", showTotal: "showTotal", space: "space", hiddenBorder: "hiddenBorder", showSize: "showSize", sizeWidth: "sizeWidth", sizeData: "sizeData", disabled: "disabled", showJump: "showJump", jumpWidth: "jumpWidth", totalTpl: "totalTpl", simple: "simple", simpleIndexWidth: "simpleIndexWidth" }, outputs: { queryChange: "queryChange", indexChange: "indexChange", sizeChange: "sizeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
64
+ /** @nocollapse */ /** @nocollapse */ XPaginationProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
65
+ /** @nocollapse */ /** @nocollapse */ XPaginationProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPaginationProperty, selector: "ng-component", inputs: { index: "index", size: "size", total: "total", query: "query", pageLinkSize: "pageLinkSize", showEllipsis: "showEllipsis", showTotal: "showTotal", space: "space", hiddenBorder: "hiddenBorder", showSize: "showSize", sizeWidth: "sizeWidth", sizeData: "sizeData", disabled: "disabled", showJump: "showJump", jumpWidth: "jumpWidth", totalTpl: "totalTpl", simple: "simple", simpleIndexWidth: "simpleIndexWidth" }, outputs: { queryChange: "queryChange", indexChange: "indexChange", sizeChange: "sizeChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
66
66
  __decorate([
67
67
  XWithConfig(X_CONFIG_NAME, 1),
68
68
  XInputNumber()
@@ -124,7 +124,7 @@ __decorate([
124
124
  XWithConfig(X_CONFIG_NAME, 130),
125
125
  XInputNumber()
126
126
  ], XPaginationProperty.prototype, "simpleIndexWidth", void 0);
127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationProperty, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationProperty, decorators: [{
128
128
  type: Component,
129
129
  args: [{ template: '' }]
130
130
  }], propDecorators: { index: [{
@@ -281,19 +281,19 @@ class XPaginationComponent extends XPaginationProperty {
281
281
  return item;
282
282
  }
283
283
  }
284
- /** @nocollapse */ /** @nocollapse */ XPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationComponent, deps: [{ token: i1.XConfigService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
285
- /** @nocollapse */ /** @nocollapse */ XPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPaginationComponent, selector: "x-pagination", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<x-buttons *ngIf=\"!simple; else simpleTpl\" [space]=\"space\" [hiddenBorder]=\"hiddenBorder\">\r\n <x-button\r\n *ngIf=\"showEllipsis\"\r\n [icon]=\"'fto-chevrons-left'\"\r\n [title]=\"'pagination.first' | xI18n\"\r\n [disabled]=\"disabled || firstActivated\"\r\n (click)=\"jump(1)\"\r\n ></x-button>\r\n <ng-container *xOutlet=\"previousTpl\"></ng-container>\r\n <x-button\r\n *ngFor=\"let item of indexes; trackBy: trackByItem\"\r\n [disabled]=\"disabled\"\r\n [activated]=\"getActivated(item)\"\r\n (click)=\"jump(item)\"\r\n >{{ item }}</x-button\r\n >\r\n <ng-container *xOutlet=\"nextTpl\"></ng-container>\r\n <x-button\r\n *ngIf=\"showEllipsis && !simple\"\r\n [icon]=\"'fto-chevrons-right'\"\r\n [title]=\"'pagination.last' | xI18n\"\r\n [disabled]=\"disabled || lastActivated\"\r\n (click)=\"jump(lastIndex)\"\r\n ></x-button>\r\n</x-buttons>\r\n<ng-template #simpleTpl>\r\n <div class=\"x-pagination-simple\">\r\n <x-input\r\n [bordered]=\"!hiddenBorder\"\r\n [before]=\"previousTpl\"\r\n [after]=\"nextTpl\"\r\n [style.width.px]=\"simpleIndexWidth\"\r\n [(ngModel)]=\"index\"\r\n (xKeydown)=\"onSimpleKeydown($event)\"\r\n ></x-input>\r\n <span>/</span>\r\n <span>{{ lastIndex }}</span>\r\n </div>\r\n</ng-template>\r\n<x-select\r\n *ngIf=\"showSize\"\r\n [style.width.px]=\"sizeWidth\"\r\n class=\"x-pagination-size\"\r\n [data]=\"sizeData\"\r\n clearable=\"false\"\r\n [disabled]=\"disabled\"\r\n [bordered]=\"!hiddenBorder\"\r\n [nodeTpl]=\"nodeTpl\"\r\n [(ngModel)]=\"size\"\r\n (ngModelChange)=\"sizeChanged()\"\r\n></x-select>\r\n<div *ngIf=\"showJump && !simple\" class=\"x-pagination-jump\">\r\n <span>{{ 'pagination.jump' | xI18n }}</span>\r\n <x-input [bordered]=\"!hiddenBorder\" [style.width.px]=\"jumpWidth\" [(ngModel)]=\"jumpPage\" (xKeydown)=\"onKeydown($event)\"></x-input>\r\n</div>\r\n<x-button *ngIf=\"showTotal\" [disabled]=\"disabled\" class=\"x-pagination-total\" [type]=\"hiddenBorder === true ? 'text' : 'initial'\"\r\n ><ng-container *xOutlet=\"totalTpl; context: { $total: total }\"\r\n >{{ 'pagination.total' | xI18n }} {{ total }} {{ 'pagination.item' | xI18n }}</ng-container\r\n ></x-button\r\n>\r\n\r\n<ng-template #previousTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-left'\"\r\n [title]=\"'pagination.previous' | xI18n\"\r\n [disabled]=\"disabled || leftDisabled\"\r\n (click)=\"jump(-1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nextTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-right'\"\r\n [title]=\"'pagination.next' | xI18n\"\r\n [disabled]=\"disabled || rightDisabled\"\r\n (click)=\"jump(1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nodeTpl let-node=\"$node\">\r\n <ng-container *ngIf=\"node\"> {{ node?.label }} {{ 'pagination.sizePage' | xI18n }} </ng-container>\r\n</ng-template>\r\n", styles: [".x-pagination{margin:0;padding:0;display:inline-flex}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button{min-width:1.75rem}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button-activated{background-color:#0000000d}.x-pagination-size{margin-left:.5rem}.x-pagination-total{margin-left:.5rem}.x-pagination-jump{margin-left:.5rem;display:inline-flex;align-items:center}.x-pagination-jump x-input{margin-left:.5rem}.x-pagination-simple{margin:0 .5rem;display:inline-flex;align-items:center}.x-pagination-simple>x-input input{text-align:center}.x-pagination-simple>span{margin-left:.5rem}\n"], components: [{ type: i3.XButtonsComponent, selector: "x-buttons" }, { type: i3.XButtonComponent, selector: "x-button" }, { type: i4.XInputComponent, selector: "x-input" }, { type: i5.XSelectComponent, selector: "x-select" }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "xI18n": i2.XI18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationComponent, decorators: [{
284
+ /** @nocollapse */ /** @nocollapse */ XPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationComponent, deps: [{ token: i1.XConfigService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
285
+ /** @nocollapse */ /** @nocollapse */ XPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPaginationComponent, selector: "x-pagination", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<x-buttons *ngIf=\"!simple; else simpleTpl\" [space]=\"space\" [hiddenBorder]=\"hiddenBorder\">\r\n <x-button\r\n *ngIf=\"showEllipsis\"\r\n [icon]=\"'fto-chevrons-left'\"\r\n [title]=\"'pagination.first' | xI18n\"\r\n [disabled]=\"disabled || firstActivated\"\r\n (click)=\"jump(1)\"\r\n ></x-button>\r\n <ng-container *xOutlet=\"previousTpl\"></ng-container>\r\n <x-button\r\n *ngFor=\"let item of indexes; trackBy: trackByItem\"\r\n [disabled]=\"disabled\"\r\n [activated]=\"getActivated(item)\"\r\n (click)=\"jump(item)\"\r\n >{{ item }}</x-button\r\n >\r\n <ng-container *xOutlet=\"nextTpl\"></ng-container>\r\n <x-button\r\n *ngIf=\"showEllipsis && !simple\"\r\n [icon]=\"'fto-chevrons-right'\"\r\n [title]=\"'pagination.last' | xI18n\"\r\n [disabled]=\"disabled || lastActivated\"\r\n (click)=\"jump(lastIndex)\"\r\n ></x-button>\r\n</x-buttons>\r\n<ng-template #simpleTpl>\r\n <div class=\"x-pagination-simple\">\r\n <x-input\r\n [bordered]=\"!hiddenBorder\"\r\n [before]=\"previousTpl\"\r\n [after]=\"nextTpl\"\r\n [style.width.px]=\"simpleIndexWidth\"\r\n [(ngModel)]=\"index\"\r\n (xKeydown)=\"onSimpleKeydown($event)\"\r\n ></x-input>\r\n <span>/</span>\r\n <span>{{ lastIndex }}</span>\r\n </div>\r\n</ng-template>\r\n<x-select\r\n *ngIf=\"showSize\"\r\n [style.width.px]=\"sizeWidth\"\r\n class=\"x-pagination-size\"\r\n [data]=\"sizeData\"\r\n clearable=\"false\"\r\n [disabled]=\"disabled\"\r\n [bordered]=\"!hiddenBorder\"\r\n [nodeTpl]=\"nodeTpl\"\r\n [(ngModel)]=\"size\"\r\n (ngModelChange)=\"sizeChanged()\"\r\n></x-select>\r\n<div *ngIf=\"showJump && !simple\" class=\"x-pagination-jump\">\r\n <span>{{ 'pagination.jump' | xI18n }}</span>\r\n <x-input [bordered]=\"!hiddenBorder\" [style.width.px]=\"jumpWidth\" [(ngModel)]=\"jumpPage\" (xKeydown)=\"onKeydown($event)\"></x-input>\r\n</div>\r\n<x-button *ngIf=\"showTotal\" [disabled]=\"disabled\" class=\"x-pagination-total\" [type]=\"hiddenBorder === true ? 'text' : 'initial'\"\r\n ><ng-container *xOutlet=\"totalTpl; context: { $total: total }\"\r\n >{{ 'pagination.total' | xI18n }} {{ total }} {{ 'pagination.item' | xI18n }}</ng-container\r\n ></x-button\r\n>\r\n\r\n<ng-template #previousTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-left'\"\r\n [title]=\"'pagination.previous' | xI18n\"\r\n [disabled]=\"disabled || leftDisabled\"\r\n (click)=\"jump(-1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nextTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-right'\"\r\n [title]=\"'pagination.next' | xI18n\"\r\n [disabled]=\"disabled || rightDisabled\"\r\n (click)=\"jump(1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nodeTpl let-node=\"$node\">\r\n <ng-container *ngIf=\"node\"> {{ node?.label }} {{ 'pagination.sizePage' | xI18n }} </ng-container>\r\n</ng-template>\r\n", styles: [".x-pagination{margin:0;padding:0;display:inline-flex}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button{min-width:1.75rem}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button-activated{background-color:#0000000d}.x-pagination-size,.x-pagination-total{margin-left:.5rem}.x-pagination-jump{margin-left:.5rem;display:inline-flex;align-items:center}.x-pagination-jump x-input{margin-left:.5rem}.x-pagination-simple{margin:0 .5rem;display:inline-flex;align-items:center}.x-pagination-simple>x-input input{text-align:center}.x-pagination-simple>span{margin-left:.5rem}\n"], components: [{ type: i3.XButtonsComponent, selector: "x-buttons" }, { type: i3.XButtonComponent, selector: "x-button" }, { type: i4.XInputComponent, selector: "x-input" }, { type: i5.XSelectComponent, selector: "x-select" }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "xI18n": i2.XI18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationComponent, decorators: [{
287
287
  type: Component,
288
- args: [{ selector: `${XPaginationPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<x-buttons *ngIf=\"!simple; else simpleTpl\" [space]=\"space\" [hiddenBorder]=\"hiddenBorder\">\r\n <x-button\r\n *ngIf=\"showEllipsis\"\r\n [icon]=\"'fto-chevrons-left'\"\r\n [title]=\"'pagination.first' | xI18n\"\r\n [disabled]=\"disabled || firstActivated\"\r\n (click)=\"jump(1)\"\r\n ></x-button>\r\n <ng-container *xOutlet=\"previousTpl\"></ng-container>\r\n <x-button\r\n *ngFor=\"let item of indexes; trackBy: trackByItem\"\r\n [disabled]=\"disabled\"\r\n [activated]=\"getActivated(item)\"\r\n (click)=\"jump(item)\"\r\n >{{ item }}</x-button\r\n >\r\n <ng-container *xOutlet=\"nextTpl\"></ng-container>\r\n <x-button\r\n *ngIf=\"showEllipsis && !simple\"\r\n [icon]=\"'fto-chevrons-right'\"\r\n [title]=\"'pagination.last' | xI18n\"\r\n [disabled]=\"disabled || lastActivated\"\r\n (click)=\"jump(lastIndex)\"\r\n ></x-button>\r\n</x-buttons>\r\n<ng-template #simpleTpl>\r\n <div class=\"x-pagination-simple\">\r\n <x-input\r\n [bordered]=\"!hiddenBorder\"\r\n [before]=\"previousTpl\"\r\n [after]=\"nextTpl\"\r\n [style.width.px]=\"simpleIndexWidth\"\r\n [(ngModel)]=\"index\"\r\n (xKeydown)=\"onSimpleKeydown($event)\"\r\n ></x-input>\r\n <span>/</span>\r\n <span>{{ lastIndex }}</span>\r\n </div>\r\n</ng-template>\r\n<x-select\r\n *ngIf=\"showSize\"\r\n [style.width.px]=\"sizeWidth\"\r\n class=\"x-pagination-size\"\r\n [data]=\"sizeData\"\r\n clearable=\"false\"\r\n [disabled]=\"disabled\"\r\n [bordered]=\"!hiddenBorder\"\r\n [nodeTpl]=\"nodeTpl\"\r\n [(ngModel)]=\"size\"\r\n (ngModelChange)=\"sizeChanged()\"\r\n></x-select>\r\n<div *ngIf=\"showJump && !simple\" class=\"x-pagination-jump\">\r\n <span>{{ 'pagination.jump' | xI18n }}</span>\r\n <x-input [bordered]=\"!hiddenBorder\" [style.width.px]=\"jumpWidth\" [(ngModel)]=\"jumpPage\" (xKeydown)=\"onKeydown($event)\"></x-input>\r\n</div>\r\n<x-button *ngIf=\"showTotal\" [disabled]=\"disabled\" class=\"x-pagination-total\" [type]=\"hiddenBorder === true ? 'text' : 'initial'\"\r\n ><ng-container *xOutlet=\"totalTpl; context: { $total: total }\"\r\n >{{ 'pagination.total' | xI18n }} {{ total }} {{ 'pagination.item' | xI18n }}</ng-container\r\n ></x-button\r\n>\r\n\r\n<ng-template #previousTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-left'\"\r\n [title]=\"'pagination.previous' | xI18n\"\r\n [disabled]=\"disabled || leftDisabled\"\r\n (click)=\"jump(-1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nextTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-right'\"\r\n [title]=\"'pagination.next' | xI18n\"\r\n [disabled]=\"disabled || rightDisabled\"\r\n (click)=\"jump(1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nodeTpl let-node=\"$node\">\r\n <ng-container *ngIf=\"node\"> {{ node?.label }} {{ 'pagination.sizePage' | xI18n }} </ng-container>\r\n</ng-template>\r\n", styles: [".x-pagination{margin:0;padding:0;display:inline-flex}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button{min-width:1.75rem}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button-activated{background-color:#0000000d}.x-pagination-size{margin-left:.5rem}.x-pagination-total{margin-left:.5rem}.x-pagination-jump{margin-left:.5rem;display:inline-flex;align-items:center}.x-pagination-jump x-input{margin-left:.5rem}.x-pagination-simple{margin:0 .5rem;display:inline-flex;align-items:center}.x-pagination-simple>x-input input{text-align:center}.x-pagination-simple>span{margin-left:.5rem}\n"] }]
288
+ args: [{ selector: `${XPaginationPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<x-buttons *ngIf=\"!simple; else simpleTpl\" [space]=\"space\" [hiddenBorder]=\"hiddenBorder\">\r\n <x-button\r\n *ngIf=\"showEllipsis\"\r\n [icon]=\"'fto-chevrons-left'\"\r\n [title]=\"'pagination.first' | xI18n\"\r\n [disabled]=\"disabled || firstActivated\"\r\n (click)=\"jump(1)\"\r\n ></x-button>\r\n <ng-container *xOutlet=\"previousTpl\"></ng-container>\r\n <x-button\r\n *ngFor=\"let item of indexes; trackBy: trackByItem\"\r\n [disabled]=\"disabled\"\r\n [activated]=\"getActivated(item)\"\r\n (click)=\"jump(item)\"\r\n >{{ item }}</x-button\r\n >\r\n <ng-container *xOutlet=\"nextTpl\"></ng-container>\r\n <x-button\r\n *ngIf=\"showEllipsis && !simple\"\r\n [icon]=\"'fto-chevrons-right'\"\r\n [title]=\"'pagination.last' | xI18n\"\r\n [disabled]=\"disabled || lastActivated\"\r\n (click)=\"jump(lastIndex)\"\r\n ></x-button>\r\n</x-buttons>\r\n<ng-template #simpleTpl>\r\n <div class=\"x-pagination-simple\">\r\n <x-input\r\n [bordered]=\"!hiddenBorder\"\r\n [before]=\"previousTpl\"\r\n [after]=\"nextTpl\"\r\n [style.width.px]=\"simpleIndexWidth\"\r\n [(ngModel)]=\"index\"\r\n (xKeydown)=\"onSimpleKeydown($event)\"\r\n ></x-input>\r\n <span>/</span>\r\n <span>{{ lastIndex }}</span>\r\n </div>\r\n</ng-template>\r\n<x-select\r\n *ngIf=\"showSize\"\r\n [style.width.px]=\"sizeWidth\"\r\n class=\"x-pagination-size\"\r\n [data]=\"sizeData\"\r\n clearable=\"false\"\r\n [disabled]=\"disabled\"\r\n [bordered]=\"!hiddenBorder\"\r\n [nodeTpl]=\"nodeTpl\"\r\n [(ngModel)]=\"size\"\r\n (ngModelChange)=\"sizeChanged()\"\r\n></x-select>\r\n<div *ngIf=\"showJump && !simple\" class=\"x-pagination-jump\">\r\n <span>{{ 'pagination.jump' | xI18n }}</span>\r\n <x-input [bordered]=\"!hiddenBorder\" [style.width.px]=\"jumpWidth\" [(ngModel)]=\"jumpPage\" (xKeydown)=\"onKeydown($event)\"></x-input>\r\n</div>\r\n<x-button *ngIf=\"showTotal\" [disabled]=\"disabled\" class=\"x-pagination-total\" [type]=\"hiddenBorder === true ? 'text' : 'initial'\"\r\n ><ng-container *xOutlet=\"totalTpl; context: { $total: total }\"\r\n >{{ 'pagination.total' | xI18n }} {{ total }} {{ 'pagination.item' | xI18n }}</ng-container\r\n ></x-button\r\n>\r\n\r\n<ng-template #previousTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-left'\"\r\n [title]=\"'pagination.previous' | xI18n\"\r\n [disabled]=\"disabled || leftDisabled\"\r\n (click)=\"jump(-1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nextTpl>\r\n <x-button\r\n [icon]=\"'fto-chevron-right'\"\r\n [title]=\"'pagination.next' | xI18n\"\r\n [disabled]=\"disabled || rightDisabled\"\r\n (click)=\"jump(1, true)\"\r\n ></x-button>\r\n</ng-template>\r\n\r\n<ng-template #nodeTpl let-node=\"$node\">\r\n <ng-container *ngIf=\"node\"> {{ node?.label }} {{ 'pagination.sizePage' | xI18n }} </ng-container>\r\n</ng-template>\r\n", styles: [".x-pagination{margin:0;padding:0;display:inline-flex}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button{min-width:1.75rem}.x-pagination>.x-buttons.x-buttons-hiddenBorder>x-button>.x-button-activated{background-color:#0000000d}.x-pagination-size,.x-pagination-total{margin-left:.5rem}.x-pagination-jump{margin-left:.5rem;display:inline-flex;align-items:center}.x-pagination-jump x-input{margin-left:.5rem}.x-pagination-simple{margin:0 .5rem;display:inline-flex;align-items:center}.x-pagination-simple>x-input input{text-align:center}.x-pagination-simple>span{margin-left:.5rem}\n"] }]
289
289
  }], ctorParameters: function () { return [{ type: i1.XConfigService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i2.XI18nService }]; } });
290
290
 
291
291
  class XPaginationModule {
292
292
  }
293
- /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
294
- /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationModule, declarations: [XPaginationComponent, XPaginationProperty], imports: [CommonModule, FormsModule, XButtonModule, XI18nModule, XSelectModule, XInputModule, XOutletModule], exports: [XPaginationComponent] });
295
- /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationModule, imports: [[CommonModule, FormsModule, XButtonModule, XI18nModule, XSelectModule, XInputModule, XOutletModule]] });
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPaginationModule, decorators: [{
293
+ /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
294
+ /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationModule, declarations: [XPaginationComponent, XPaginationProperty], imports: [CommonModule, FormsModule, XButtonModule, XI18nModule, XSelectModule, XInputModule, XOutletModule], exports: [XPaginationComponent] });
295
+ /** @nocollapse */ /** @nocollapse */ XPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationModule, imports: [[CommonModule, FormsModule, XButtonModule, XI18nModule, XSelectModule, XInputModule, XOutletModule]] });
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPaginationModule, decorators: [{
297
297
  type: NgModule,
298
298
  args: [{
299
299
  declarations: [XPaginationComponent, XPaginationProperty],
@@ -16,19 +16,19 @@ class XPatternComponent {
16
16
  this.renderer.addClass(this.elementRef.nativeElement, PatternPrefix);
17
17
  }
18
18
  }
19
- /** @nocollapse */ /** @nocollapse */ XPatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
20
- /** @nocollapse */ /** @nocollapse */ XPatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPatternComponent, selector: "x-pattern", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".x-pattern{margin:0;padding:0;display:block}.x-pattern>table>tr>td:nth-child(1){color:navy;width:25%}.x-pattern>table>tr>td:nth-child(3){color:#d14}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternComponent, decorators: [{
19
+ /** @nocollapse */ /** @nocollapse */ XPatternComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
20
+ /** @nocollapse */ /** @nocollapse */ XPatternComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPatternComponent, selector: "x-pattern", ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".x-pattern{margin:0;padding:0;display:block}.x-pattern>table>tr>td:nth-child(1){color:navy;width:25%}.x-pattern>table>tr>td:nth-child(3){color:#d14}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'x-pattern', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\r\n", styles: [".x-pattern{margin:0;padding:0;display:block}.x-pattern>table>tr>td:nth-child(1){color:navy;width:25%}.x-pattern>table>tr>td:nth-child(3){color:#d14}\n"] }]
24
24
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
25
25
 
26
26
  class XPatternModule {
27
27
  }
28
- /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
- /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternModule, declarations: [XPatternComponent], imports: [CommonModule], exports: [XPatternComponent] });
30
- /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternModule, imports: [[CommonModule]] });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPatternModule, decorators: [{
28
+ /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternModule, declarations: [XPatternComponent], imports: [CommonModule], exports: [XPatternComponent] });
30
+ /** @nocollapse */ /** @nocollapse */ XPatternModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternModule, imports: [[CommonModule]] });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPatternModule, decorators: [{
32
32
  type: NgModule,
33
33
  args: [{
34
34
  declarations: [XPatternComponent],
@@ -42,8 +42,8 @@ class XPopconfirmProperty extends XProperty {
42
42
  this.confirm = new EventEmitter();
43
43
  }
44
44
  }
45
- /** @nocollapse */ /** @nocollapse */ XPopconfirmProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
46
- /** @nocollapse */ /** @nocollapse */ XPopconfirmProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPopconfirmProperty, selector: "ng-component", inputs: { title: "title", content: "content", placement: "placement", trigger: "trigger", width: "width", icon: "icon", iconColor: "iconColor", cancelText: "cancelText", confirmText: "confirmText" }, outputs: { cancel: "cancel", confirm: "confirm" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
45
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmProperty.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmProperty, deps: null, target: i0.ɵɵFactoryTarget.Component });
46
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmProperty.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPopconfirmProperty, selector: "ng-component", inputs: { title: "title", content: "content", placement: "placement", trigger: "trigger", width: "width", icon: "icon", iconColor: "iconColor", cancelText: "cancelText", confirmText: "confirmText" }, outputs: { cancel: "cancel", confirm: "confirm" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
47
47
  __decorate([
48
48
  XWithConfig(X_CONFIG_NAME, 'bottom')
49
49
  ], XPopconfirmProperty.prototype, "placement", void 0);
@@ -65,7 +65,7 @@ __decorate([
65
65
  __decorate([
66
66
  XWithConfig(X_CONFIG_NAME)
67
67
  ], XPopconfirmProperty.prototype, "confirmText", void 0);
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmProperty, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmProperty, decorators: [{
69
69
  type: Component,
70
70
  args: [{ template: '' }]
71
71
  }], propDecorators: { title: [{
@@ -126,19 +126,19 @@ class XPopconfirmComponent extends XPopconfirmProperty {
126
126
  this.confirm.emit();
127
127
  }
128
128
  }
129
- /** @nocollapse */ /** @nocollapse */ XPopconfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
130
- /** @nocollapse */ /** @nocollapse */ XPopconfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: XPopconfirmComponent, selector: "x-popconfirm", usesInheritance: true, ngImport: i0, template: "<div\r\n #popconfirm\r\n class=\"x-popconfirm\"\r\n x-popover\r\n [title]=\"titleTpl\"\r\n [content]=\"content\"\r\n [footer]=\"footerTpl\"\r\n [placement]=\"placement\"\r\n [trigger]=\"trigger\"\r\n [width]=\"width\"\r\n [(visible)]=\"visible\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #titleTpl>\r\n <div class=\"x-popconfirm-title\">\r\n <ng-container *xOutlet=\"title\">\r\n <x-icon *ngIf=\"icon\" [style.color]=\"iconColor\" [type]=\"icon\"></x-icon>\r\n <span>{{ title }}</span>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #footerTpl>\r\n <div class=\"x-popconfirm-buttons\">\r\n <x-button (click)=\"onCancel()\">{{ getCancelText }}</x-button>\r\n <x-button type=\"primary\" (click)=\"onConfirm()\">{{ getConfirmText }}</x-button>\r\n </div>\r\n</ng-template>\r\n", styles: [".x-popconfirm{margin:0;padding:0;display:inline-block}.x-popconfirm-buttons{display:flex;justify-content:flex-end}.x-popconfirm-buttons>x-button:not(:first-child){margin-left:.5rem}.x-popconfirm-title{display:flex;align-items:center}.x-popconfirm-title>.x-icon{margin-right:.325rem;font-size:1rem}\n"], components: [{ type: i3.XIconComponent, selector: "x-icon" }, { type: i4.XButtonComponent, selector: "x-button" }], directives: [{ type: i5.XPopoverDirective, selector: "[x-popover], x-popover" }, { type: i6.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmComponent, decorators: [{
129
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.XConfigService }, { token: i2.XI18nService }], target: i0.ɵɵFactoryTarget.Component });
130
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XPopconfirmComponent, selector: "x-popconfirm", usesInheritance: true, ngImport: i0, template: "<div\r\n #popconfirm\r\n class=\"x-popconfirm\"\r\n x-popover\r\n [title]=\"titleTpl\"\r\n [content]=\"content\"\r\n [footer]=\"footerTpl\"\r\n [placement]=\"placement\"\r\n [trigger]=\"trigger\"\r\n [width]=\"width\"\r\n [(visible)]=\"visible\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #titleTpl>\r\n <div class=\"x-popconfirm-title\">\r\n <ng-container *xOutlet=\"title\">\r\n <x-icon *ngIf=\"icon\" [style.color]=\"iconColor\" [type]=\"icon\"></x-icon>\r\n <span>{{ title }}</span>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #footerTpl>\r\n <div class=\"x-popconfirm-buttons\">\r\n <x-button (click)=\"onCancel()\">{{ getCancelText }}</x-button>\r\n <x-button type=\"primary\" (click)=\"onConfirm()\">{{ getConfirmText }}</x-button>\r\n </div>\r\n</ng-template>\r\n", styles: [".x-popconfirm{margin:0;padding:0;display:inline-block}.x-popconfirm-buttons{display:flex;justify-content:flex-end}.x-popconfirm-buttons>x-button:not(:first-child){margin-left:.5rem}.x-popconfirm-title{display:flex;align-items:center}.x-popconfirm-title>.x-icon{margin-right:.325rem;font-size:1rem}\n"], components: [{ type: i3.XIconComponent, selector: "x-icon" }, { type: i4.XButtonComponent, selector: "x-button" }], directives: [{ type: i5.XPopoverDirective, selector: "[x-popover], x-popover" }, { type: i6.XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmComponent, decorators: [{
132
132
  type: Component,
133
133
  args: [{ selector: `${XPopconfirmPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n #popconfirm\r\n class=\"x-popconfirm\"\r\n x-popover\r\n [title]=\"titleTpl\"\r\n [content]=\"content\"\r\n [footer]=\"footerTpl\"\r\n [placement]=\"placement\"\r\n [trigger]=\"trigger\"\r\n [width]=\"width\"\r\n [(visible)]=\"visible\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #titleTpl>\r\n <div class=\"x-popconfirm-title\">\r\n <ng-container *xOutlet=\"title\">\r\n <x-icon *ngIf=\"icon\" [style.color]=\"iconColor\" [type]=\"icon\"></x-icon>\r\n <span>{{ title }}</span>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #footerTpl>\r\n <div class=\"x-popconfirm-buttons\">\r\n <x-button (click)=\"onCancel()\">{{ getCancelText }}</x-button>\r\n <x-button type=\"primary\" (click)=\"onConfirm()\">{{ getConfirmText }}</x-button>\r\n </div>\r\n</ng-template>\r\n", styles: [".x-popconfirm{margin:0;padding:0;display:inline-block}.x-popconfirm-buttons{display:flex;justify-content:flex-end}.x-popconfirm-buttons>x-button:not(:first-child){margin-left:.5rem}.x-popconfirm-title{display:flex;align-items:center}.x-popconfirm-title>.x-icon{margin-right:.325rem;font-size:1rem}\n"] }]
134
134
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.XConfigService }, { type: i2.XI18nService }]; } });
135
135
 
136
136
  class XPopconfirmModule {
137
137
  }
138
- /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
139
- /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmModule, declarations: [XPopconfirmComponent, XPopconfirmProperty], imports: [CommonModule, XPopoverModule, XButtonModule, XIconModule, XOutletModule], exports: [XPopconfirmComponent] });
140
- /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmModule, imports: [[CommonModule, XPopoverModule, XButtonModule, XIconModule, XOutletModule]] });
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: XPopconfirmModule, decorators: [{
138
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
139
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmModule, declarations: [XPopconfirmComponent, XPopconfirmProperty], imports: [CommonModule, XPopoverModule, XButtonModule, XIconModule, XOutletModule], exports: [XPopconfirmComponent] });
140
+ /** @nocollapse */ /** @nocollapse */ XPopconfirmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmModule, imports: [[CommonModule, XPopoverModule, XButtonModule, XIconModule, XOutletModule]] });
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XPopconfirmModule, decorators: [{
142
142
  type: NgModule,
143
143
  args: [{
144
144
  declarations: [XPopconfirmComponent, XPopconfirmProperty],