@ng-nest/ui 12.0.8 → 12.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/alert/alert.component.d.ts +2 -1
  2. package/auto-complete/auto-complete-portal.component.d.ts +1 -3
  3. package/auto-complete/auto-complete.component.d.ts +1 -1
  4. package/back-top/back-top.component.d.ts +1 -2
  5. package/bundles/ng-nest-ui-alert.umd.js +6 -1
  6. package/bundles/ng-nest-ui-alert.umd.js.map +1 -1
  7. package/bundles/ng-nest-ui-anchor.umd.js +1 -1
  8. package/bundles/ng-nest-ui-anchor.umd.js.map +1 -1
  9. package/bundles/ng-nest-ui-auto-complete.umd.js +7 -6
  10. package/bundles/ng-nest-ui-auto-complete.umd.js.map +1 -1
  11. package/bundles/ng-nest-ui-back-top.umd.js +2 -2
  12. package/bundles/ng-nest-ui-back-top.umd.js.map +1 -1
  13. package/bundles/ng-nest-ui-badge.umd.js +2 -1
  14. package/bundles/ng-nest-ui-badge.umd.js.map +1 -1
  15. package/bundles/ng-nest-ui-button.umd.js +4 -3
  16. package/bundles/ng-nest-ui-button.umd.js.map +1 -1
  17. package/bundles/ng-nest-ui-calendar.umd.js +4 -3
  18. package/bundles/ng-nest-ui-calendar.umd.js.map +1 -1
  19. package/bundles/ng-nest-ui-carousel.umd.js +13 -12
  20. package/bundles/ng-nest-ui-carousel.umd.js.map +1 -1
  21. package/bundles/ng-nest-ui-cascade.umd.js +9 -9
  22. package/bundles/ng-nest-ui-cascade.umd.js.map +1 -1
  23. package/bundles/ng-nest-ui-checkbox.umd.js +3 -2
  24. package/bundles/ng-nest-ui-checkbox.umd.js.map +1 -1
  25. package/bundles/ng-nest-ui-color-picker.umd.js +9 -10
  26. package/bundles/ng-nest-ui-color-picker.umd.js.map +1 -1
  27. package/bundles/ng-nest-ui-color.umd.js +1 -1
  28. package/bundles/ng-nest-ui-color.umd.js.map +1 -1
  29. package/bundles/ng-nest-ui-comment.umd.js +3 -2
  30. package/bundles/ng-nest-ui-comment.umd.js.map +1 -1
  31. package/bundles/ng-nest-ui-container.umd.js.map +1 -1
  32. package/bundles/ng-nest-ui-core.umd.js +3 -3
  33. package/bundles/ng-nest-ui-core.umd.js.map +1 -1
  34. package/bundles/ng-nest-ui-crumb.umd.js +3 -2
  35. package/bundles/ng-nest-ui-crumb.umd.js.map +1 -1
  36. package/bundles/ng-nest-ui-date-picker.umd.js +34 -44
  37. package/bundles/ng-nest-ui-date-picker.umd.js.map +1 -1
  38. package/bundles/ng-nest-ui-description.umd.js +5 -6
  39. package/bundles/ng-nest-ui-description.umd.js.map +1 -1
  40. package/bundles/ng-nest-ui-dialog.umd.js +285 -32
  41. package/bundles/ng-nest-ui-dialog.umd.js.map +1 -1
  42. package/bundles/ng-nest-ui-drawer.umd.js +247 -15
  43. package/bundles/ng-nest-ui-drawer.umd.js.map +1 -1
  44. package/bundles/ng-nest-ui-dropdown.umd.js +4 -3
  45. package/bundles/ng-nest-ui-dropdown.umd.js.map +1 -1
  46. package/bundles/ng-nest-ui-find.umd.js +33 -8
  47. package/bundles/ng-nest-ui-find.umd.js.map +1 -1
  48. package/bundles/ng-nest-ui-form.umd.js +6 -10
  49. package/bundles/ng-nest-ui-form.umd.js.map +1 -1
  50. package/bundles/ng-nest-ui-highlight.umd.js +2 -1
  51. package/bundles/ng-nest-ui-highlight.umd.js.map +1 -1
  52. package/bundles/ng-nest-ui-i18n.umd.js +2 -1
  53. package/bundles/ng-nest-ui-i18n.umd.js.map +1 -1
  54. package/bundles/ng-nest-ui-icon.umd.js +3 -2
  55. package/bundles/ng-nest-ui-icon.umd.js.map +1 -1
  56. package/bundles/ng-nest-ui-inner.umd.js +1 -1
  57. package/bundles/ng-nest-ui-inner.umd.js.map +1 -1
  58. package/bundles/ng-nest-ui-input.umd.js +9 -7
  59. package/bundles/ng-nest-ui-input.umd.js.map +1 -1
  60. package/bundles/ng-nest-ui-list.umd.js +4 -3
  61. package/bundles/ng-nest-ui-list.umd.js.map +1 -1
  62. package/bundles/ng-nest-ui-loading.umd.js +2 -1
  63. package/bundles/ng-nest-ui-loading.umd.js.map +1 -1
  64. package/bundles/ng-nest-ui-menu.umd.js +6 -6
  65. package/bundles/ng-nest-ui-menu.umd.js.map +1 -1
  66. package/bundles/ng-nest-ui-message-box.umd.js +28 -26
  67. package/bundles/ng-nest-ui-message-box.umd.js.map +1 -1
  68. package/bundles/ng-nest-ui-message.umd.js +53 -17
  69. package/bundles/ng-nest-ui-message.umd.js.map +1 -1
  70. package/bundles/ng-nest-ui-notification.umd.js +1 -1
  71. package/bundles/ng-nest-ui-notification.umd.js.map +1 -1
  72. package/bundles/ng-nest-ui-pagination.umd.js +3 -2
  73. package/bundles/ng-nest-ui-pagination.umd.js.map +1 -1
  74. package/bundles/ng-nest-ui-popconfirm.umd.js +33 -4
  75. package/bundles/ng-nest-ui-popconfirm.umd.js.map +1 -1
  76. package/bundles/ng-nest-ui-popover.umd.js +15 -3
  77. package/bundles/ng-nest-ui-popover.umd.js.map +1 -1
  78. package/bundles/ng-nest-ui-portal.umd.js +8 -8
  79. package/bundles/ng-nest-ui-portal.umd.js.map +1 -1
  80. package/bundles/ng-nest-ui-progress.umd.js +236 -20
  81. package/bundles/ng-nest-ui-progress.umd.js.map +1 -1
  82. package/bundles/ng-nest-ui-radio.umd.js +3 -2
  83. package/bundles/ng-nest-ui-radio.umd.js.map +1 -1
  84. package/bundles/ng-nest-ui-rate.umd.js +5 -5
  85. package/bundles/ng-nest-ui-rate.umd.js.map +1 -1
  86. package/bundles/ng-nest-ui-ripple.umd.js.map +1 -1
  87. package/bundles/ng-nest-ui-select.umd.js +7 -6
  88. package/bundles/ng-nest-ui-select.umd.js.map +1 -1
  89. package/bundles/ng-nest-ui-skeleton.umd.js +2 -1
  90. package/bundles/ng-nest-ui-skeleton.umd.js.map +1 -1
  91. package/bundles/ng-nest-ui-slider.umd.js +7 -8
  92. package/bundles/ng-nest-ui-slider.umd.js.map +1 -1
  93. package/bundles/ng-nest-ui-statistic.umd.js +6 -4
  94. package/bundles/ng-nest-ui-statistic.umd.js.map +1 -1
  95. package/bundles/ng-nest-ui-steps.umd.js +23 -10
  96. package/bundles/ng-nest-ui-steps.umd.js.map +1 -1
  97. package/bundles/ng-nest-ui-table.umd.js +13 -10
  98. package/bundles/ng-nest-ui-table.umd.js.map +1 -1
  99. package/bundles/ng-nest-ui-tabs.umd.js +5 -4
  100. package/bundles/ng-nest-ui-tabs.umd.js.map +1 -1
  101. package/bundles/ng-nest-ui-tag.umd.js +2 -1
  102. package/bundles/ng-nest-ui-tag.umd.js.map +1 -1
  103. package/bundles/ng-nest-ui-text-retract.umd.js +2 -1
  104. package/bundles/ng-nest-ui-text-retract.umd.js.map +1 -1
  105. package/bundles/ng-nest-ui-textarea.umd.js +3 -12
  106. package/bundles/ng-nest-ui-textarea.umd.js.map +1 -1
  107. package/bundles/ng-nest-ui-theme.umd.js +2 -2
  108. package/bundles/ng-nest-ui-theme.umd.js.map +1 -1
  109. package/bundles/ng-nest-ui-time-picker.umd.js +32 -15
  110. package/bundles/ng-nest-ui-time-picker.umd.js.map +1 -1
  111. package/bundles/ng-nest-ui-timeline.umd.js +3 -2
  112. package/bundles/ng-nest-ui-timeline.umd.js.map +1 -1
  113. package/bundles/ng-nest-ui-tooltip.umd.js +3 -2
  114. package/bundles/ng-nest-ui-tooltip.umd.js.map +1 -1
  115. package/bundles/ng-nest-ui-transfer.umd.js +3 -2
  116. package/bundles/ng-nest-ui-transfer.umd.js.map +1 -1
  117. package/bundles/ng-nest-ui-tree.umd.js +8 -7
  118. package/bundles/ng-nest-ui-tree.umd.js.map +1 -1
  119. package/bundles/ng-nest-ui-upload.umd.js +5 -4
  120. package/bundles/ng-nest-ui-upload.umd.js.map +1 -1
  121. package/button/buttons.component.d.ts +1 -1
  122. package/calendar/calendar.component.d.ts +2 -2
  123. package/carousel/carousel-panel.component.d.ts +2 -3
  124. package/carousel/carousel.component.d.ts +1 -1
  125. package/cascade/cascade-portal.component.d.ts +4 -7
  126. package/cascade/cascade.component.d.ts +1 -1
  127. package/checkbox/checkbox.component.d.ts +1 -1
  128. package/color/color.component.d.ts +2 -2
  129. package/color-picker/color-picker-portal.component.d.ts +1 -3
  130. package/color-picker/color-picker.component.d.ts +2 -3
  131. package/comment/comment.component.d.ts +1 -1
  132. package/core/config/config.d.ts +7 -0
  133. package/core/interfaces/layout.type.d.ts +1 -1
  134. package/core/services/reuse-strategy.service.d.ts +1 -1
  135. package/crumb/crumb.component.d.ts +1 -1
  136. package/date-picker/date-picker-portal.component.d.ts +1 -3
  137. package/date-picker/date-picker.component.d.ts +3 -4
  138. package/date-picker/date-picker.property.d.ts +1 -16
  139. package/date-picker/date-range-portal.component.d.ts +1 -3
  140. package/date-picker/date-range.component.d.ts +2 -3
  141. package/date-picker/picker-date.component.d.ts +1 -1
  142. package/date-picker/picker-month.component.d.ts +1 -1
  143. package/date-picker/picker-year.component.d.ts +1 -1
  144. package/description/description.component.d.ts +2 -4
  145. package/dialog/dialog-container.component.d.ts +18 -0
  146. package/dialog/dialog-container.directives.d.ts +24 -0
  147. package/dialog/dialog-ref.d.ts +9 -0
  148. package/dialog/dialog.module.d.ts +13 -11
  149. package/dialog/dialog.property.d.ts +84 -6
  150. package/dialog/dialog.service.d.ts +19 -0
  151. package/dialog/public-api.d.ts +4 -0
  152. package/drawer/drawer-container.component.d.ts +18 -0
  153. package/drawer/drawer-container.directives.d.ts +19 -0
  154. package/drawer/drawer-ref.d.ts +9 -0
  155. package/drawer/drawer.module.d.ts +8 -6
  156. package/drawer/drawer.property.d.ts +83 -2
  157. package/drawer/drawer.service.d.ts +19 -0
  158. package/drawer/public-api.d.ts +5 -0
  159. package/dropdown/dropdown-portal.component.d.ts +1 -3
  160. package/dropdown/dropdown.component.d.ts +2 -2
  161. package/esm2015/alert/alert.component.js +8 -3
  162. package/esm2015/anchor/anchor.component.js +2 -2
  163. package/esm2015/anchor/anchor.property.js +1 -1
  164. package/esm2015/auto-complete/auto-complete-portal.component.js +4 -4
  165. package/esm2015/auto-complete/auto-complete.component.js +5 -4
  166. package/esm2015/auto-complete/auto-complete.property.js +1 -1
  167. package/esm2015/back-top/back-top.component.js +3 -3
  168. package/esm2015/badge/badge.component.js +3 -2
  169. package/esm2015/button/button.component.js +5 -4
  170. package/esm2015/button/buttons.component.js +1 -1
  171. package/esm2015/calendar/calendar.component.js +5 -4
  172. package/esm2015/carousel/carousel-panel.component.js +12 -11
  173. package/esm2015/carousel/carousel.component.js +4 -3
  174. package/esm2015/cascade/cascade-portal.component.js +6 -7
  175. package/esm2015/cascade/cascade.component.js +5 -4
  176. package/esm2015/checkbox/checkbox.component.js +4 -3
  177. package/esm2015/checkbox/checkbox.property.js +1 -1
  178. package/esm2015/color/color.component.js +2 -2
  179. package/esm2015/color-picker/color-picker-portal.component.js +3 -3
  180. package/esm2015/color-picker/color-picker.component.js +8 -9
  181. package/esm2015/comment/comment.component.js +4 -3
  182. package/esm2015/container/container.component.js +2 -2
  183. package/esm2015/core/animation/fade.js +1 -1
  184. package/esm2015/core/config/config.js +1 -1
  185. package/esm2015/core/interfaces/layout.type.js +1 -1
  186. package/esm2015/core/services/http.service.js +2 -2
  187. package/esm2015/core/services/preloading-strategy.service.js +2 -2
  188. package/esm2015/core/services/reuse-strategy.service.js +2 -2
  189. package/esm2015/crumb/crumb.component.js +4 -3
  190. package/esm2015/date-picker/date-picker-portal.component.js +4 -4
  191. package/esm2015/date-picker/date-picker.component.js +9 -13
  192. package/esm2015/date-picker/date-picker.property.js +8 -17
  193. package/esm2015/date-picker/date-range-portal.component.js +2 -2
  194. package/esm2015/date-picker/date-range.component.js +7 -7
  195. package/esm2015/date-picker/picker-date.component.js +4 -3
  196. package/esm2015/date-picker/picker-month.component.js +4 -3
  197. package/esm2015/date-picker/picker-year.component.js +4 -3
  198. package/esm2015/description/description.component.js +6 -7
  199. package/esm2015/dialog/dialog-container.component.js +59 -0
  200. package/esm2015/dialog/dialog-container.directives.js +73 -0
  201. package/esm2015/dialog/dialog-ref.js +17 -0
  202. package/esm2015/dialog/dialog.component.js +4 -3
  203. package/esm2015/dialog/dialog.module.js +37 -7
  204. package/esm2015/dialog/dialog.property.js +17 -16
  205. package/esm2015/dialog/dialog.service.js +67 -0
  206. package/esm2015/dialog/public-api.js +5 -1
  207. package/esm2015/drawer/drawer-container.component.js +59 -0
  208. package/esm2015/drawer/drawer-container.directives.js +57 -0
  209. package/esm2015/drawer/drawer-ref.js +17 -0
  210. package/esm2015/drawer/drawer.component.js +4 -3
  211. package/esm2015/drawer/drawer.module.js +22 -6
  212. package/esm2015/drawer/drawer.property.js +22 -6
  213. package/esm2015/drawer/drawer.service.js +65 -0
  214. package/esm2015/drawer/public-api.js +6 -1
  215. package/esm2015/dropdown/dropdown-portal.component.js +2 -2
  216. package/esm2015/dropdown/dropdown.component.js +4 -3
  217. package/esm2015/find/find.component.js +18 -8
  218. package/esm2015/find/find.property.js +18 -2
  219. package/esm2015/form/control.component.js +1 -1
  220. package/esm2015/form/form.component.js +6 -5
  221. package/esm2015/form/form.property.js +3 -8
  222. package/esm2015/highlight/highlight.component.js +3 -2
  223. package/esm2015/highlight/highlight.property.js +1 -1
  224. package/esm2015/i18n/i18n.directive.js +3 -2
  225. package/esm2015/icon/icon.component.js +4 -3
  226. package/esm2015/inner/inner.component.js +2 -2
  227. package/esm2015/input/input-group.component.js +2 -4
  228. package/esm2015/input/input.component.js +9 -5
  229. package/esm2015/input/input.property.js +1 -1
  230. package/esm2015/list/list.component.js +5 -4
  231. package/esm2015/list/list.property.js +1 -1
  232. package/esm2015/loading/loading.component.js +3 -2
  233. package/esm2015/menu/menu-node.component.js +1 -1
  234. package/esm2015/menu/menu.component.js +7 -7
  235. package/esm2015/message/message-ref.js +12 -0
  236. package/esm2015/message/message.component.js +4 -4
  237. package/esm2015/message/message.property.js +2 -2
  238. package/esm2015/message/message.service.js +37 -15
  239. package/esm2015/message/public-api.js +2 -1
  240. package/esm2015/message-box/message-box.component.js +17 -21
  241. package/esm2015/message-box/message-box.service.js +7 -5
  242. package/esm2015/notification/notification.component.js +2 -2
  243. package/esm2015/notification/notification.property.js +1 -1
  244. package/esm2015/pagination/pagination.component.js +4 -3
  245. package/esm2015/popconfirm/popconfirm.component.js +25 -4
  246. package/esm2015/popconfirm/popconfirm.property.js +10 -3
  247. package/esm2015/popover/popover.directive.js +10 -3
  248. package/esm2015/popover/popover.property.js +7 -2
  249. package/esm2015/portal/portal.module.js +4 -3
  250. package/esm2015/portal/portal.service.js +8 -9
  251. package/esm2015/progress/progress.component.js +178 -15
  252. package/esm2015/progress/progress.property.js +50 -3
  253. package/esm2015/radio/radio.component.js +4 -3
  254. package/esm2015/radio/radio.property.js +1 -1
  255. package/esm2015/rate/rate.component.js +6 -6
  256. package/esm2015/ripple/ripple.directive.js +1 -1
  257. package/esm2015/ripple/ripple.property.js +1 -1
  258. package/esm2015/select/select-portal.component.js +3 -3
  259. package/esm2015/select/select.component.js +6 -5
  260. package/esm2015/skeleton/skeleton.component.js +3 -2
  261. package/esm2015/slider/slider.component.js +8 -9
  262. package/esm2015/statistic/countdown.component.js +5 -4
  263. package/esm2015/statistic/statistic.component.js +3 -2
  264. package/esm2015/steps/steps.component.js +18 -10
  265. package/esm2015/steps/steps.property.js +8 -3
  266. package/esm2015/table/drag.directive.js +2 -2
  267. package/esm2015/table/table-body.component.js +4 -3
  268. package/esm2015/table/table-foot.component.js +1 -1
  269. package/esm2015/table/table-head.component.js +5 -4
  270. package/esm2015/table/table.component.js +6 -5
  271. package/esm2015/table/table.property.js +1 -1
  272. package/esm2015/tabs/tab.component.js +1 -1
  273. package/esm2015/tabs/tabs.component.js +6 -5
  274. package/esm2015/tag/tag.component.js +3 -2
  275. package/esm2015/text-retract/text-retract.component.js +3 -2
  276. package/esm2015/textarea/textarea.component.js +3 -2
  277. package/esm2015/textarea/textarea.property.js +2 -12
  278. package/esm2015/theme/theme.component.js +3 -3
  279. package/esm2015/theme/theme.property.js +1 -1
  280. package/esm2015/time-picker/time-picker-frame.component.js +9 -5
  281. package/esm2015/time-picker/time-picker-portal.component.js +2 -2
  282. package/esm2015/time-picker/time-picker.component.js +25 -12
  283. package/esm2015/timeline/timeline.component.js +4 -3
  284. package/esm2015/tooltip/tooltip.directive.js +4 -3
  285. package/esm2015/tooltip/tooltip.property.js +1 -1
  286. package/esm2015/transfer/transfer.component.js +4 -3
  287. package/esm2015/tree/tree-node.component.js +2 -2
  288. package/esm2015/tree/tree.component.js +8 -7
  289. package/esm2015/tree/tree.property.js +1 -1
  290. package/esm2015/upload/upload-portal.component.js +2 -2
  291. package/esm2015/upload/upload.component.js +5 -4
  292. package/fesm2015/ng-nest-ui-alert.js +7 -2
  293. package/fesm2015/ng-nest-ui-alert.js.map +1 -1
  294. package/fesm2015/ng-nest-ui-anchor.js +1 -1
  295. package/fesm2015/ng-nest-ui-anchor.js.map +1 -1
  296. package/fesm2015/ng-nest-ui-auto-complete.js +7 -6
  297. package/fesm2015/ng-nest-ui-auto-complete.js.map +1 -1
  298. package/fesm2015/ng-nest-ui-back-top.js +2 -2
  299. package/fesm2015/ng-nest-ui-back-top.js.map +1 -1
  300. package/fesm2015/ng-nest-ui-badge.js +2 -1
  301. package/fesm2015/ng-nest-ui-badge.js.map +1 -1
  302. package/fesm2015/ng-nest-ui-button.js +4 -3
  303. package/fesm2015/ng-nest-ui-button.js.map +1 -1
  304. package/fesm2015/ng-nest-ui-calendar.js +4 -3
  305. package/fesm2015/ng-nest-ui-calendar.js.map +1 -1
  306. package/fesm2015/ng-nest-ui-carousel.js +12 -11
  307. package/fesm2015/ng-nest-ui-carousel.js.map +1 -1
  308. package/fesm2015/ng-nest-ui-cascade.js +9 -9
  309. package/fesm2015/ng-nest-ui-cascade.js.map +1 -1
  310. package/fesm2015/ng-nest-ui-checkbox.js +3 -2
  311. package/fesm2015/ng-nest-ui-checkbox.js.map +1 -1
  312. package/fesm2015/ng-nest-ui-color-picker.js +9 -10
  313. package/fesm2015/ng-nest-ui-color-picker.js.map +1 -1
  314. package/fesm2015/ng-nest-ui-color.js +1 -1
  315. package/fesm2015/ng-nest-ui-color.js.map +1 -1
  316. package/fesm2015/ng-nest-ui-comment.js +3 -2
  317. package/fesm2015/ng-nest-ui-comment.js.map +1 -1
  318. package/fesm2015/ng-nest-ui-container.js +1 -1
  319. package/fesm2015/ng-nest-ui-container.js.map +1 -1
  320. package/fesm2015/ng-nest-ui-core.js +3 -3
  321. package/fesm2015/ng-nest-ui-core.js.map +1 -1
  322. package/fesm2015/ng-nest-ui-crumb.js +3 -2
  323. package/fesm2015/ng-nest-ui-crumb.js.map +1 -1
  324. package/fesm2015/ng-nest-ui-date-picker.js +34 -44
  325. package/fesm2015/ng-nest-ui-date-picker.js.map +1 -1
  326. package/fesm2015/ng-nest-ui-description.js +5 -6
  327. package/fesm2015/ng-nest-ui-description.js.map +1 -1
  328. package/fesm2015/ng-nest-ui-dialog.js +256 -26
  329. package/fesm2015/ng-nest-ui-dialog.js.map +1 -1
  330. package/fesm2015/ng-nest-ui-drawer.js +226 -14
  331. package/fesm2015/ng-nest-ui-drawer.js.map +1 -1
  332. package/fesm2015/ng-nest-ui-dropdown.js +4 -3
  333. package/fesm2015/ng-nest-ui-dropdown.js.map +1 -1
  334. package/fesm2015/ng-nest-ui-find.js +34 -8
  335. package/fesm2015/ng-nest-ui-find.js.map +1 -1
  336. package/fesm2015/ng-nest-ui-form.js +7 -11
  337. package/fesm2015/ng-nest-ui-form.js.map +1 -1
  338. package/fesm2015/ng-nest-ui-highlight.js +2 -1
  339. package/fesm2015/ng-nest-ui-highlight.js.map +1 -1
  340. package/fesm2015/ng-nest-ui-i18n.js +2 -1
  341. package/fesm2015/ng-nest-ui-i18n.js.map +1 -1
  342. package/fesm2015/ng-nest-ui-icon.js +3 -2
  343. package/fesm2015/ng-nest-ui-icon.js.map +1 -1
  344. package/fesm2015/ng-nest-ui-inner.js +1 -1
  345. package/fesm2015/ng-nest-ui-inner.js.map +1 -1
  346. package/fesm2015/ng-nest-ui-input.js +9 -7
  347. package/fesm2015/ng-nest-ui-input.js.map +1 -1
  348. package/fesm2015/ng-nest-ui-list.js +4 -3
  349. package/fesm2015/ng-nest-ui-list.js.map +1 -1
  350. package/fesm2015/ng-nest-ui-loading.js +2 -1
  351. package/fesm2015/ng-nest-ui-loading.js.map +1 -1
  352. package/fesm2015/ng-nest-ui-menu.js +6 -6
  353. package/fesm2015/ng-nest-ui-menu.js.map +1 -1
  354. package/fesm2015/ng-nest-ui-message-box.js +22 -24
  355. package/fesm2015/ng-nest-ui-message-box.js.map +1 -1
  356. package/fesm2015/ng-nest-ui-message.js +51 -18
  357. package/fesm2015/ng-nest-ui-message.js.map +1 -1
  358. package/fesm2015/ng-nest-ui-notification.js +1 -1
  359. package/fesm2015/ng-nest-ui-notification.js.map +1 -1
  360. package/fesm2015/ng-nest-ui-pagination.js +3 -2
  361. package/fesm2015/ng-nest-ui-pagination.js.map +1 -1
  362. package/fesm2015/ng-nest-ui-popconfirm.js +33 -5
  363. package/fesm2015/ng-nest-ui-popconfirm.js.map +1 -1
  364. package/fesm2015/ng-nest-ui-popover.js +15 -3
  365. package/fesm2015/ng-nest-ui-popover.js.map +1 -1
  366. package/fesm2015/ng-nest-ui-portal.js +10 -10
  367. package/fesm2015/ng-nest-ui-portal.js.map +1 -1
  368. package/fesm2015/ng-nest-ui-progress.js +226 -17
  369. package/fesm2015/ng-nest-ui-progress.js.map +1 -1
  370. package/fesm2015/ng-nest-ui-radio.js +3 -2
  371. package/fesm2015/ng-nest-ui-radio.js.map +1 -1
  372. package/fesm2015/ng-nest-ui-rate.js +5 -5
  373. package/fesm2015/ng-nest-ui-rate.js.map +1 -1
  374. package/fesm2015/ng-nest-ui-ripple.js.map +1 -1
  375. package/fesm2015/ng-nest-ui-select.js +7 -6
  376. package/fesm2015/ng-nest-ui-select.js.map +1 -1
  377. package/fesm2015/ng-nest-ui-skeleton.js +2 -1
  378. package/fesm2015/ng-nest-ui-skeleton.js.map +1 -1
  379. package/fesm2015/ng-nest-ui-slider.js +7 -8
  380. package/fesm2015/ng-nest-ui-slider.js.map +1 -1
  381. package/fesm2015/ng-nest-ui-statistic.js +6 -4
  382. package/fesm2015/ng-nest-ui-statistic.js.map +1 -1
  383. package/fesm2015/ng-nest-ui-steps.js +24 -11
  384. package/fesm2015/ng-nest-ui-steps.js.map +1 -1
  385. package/fesm2015/ng-nest-ui-table.js +13 -10
  386. package/fesm2015/ng-nest-ui-table.js.map +1 -1
  387. package/fesm2015/ng-nest-ui-tabs.js +5 -4
  388. package/fesm2015/ng-nest-ui-tabs.js.map +1 -1
  389. package/fesm2015/ng-nest-ui-tag.js +2 -1
  390. package/fesm2015/ng-nest-ui-tag.js.map +1 -1
  391. package/fesm2015/ng-nest-ui-text-retract.js +2 -1
  392. package/fesm2015/ng-nest-ui-text-retract.js.map +1 -1
  393. package/fesm2015/ng-nest-ui-textarea.js +3 -12
  394. package/fesm2015/ng-nest-ui-textarea.js.map +1 -1
  395. package/fesm2015/ng-nest-ui-theme.js +2 -2
  396. package/fesm2015/ng-nest-ui-theme.js.map +1 -1
  397. package/fesm2015/ng-nest-ui-time-picker.js +33 -16
  398. package/fesm2015/ng-nest-ui-time-picker.js.map +1 -1
  399. package/fesm2015/ng-nest-ui-timeline.js +3 -2
  400. package/fesm2015/ng-nest-ui-timeline.js.map +1 -1
  401. package/fesm2015/ng-nest-ui-tooltip.js +3 -2
  402. package/fesm2015/ng-nest-ui-tooltip.js.map +1 -1
  403. package/fesm2015/ng-nest-ui-transfer.js +3 -2
  404. package/fesm2015/ng-nest-ui-transfer.js.map +1 -1
  405. package/fesm2015/ng-nest-ui-tree.js +8 -7
  406. package/fesm2015/ng-nest-ui-tree.js.map +1 -1
  407. package/fesm2015/ng-nest-ui-upload.js +5 -4
  408. package/fesm2015/ng-nest-ui-upload.js.map +1 -1
  409. package/find/find.component.d.ts +1 -1
  410. package/find/find.property.d.ts +31 -1
  411. package/form/control.component.d.ts +1 -1
  412. package/form/form.component.d.ts +1 -1
  413. package/form/form.property.d.ts +6 -6
  414. package/inner/inner.component.d.ts +1 -1
  415. package/input/input-group.component.d.ts +2 -4
  416. package/list/list.component.d.ts +2 -2
  417. package/menu/menu.component.d.ts +1 -1
  418. package/message/message-ref.d.ts +8 -0
  419. package/message/message.component.d.ts +3 -3
  420. package/message/message.property.d.ts +24 -4
  421. package/message/message.service.d.ts +4 -1
  422. package/message/public-api.d.ts +1 -0
  423. package/message-box/message-box.component.d.ts +2 -1
  424. package/notification/notification.component.d.ts +1 -1
  425. package/package.json +1 -1
  426. package/pagination/pagination.component.d.ts +1 -1
  427. package/popconfirm/popconfirm.component.d.ts +6 -2
  428. package/popconfirm/popconfirm.property.d.ts +13 -2
  429. package/popover/popover.property.d.ts +6 -1
  430. package/portal/portal.module.d.ts +1 -1
  431. package/portal/portal.service.d.ts +2 -3
  432. package/progress/progress.component.d.ts +31 -3
  433. package/progress/progress.property.d.ts +80 -5
  434. package/radio/radio.component.d.ts +1 -1
  435. package/rate/rate.component.d.ts +5 -5
  436. package/select/select-portal.component.d.ts +1 -3
  437. package/select/select.component.d.ts +1 -1
  438. package/slider/slider.component.d.ts +1 -1
  439. package/steps/steps.component.d.ts +1 -1
  440. package/steps/steps.property.d.ts +7 -2
  441. package/table/table-body.component.d.ts +1 -1
  442. package/table/table-head.component.d.ts +1 -1
  443. package/table/table.component.d.ts +1 -1
  444. package/table/table.property.d.ts +11 -1
  445. package/textarea/textarea.property.d.ts +1 -6
  446. package/theme/theme.component.d.ts +1 -1
  447. package/time-picker/time-picker-frame.component.d.ts +1 -0
  448. package/time-picker/time-picker-portal.component.d.ts +1 -3
  449. package/time-picker/time-picker.component.d.ts +5 -3
  450. package/timeline/timeline.component.d.ts +1 -1
  451. package/transfer/transfer.component.d.ts +1 -1
  452. package/tree/tree-node.component.d.ts +1 -1
  453. package/tree/tree.component.d.ts +1 -1
  454. package/upload/upload.component.d.ts +3 -3
@@ -32,21 +32,6 @@ export declare class XDatePickerProperty extends XControlValueAccessor<any> impl
32
32
  * @en_US Display position
33
33
  */
34
34
  placement?: XCorner;
35
- /**
36
- * @zh_CN 只读
37
- * @en_US Readonly
38
- */
39
- readonly: XBoolean;
40
- /**
41
- * @zh_CN 值模板
42
- * @en_US Node template
43
- */
44
- valueTpl?: TemplateRef<any>;
45
- /**
46
- * @zh_CN 值模板参数
47
- * @en_US Node template
48
- */
49
- valueTplContext: any;
50
35
  /**
51
36
  * @zh_CN 尺寸
52
37
  * @en_US Size
@@ -68,7 +53,7 @@ export declare class XDatePickerProperty extends XControlValueAccessor<any> impl
68
53
  */
69
54
  nodeEmit: EventEmitter<number>;
70
55
  static ɵfac: i0.ɵɵFactoryDeclaration<XDatePickerProperty, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<XDatePickerProperty, "ng-component", never, { "type": "type"; "format": "format"; "clearable": "clearable"; "placement": "placement"; "readonly": "readonly"; "valueTpl": "valueTpl"; "valueTplContext": "valueTplContext"; "size": "size"; "bordered": "bordered"; "preset": "preset"; }, { "nodeEmit": "nodeEmit"; }, never, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<XDatePickerProperty, "ng-component", never, { "type": "type"; "format": "format"; "clearable": "clearable"; "placement": "placement"; "size": "size"; "bordered": "bordered"; "preset": "preset"; }, { "nodeEmit": "nodeEmit"; }, never, never>;
72
57
  }
73
58
  /**
74
59
  * DatePicker Option
@@ -14,9 +14,7 @@ export declare class XDateRangePortalComponent implements OnInit, OnDestroy, Aft
14
14
  done(event: {
15
15
  toState: any;
16
16
  }): void;
17
- start(event: {
18
- toState: any;
19
- }): void;
17
+ start(): void;
20
18
  type: XDatePickerType;
21
19
  display: Date;
22
20
  model: Date;
@@ -11,7 +11,6 @@ import * as i0 from "@angular/core";
11
11
  export declare class XDateRangeComponent extends XDateRangeProperty implements OnInit, OnChanges {
12
12
  renderer: Renderer2;
13
13
  configService: XConfigService;
14
- private elementRef;
15
14
  private cdr;
16
15
  private portalService;
17
16
  private viewContainerRef;
@@ -37,13 +36,13 @@ export declare class XDateRangeComponent extends XDateRangeProperty implements O
37
36
  valueChange: Subject<any>;
38
37
  dataChange: Subject<any>;
39
38
  positionChange: Subject<any>;
40
- closeSubject: Subject<any>;
39
+ closeSubject: Subject<void>;
41
40
  startDisplay: string | number;
42
41
  endDisplay: string | number;
43
42
  startActive: XBoolean;
44
43
  endActive: XBoolean;
45
44
  private _unSubject;
46
- constructor(renderer: Renderer2, configService: XConfigService, elementRef: ElementRef, cdr: ChangeDetectorRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, datePipe: DatePipe, overlay: Overlay);
45
+ constructor(renderer: Renderer2, configService: XConfigService, cdr: ChangeDetectorRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, datePipe: DatePipe, overlay: Overlay);
47
46
  ngOnInit(): void;
48
47
  ngAfterViewInit(): void;
49
48
  ngOnChanges(changes: SimpleChanges): void;
@@ -28,7 +28,7 @@ export declare class XPickerDateComponent extends XPickerDateProperty implements
28
28
  nextMonth(num: number): void;
29
29
  nextYear(num: number): void;
30
30
  typeOnChange(type: XDatePickerType): void;
31
- trackByNode(index: number, item: string | Date): string | Date;
31
+ trackByNode(_index: number, item: string | Date): string | Date;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<XPickerDateComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<XPickerDateComponent, "x-picker-date", never, {}, {}, never, never>;
34
34
  }
@@ -25,7 +25,7 @@ export declare class XPickerMonthComponent extends XPickerMonthProperty implemen
25
25
  setDisplay(date: Date): void;
26
26
  nextYear(num: number): void;
27
27
  typeOnChange(type: XDatePickerType): void;
28
- trackByMonth(index: number, item: Date): Date;
28
+ trackByMonth(_index: number, item: Date): Date;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<XPickerMonthComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<XPickerMonthComponent, "x-picker-month", never, {}, {}, never, never>;
31
31
  }
@@ -21,7 +21,7 @@ export declare class XPickerYearComponent extends XPickerYearProperty implements
21
21
  setDisplay(date: Date): void;
22
22
  nextYears(num: number): void;
23
23
  equalYear(one: Date, two: Date): boolean;
24
- trackByYear(index: number, item: Date): Date;
24
+ trackByYear(_index: number, item: Date): Date;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<XPickerYearComponent, never>;
26
26
  static ɵcmp: i0.ɵɵComponentDeclaration<XPickerYearComponent, "x-picker-year", never, {}, {}, never, never>;
27
27
  }
@@ -1,14 +1,12 @@
1
- import { Renderer2, ElementRef, QueryList, SimpleChanges } from '@angular/core';
1
+ import { QueryList, SimpleChanges } from '@angular/core';
2
2
  import { XDescriptionProperty } from './description.property';
3
3
  import { XConfigService } from '@ng-nest/ui/core';
4
4
  import { XDescriptionItemComponent } from './description-item.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class XDescriptionComponent extends XDescriptionProperty {
7
- private renderer;
8
- private elementRef;
9
7
  configService: XConfigService;
10
8
  items: QueryList<XDescriptionItemComponent>;
11
- constructor(renderer: Renderer2, elementRef: ElementRef, configService: XConfigService);
9
+ constructor(configService: XConfigService);
12
10
  ngOnInit(): void;
13
11
  ngOnChanges(changes: SimpleChanges): void;
14
12
  ngAfterViewInit(): void;
@@ -0,0 +1,18 @@
1
+ import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
2
+ import { ComponentRef, EmbeddedViewRef, EventEmitter } from '@angular/core';
3
+ import { XDialogAnimationEvent, XDialogAnimationState } from './dialog.property';
4
+ import { AnimationEvent } from '@angular/animations';
5
+ import * as i0 from "@angular/core";
6
+ export declare class XDialogContainerComponent extends BasePortalOutlet {
7
+ _has: boolean;
8
+ placement?: XDialogAnimationState;
9
+ done({ toState, totalTime }: AnimationEvent): void;
10
+ start({ toState, totalTime }: AnimationEvent): void;
11
+ portalOutlet: CdkPortalOutlet;
12
+ animationChanged: EventEmitter<XDialogAnimationEvent>;
13
+ constructor();
14
+ attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
15
+ attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogContainerComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<XDialogContainerComponent, "x-dialog-container", never, {}, {}, never, never>;
18
+ }
@@ -0,0 +1,24 @@
1
+ import { XDialogRef } from './dialog-ref';
2
+ import * as i0 from "@angular/core";
3
+ export declare class XDialogCloseDirective {
4
+ dialogRef: XDialogRef<any>;
5
+ onCloseClick(): void;
6
+ constructor(dialogRef: XDialogRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogCloseDirective, [{ optional: true; }]>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogCloseDirective, "[x-dialog-close]", never, {}, {}, never>;
9
+ }
10
+ export declare class XDialogTitleDirective {
11
+ _has: boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogTitleDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogTitleDirective, "[x-dialog-title]", never, {}, {}, never>;
14
+ }
15
+ export declare class XDialogContentDirective {
16
+ _has: boolean;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogContentDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogContentDirective, "[x-dialog-content], x-dialog-content", never, {}, {}, never>;
19
+ }
20
+ export declare class XDialogActionsDirective {
21
+ _has: boolean;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogActionsDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogActionsDirective, "[x-dialog-actions], x-dialog-actions", never, {}, {}, never>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import { OverlayRef } from '@angular/cdk/overlay';
2
+ import { XDialogContainerComponent } from './dialog-container.component';
3
+ export declare class XDialogRef<C> {
4
+ overlayRef: OverlayRef;
5
+ containerInstance: XDialogContainerComponent;
6
+ componentInstance: C;
7
+ constructor(overlayRef: OverlayRef, containerInstance: XDialogContainerComponent);
8
+ close(): void;
9
+ }
@@ -1,17 +1,19 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dialog.component";
3
- import * as i2 from "./dialog.property";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@angular/cdk/drag-drop";
7
- import * as i6 from "@ng-nest/ui/input";
8
- import * as i7 from "@ng-nest/ui/button";
9
- import * as i8 from "@ng-nest/ui/icon";
10
- import * as i9 from "@ng-nest/ui/portal";
11
- import * as i10 from "@ng-nest/ui/alert";
12
- import * as i11 from "@ng-nest/ui/outlet";
3
+ import * as i2 from "./dialog-container.directives";
4
+ import * as i3 from "./dialog-container.component";
5
+ import * as i4 from "./dialog.property";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@angular/cdk/drag-drop";
9
+ import * as i8 from "@ng-nest/ui/input";
10
+ import * as i9 from "@ng-nest/ui/button";
11
+ import * as i10 from "@ng-nest/ui/icon";
12
+ import * as i11 from "@ng-nest/ui/portal";
13
+ import * as i12 from "@ng-nest/ui/alert";
14
+ import * as i13 from "@ng-nest/ui/outlet";
13
15
  export declare class XDialogModule {
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<XDialogModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<XDialogModule, [typeof i1.XDialogComponent, typeof i2.XDialogProperty], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.DragDropModule, typeof i6.XInputModule, typeof i7.XButtonModule, typeof i8.XIconModule, typeof i9.XPortalModule, typeof i10.XAlertModule, typeof i11.XOutletModule], [typeof i1.XDialogComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<XDialogModule, [typeof i1.XDialogComponent, typeof i2.XDialogCloseDirective, typeof i2.XDialogTitleDirective, typeof i2.XDialogContentDirective, typeof i2.XDialogActionsDirective, typeof i3.XDialogContainerComponent, typeof i4.XDialogProperty], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.DragDropModule, typeof i8.XInputModule, typeof i9.XButtonModule, typeof i10.XIconModule, typeof i11.XPortalModule, typeof i12.XAlertModule, typeof i13.XOutletModule], [typeof i1.XDialogComponent, typeof i2.XDialogCloseDirective, typeof i2.XDialogTitleDirective, typeof i2.XDialogContentDirective, typeof i2.XDialogActionsDirective, typeof i3.XDialogContainerComponent]>;
16
18
  static ɵinj: i0.ɵɵInjectorDeclaration<XDialogModule>;
17
19
  }
@@ -1,8 +1,9 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, ViewContainerRef, InjectionToken } from '@angular/core';
2
2
  import { XStatus, XPlace, XTemplate, XEffect, XBoolean } from '@ng-nest/ui/core';
3
3
  import { XAlertProperty, XAlertOption } from '@ng-nest/ui/alert';
4
4
  import { XPortalOverlayRef } from '@ng-nest/ui/portal';
5
5
  import { XDialogComponent } from './dialog.component';
6
+ import { XDialogContainerComponent } from './dialog-container.component';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Dialog
@@ -10,7 +11,9 @@ import * as i0 from "@angular/core";
10
11
  * @decorator component
11
12
  */
12
13
  export declare const XDialogPrefix = "x-dialog";
14
+ export declare const X_DIALOG_CONFIG_NAME = "dialog";
13
15
  export declare const XDialogPortal = "x-dialog-portal";
16
+ export declare const X_DIALOG_DATA: InjectionToken<any>;
14
17
  /**
15
18
  * Dialog Property
16
19
  */
@@ -217,19 +220,94 @@ export interface XDialogOption extends XAlertOption {
217
220
  */
218
221
  beforeClose?: Function;
219
222
  }
223
+ /**
224
+ * Dialog option by service
225
+ */
226
+ export interface XDialogRefOption {
227
+ /**
228
+ * @zh_CN 展示方向
229
+ * @en_US Display direction
230
+ * @default 'center'
231
+ * @withConfig true
232
+ */
233
+ placement?: XPlace;
234
+ /**
235
+ * @zh_CN 偏移距离
236
+ * @en_US Offset distance
237
+ * @default '1rem'
238
+ * @withConfig true
239
+ */
240
+ offset?: string;
241
+ /**
242
+ * @zh_CN 宽度
243
+ * @en_US Width
244
+ * @default '32rem'
245
+ * @withConfig true
246
+ */
247
+ width?: string;
248
+ /**
249
+ * @zh_CN 高度
250
+ * @en_US Height
251
+ */
252
+ height?: string;
253
+ /**
254
+ * @zh_CN 自定义样式名
255
+ * @en_US Custom style name
256
+ */
257
+ className?: string;
258
+ /**
259
+ * @zh_CN 点击遮罩关闭
260
+ * @en_US Click the mask to close
261
+ * @default true
262
+ * @withConfig true
263
+ */
264
+ backdropClose?: boolean;
265
+ /**
266
+ * @zh_CN 是否显示背景遮罩
267
+ * @en_US Whether to display the background mask
268
+ * @default true
269
+ * @withConfig true
270
+ */
271
+ hasBackdrop?: boolean;
272
+ /**
273
+ * @zh_CN 拖动对话框
274
+ * @en_US Drag dialog
275
+ * @default false
276
+ * @withConfig true
277
+ */
278
+ draggable?: boolean;
279
+ /**
280
+ * @zh_CN 数据,通过 "@Inject(X_DIALOG_DATA)" 来接收数据
281
+ * @en_US Data. Receive data by "@Inject(X_DIALOG_DATA)"
282
+ */
283
+ data?: any;
284
+ /**
285
+ * @en_US 视图容器实例可以包含其他视图容器。
286
+ * @en_US A view container instance can contain other view containers.
287
+ */
288
+ viewContainerRef?: ViewContainerRef;
289
+ }
290
+ export declare type XDialogAnimationState = XPlace | 'void';
291
+ export interface XDialogAnimationEvent {
292
+ state: XDialogAnimationState;
293
+ action: 'start' | 'done';
294
+ totalTime: number;
295
+ }
220
296
  export interface XDialogCallback {
221
297
  (action: XDialogAction, message?: string): void;
222
298
  }
223
299
  export declare type XDialogAction = 'confirm' | 'cancel';
224
300
  /**
225
- * @zh_CN 创建的消息对象
226
- * @en_US Message object created
301
+ * @zh_CN 创建的弹框对象
302
+ * @en_US Dialog object created
227
303
  */
228
304
  export interface XDialogOverlayRef extends XPortalOverlayRef<XDialogComponent> {
229
305
  }
230
- export interface XDialogRef {
231
- ref?: XDialogOverlayRef;
232
- input?: XDialogProperty;
306
+ /**
307
+ * @zh_CN 创建的弹框对象,通过服务
308
+ * @en_US Dialog object created by service
309
+ */
310
+ export interface XDialogContainerOverlayRef extends XPortalOverlayRef<XDialogContainerComponent> {
233
311
  }
234
312
  /**
235
313
  * @zh_CN 类型
@@ -0,0 +1,19 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import { ComponentType } from '@angular/cdk/portal';
3
+ import { TemplateRef } from '@angular/core';
4
+ import { XConfigService, XDialogConfig } from '@ng-nest/ui/core';
5
+ import { XPortalService } from '@ng-nest/ui/portal';
6
+ import { XDialogRef } from './dialog-ref';
7
+ import { XDialogRefOption } from './dialog.property';
8
+ import * as i0 from "@angular/core";
9
+ export declare class XDialogService {
10
+ portalService: XPortalService;
11
+ configService: XConfigService;
12
+ overlay: Overlay;
13
+ default: XDialogRefOption;
14
+ configDefault?: XDialogConfig;
15
+ constructor(portalService: XPortalService, configService: XConfigService, overlay: Overlay);
16
+ create<T>(content: TemplateRef<any> | ComponentType<T>, option?: XDialogRefOption): XDialogRef<T>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDialogService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<XDialogService>;
19
+ }
@@ -1,3 +1,7 @@
1
1
  export * from './dialog.component';
2
+ export * from './dialog-container.component';
3
+ export * from './dialog-container.directives';
2
4
  export * from './dialog.module';
3
5
  export * from './dialog.property';
6
+ export * from './dialog.service';
7
+ export * from './dialog-ref';
@@ -0,0 +1,18 @@
1
+ import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
2
+ import { ComponentRef, EmbeddedViewRef, EventEmitter } from '@angular/core';
3
+ import { XDrawerAnimationEvent, XDrawerAnimationState } from './drawer.property';
4
+ import { AnimationEvent } from '@angular/animations';
5
+ import * as i0 from "@angular/core";
6
+ export declare class XDrawerContainerComponent extends BasePortalOutlet {
7
+ _has: boolean;
8
+ placement?: XDrawerAnimationState;
9
+ done({ toState, totalTime }: AnimationEvent): void;
10
+ start({ toState, totalTime }: AnimationEvent): void;
11
+ portalOutlet: CdkPortalOutlet;
12
+ animationChanged: EventEmitter<XDrawerAnimationEvent>;
13
+ constructor();
14
+ attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
15
+ attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerContainerComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerContainerComponent, "x-drawer-container", never, {}, {}, never, never>;
18
+ }
@@ -0,0 +1,19 @@
1
+ import { XDrawerRef } from './drawer-ref';
2
+ import * as i0 from "@angular/core";
3
+ export declare class XDrawerCloseDirective {
4
+ drawerRef: XDrawerRef<any>;
5
+ onCloseClick(): void;
6
+ constructor(drawerRef: XDrawerRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerCloseDirective, [{ optional: true; }]>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerCloseDirective, "[x-drawer-close]", never, {}, {}, never>;
9
+ }
10
+ export declare class XDrawerTitleDirective {
11
+ _has: boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerTitleDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerTitleDirective, "[x-drawer-title]", never, {}, {}, never>;
14
+ }
15
+ export declare class XDrawerContentDirective {
16
+ _has: boolean;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerContentDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerContentDirective, "[x-drawer-content], x-drawer-content", never, {}, {}, never>;
19
+ }
@@ -0,0 +1,9 @@
1
+ import { OverlayRef } from '@angular/cdk/overlay';
2
+ import { XDrawerContainerComponent } from './drawer-container.component';
3
+ export declare class XDrawerRef<C> {
4
+ overlayRef: OverlayRef;
5
+ containerInstance: XDrawerContainerComponent;
6
+ componentInstance: C;
7
+ constructor(overlayRef: OverlayRef, containerInstance: XDrawerContainerComponent);
8
+ close(): void;
9
+ }
@@ -1,12 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./drawer.component";
3
- import * as i2 from "./drawer.property";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@ng-nest/ui/outlet";
6
- import * as i5 from "@ng-nest/ui/button";
7
- import * as i6 from "@ng-nest/ui/portal";
3
+ import * as i2 from "./drawer-container.directives";
4
+ import * as i3 from "./drawer-container.component";
5
+ import * as i4 from "./drawer.property";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@ng-nest/ui/outlet";
8
+ import * as i7 from "@ng-nest/ui/button";
9
+ import * as i8 from "@ng-nest/ui/portal";
8
10
  export declare class XDrawerModule {
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<XDrawerModule, [typeof i1.XDrawerComponent, typeof i2.XDrawerProperty], [typeof i3.CommonModule, typeof i4.XOutletModule, typeof i5.XButtonModule, typeof i6.XPortalModule], [typeof i1.XDrawerComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<XDrawerModule, [typeof i1.XDrawerComponent, typeof i2.XDrawerCloseDirective, typeof i2.XDrawerTitleDirective, typeof i2.XDrawerContentDirective, typeof i3.XDrawerContainerComponent, typeof i4.XDrawerProperty], [typeof i5.CommonModule, typeof i6.XOutletModule, typeof i7.XButtonModule, typeof i8.XPortalModule], [typeof i1.XDrawerComponent, typeof i2.XDrawerCloseDirective, typeof i2.XDrawerTitleDirective, typeof i2.XDrawerContentDirective, typeof i3.XDrawerContainerComponent]>;
11
13
  static ɵinj: i0.ɵɵInjectorDeclaration<XDrawerModule>;
12
14
  }
@@ -1,5 +1,8 @@
1
1
  import { XTemplate, XPosition, XProperty, XBoolean } from '@ng-nest/ui/core';
2
- import { EventEmitter } from '@angular/core';
2
+ import { EventEmitter, InjectionToken, ViewContainerRef } from '@angular/core';
3
+ import { XPortalOverlayRef } from '@ng-nest/ui/portal';
4
+ import { XDrawerContainerComponent } from './drawer-container.component';
5
+ import { XDrawerRef } from './drawer-ref';
3
6
  import * as i0 from "@angular/core";
4
7
  /**
5
8
  * Drawer
@@ -7,6 +10,8 @@ import * as i0 from "@angular/core";
7
10
  * @decorator component
8
11
  */
9
12
  export declare const XDrawerPrefix = "x-drawer";
13
+ export declare const X_DRAWER_CONFIG_NAME = "drawer";
14
+ export declare const X_DRAWER_DATA: InjectionToken<any>;
10
15
  /**
11
16
  * Drawer Property
12
17
  */
@@ -31,6 +36,21 @@ export declare class XDrawerProperty extends XProperty {
31
36
  * @en_US Size, supports fixed value
32
37
  */
33
38
  size?: string;
39
+ /**
40
+ * @zh_CN 点击遮罩关闭
41
+ * @en_US Click the mask to close
42
+ */
43
+ backdropClose: XBoolean;
44
+ /**
45
+ * @zh_CN 是否显示背景遮罩
46
+ * @en_US Whether to display the background mask
47
+ */
48
+ hasBackdrop: XBoolean;
49
+ /**
50
+ * @zh_CN 自定义样式名
51
+ * @en_US Custom style name
52
+ */
53
+ className: string;
34
54
  /**
35
55
  * @zh_CN 关闭的事件
36
56
  * @en_US Closed event
@@ -42,5 +62,66 @@ export declare class XDrawerProperty extends XProperty {
42
62
  */
43
63
  visibleChange: EventEmitter<boolean>;
44
64
  static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerProperty, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerProperty, "ng-component", never, { "title": "title"; "visible": "visible"; "placement": "placement"; "size": "size"; }, { "close": "close"; "visibleChange": "visibleChange"; }, never, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerProperty, "ng-component", never, { "title": "title"; "visible": "visible"; "placement": "placement"; "size": "size"; "backdropClose": "backdropClose"; "hasBackdrop": "hasBackdrop"; "className": "className"; }, { "close": "close"; "visibleChange": "visibleChange"; }, never, never>;
66
+ }
67
+ /**
68
+ * Drawer Option
69
+ */
70
+ export interface XDrawerOption {
71
+ /**
72
+ * @zh_CN 展示方向
73
+ * @en_US Display direction
74
+ * @default 'right'
75
+ * @withConfig true
76
+ */
77
+ placement?: XPosition;
78
+ /**
79
+ * @zh_CN 尺寸,支持固定值
80
+ * @en_US Size, supports fixed value
81
+ * @default '30%'
82
+ * @withConfig true
83
+ */
84
+ size?: string;
85
+ /**
86
+ * @zh_CN 自定义样式名
87
+ * @en_US Custom style name
88
+ */
89
+ className?: string;
90
+ /**
91
+ * @zh_CN 点击遮罩关闭
92
+ * @en_US Click the mask to close
93
+ * @default true
94
+ * @withConfig true
95
+ */
96
+ backdropClose?: boolean;
97
+ /**
98
+ * @zh_CN 是否显示背景遮罩
99
+ * @en_US Whether to display the background mask
100
+ * @default true
101
+ * @withConfig true
102
+ */
103
+ hasBackdrop?: boolean;
104
+ /**
105
+ * @zh_CN 数据,通过 "@Inject(X_DRAWER_DATA)" 来接收数据
106
+ * @en_US Data. Receive data by "@Inject(X_DRAWER_DATA)"
107
+ */
108
+ data?: any;
109
+ /**
110
+ * @en_US 视图容器实例可以包含其他视图容器。
111
+ * @en_US A view container instance can contain other view containers.
112
+ */
113
+ viewContainerRef?: ViewContainerRef;
114
+ }
115
+ /**
116
+ * @zh_CN 创建的抽屉对象
117
+ * @en_US Drawer object created
118
+ */
119
+ export interface XDrawerOverlayRef extends XPortalOverlayRef<XDrawerContainerComponent> {
120
+ drawerRef?: XDrawerRef<any>;
121
+ }
122
+ export declare type XDrawerAnimationState = XPosition | 'void';
123
+ export interface XDrawerAnimationEvent {
124
+ state: XDrawerAnimationState;
125
+ action: 'start' | 'done';
126
+ totalTime: number;
46
127
  }
@@ -0,0 +1,19 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import { ComponentType } from '@angular/cdk/portal';
3
+ import { TemplateRef } from '@angular/core';
4
+ import { XConfigService, XDrawerConfig } from '@ng-nest/ui/core';
5
+ import { XPortalService } from '@ng-nest/ui/portal';
6
+ import { XDrawerRef } from './drawer-ref';
7
+ import { XDrawerOption } from './drawer.property';
8
+ import * as i0 from "@angular/core";
9
+ export declare class XDrawerService {
10
+ portalService: XPortalService;
11
+ configService: XConfigService;
12
+ overlay: Overlay;
13
+ default: XDrawerOption;
14
+ configDefault?: XDrawerConfig;
15
+ constructor(portalService: XPortalService, configService: XConfigService, overlay: Overlay);
16
+ create<T>(content: TemplateRef<any> | ComponentType<T>, option?: XDrawerOption): XDrawerRef<T>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<XDrawerService>;
19
+ }
@@ -1,3 +1,8 @@
1
1
  export * from './drawer.component';
2
+ export * from './drawer-container.component';
3
+ export * from './drawer-container.directives';
4
+ export * from './drawer.component';
2
5
  export * from './drawer.module';
3
6
  export * from './drawer.property';
7
+ export * from './drawer.service';
8
+ export * from './drawer-ref';
@@ -16,9 +16,7 @@ export declare class XDropdownPortalComponent implements OnDestroy {
16
16
  done(event: {
17
17
  toState: any;
18
18
  }): void;
19
- start(event: {
20
- toState: any;
21
- }): void;
19
+ start(): void;
22
20
  data: XDropdownNode[];
23
21
  trigger: XDropdownTrigger;
24
22
  close: Function;
@@ -23,9 +23,9 @@ export declare class XDropdownComponent extends XDropdownProperty implements OnC
23
23
  animating: boolean;
24
24
  outsideClick: boolean;
25
25
  minWidth: string | number;
26
- hoverDelayUnsub: Subject<unknown>;
26
+ hoverDelayUnsub: Subject<void>;
27
27
  positionChange: Subject<any>;
28
- closeSubject: Subject<any>;
28
+ closeSubject: Subject<void>;
29
29
  private _unSubject;
30
30
  constructor(renderer: Renderer2, elementRef: ElementRef, cdr: ChangeDetectorRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, overlay: Overlay, configService: XConfigService);
31
31
  ngOnInit(): void;