@yinuo-ngm/server 1.0.15 → 1.0.17

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 (349) hide show
  1. package/lib/app.js +3 -15
  2. package/lib/common/editor.js +2 -2
  3. package/lib/env.d.ts +1 -0
  4. package/lib/env.js +1 -0
  5. package/lib/plugins/error-handler.plugin.d.ts +2 -2
  6. package/lib/plugins/error-handler.plugin.js +97 -88
  7. package/lib/plugins/ws/topics/nginx.ws.js +2 -1
  8. package/lib/plugins/ws/topics/svn.ws.d.ts +2 -1
  9. package/lib/plugins/ws/topics/svn.ws.js +3 -2
  10. package/lib/plugins/ws/topics/syslog.ws.d.ts +1 -1
  11. package/lib/plugins/ws/topics/task.ws.d.ts +2 -1
  12. package/lib/plugins/ws/topics/task.ws.js +2 -1
  13. package/lib/plugins/ws/ws.context.d.ts +1 -1
  14. package/lib/plugins/ws/ws.plugin.js +4 -3
  15. package/lib/plugins/ws/ws.router.d.ts +2 -2
  16. package/lib/plugins/ws/ws.router.js +8 -7
  17. package/lib/routes/api-client/collection.routes.js +8 -6
  18. package/lib/routes/api-client/env.routes.js +4 -3
  19. package/lib/routes/api-client/history.routes.js +3 -2
  20. package/lib/routes/api-client/hub-token.routes.js +32 -10
  21. package/lib/routes/api-client/request.routes.js +7 -6
  22. package/lib/routes/api-client/send.routes.js +3 -2
  23. package/lib/routes/config.routes.js +5 -5
  24. package/lib/routes/hub.routes.js +10 -10
  25. package/lib/routes/index.js +2 -0
  26. package/lib/routes/nginx/nginx-lifecycle.routes.js +4 -0
  27. package/lib/routes/nginx/nginx-route.context.js +23 -7
  28. package/lib/routes/nginx/nginx-server.routes.js +158 -6
  29. package/lib/routes/node-version.routes.d.ts +2 -0
  30. package/lib/routes/node-version.routes.js +56 -0
  31. package/lib/routes/project.routes.js +14 -9
  32. package/lib/routes/rss.routes.js +3 -3
  33. package/lib/routes/sprite-browse.routes.js +21 -6
  34. package/lib/routes/sprite.routes.js +18 -12
  35. package/lib/routes/static-files.routes.js +21 -5
  36. package/lib/routes/svn.routes.js +5 -3
  37. package/lib/routes/system.routes.js +20 -1
  38. package/lib/routes/task.routes.js +10 -3
  39. package/package.json +13 -6
  40. package/www/3rdpartylicenses.txt +66 -118
  41. package/www/browser/chunk-2L7NUOMX.js +2 -0
  42. package/www/browser/chunk-2NZJ7CN2.js +20 -0
  43. package/www/browser/chunk-3CM4SKDO.js +15 -0
  44. package/www/browser/chunk-3I7BQCXS.js +1 -0
  45. package/www/browser/chunk-3M56F2S2.js +1 -0
  46. package/www/browser/chunk-3OHBKMAA.js +1 -0
  47. package/www/browser/chunk-3XNNQFWR.js +1 -0
  48. package/www/browser/chunk-4BRW6LCZ.js +4 -0
  49. package/www/browser/chunk-4LBSLURA.js +1 -0
  50. package/www/browser/chunk-4X42HB6N.js +2 -0
  51. package/www/browser/chunk-5DYX4DUX.js +11 -0
  52. package/www/browser/chunk-6SYVDN5L.js +1 -0
  53. package/www/browser/chunk-6YYNHZ2A.js +1 -0
  54. package/www/browser/chunk-75W3GVSO.js +1 -0
  55. package/www/browser/chunk-7U44RF5F.js +63 -0
  56. package/www/browser/chunk-AELTP6YN.js +1 -0
  57. package/www/browser/chunk-AMXRL4GR.js +1 -0
  58. package/www/browser/chunk-AV2ZODEH.js +1 -0
  59. package/www/browser/chunk-AZ6SIMYH.js +1 -0
  60. package/www/browser/chunk-B3C35ET3.js +2 -0
  61. package/www/browser/chunk-BTQIUVTQ.js +1 -0
  62. package/www/browser/chunk-CN5J4WNO.js +1 -0
  63. package/www/browser/chunk-D2ODDESN.js +1 -0
  64. package/www/browser/chunk-DE6E23ET.js +1 -0
  65. package/www/browser/chunk-DIJPUYIA.js +1 -0
  66. package/www/browser/chunk-DLGJD6YU.js +4 -0
  67. package/www/browser/chunk-EEDA5U4V.js +1 -0
  68. package/www/browser/chunk-FK6Z4HLL.js +1 -0
  69. package/www/browser/chunk-FL6GDGHW.js +1 -0
  70. package/www/browser/chunk-FXCG34QS.js +1 -0
  71. package/www/browser/chunk-H2USFIYR.js +1 -0
  72. package/www/browser/chunk-H5HGMOE6.js +1 -0
  73. package/www/browser/chunk-HB3HECPD.js +1 -0
  74. package/www/browser/chunk-HDNG236Q.js +1 -0
  75. package/www/browser/chunk-HFZLJHYR.js +1 -0
  76. package/www/browser/chunk-HJTXXSMC.js +1 -0
  77. package/www/browser/chunk-HUMCWAKJ.js +3 -0
  78. package/www/browser/chunk-IKB3EQCP.js +2 -0
  79. package/www/browser/chunk-K7PESFPY.js +1 -0
  80. package/www/browser/chunk-KRYMOHYF.js +2 -0
  81. package/www/browser/chunk-M4QRBV3K.js +1 -0
  82. package/www/browser/chunk-N2PELLMM.js +30 -0
  83. package/www/browser/chunk-ONXBYGIG.js +1 -0
  84. package/www/browser/chunk-OSBDR36P.js +1 -0
  85. package/www/browser/chunk-OZCK4XVV.js +1 -0
  86. package/www/browser/chunk-QJP5F735.js +1 -0
  87. package/www/browser/chunk-RGOYDY7H.js +1 -0
  88. package/www/browser/chunk-UJKK4A7Y.js +1 -0
  89. package/www/browser/chunk-WD2EKZQC.js +1 -0
  90. package/www/browser/chunk-WUA5JFDD.js +1 -0
  91. package/www/browser/chunk-XLFHB7RS.js +3 -0
  92. package/www/browser/chunk-YNW4HEJO.js +37 -0
  93. package/www/browser/chunk-ZTDLWBW5.js +1 -0
  94. package/www/browser/dark.css +1 -30433
  95. package/www/browser/default.css +1 -30149
  96. package/www/browser/index.html +3 -3
  97. package/www/browser/main-N64WJCHX.js +34 -0
  98. package/www/browser/scripts-U25HCVEI.js +6 -0
  99. package/www/browser/styles-ROAHD7MY.css +1 -0
  100. package/www/browser/add-widget-drawer.component.css.map +0 -7
  101. package/www/browser/advanced-editor.component.css.map +0 -7
  102. package/www/browser/api-client.component.css.map +0 -7
  103. package/www/browser/api-history-drawer.component.css.map +0 -7
  104. package/www/browser/app.css.map +0 -7
  105. package/www/browser/attachment-viewer.component.css.map +0 -7
  106. package/www/browser/auth-editor.component.css.map +0 -7
  107. package/www/browser/body-editor.component.css.map +0 -7
  108. package/www/browser/chunk-2YSUXBGC.js +0 -627
  109. package/www/browser/chunk-2YSUXBGC.js.map +0 -1
  110. package/www/browser/chunk-3G2GEOPV.js +0 -456
  111. package/www/browser/chunk-3G2GEOPV.js.map +0 -1
  112. package/www/browser/chunk-3L72DF3R.js +0 -1683
  113. package/www/browser/chunk-3L72DF3R.js.map +0 -1
  114. package/www/browser/chunk-3MCIETCQ.js +0 -8279
  115. package/www/browser/chunk-3MCIETCQ.js.map +0 -1
  116. package/www/browser/chunk-665WC4RU.js +0 -5383
  117. package/www/browser/chunk-665WC4RU.js.map +0 -1
  118. package/www/browser/chunk-6QMSEZPT.js +0 -10044
  119. package/www/browser/chunk-6QMSEZPT.js.map +0 -1
  120. package/www/browser/chunk-6TBQERYX.js +0 -280
  121. package/www/browser/chunk-6TBQERYX.js.map +0 -1
  122. package/www/browser/chunk-6UW4MRJZ.js +0 -43
  123. package/www/browser/chunk-6UW4MRJZ.js.map +0 -7
  124. package/www/browser/chunk-6XUMIL3W.js +0 -5495
  125. package/www/browser/chunk-6XUMIL3W.js.map +0 -1
  126. package/www/browser/chunk-724YOJI3.js +0 -903
  127. package/www/browser/chunk-724YOJI3.js.map +0 -1
  128. package/www/browser/chunk-766T7YES.js +0 -437
  129. package/www/browser/chunk-766T7YES.js.map +0 -1
  130. package/www/browser/chunk-7FC7DN65.js +0 -728
  131. package/www/browser/chunk-7FC7DN65.js.map +0 -1
  132. package/www/browser/chunk-APGQRYWX.js +0 -156
  133. package/www/browser/chunk-APGQRYWX.js.map +0 -7
  134. package/www/browser/chunk-AQHSGTHS.js +0 -1960
  135. package/www/browser/chunk-AQHSGTHS.js.map +0 -1
  136. package/www/browser/chunk-CTOEAJQK.js +0 -40
  137. package/www/browser/chunk-CTOEAJQK.js.map +0 -7
  138. package/www/browser/chunk-DEGQJKKZ.js +0 -409
  139. package/www/browser/chunk-DEGQJKKZ.js.map +0 -1
  140. package/www/browser/chunk-DIJX2663.js +0 -1166
  141. package/www/browser/chunk-DIJX2663.js.map +0 -1
  142. package/www/browser/chunk-E4XD4GLT.js +0 -427
  143. package/www/browser/chunk-E4XD4GLT.js.map +0 -1
  144. package/www/browser/chunk-EQOY6A3M.js +0 -212
  145. package/www/browser/chunk-EQOY6A3M.js.map +0 -1
  146. package/www/browser/chunk-ETTBRXVA.js +0 -2643
  147. package/www/browser/chunk-ETTBRXVA.js.map +0 -1
  148. package/www/browser/chunk-FLSUSPBD.js +0 -5569
  149. package/www/browser/chunk-FLSUSPBD.js.map +0 -1
  150. package/www/browser/chunk-FZNHBEAZ.js +0 -102
  151. package/www/browser/chunk-FZNHBEAZ.js.map +0 -1
  152. package/www/browser/chunk-GJC7CZIJ.js +0 -361
  153. package/www/browser/chunk-GJC7CZIJ.js.map +0 -7
  154. package/www/browser/chunk-GMCNMOTD.js +0 -844
  155. package/www/browser/chunk-GMCNMOTD.js.map +0 -7
  156. package/www/browser/chunk-H43HGCRW.js +0 -198
  157. package/www/browser/chunk-H43HGCRW.js.map +0 -7
  158. package/www/browser/chunk-J447GBHM.js +0 -160
  159. package/www/browser/chunk-J447GBHM.js.map +0 -1
  160. package/www/browser/chunk-JN3VOWP7.js +0 -384
  161. package/www/browser/chunk-JN3VOWP7.js.map +0 -1
  162. package/www/browser/chunk-KSHAGY2M.js +0 -399
  163. package/www/browser/chunk-KSHAGY2M.js.map +0 -7
  164. package/www/browser/chunk-KV72AKOD.js +0 -59
  165. package/www/browser/chunk-KV72AKOD.js.map +0 -7
  166. package/www/browser/chunk-LAVMY2SJ.js +0 -26
  167. package/www/browser/chunk-LAVMY2SJ.js.map +0 -7
  168. package/www/browser/chunk-LLRVGHG5.js +0 -73
  169. package/www/browser/chunk-LLRVGHG5.js.map +0 -7
  170. package/www/browser/chunk-LPME4AJ3.js +0 -196
  171. package/www/browser/chunk-LPME4AJ3.js.map +0 -1
  172. package/www/browser/chunk-LVPSURVU.js +0 -4615
  173. package/www/browser/chunk-LVPSURVU.js.map +0 -1
  174. package/www/browser/chunk-MMPO7QLO.js +0 -4146
  175. package/www/browser/chunk-MMPO7QLO.js.map +0 -7
  176. package/www/browser/chunk-O7LB6VFM.js +0 -1953
  177. package/www/browser/chunk-O7LB6VFM.js.map +0 -1
  178. package/www/browser/chunk-P5CWA4FO.js +0 -685
  179. package/www/browser/chunk-P5CWA4FO.js.map +0 -1
  180. package/www/browser/chunk-RBWIWNTL.js +0 -203
  181. package/www/browser/chunk-RBWIWNTL.js.map +0 -7
  182. package/www/browser/chunk-RUXJCM3V.js +0 -26199
  183. package/www/browser/chunk-RUXJCM3V.js.map +0 -1
  184. package/www/browser/chunk-S77VVYUZ.js +0 -168
  185. package/www/browser/chunk-S77VVYUZ.js.map +0 -1
  186. package/www/browser/chunk-SCXPYFOB.js +0 -4316
  187. package/www/browser/chunk-SCXPYFOB.js.map +0 -1
  188. package/www/browser/chunk-SS73S33S.js +0 -471
  189. package/www/browser/chunk-SS73S33S.js.map +0 -7
  190. package/www/browser/chunk-T6UAOWNP.js +0 -600
  191. package/www/browser/chunk-T6UAOWNP.js.map +0 -1
  192. package/www/browser/chunk-TEW4MY4J.js +0 -148
  193. package/www/browser/chunk-TEW4MY4J.js.map +0 -7
  194. package/www/browser/chunk-TVORF3SF.js +0 -82
  195. package/www/browser/chunk-TVORF3SF.js.map +0 -7
  196. package/www/browser/chunk-UAN42EUZ.js +0 -2147
  197. package/www/browser/chunk-UAN42EUZ.js.map +0 -1
  198. package/www/browser/chunk-ULOHDK7Y.js +0 -1
  199. package/www/browser/chunk-ULOHDK7Y.js.map +0 -7
  200. package/www/browser/chunk-UYJ3FVRV.js +0 -3978
  201. package/www/browser/chunk-UYJ3FVRV.js.map +0 -1
  202. package/www/browser/chunk-VXHZMSDM.js +0 -5509
  203. package/www/browser/chunk-VXHZMSDM.js.map +0 -1
  204. package/www/browser/chunk-VYNQPZQO.js +0 -281
  205. package/www/browser/chunk-VYNQPZQO.js.map +0 -1
  206. package/www/browser/chunk-W3J23PZI.js +0 -9213
  207. package/www/browser/chunk-W3J23PZI.js.map +0 -1
  208. package/www/browser/chunk-W5HGHCQT.js +0 -1642
  209. package/www/browser/chunk-W5HGHCQT.js.map +0 -7
  210. package/www/browser/chunk-XF5H7E4L.js +0 -4723
  211. package/www/browser/chunk-XF5H7E4L.js.map +0 -1
  212. package/www/browser/chunk-XNFNEBMY.js +0 -398
  213. package/www/browser/chunk-XNFNEBMY.js.map +0 -7
  214. package/www/browser/chunk-XQY5SPGI.js +0 -30811
  215. package/www/browser/chunk-XQY5SPGI.js.map +0 -1
  216. package/www/browser/chunk-Y7JBZHNK.js +0 -514
  217. package/www/browser/chunk-Y7JBZHNK.js.map +0 -1
  218. package/www/browser/chunk-YWHRP4X3.js +0 -406
  219. package/www/browser/chunk-YWHRP4X3.js.map +0 -1
  220. package/www/browser/chunk-Z7FJIV62.js +0 -95
  221. package/www/browser/chunk-Z7FJIV62.js.map +0 -7
  222. package/www/browser/chunk-ZBZHXS46.js +0 -1674
  223. package/www/browser/chunk-ZBZHXS46.js.map +0 -1
  224. package/www/browser/chunk-ZZA5NVAI.js +0 -735
  225. package/www/browser/chunk-ZZA5NVAI.js.map +0 -1
  226. package/www/browser/collection-modal.component.css.map +0 -7
  227. package/www/browser/collection-tree-item.component.css.map +0 -7
  228. package/www/browser/collection-tree.component.css.map +0 -7
  229. package/www/browser/config-change-bar-component.css.map +0 -7
  230. package/www/browser/config-item-component.css.map +0 -7
  231. package/www/browser/config-nav-component.css.map +0 -7
  232. package/www/browser/config-section-component.css.map +0 -7
  233. package/www/browser/create-summary-aside.component.css.map +0 -7
  234. package/www/browser/curl-actions.component.css.map +0 -7
  235. package/www/browser/dark.css.map +0 -7
  236. package/www/browser/dashboard-canvas.component.css.map +0 -7
  237. package/www/browser/dashboard.component.css.map +0 -7
  238. package/www/browser/default.css.map +0 -7
  239. package/www/browser/detail-item-card.component.css.map +0 -7
  240. package/www/browser/ellipsis-text.component.css.map +0 -7
  241. package/www/browser/env-modal.component.css.map +0 -7
  242. package/www/browser/env-picker.component.css.map +0 -7
  243. package/www/browser/feedback.component.css.map +0 -7
  244. package/www/browser/fs-explorer.component.css.map +0 -7
  245. package/www/browser/git-import-modal.component.css.map +0 -7
  246. package/www/browser/hub-v2-personal-token-modal.component.css.map +0 -7
  247. package/www/browser/issue-action-area.component.css.map +0 -7
  248. package/www/browser/issue-add-participants-dialog.component.css.map +0 -7
  249. package/www/browser/issue-assign-dialog.component.css.map +0 -7
  250. package/www/browser/issue-attachment-area.component.css.map +0 -7
  251. package/www/browser/issue-base-info-area.component.css.map +0 -7
  252. package/www/browser/issue-branches.component.css.map +0 -7
  253. package/www/browser/issue-close-dialog.component.css.map +0 -7
  254. package/www/browser/issue-collaborators-panel.component.css.map +0 -7
  255. package/www/browser/issue-comment-editor.component.css.map +0 -7
  256. package/www/browser/issue-create-branch-dialog.component.css.map +0 -7
  257. package/www/browser/issue-description-area.component.css.map +0 -7
  258. package/www/browser/issue-detail.component.css.map +0 -7
  259. package/www/browser/issue-resolve-dialog.component.css.map +0 -7
  260. package/www/browser/issue-start-own-branch-dialog.component.css.map +0 -7
  261. package/www/browser/issues-list-table.component.css.map +0 -7
  262. package/www/browser/issues.component.css.map +0 -7
  263. package/www/browser/kill-port-widget.component.css.map +0 -7
  264. package/www/browser/kv-table.component.css.map +0 -7
  265. package/www/browser/layout-footer.component.css.map +0 -7
  266. package/www/browser/layout-header.component.css.map +0 -7
  267. package/www/browser/layout-menu.component.css.map +0 -7
  268. package/www/browser/layout-project-nav.component.css.map +0 -7
  269. package/www/browser/layout-sidebar.component.css.map +0 -7
  270. package/www/browser/layout.component.css.map +0 -7
  271. package/www/browser/less-viewport-component.css.map +0 -7
  272. package/www/browser/main.js +0 -1872
  273. package/www/browser/main.js.map +0 -1
  274. package/www/browser/markdown-viewer.component.css.map +0 -7
  275. package/www/browser/news-feed-widget.component.css.map +0 -7
  276. package/www/browser/ng-devtool.component.css.map +0 -7
  277. package/www/browser/nginx-config-editor.component.css.map +0 -7
  278. package/www/browser/nginx-log-viewer.component.css.map +0 -7
  279. package/www/browser/nginx-secondary-logs-tab.component.css.map +0 -7
  280. package/www/browser/nginx-secondary-perf-tab.component.css.map +0 -7
  281. package/www/browser/nginx-secondary-settings-tab.component.css.map +0 -7
  282. package/www/browser/nginx-secondary-ssl-tab.component.css.map +0 -7
  283. package/www/browser/nginx-secondary-test-tab.component.css.map +0 -7
  284. package/www/browser/nginx-secondary-traffic-tab.component.css.map +0 -7
  285. package/www/browser/nginx-secondary-upstream-tab.component.css.map +0 -7
  286. package/www/browser/nginx-section-card.component.css.map +0 -7
  287. package/www/browser/nginx-server-drawer.component.css.map +0 -7
  288. package/www/browser/nginx-server-list.component.css.map +0 -7
  289. package/www/browser/nginx-stat-card.component.css.map +0 -7
  290. package/www/browser/nginx.component.css.map +0 -7
  291. package/www/browser/page-layout.component.css.map +0 -7
  292. package/www/browser/pick-workspace-modal.component.css.map +0 -7
  293. package/www/browser/polyfills.js +0 -26584
  294. package/www/browser/polyfills.js.map +0 -7
  295. package/www/browser/project-conf.component.css.map +0 -7
  296. package/www/browser/project-create-modal.component.css.map +0 -7
  297. package/www/browser/project-create.component.css.map +0 -7
  298. package/www/browser/project-deps.component.css.map +0 -7
  299. package/www/browser/project-edit-modal.component.css.map +0 -7
  300. package/www/browser/project-import.component.css.map +0 -7
  301. package/www/browser/project-item-popover.component.css.map +0 -7
  302. package/www/browser/project-item.component.css.map +0 -7
  303. package/www/browser/project-list.component.css.map +0 -7
  304. package/www/browser/projects.component.css.map +0 -7
  305. package/www/browser/quick-task-widget.component.css.map +0 -7
  306. package/www/browser/rd-action-area.component.css.map +0 -7
  307. package/www/browser/rd-advance-stage-dialog.component.css.map +0 -7
  308. package/www/browser/rd-block-dialog.component.css.map +0 -7
  309. package/www/browser/rd-create-dialog.component.css.map +0 -7
  310. package/www/browser/rd-detail.component.css.map +0 -7
  311. package/www/browser/rd-item-card.component.css.map +0 -7
  312. package/www/browser/rd-list-board.component.css.map +0 -7
  313. package/www/browser/rd-list-table.component.css.map +0 -7
  314. package/www/browser/rd.component.css.map +0 -7
  315. package/www/browser/request-collections.component.css.map +0 -7
  316. package/www/browser/request-editor.component.css.map +0 -7
  317. package/www/browser/request-list-item.component.css.map +0 -7
  318. package/www/browser/request-list.component.css.map +0 -7
  319. package/www/browser/request-tabs-bar.component.css.map +0 -7
  320. package/www/browser/request-tabs.component.css.map +0 -7
  321. package/www/browser/request-urlbar.component.css.map +0 -7
  322. package/www/browser/response-viewer.component.css.map +0 -7
  323. package/www/browser/scripts.js +0 -245
  324. package/www/browser/scripts.js.map +0 -7
  325. package/www/browser/setting.component.css.map +0 -7
  326. package/www/browser/sprite-conf-modal.component.css.map +0 -7
  327. package/www/browser/sprite-icons-panel-component.css.map +0 -7
  328. package/www/browser/sprite-images-panel-component.css.map +0 -7
  329. package/www/browser/sprite-result-tabs.component.css.map +0 -7
  330. package/www/browser/sprite-viewport-component.css.map +0 -7
  331. package/www/browser/sprite.component.css.map +0 -7
  332. package/www/browser/step-advance.component.css.map +0 -7
  333. package/www/browser/step-basic.component.css.map +0 -7
  334. package/www/browser/step-config.component.css.map +0 -7
  335. package/www/browser/step-features.component.css.map +0 -7
  336. package/www/browser/step-preset.component.css.map +0 -7
  337. package/www/browser/step-summary-aside.component.css.map +0 -7
  338. package/www/browser/styles.css +0 -258
  339. package/www/browser/styles.css.map +0 -7
  340. package/www/browser/system-log.component.css.map +0 -7
  341. package/www/browser/task-actions.component.css.map +0 -7
  342. package/www/browser/task-console.component.css.map +0 -7
  343. package/www/browser/task-header.component.css.map +0 -7
  344. package/www/browser/task-list.component.css.map +0 -7
  345. package/www/browser/tasks.component.css.map +0 -7
  346. package/www/browser/terminal-view.component.css.map +0 -7
  347. package/www/browser/welcome-widget.component.css.map +0 -7
  348. package/www/browser/widget-base.component.css.map +0 -7
  349. package/www/browser/widget-host.component.css.map +0 -7
@@ -1,384 +0,0 @@
1
- import {
2
- Directionality,
3
- FocusMonitor,
4
- NG_VALUE_ACCESSOR,
5
- NzFormStatusService,
6
- fromEventOutsideAngular,
7
- takeUntilDestroyed
8
- } from "./chunk-RUXJCM3V.js";
9
- import {
10
- ChangeDetectionStrategy,
11
- ChangeDetectorRef,
12
- Component,
13
- DestroyRef,
14
- ElementRef,
15
- FactoryTarget,
16
- Injectable,
17
- Input,
18
- NgModule,
19
- NgZone,
20
- ReplaySubject,
21
- Subject,
22
- ViewChild,
23
- ViewEncapsulation,
24
- booleanAttribute,
25
- core_exports,
26
- forwardRef,
27
- inject,
28
- ɵɵngDeclareClassMetadata,
29
- ɵɵngDeclareComponent,
30
- ɵɵngDeclareFactory,
31
- ɵɵngDeclareInjectable,
32
- ɵɵngDeclareInjector,
33
- ɵɵngDeclareNgModule
34
- } from "./chunk-XQY5SPGI.js";
35
-
36
- // node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-radio.mjs
37
- var NzRadioService = class _NzRadioService {
38
- selected$ = new ReplaySubject(1);
39
- touched$ = new Subject();
40
- disabled$ = new ReplaySubject(1);
41
- name$ = new ReplaySubject(1);
42
- touch() {
43
- this.touched$.next();
44
- }
45
- select(value) {
46
- this.selected$.next(value);
47
- }
48
- setDisabled(value) {
49
- this.disabled$.next(value);
50
- }
51
- setName(value) {
52
- this.name$.next(value);
53
- }
54
- static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioService, deps: [], target: FactoryTarget.Injectable });
55
- static \u0275prov = \u0275\u0275ngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioService });
56
- };
57
- \u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzRadioService, decorators: [{
58
- type: Injectable
59
- }] });
60
- var NzRadioGroupComponent = class _NzRadioGroupComponent {
61
- cdr = inject(ChangeDetectorRef);
62
- nzRadioService = inject(NzRadioService);
63
- directionality = inject(Directionality);
64
- destroyRef = inject(DestroyRef);
65
- value = null;
66
- isNzDisableFirstChange = true;
67
- onChange = () => {
68
- };
69
- onTouched = () => {
70
- };
71
- nzDisabled = false;
72
- nzButtonStyle = "outline";
73
- nzSize = "default";
74
- nzName = null;
75
- dir = "ltr";
76
- ngOnInit() {
77
- this.nzRadioService.selected$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((value) => {
78
- if (this.value !== value) {
79
- this.value = value;
80
- this.onChange(this.value);
81
- }
82
- });
83
- this.nzRadioService.touched$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
84
- Promise.resolve().then(() => this.onTouched());
85
- });
86
- this.directionality.change?.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((direction) => {
87
- this.dir = direction;
88
- this.cdr.detectChanges();
89
- });
90
- this.dir = this.directionality.value;
91
- }
92
- ngOnChanges(changes) {
93
- const { nzDisabled, nzName } = changes;
94
- if (nzDisabled) {
95
- this.nzRadioService.setDisabled(this.nzDisabled);
96
- }
97
- if (nzName) {
98
- this.nzRadioService.setName(this.nzName);
99
- }
100
- }
101
- writeValue(value) {
102
- this.value = value;
103
- this.nzRadioService.select(value);
104
- this.cdr.markForCheck();
105
- }
106
- registerOnChange(fn) {
107
- this.onChange = fn;
108
- }
109
- registerOnTouched(fn) {
110
- this.onTouched = fn;
111
- }
112
- setDisabledState(isDisabled) {
113
- this.nzDisabled = this.isNzDisableFirstChange && this.nzDisabled || isDisabled;
114
- this.isNzDisableFirstChange = false;
115
- this.nzRadioService.setDisabled(this.nzDisabled);
116
- this.cdr.markForCheck();
117
- }
118
- static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioGroupComponent, deps: [], target: FactoryTarget.Component });
119
- static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "16.1.0", version: "20.3.0", type: _NzRadioGroupComponent, isStandalone: true, selector: "nz-radio-group", inputs: { nzDisabled: ["nzDisabled", "nzDisabled", booleanAttribute], nzButtonStyle: "nzButtonStyle", nzSize: "nzSize", nzName: "nzName" }, host: { properties: { "class.ant-radio-group-large": "nzSize === 'large'", "class.ant-radio-group-small": "nzSize === 'small'", "class.ant-radio-group-solid": "nzButtonStyle === 'solid'", "class.ant-radio-group-rtl": "dir === 'rtl'" }, classAttribute: "ant-radio-group" }, providers: [
120
- NzRadioService,
121
- {
122
- provide: NG_VALUE_ACCESSOR,
123
- useExisting: forwardRef(() => _NzRadioGroupComponent),
124
- multi: true
125
- }
126
- ], exportAs: ["nzRadioGroup"], usesOnChanges: true, ngImport: core_exports, template: `<ng-content></ng-content>`, isInline: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None });
127
- };
128
- \u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzRadioGroupComponent, decorators: [{
129
- type: Component,
130
- args: [{
131
- selector: "nz-radio-group",
132
- exportAs: "nzRadioGroup",
133
- template: `<ng-content></ng-content>`,
134
- encapsulation: ViewEncapsulation.None,
135
- changeDetection: ChangeDetectionStrategy.OnPush,
136
- providers: [
137
- NzRadioService,
138
- {
139
- provide: NG_VALUE_ACCESSOR,
140
- useExisting: forwardRef(() => NzRadioGroupComponent),
141
- multi: true
142
- }
143
- ],
144
- host: {
145
- class: "ant-radio-group",
146
- "[class.ant-radio-group-large]": `nzSize === 'large'`,
147
- "[class.ant-radio-group-small]": `nzSize === 'small'`,
148
- "[class.ant-radio-group-solid]": `nzButtonStyle === 'solid'`,
149
- "[class.ant-radio-group-rtl]": `dir === 'rtl'`
150
- }
151
- }]
152
- }], propDecorators: { nzDisabled: [{
153
- type: Input,
154
- args: [{ transform: booleanAttribute }]
155
- }], nzButtonStyle: [{
156
- type: Input
157
- }], nzSize: [{
158
- type: Input
159
- }], nzName: [{
160
- type: Input
161
- }] } });
162
- var NzRadioComponent = class _NzRadioComponent {
163
- directionality = inject(Directionality);
164
- nzRadioService = inject(NzRadioService, { optional: true });
165
- ngZone = inject(NgZone);
166
- elementRef = inject(ElementRef);
167
- cdr = inject(ChangeDetectorRef);
168
- focusMonitor = inject(FocusMonitor);
169
- destroyRef = inject(DestroyRef);
170
- nzFormStatusService = inject(NzFormStatusService, { optional: true });
171
- isNgModel = false;
172
- isNzDisableFirstChange = true;
173
- isChecked = false;
174
- name = null;
175
- onChange = () => {
176
- };
177
- onTouched = () => {
178
- };
179
- inputElement;
180
- nzValue = null;
181
- nzDisabled = false;
182
- nzAutoFocus = false;
183
- isRadioButton = false;
184
- dir = "ltr";
185
- focus() {
186
- this.focusMonitor.focusVia(this.inputElement, "keyboard");
187
- }
188
- blur() {
189
- this.inputElement.nativeElement.blur();
190
- }
191
- constructor() {
192
- this.destroyRef.onDestroy(() => {
193
- this.focusMonitor.stopMonitoring(this.elementRef);
194
- });
195
- }
196
- setDisabledState(disabled) {
197
- this.nzDisabled = this.isNzDisableFirstChange && this.nzDisabled || disabled;
198
- this.isNzDisableFirstChange = false;
199
- this.cdr.markForCheck();
200
- }
201
- writeValue(value) {
202
- this.isChecked = value;
203
- this.cdr.markForCheck();
204
- }
205
- registerOnChange(fn) {
206
- this.isNgModel = true;
207
- this.onChange = fn;
208
- }
209
- registerOnTouched(fn) {
210
- this.onTouched = fn;
211
- }
212
- ngOnInit() {
213
- if (this.nzRadioService) {
214
- this.nzRadioService.name$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((name) => {
215
- this.name = name;
216
- this.cdr.markForCheck();
217
- });
218
- this.nzRadioService.disabled$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((disabled) => {
219
- this.nzDisabled = this.isNzDisableFirstChange && this.nzDisabled || disabled;
220
- this.isNzDisableFirstChange = false;
221
- this.cdr.markForCheck();
222
- });
223
- this.nzRadioService.selected$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((value) => {
224
- const isChecked = this.isChecked;
225
- this.isChecked = this.nzValue === value;
226
- if (this.isNgModel && isChecked !== this.isChecked && // We're only intereted if `isChecked` has been changed to `false` value to emit `false` to the ascendant form,
227
- // since we already emit `true` within the `setupClickListener`.
228
- this.isChecked === false) {
229
- this.onChange(false);
230
- }
231
- this.cdr.markForCheck();
232
- });
233
- }
234
- this.focusMonitor.monitor(this.elementRef, true).pipe(takeUntilDestroyed(this.destroyRef)).subscribe((focusOrigin) => {
235
- if (!focusOrigin) {
236
- Promise.resolve().then(() => this.onTouched());
237
- if (this.nzRadioService) {
238
- this.nzRadioService.touch();
239
- }
240
- }
241
- });
242
- this.directionality.change.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((direction) => {
243
- this.dir = direction;
244
- this.cdr.detectChanges();
245
- });
246
- this.dir = this.directionality.value;
247
- this.setupClickListener();
248
- }
249
- ngAfterViewInit() {
250
- if (this.nzAutoFocus) {
251
- this.focus();
252
- }
253
- }
254
- setupClickListener() {
255
- fromEventOutsideAngular(this.elementRef.nativeElement, "click").pipe(takeUntilDestroyed(this.destroyRef)).subscribe((event) => {
256
- event.stopPropagation();
257
- event.preventDefault();
258
- if (this.nzDisabled || this.isChecked) {
259
- return;
260
- }
261
- this.ngZone.run(() => {
262
- this.focus();
263
- this.nzRadioService?.select(this.nzValue);
264
- if (this.isNgModel) {
265
- this.isChecked = true;
266
- this.onChange(true);
267
- }
268
- this.cdr.markForCheck();
269
- });
270
- });
271
- }
272
- static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioComponent, deps: [], target: FactoryTarget.Component });
273
- static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "16.1.0", version: "20.3.0", type: _NzRadioComponent, isStandalone: true, selector: "[nz-radio],[nz-radio-button]", inputs: { nzValue: "nzValue", nzDisabled: ["nzDisabled", "nzDisabled", booleanAttribute], nzAutoFocus: ["nzAutoFocus", "nzAutoFocus", booleanAttribute], isRadioButton: ["nz-radio-button", "isRadioButton", booleanAttribute] }, host: { properties: { "class.ant-radio-wrapper-in-form-item": "!!nzFormStatusService", "class.ant-radio-wrapper": "!isRadioButton", "class.ant-radio-button-wrapper": "isRadioButton", "class.ant-radio-wrapper-checked": "isChecked && !isRadioButton", "class.ant-radio-button-wrapper-checked": "isChecked && isRadioButton", "class.ant-radio-wrapper-disabled": "nzDisabled && !isRadioButton", "class.ant-radio-button-wrapper-disabled": "nzDisabled && isRadioButton", "class.ant-radio-wrapper-rtl": "!isRadioButton && dir === 'rtl'", "class.ant-radio-button-wrapper-rtl": "isRadioButton && dir === 'rtl'" } }, providers: [
274
- {
275
- provide: NG_VALUE_ACCESSOR,
276
- useExisting: forwardRef(() => _NzRadioComponent),
277
- multi: true
278
- }
279
- ], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, static: true }], exportAs: ["nzRadio"], ngImport: core_exports, template: `
280
- <span
281
- [class.ant-radio]="!isRadioButton"
282
- [class.ant-radio-checked]="isChecked && !isRadioButton"
283
- [class.ant-radio-disabled]="nzDisabled && !isRadioButton"
284
- [class.ant-radio-button]="isRadioButton"
285
- [class.ant-radio-button-checked]="isChecked && isRadioButton"
286
- [class.ant-radio-button-disabled]="nzDisabled && isRadioButton"
287
- >
288
- <input
289
- #inputElement
290
- type="radio"
291
- [attr.autofocus]="nzAutoFocus ? 'autofocus' : null"
292
- [class.ant-radio-input]="!isRadioButton"
293
- [class.ant-radio-button-input]="isRadioButton"
294
- [disabled]="nzDisabled"
295
- [checked]="isChecked"
296
- [attr.name]="name"
297
- />
298
- <span [class.ant-radio-inner]="!isRadioButton" [class.ant-radio-button-inner]="isRadioButton"></span>
299
- </span>
300
- <span><ng-content></ng-content></span>
301
- `, isInline: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None });
302
- };
303
- \u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzRadioComponent, decorators: [{
304
- type: Component,
305
- args: [{
306
- selector: "[nz-radio],[nz-radio-button]",
307
- exportAs: "nzRadio",
308
- template: `
309
- <span
310
- [class.ant-radio]="!isRadioButton"
311
- [class.ant-radio-checked]="isChecked && !isRadioButton"
312
- [class.ant-radio-disabled]="nzDisabled && !isRadioButton"
313
- [class.ant-radio-button]="isRadioButton"
314
- [class.ant-radio-button-checked]="isChecked && isRadioButton"
315
- [class.ant-radio-button-disabled]="nzDisabled && isRadioButton"
316
- >
317
- <input
318
- #inputElement
319
- type="radio"
320
- [attr.autofocus]="nzAutoFocus ? 'autofocus' : null"
321
- [class.ant-radio-input]="!isRadioButton"
322
- [class.ant-radio-button-input]="isRadioButton"
323
- [disabled]="nzDisabled"
324
- [checked]="isChecked"
325
- [attr.name]="name"
326
- />
327
- <span [class.ant-radio-inner]="!isRadioButton" [class.ant-radio-button-inner]="isRadioButton"></span>
328
- </span>
329
- <span><ng-content></ng-content></span>
330
- `,
331
- encapsulation: ViewEncapsulation.None,
332
- changeDetection: ChangeDetectionStrategy.OnPush,
333
- providers: [
334
- {
335
- provide: NG_VALUE_ACCESSOR,
336
- useExisting: forwardRef(() => NzRadioComponent),
337
- multi: true
338
- }
339
- ],
340
- host: {
341
- "[class.ant-radio-wrapper-in-form-item]": "!!nzFormStatusService",
342
- "[class.ant-radio-wrapper]": "!isRadioButton",
343
- "[class.ant-radio-button-wrapper]": "isRadioButton",
344
- "[class.ant-radio-wrapper-checked]": "isChecked && !isRadioButton",
345
- "[class.ant-radio-button-wrapper-checked]": "isChecked && isRadioButton",
346
- "[class.ant-radio-wrapper-disabled]": "nzDisabled && !isRadioButton",
347
- "[class.ant-radio-button-wrapper-disabled]": "nzDisabled && isRadioButton",
348
- "[class.ant-radio-wrapper-rtl]": `!isRadioButton && dir === 'rtl'`,
349
- "[class.ant-radio-button-wrapper-rtl]": `isRadioButton && dir === 'rtl'`
350
- }
351
- }]
352
- }], ctorParameters: () => [], propDecorators: { inputElement: [{
353
- type: ViewChild,
354
- args: ["inputElement", { static: true }]
355
- }], nzValue: [{
356
- type: Input
357
- }], nzDisabled: [{
358
- type: Input,
359
- args: [{ transform: booleanAttribute }]
360
- }], nzAutoFocus: [{
361
- type: Input,
362
- args: [{ transform: booleanAttribute }]
363
- }], isRadioButton: [{
364
- type: Input,
365
- args: [{ alias: "nz-radio-button", transform: booleanAttribute }]
366
- }] } });
367
- var NzRadioModule = class _NzRadioModule {
368
- static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioModule, deps: [], target: FactoryTarget.NgModule });
369
- static \u0275mod = \u0275\u0275ngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioModule, imports: [NzRadioComponent, NzRadioGroupComponent], exports: [NzRadioComponent, NzRadioGroupComponent] });
370
- static \u0275inj = \u0275\u0275ngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzRadioModule });
371
- };
372
- \u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzRadioModule, decorators: [{
373
- type: NgModule,
374
- args: [{
375
- imports: [NzRadioComponent, NzRadioGroupComponent],
376
- exports: [NzRadioComponent, NzRadioGroupComponent]
377
- }]
378
- }] });
379
-
380
- export {
381
- NzRadioComponent,
382
- NzRadioModule
383
- };
384
- //# sourceMappingURL=chunk-JN3VOWP7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-radio.mjs"],"sourcesContent":["import { Directionality } from '@angular/cdk/bidi';\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, ChangeDetectorRef, DestroyRef, forwardRef, booleanAttribute, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgZone, ElementRef, ViewChild, NgModule } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { NzFormStatusService } from 'ng-zorro-antd/core/form';\nimport { fromEventOutsideAngular } from 'ng-zorro-antd/core/util';\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzRadioService {\n selected$ = new ReplaySubject(1);\n touched$ = new Subject();\n disabled$ = new ReplaySubject(1);\n name$ = new ReplaySubject(1);\n touch() {\n this.touched$.next();\n }\n select(value) {\n this.selected$.next(value);\n }\n setDisabled(value) {\n this.disabled$.next(value);\n }\n setName(value) {\n this.name$.next(value);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioService });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioService, decorators: [{\n type: Injectable\n }] });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzRadioGroupComponent {\n cdr = inject(ChangeDetectorRef);\n nzRadioService = inject(NzRadioService);\n directionality = inject(Directionality);\n destroyRef = inject(DestroyRef);\n value = null;\n isNzDisableFirstChange = true;\n onChange = () => { };\n onTouched = () => { };\n nzDisabled = false;\n nzButtonStyle = 'outline';\n nzSize = 'default';\n nzName = null;\n dir = 'ltr';\n ngOnInit() {\n this.nzRadioService.selected$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(value => {\n if (this.value !== value) {\n this.value = value;\n this.onChange(this.value);\n }\n });\n this.nzRadioService.touched$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n Promise.resolve().then(() => this.onTouched());\n });\n this.directionality.change?.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(direction => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n }\n ngOnChanges(changes) {\n const { nzDisabled, nzName } = changes;\n if (nzDisabled) {\n this.nzRadioService.setDisabled(this.nzDisabled);\n }\n if (nzName) {\n this.nzRadioService.setName(this.nzName);\n }\n }\n writeValue(value) {\n this.value = value;\n this.nzRadioService.select(value);\n this.cdr.markForCheck();\n }\n registerOnChange(fn) {\n this.onChange = fn;\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled) {\n this.nzDisabled = (this.isNzDisableFirstChange && this.nzDisabled) || isDisabled;\n this.isNzDisableFirstChange = false;\n this.nzRadioService.setDisabled(this.nzDisabled);\n this.cdr.markForCheck();\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"20.3.0\", type: NzRadioGroupComponent, isStandalone: true, selector: \"nz-radio-group\", inputs: { nzDisabled: [\"nzDisabled\", \"nzDisabled\", booleanAttribute], nzButtonStyle: \"nzButtonStyle\", nzSize: \"nzSize\", nzName: \"nzName\" }, host: { properties: { \"class.ant-radio-group-large\": \"nzSize === 'large'\", \"class.ant-radio-group-small\": \"nzSize === 'small'\", \"class.ant-radio-group-solid\": \"nzButtonStyle === 'solid'\", \"class.ant-radio-group-rtl\": \"dir === 'rtl'\" }, classAttribute: \"ant-radio-group\" }, providers: [\n NzRadioService,\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NzRadioGroupComponent),\n multi: true\n }\n ], exportAs: [\"nzRadioGroup\"], usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioGroupComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-radio-group',\n exportAs: 'nzRadioGroup',\n template: `<ng-content></ng-content>`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n NzRadioService,\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NzRadioGroupComponent),\n multi: true\n }\n ],\n host: {\n class: 'ant-radio-group',\n '[class.ant-radio-group-large]': `nzSize === 'large'`,\n '[class.ant-radio-group-small]': `nzSize === 'small'`,\n '[class.ant-radio-group-solid]': `nzButtonStyle === 'solid'`,\n '[class.ant-radio-group-rtl]': `dir === 'rtl'`\n }\n }]\n }], propDecorators: { nzDisabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzButtonStyle: [{\n type: Input\n }], nzSize: [{\n type: Input\n }], nzName: [{\n type: Input\n }] } });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzRadioComponent {\n directionality = inject(Directionality);\n nzRadioService = inject(NzRadioService, { optional: true });\n ngZone = inject(NgZone);\n elementRef = inject(ElementRef);\n cdr = inject(ChangeDetectorRef);\n focusMonitor = inject(FocusMonitor);\n destroyRef = inject(DestroyRef);\n nzFormStatusService = inject(NzFormStatusService, { optional: true });\n isNgModel = false;\n isNzDisableFirstChange = true;\n isChecked = false;\n name = null;\n onChange = () => { };\n onTouched = () => { };\n inputElement;\n nzValue = null;\n nzDisabled = false;\n nzAutoFocus = false;\n isRadioButton = false;\n dir = 'ltr';\n focus() {\n this.focusMonitor.focusVia(this.inputElement, 'keyboard');\n }\n blur() {\n this.inputElement.nativeElement.blur();\n }\n constructor() {\n this.destroyRef.onDestroy(() => {\n this.focusMonitor.stopMonitoring(this.elementRef);\n });\n }\n setDisabledState(disabled) {\n this.nzDisabled = (this.isNzDisableFirstChange && this.nzDisabled) || disabled;\n this.isNzDisableFirstChange = false;\n this.cdr.markForCheck();\n }\n writeValue(value) {\n this.isChecked = value;\n this.cdr.markForCheck();\n }\n registerOnChange(fn) {\n this.isNgModel = true;\n this.onChange = fn;\n }\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n ngOnInit() {\n if (this.nzRadioService) {\n this.nzRadioService.name$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(name => {\n this.name = name;\n this.cdr.markForCheck();\n });\n this.nzRadioService.disabled$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(disabled => {\n this.nzDisabled = (this.isNzDisableFirstChange && this.nzDisabled) || disabled;\n this.isNzDisableFirstChange = false;\n this.cdr.markForCheck();\n });\n this.nzRadioService.selected$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(value => {\n const isChecked = this.isChecked;\n this.isChecked = this.nzValue === value;\n // We don't have to run `onChange()` on each `nz-radio` button whenever the `selected$` emits.\n // If we have 8 `nz-radio` buttons within the `nz-radio-group` and they're all connected with\n // `ngModel` or `formControl` then `onChange()` will be called 8 times for each `nz-radio` button.\n // We prevent this by checking if `isChecked` has been changed or not.\n if (this.isNgModel &&\n isChecked !== this.isChecked &&\n // We're only intereted if `isChecked` has been changed to `false` value to emit `false` to the ascendant form,\n // since we already emit `true` within the `setupClickListener`.\n this.isChecked === false) {\n this.onChange(false);\n }\n this.cdr.markForCheck();\n });\n }\n this.focusMonitor\n .monitor(this.elementRef, true)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(focusOrigin => {\n if (!focusOrigin) {\n Promise.resolve().then(() => this.onTouched());\n if (this.nzRadioService) {\n this.nzRadioService.touch();\n }\n }\n });\n this.directionality.change.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(direction => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n this.setupClickListener();\n }\n ngAfterViewInit() {\n if (this.nzAutoFocus) {\n this.focus();\n }\n }\n setupClickListener() {\n fromEventOutsideAngular(this.elementRef.nativeElement, 'click')\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n /** prevent label click triggered twice. **/\n event.stopPropagation();\n event.preventDefault();\n if (this.nzDisabled || this.isChecked) {\n return;\n }\n this.ngZone.run(() => {\n this.focus();\n this.nzRadioService?.select(this.nzValue);\n if (this.isNgModel) {\n this.isChecked = true;\n this.onChange(true);\n }\n this.cdr.markForCheck();\n });\n });\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"20.3.0\", type: NzRadioComponent, isStandalone: true, selector: \"[nz-radio],[nz-radio-button]\", inputs: { nzValue: \"nzValue\", nzDisabled: [\"nzDisabled\", \"nzDisabled\", booleanAttribute], nzAutoFocus: [\"nzAutoFocus\", \"nzAutoFocus\", booleanAttribute], isRadioButton: [\"nz-radio-button\", \"isRadioButton\", booleanAttribute] }, host: { properties: { \"class.ant-radio-wrapper-in-form-item\": \"!!nzFormStatusService\", \"class.ant-radio-wrapper\": \"!isRadioButton\", \"class.ant-radio-button-wrapper\": \"isRadioButton\", \"class.ant-radio-wrapper-checked\": \"isChecked && !isRadioButton\", \"class.ant-radio-button-wrapper-checked\": \"isChecked && isRadioButton\", \"class.ant-radio-wrapper-disabled\": \"nzDisabled && !isRadioButton\", \"class.ant-radio-button-wrapper-disabled\": \"nzDisabled && isRadioButton\", \"class.ant-radio-wrapper-rtl\": \"!isRadioButton && dir === 'rtl'\", \"class.ant-radio-button-wrapper-rtl\": \"isRadioButton && dir === 'rtl'\" } }, providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NzRadioComponent),\n multi: true\n }\n ], viewQueries: [{ propertyName: \"inputElement\", first: true, predicate: [\"inputElement\"], descendants: true, static: true }], exportAs: [\"nzRadio\"], ngImport: i0, template: `\n <span\n [class.ant-radio]=\"!isRadioButton\"\n [class.ant-radio-checked]=\"isChecked && !isRadioButton\"\n [class.ant-radio-disabled]=\"nzDisabled && !isRadioButton\"\n [class.ant-radio-button]=\"isRadioButton\"\n [class.ant-radio-button-checked]=\"isChecked && isRadioButton\"\n [class.ant-radio-button-disabled]=\"nzDisabled && isRadioButton\"\n >\n <input\n #inputElement\n type=\"radio\"\n [attr.autofocus]=\"nzAutoFocus ? 'autofocus' : null\"\n [class.ant-radio-input]=\"!isRadioButton\"\n [class.ant-radio-button-input]=\"isRadioButton\"\n [disabled]=\"nzDisabled\"\n [checked]=\"isChecked\"\n [attr.name]=\"name\"\n />\n <span [class.ant-radio-inner]=\"!isRadioButton\" [class.ant-radio-button-inner]=\"isRadioButton\"></span>\n </span>\n <span><ng-content></ng-content></span>\n `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioComponent, decorators: [{\n type: Component,\n args: [{\n selector: '[nz-radio],[nz-radio-button]',\n exportAs: 'nzRadio',\n template: `\n <span\n [class.ant-radio]=\"!isRadioButton\"\n [class.ant-radio-checked]=\"isChecked && !isRadioButton\"\n [class.ant-radio-disabled]=\"nzDisabled && !isRadioButton\"\n [class.ant-radio-button]=\"isRadioButton\"\n [class.ant-radio-button-checked]=\"isChecked && isRadioButton\"\n [class.ant-radio-button-disabled]=\"nzDisabled && isRadioButton\"\n >\n <input\n #inputElement\n type=\"radio\"\n [attr.autofocus]=\"nzAutoFocus ? 'autofocus' : null\"\n [class.ant-radio-input]=\"!isRadioButton\"\n [class.ant-radio-button-input]=\"isRadioButton\"\n [disabled]=\"nzDisabled\"\n [checked]=\"isChecked\"\n [attr.name]=\"name\"\n />\n <span [class.ant-radio-inner]=\"!isRadioButton\" [class.ant-radio-button-inner]=\"isRadioButton\"></span>\n </span>\n <span><ng-content></ng-content></span>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NzRadioComponent),\n multi: true\n }\n ],\n host: {\n '[class.ant-radio-wrapper-in-form-item]': '!!nzFormStatusService',\n '[class.ant-radio-wrapper]': '!isRadioButton',\n '[class.ant-radio-button-wrapper]': 'isRadioButton',\n '[class.ant-radio-wrapper-checked]': 'isChecked && !isRadioButton',\n '[class.ant-radio-button-wrapper-checked]': 'isChecked && isRadioButton',\n '[class.ant-radio-wrapper-disabled]': 'nzDisabled && !isRadioButton',\n '[class.ant-radio-button-wrapper-disabled]': 'nzDisabled && isRadioButton',\n '[class.ant-radio-wrapper-rtl]': `!isRadioButton && dir === 'rtl'`,\n '[class.ant-radio-button-wrapper-rtl]': `isRadioButton && dir === 'rtl'`\n }\n }]\n }], ctorParameters: () => [], propDecorators: { inputElement: [{\n type: ViewChild,\n args: ['inputElement', { static: true }]\n }], nzValue: [{\n type: Input\n }], nzDisabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzAutoFocus: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], isRadioButton: [{\n type: Input,\n args: [{ alias: 'nz-radio-button', transform: booleanAttribute }]\n }] } });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzRadioModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioModule, imports: [NzRadioComponent, NzRadioGroupComponent], exports: [NzRadioComponent, NzRadioGroupComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioModule });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.0\", ngImport: i0, type: NzRadioModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NzRadioComponent, NzRadioGroupComponent],\n exports: [NzRadioComponent, NzRadioGroupComponent]\n }]\n }] });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzRadioComponent, NzRadioGroupComponent, NzRadioModule, NzRadioService };\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,iBAAN,MAAM,gBAAe;AAAA,EACjB,YAAY,IAAI,cAAc,CAAC;AAAA,EAC/B,WAAW,IAAI,QAAQ;AAAA,EACvB,YAAY,IAAI,cAAc,CAAC;AAAA,EAC/B,QAAQ,IAAI,cAAc,CAAC;AAAA,EAC3B,QAAQ;AACJ,SAAK,SAAS,KAAK;AAAA,EACvB;AAAA,EACA,OAAO,OAAO;AACV,SAAK,UAAU,KAAK,KAAK;AAAA,EAC7B;AAAA,EACA,YAAY,OAAO;AACf,SAAK,UAAU,KAAK,KAAK;AAAA,EAC7B;AAAA,EACA,QAAQ,OAAO;AACX,SAAK,MAAM,KAAK,KAAK;AAAA,EACzB;AAAA,EACA,OAAO,YAAU,6BAAmB,EAAE,YAAY,UAAU,SAAS,UAAU,UAAU,cAAI,MAAM,iBAAgB,MAAM,CAAC,GAAG,QAAW,cAAgB,WAAW,CAAC;AAAA,EACpK,OAAO,aAAW,gCAAsB,EAAE,YAAY,UAAU,SAAS,UAAU,UAAU,cAAI,MAAM,gBAAe,CAAC;AAC3H;AACG,mCAAyB,EAAE,YAAY,UAAU,SAAS,UAAU,UAAU,cAAI,MAAM,gBAAgB,YAAY,CAA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