@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.
- package/lib/app.js +3 -15
- package/lib/common/editor.js +2 -2
- package/lib/env.d.ts +1 -0
- package/lib/env.js +1 -0
- package/lib/plugins/error-handler.plugin.d.ts +2 -2
- package/lib/plugins/error-handler.plugin.js +97 -88
- package/lib/plugins/ws/topics/nginx.ws.js +2 -1
- package/lib/plugins/ws/topics/svn.ws.d.ts +2 -1
- package/lib/plugins/ws/topics/svn.ws.js +3 -2
- package/lib/plugins/ws/topics/syslog.ws.d.ts +1 -1
- package/lib/plugins/ws/topics/task.ws.d.ts +2 -1
- package/lib/plugins/ws/topics/task.ws.js +2 -1
- package/lib/plugins/ws/ws.context.d.ts +1 -1
- package/lib/plugins/ws/ws.plugin.js +4 -3
- package/lib/plugins/ws/ws.router.d.ts +2 -2
- package/lib/plugins/ws/ws.router.js +8 -7
- package/lib/routes/api-client/collection.routes.js +8 -6
- package/lib/routes/api-client/env.routes.js +4 -3
- package/lib/routes/api-client/history.routes.js +3 -2
- package/lib/routes/api-client/hub-token.routes.js +32 -10
- package/lib/routes/api-client/request.routes.js +7 -6
- package/lib/routes/api-client/send.routes.js +3 -2
- package/lib/routes/config.routes.js +5 -5
- package/lib/routes/hub.routes.js +10 -10
- package/lib/routes/index.js +2 -0
- package/lib/routes/nginx/nginx-lifecycle.routes.js +4 -0
- package/lib/routes/nginx/nginx-route.context.js +23 -7
- package/lib/routes/nginx/nginx-server.routes.js +158 -6
- package/lib/routes/node-version.routes.d.ts +2 -0
- package/lib/routes/node-version.routes.js +56 -0
- package/lib/routes/project.routes.js +14 -9
- package/lib/routes/rss.routes.js +3 -3
- package/lib/routes/sprite-browse.routes.js +21 -6
- package/lib/routes/sprite.routes.js +18 -12
- package/lib/routes/static-files.routes.js +21 -5
- package/lib/routes/svn.routes.js +5 -3
- package/lib/routes/system.routes.js +20 -1
- package/lib/routes/task.routes.js +10 -3
- package/package.json +13 -6
- package/www/3rdpartylicenses.txt +66 -118
- package/www/browser/chunk-2L7NUOMX.js +2 -0
- package/www/browser/chunk-2NZJ7CN2.js +20 -0
- package/www/browser/chunk-3CM4SKDO.js +15 -0
- package/www/browser/chunk-3I7BQCXS.js +1 -0
- package/www/browser/chunk-3M56F2S2.js +1 -0
- package/www/browser/chunk-3OHBKMAA.js +1 -0
- package/www/browser/chunk-3XNNQFWR.js +1 -0
- package/www/browser/chunk-4BRW6LCZ.js +4 -0
- package/www/browser/chunk-4LBSLURA.js +1 -0
- package/www/browser/chunk-4X42HB6N.js +2 -0
- package/www/browser/chunk-5DYX4DUX.js +11 -0
- package/www/browser/chunk-6SYVDN5L.js +1 -0
- package/www/browser/chunk-6YYNHZ2A.js +1 -0
- package/www/browser/chunk-75W3GVSO.js +1 -0
- package/www/browser/chunk-7U44RF5F.js +63 -0
- package/www/browser/chunk-AELTP6YN.js +1 -0
- package/www/browser/chunk-AMXRL4GR.js +1 -0
- package/www/browser/chunk-AV2ZODEH.js +1 -0
- package/www/browser/chunk-AZ6SIMYH.js +1 -0
- package/www/browser/chunk-B3C35ET3.js +2 -0
- package/www/browser/chunk-BTQIUVTQ.js +1 -0
- package/www/browser/chunk-CN5J4WNO.js +1 -0
- package/www/browser/chunk-D2ODDESN.js +1 -0
- package/www/browser/chunk-DE6E23ET.js +1 -0
- package/www/browser/chunk-DIJPUYIA.js +1 -0
- package/www/browser/chunk-DLGJD6YU.js +4 -0
- package/www/browser/chunk-EEDA5U4V.js +1 -0
- package/www/browser/chunk-FK6Z4HLL.js +1 -0
- package/www/browser/chunk-FL6GDGHW.js +1 -0
- package/www/browser/chunk-FXCG34QS.js +1 -0
- package/www/browser/chunk-H2USFIYR.js +1 -0
- package/www/browser/chunk-H5HGMOE6.js +1 -0
- package/www/browser/chunk-HB3HECPD.js +1 -0
- package/www/browser/chunk-HDNG236Q.js +1 -0
- package/www/browser/chunk-HFZLJHYR.js +1 -0
- package/www/browser/chunk-HJTXXSMC.js +1 -0
- package/www/browser/chunk-HUMCWAKJ.js +3 -0
- package/www/browser/chunk-IKB3EQCP.js +2 -0
- package/www/browser/chunk-K7PESFPY.js +1 -0
- package/www/browser/chunk-KRYMOHYF.js +2 -0
- package/www/browser/chunk-M4QRBV3K.js +1 -0
- package/www/browser/chunk-N2PELLMM.js +30 -0
- package/www/browser/chunk-ONXBYGIG.js +1 -0
- package/www/browser/chunk-OSBDR36P.js +1 -0
- package/www/browser/chunk-OZCK4XVV.js +1 -0
- package/www/browser/chunk-QJP5F735.js +1 -0
- package/www/browser/chunk-RGOYDY7H.js +1 -0
- package/www/browser/chunk-UJKK4A7Y.js +1 -0
- package/www/browser/chunk-WD2EKZQC.js +1 -0
- package/www/browser/chunk-WUA5JFDD.js +1 -0
- package/www/browser/chunk-XLFHB7RS.js +3 -0
- package/www/browser/chunk-YNW4HEJO.js +37 -0
- package/www/browser/chunk-ZTDLWBW5.js +1 -0
- package/www/browser/dark.css +1 -30433
- package/www/browser/default.css +1 -30149
- package/www/browser/index.html +3 -3
- package/www/browser/main-N64WJCHX.js +34 -0
- package/www/browser/scripts-U25HCVEI.js +6 -0
- package/www/browser/styles-ROAHD7MY.css +1 -0
- package/www/browser/add-widget-drawer.component.css.map +0 -7
- package/www/browser/advanced-editor.component.css.map +0 -7
- package/www/browser/api-client.component.css.map +0 -7
- package/www/browser/api-history-drawer.component.css.map +0 -7
- package/www/browser/app.css.map +0 -7
- package/www/browser/attachment-viewer.component.css.map +0 -7
- package/www/browser/auth-editor.component.css.map +0 -7
- package/www/browser/body-editor.component.css.map +0 -7
- package/www/browser/chunk-2YSUXBGC.js +0 -627
- package/www/browser/chunk-2YSUXBGC.js.map +0 -1
- package/www/browser/chunk-3G2GEOPV.js +0 -456
- package/www/browser/chunk-3G2GEOPV.js.map +0 -1
- package/www/browser/chunk-3L72DF3R.js +0 -1683
- package/www/browser/chunk-3L72DF3R.js.map +0 -1
- package/www/browser/chunk-3MCIETCQ.js +0 -8279
- package/www/browser/chunk-3MCIETCQ.js.map +0 -1
- package/www/browser/chunk-665WC4RU.js +0 -5383
- package/www/browser/chunk-665WC4RU.js.map +0 -1
- package/www/browser/chunk-6QMSEZPT.js +0 -10044
- package/www/browser/chunk-6QMSEZPT.js.map +0 -1
- package/www/browser/chunk-6TBQERYX.js +0 -280
- package/www/browser/chunk-6TBQERYX.js.map +0 -1
- package/www/browser/chunk-6UW4MRJZ.js +0 -43
- package/www/browser/chunk-6UW4MRJZ.js.map +0 -7
- package/www/browser/chunk-6XUMIL3W.js +0 -5495
- package/www/browser/chunk-6XUMIL3W.js.map +0 -1
- package/www/browser/chunk-724YOJI3.js +0 -903
- package/www/browser/chunk-724YOJI3.js.map +0 -1
- package/www/browser/chunk-766T7YES.js +0 -437
- package/www/browser/chunk-766T7YES.js.map +0 -1
- package/www/browser/chunk-7FC7DN65.js +0 -728
- package/www/browser/chunk-7FC7DN65.js.map +0 -1
- package/www/browser/chunk-APGQRYWX.js +0 -156
- package/www/browser/chunk-APGQRYWX.js.map +0 -7
- package/www/browser/chunk-AQHSGTHS.js +0 -1960
- package/www/browser/chunk-AQHSGTHS.js.map +0 -1
- package/www/browser/chunk-CTOEAJQK.js +0 -40
- package/www/browser/chunk-CTOEAJQK.js.map +0 -7
- package/www/browser/chunk-DEGQJKKZ.js +0 -409
- package/www/browser/chunk-DEGQJKKZ.js.map +0 -1
- package/www/browser/chunk-DIJX2663.js +0 -1166
- package/www/browser/chunk-DIJX2663.js.map +0 -1
- package/www/browser/chunk-E4XD4GLT.js +0 -427
- package/www/browser/chunk-E4XD4GLT.js.map +0 -1
- package/www/browser/chunk-EQOY6A3M.js +0 -212
- package/www/browser/chunk-EQOY6A3M.js.map +0 -1
- package/www/browser/chunk-ETTBRXVA.js +0 -2643
- package/www/browser/chunk-ETTBRXVA.js.map +0 -1
- package/www/browser/chunk-FLSUSPBD.js +0 -5569
- package/www/browser/chunk-FLSUSPBD.js.map +0 -1
- package/www/browser/chunk-FZNHBEAZ.js +0 -102
- package/www/browser/chunk-FZNHBEAZ.js.map +0 -1
- package/www/browser/chunk-GJC7CZIJ.js +0 -361
- package/www/browser/chunk-GJC7CZIJ.js.map +0 -7
- package/www/browser/chunk-GMCNMOTD.js +0 -844
- package/www/browser/chunk-GMCNMOTD.js.map +0 -7
- package/www/browser/chunk-H43HGCRW.js +0 -198
- package/www/browser/chunk-H43HGCRW.js.map +0 -7
- package/www/browser/chunk-J447GBHM.js +0 -160
- package/www/browser/chunk-J447GBHM.js.map +0 -1
- package/www/browser/chunk-JN3VOWP7.js +0 -384
- package/www/browser/chunk-JN3VOWP7.js.map +0 -1
- package/www/browser/chunk-KSHAGY2M.js +0 -399
- package/www/browser/chunk-KSHAGY2M.js.map +0 -7
- package/www/browser/chunk-KV72AKOD.js +0 -59
- package/www/browser/chunk-KV72AKOD.js.map +0 -7
- package/www/browser/chunk-LAVMY2SJ.js +0 -26
- package/www/browser/chunk-LAVMY2SJ.js.map +0 -7
- package/www/browser/chunk-LLRVGHG5.js +0 -73
- package/www/browser/chunk-LLRVGHG5.js.map +0 -7
- package/www/browser/chunk-LPME4AJ3.js +0 -196
- package/www/browser/chunk-LPME4AJ3.js.map +0 -1
- package/www/browser/chunk-LVPSURVU.js +0 -4615
- package/www/browser/chunk-LVPSURVU.js.map +0 -1
- package/www/browser/chunk-MMPO7QLO.js +0 -4146
- package/www/browser/chunk-MMPO7QLO.js.map +0 -7
- package/www/browser/chunk-O7LB6VFM.js +0 -1953
- package/www/browser/chunk-O7LB6VFM.js.map +0 -1
- package/www/browser/chunk-P5CWA4FO.js +0 -685
- package/www/browser/chunk-P5CWA4FO.js.map +0 -1
- package/www/browser/chunk-RBWIWNTL.js +0 -203
- package/www/browser/chunk-RBWIWNTL.js.map +0 -7
- package/www/browser/chunk-RUXJCM3V.js +0 -26199
- package/www/browser/chunk-RUXJCM3V.js.map +0 -1
- package/www/browser/chunk-S77VVYUZ.js +0 -168
- package/www/browser/chunk-S77VVYUZ.js.map +0 -1
- package/www/browser/chunk-SCXPYFOB.js +0 -4316
- package/www/browser/chunk-SCXPYFOB.js.map +0 -1
- package/www/browser/chunk-SS73S33S.js +0 -471
- package/www/browser/chunk-SS73S33S.js.map +0 -7
- package/www/browser/chunk-T6UAOWNP.js +0 -600
- package/www/browser/chunk-T6UAOWNP.js.map +0 -1
- package/www/browser/chunk-TEW4MY4J.js +0 -148
- package/www/browser/chunk-TEW4MY4J.js.map +0 -7
- package/www/browser/chunk-TVORF3SF.js +0 -82
- package/www/browser/chunk-TVORF3SF.js.map +0 -7
- package/www/browser/chunk-UAN42EUZ.js +0 -2147
- package/www/browser/chunk-UAN42EUZ.js.map +0 -1
- package/www/browser/chunk-ULOHDK7Y.js +0 -1
- package/www/browser/chunk-ULOHDK7Y.js.map +0 -7
- package/www/browser/chunk-UYJ3FVRV.js +0 -3978
- package/www/browser/chunk-UYJ3FVRV.js.map +0 -1
- package/www/browser/chunk-VXHZMSDM.js +0 -5509
- package/www/browser/chunk-VXHZMSDM.js.map +0 -1
- package/www/browser/chunk-VYNQPZQO.js +0 -281
- package/www/browser/chunk-VYNQPZQO.js.map +0 -1
- package/www/browser/chunk-W3J23PZI.js +0 -9213
- package/www/browser/chunk-W3J23PZI.js.map +0 -1
- package/www/browser/chunk-W5HGHCQT.js +0 -1642
- package/www/browser/chunk-W5HGHCQT.js.map +0 -7
- package/www/browser/chunk-XF5H7E4L.js +0 -4723
- package/www/browser/chunk-XF5H7E4L.js.map +0 -1
- package/www/browser/chunk-XNFNEBMY.js +0 -398
- package/www/browser/chunk-XNFNEBMY.js.map +0 -7
- package/www/browser/chunk-XQY5SPGI.js +0 -30811
- package/www/browser/chunk-XQY5SPGI.js.map +0 -1
- package/www/browser/chunk-Y7JBZHNK.js +0 -514
- package/www/browser/chunk-Y7JBZHNK.js.map +0 -1
- package/www/browser/chunk-YWHRP4X3.js +0 -406
- package/www/browser/chunk-YWHRP4X3.js.map +0 -1
- package/www/browser/chunk-Z7FJIV62.js +0 -95
- package/www/browser/chunk-Z7FJIV62.js.map +0 -7
- package/www/browser/chunk-ZBZHXS46.js +0 -1674
- package/www/browser/chunk-ZBZHXS46.js.map +0 -1
- package/www/browser/chunk-ZZA5NVAI.js +0 -735
- package/www/browser/chunk-ZZA5NVAI.js.map +0 -1
- package/www/browser/collection-modal.component.css.map +0 -7
- package/www/browser/collection-tree-item.component.css.map +0 -7
- package/www/browser/collection-tree.component.css.map +0 -7
- package/www/browser/config-change-bar-component.css.map +0 -7
- package/www/browser/config-item-component.css.map +0 -7
- package/www/browser/config-nav-component.css.map +0 -7
- package/www/browser/config-section-component.css.map +0 -7
- package/www/browser/create-summary-aside.component.css.map +0 -7
- package/www/browser/curl-actions.component.css.map +0 -7
- package/www/browser/dark.css.map +0 -7
- package/www/browser/dashboard-canvas.component.css.map +0 -7
- package/www/browser/dashboard.component.css.map +0 -7
- package/www/browser/default.css.map +0 -7
- package/www/browser/detail-item-card.component.css.map +0 -7
- package/www/browser/ellipsis-text.component.css.map +0 -7
- package/www/browser/env-modal.component.css.map +0 -7
- package/www/browser/env-picker.component.css.map +0 -7
- package/www/browser/feedback.component.css.map +0 -7
- package/www/browser/fs-explorer.component.css.map +0 -7
- package/www/browser/git-import-modal.component.css.map +0 -7
- package/www/browser/hub-v2-personal-token-modal.component.css.map +0 -7
- package/www/browser/issue-action-area.component.css.map +0 -7
- package/www/browser/issue-add-participants-dialog.component.css.map +0 -7
- package/www/browser/issue-assign-dialog.component.css.map +0 -7
- package/www/browser/issue-attachment-area.component.css.map +0 -7
- package/www/browser/issue-base-info-area.component.css.map +0 -7
- package/www/browser/issue-branches.component.css.map +0 -7
- package/www/browser/issue-close-dialog.component.css.map +0 -7
- package/www/browser/issue-collaborators-panel.component.css.map +0 -7
- package/www/browser/issue-comment-editor.component.css.map +0 -7
- package/www/browser/issue-create-branch-dialog.component.css.map +0 -7
- package/www/browser/issue-description-area.component.css.map +0 -7
- package/www/browser/issue-detail.component.css.map +0 -7
- package/www/browser/issue-resolve-dialog.component.css.map +0 -7
- package/www/browser/issue-start-own-branch-dialog.component.css.map +0 -7
- package/www/browser/issues-list-table.component.css.map +0 -7
- package/www/browser/issues.component.css.map +0 -7
- package/www/browser/kill-port-widget.component.css.map +0 -7
- package/www/browser/kv-table.component.css.map +0 -7
- package/www/browser/layout-footer.component.css.map +0 -7
- package/www/browser/layout-header.component.css.map +0 -7
- package/www/browser/layout-menu.component.css.map +0 -7
- package/www/browser/layout-project-nav.component.css.map +0 -7
- package/www/browser/layout-sidebar.component.css.map +0 -7
- package/www/browser/layout.component.css.map +0 -7
- package/www/browser/less-viewport-component.css.map +0 -7
- package/www/browser/main.js +0 -1872
- package/www/browser/main.js.map +0 -1
- package/www/browser/markdown-viewer.component.css.map +0 -7
- package/www/browser/news-feed-widget.component.css.map +0 -7
- package/www/browser/ng-devtool.component.css.map +0 -7
- package/www/browser/nginx-config-editor.component.css.map +0 -7
- package/www/browser/nginx-log-viewer.component.css.map +0 -7
- package/www/browser/nginx-secondary-logs-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-perf-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-settings-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-ssl-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-test-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-traffic-tab.component.css.map +0 -7
- package/www/browser/nginx-secondary-upstream-tab.component.css.map +0 -7
- package/www/browser/nginx-section-card.component.css.map +0 -7
- package/www/browser/nginx-server-drawer.component.css.map +0 -7
- package/www/browser/nginx-server-list.component.css.map +0 -7
- package/www/browser/nginx-stat-card.component.css.map +0 -7
- package/www/browser/nginx.component.css.map +0 -7
- package/www/browser/page-layout.component.css.map +0 -7
- package/www/browser/pick-workspace-modal.component.css.map +0 -7
- package/www/browser/polyfills.js +0 -26584
- package/www/browser/polyfills.js.map +0 -7
- package/www/browser/project-conf.component.css.map +0 -7
- package/www/browser/project-create-modal.component.css.map +0 -7
- package/www/browser/project-create.component.css.map +0 -7
- package/www/browser/project-deps.component.css.map +0 -7
- package/www/browser/project-edit-modal.component.css.map +0 -7
- package/www/browser/project-import.component.css.map +0 -7
- package/www/browser/project-item-popover.component.css.map +0 -7
- package/www/browser/project-item.component.css.map +0 -7
- package/www/browser/project-list.component.css.map +0 -7
- package/www/browser/projects.component.css.map +0 -7
- package/www/browser/quick-task-widget.component.css.map +0 -7
- package/www/browser/rd-action-area.component.css.map +0 -7
- package/www/browser/rd-advance-stage-dialog.component.css.map +0 -7
- package/www/browser/rd-block-dialog.component.css.map +0 -7
- package/www/browser/rd-create-dialog.component.css.map +0 -7
- package/www/browser/rd-detail.component.css.map +0 -7
- package/www/browser/rd-item-card.component.css.map +0 -7
- package/www/browser/rd-list-board.component.css.map +0 -7
- package/www/browser/rd-list-table.component.css.map +0 -7
- package/www/browser/rd.component.css.map +0 -7
- package/www/browser/request-collections.component.css.map +0 -7
- package/www/browser/request-editor.component.css.map +0 -7
- package/www/browser/request-list-item.component.css.map +0 -7
- package/www/browser/request-list.component.css.map +0 -7
- package/www/browser/request-tabs-bar.component.css.map +0 -7
- package/www/browser/request-tabs.component.css.map +0 -7
- package/www/browser/request-urlbar.component.css.map +0 -7
- package/www/browser/response-viewer.component.css.map +0 -7
- package/www/browser/scripts.js +0 -245
- package/www/browser/scripts.js.map +0 -7
- package/www/browser/setting.component.css.map +0 -7
- package/www/browser/sprite-conf-modal.component.css.map +0 -7
- package/www/browser/sprite-icons-panel-component.css.map +0 -7
- package/www/browser/sprite-images-panel-component.css.map +0 -7
- package/www/browser/sprite-result-tabs.component.css.map +0 -7
- package/www/browser/sprite-viewport-component.css.map +0 -7
- package/www/browser/sprite.component.css.map +0 -7
- package/www/browser/step-advance.component.css.map +0 -7
- package/www/browser/step-basic.component.css.map +0 -7
- package/www/browser/step-config.component.css.map +0 -7
- package/www/browser/step-features.component.css.map +0 -7
- package/www/browser/step-preset.component.css.map +0 -7
- package/www/browser/step-summary-aside.component.css.map +0 -7
- package/www/browser/styles.css +0 -258
- package/www/browser/styles.css.map +0 -7
- package/www/browser/system-log.component.css.map +0 -7
- package/www/browser/task-actions.component.css.map +0 -7
- package/www/browser/task-console.component.css.map +0 -7
- package/www/browser/task-header.component.css.map +0 -7
- package/www/browser/task-list.component.css.map +0 -7
- package/www/browser/tasks.component.css.map +0 -7
- package/www/browser/terminal-view.component.css.map +0 -7
- package/www/browser/welcome-widget.component.css.map +0 -7
- package/www/browser/widget-base.component.css.map +0 -7
- package/www/browser/widget-host.component.css.map +0 -7
|
@@ -1,1166 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
NzCardModule
|
|
3
|
-
} from "./chunk-ZZA5NVAI.js";
|
|
4
|
-
import {
|
|
5
|
-
Directionality,
|
|
6
|
-
NzBreakpointEnum,
|
|
7
|
-
NzBreakpointService,
|
|
8
|
-
NzConfigService,
|
|
9
|
-
NzIconDirective,
|
|
10
|
-
NzIconModule,
|
|
11
|
-
NzOutletModule,
|
|
12
|
-
NzStringTemplateOutletDirective,
|
|
13
|
-
WithConfig,
|
|
14
|
-
gridResponsiveMap,
|
|
15
|
-
takeUntilDestroyed,
|
|
16
|
-
toCssPixel,
|
|
17
|
-
warn
|
|
18
|
-
} from "./chunk-RUXJCM3V.js";
|
|
19
|
-
import {
|
|
20
|
-
NgTemplateOutlet
|
|
21
|
-
} from "./chunk-3MCIETCQ.js";
|
|
22
|
-
import {
|
|
23
|
-
ChangeDetectionStrategy,
|
|
24
|
-
ChangeDetectorRef,
|
|
25
|
-
Component,
|
|
26
|
-
ContentChildren,
|
|
27
|
-
DestroyRef,
|
|
28
|
-
ElementRef,
|
|
29
|
-
EventEmitter,
|
|
30
|
-
FactoryTarget,
|
|
31
|
-
Injectable,
|
|
32
|
-
Input,
|
|
33
|
-
NgModule,
|
|
34
|
-
Output,
|
|
35
|
-
ReplaySubject,
|
|
36
|
-
Subject,
|
|
37
|
-
TemplateRef,
|
|
38
|
-
ViewChild,
|
|
39
|
-
ViewEncapsulation,
|
|
40
|
-
__decorate,
|
|
41
|
-
__esDecorate,
|
|
42
|
-
__publicField,
|
|
43
|
-
__runInitializers,
|
|
44
|
-
afterEveryRender,
|
|
45
|
-
auditTime,
|
|
46
|
-
booleanAttribute,
|
|
47
|
-
core_exports,
|
|
48
|
-
inject,
|
|
49
|
-
input,
|
|
50
|
-
merge,
|
|
51
|
-
numberAttribute,
|
|
52
|
-
startWith,
|
|
53
|
-
switchMap,
|
|
54
|
-
tap,
|
|
55
|
-
ɵɵngDeclareClassMetadata,
|
|
56
|
-
ɵɵngDeclareComponent,
|
|
57
|
-
ɵɵngDeclareFactory,
|
|
58
|
-
ɵɵngDeclareInjectable,
|
|
59
|
-
ɵɵngDeclareInjector,
|
|
60
|
-
ɵɵngDeclareNgModule
|
|
61
|
-
} from "./chunk-XQY5SPGI.js";
|
|
62
|
-
|
|
63
|
-
// src/app/shared/constants/priority-options.ts
|
|
64
|
-
var PRIORITY_LABELS = {
|
|
65
|
-
low: "\u4F4E",
|
|
66
|
-
medium: "\u4E2D",
|
|
67
|
-
high: "\u9AD8",
|
|
68
|
-
critical: "\u7D27\u6025"
|
|
69
|
-
};
|
|
70
|
-
var PRIORITY_OPTIONS = [
|
|
71
|
-
{ label: "\u5168\u90E8\u4F18\u5148\u7EA7", value: "" },
|
|
72
|
-
{ label: "\u4F4E", value: "low" },
|
|
73
|
-
{ label: "\u4E2D", value: "medium" },
|
|
74
|
-
{ label: "\u9AD8", value: "high" },
|
|
75
|
-
{ label: "\u7D27\u6025", value: "critical" }
|
|
76
|
-
];
|
|
77
|
-
var PRIORITY_COLORS = {
|
|
78
|
-
low: "green",
|
|
79
|
-
medium: "orange",
|
|
80
|
-
high: "magenta",
|
|
81
|
-
critical: "red"
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// src/app/shared/constants/status-options.ts
|
|
85
|
-
var ISSUE_STATUS = [
|
|
86
|
-
"open",
|
|
87
|
-
"in_progress",
|
|
88
|
-
"pending_update",
|
|
89
|
-
"resolved",
|
|
90
|
-
"verified",
|
|
91
|
-
"reopened",
|
|
92
|
-
"closed"
|
|
93
|
-
];
|
|
94
|
-
var ISSUE_STATUS_LABELS = {
|
|
95
|
-
open: "\u5F85\u5904\u7406",
|
|
96
|
-
in_progress: "\u5904\u7406\u4E2D",
|
|
97
|
-
resolved: "\u5F85\u9A8C\u8BC1",
|
|
98
|
-
verified: "\u5DF2\u9A8C\u8BC1",
|
|
99
|
-
reopened: "\u5DF2\u91CD\u5F00",
|
|
100
|
-
closed: "\u5DF2\u5173\u95ED"
|
|
101
|
-
};
|
|
102
|
-
var ISSUE_STATUS_COLORS = {
|
|
103
|
-
open: "default",
|
|
104
|
-
in_progress: "cyan",
|
|
105
|
-
resolved: "green",
|
|
106
|
-
verified: "cyan",
|
|
107
|
-
reopened: "default",
|
|
108
|
-
closed: "lime"
|
|
109
|
-
};
|
|
110
|
-
var ISSUE_BRANCH_STATUS_COLORS = {
|
|
111
|
-
todo: "gold",
|
|
112
|
-
in_progress: "geekblue",
|
|
113
|
-
done: "green"
|
|
114
|
-
};
|
|
115
|
-
var ISSUE_BRANCH_STATUS_LABELS = {
|
|
116
|
-
todo: "\u5F85\u5F00\u59CB",
|
|
117
|
-
in_progress: "\u5904\u7406\u4E2D",
|
|
118
|
-
done: "\u5DF2\u5B8C\u6210"
|
|
119
|
-
};
|
|
120
|
-
var ISSUE_STATUS_FILTER_OPTIONS = [
|
|
121
|
-
{ label: "\u6240\u6709\u72B6\u6001", value: "" },
|
|
122
|
-
{ label: "\u5F85\u5904\u7406", value: "open" },
|
|
123
|
-
{ label: "\u5904\u7406\u4E2D", value: "in_progress" },
|
|
124
|
-
{ label: "\u5F85\u63D0\u6D4B", value: "pending_update" },
|
|
125
|
-
{ label: "\u5F85\u9A8C\u8BC1", value: "resolved" },
|
|
126
|
-
{ label: "\u5DF2\u9A8C\u8BC1", value: "verified" },
|
|
127
|
-
{ label: "\u5DF2\u91CD\u5F00", value: "reopened" },
|
|
128
|
-
{ label: "\u5DF2\u5173\u95ED", value: "closed" }
|
|
129
|
-
];
|
|
130
|
-
var RD_STATUS_LABELS = {
|
|
131
|
-
todo: "\u5F85\u5F00\u59CB",
|
|
132
|
-
doing: "\u5F00\u53D1\u4E2D",
|
|
133
|
-
blocked: "\u963B\u585E\u4E2D",
|
|
134
|
-
done: "\u5DF2\u5B8C\u6210",
|
|
135
|
-
accepted: "\u5DF2\u5B8C\u6210",
|
|
136
|
-
closed: "\u5DF2\u5173\u95ED"
|
|
137
|
-
};
|
|
138
|
-
var RD_STATUS_COLORS = {
|
|
139
|
-
todo: "default",
|
|
140
|
-
doing: "processing",
|
|
141
|
-
blocked: "error",
|
|
142
|
-
done: "success",
|
|
143
|
-
accepted: "success",
|
|
144
|
-
closed: "default"
|
|
145
|
-
};
|
|
146
|
-
var RD_STATUS_FILTER_OPTIONS = [
|
|
147
|
-
{ label: "\u6240\u6709\u72B6\u6001", value: "" },
|
|
148
|
-
{ label: "\u5F85\u5F00\u59CB", value: "todo" },
|
|
149
|
-
{ label: "\u5F00\u53D1\u4E2D", value: "doing" },
|
|
150
|
-
{ label: "\u963B\u585E\u4E2D", value: "blocked" },
|
|
151
|
-
{ label: "\u5DF2\u5B8C\u6210", value: "done" },
|
|
152
|
-
{ label: "\u5DF2\u5173\u95ED", value: "closed" }
|
|
153
|
-
];
|
|
154
|
-
|
|
155
|
-
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-descriptions.mjs
|
|
156
|
-
var NzDescriptionsItemComponent = class _NzDescriptionsItemComponent {
|
|
157
|
-
content;
|
|
158
|
-
nzSpan = 1;
|
|
159
|
-
nzTitle = "";
|
|
160
|
-
inputChange$ = new Subject();
|
|
161
|
-
ngOnChanges() {
|
|
162
|
-
this.inputChange$.next();
|
|
163
|
-
}
|
|
164
|
-
ngOnDestroy() {
|
|
165
|
-
this.inputChange$.complete();
|
|
166
|
-
}
|
|
167
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzDescriptionsItemComponent, deps: [], target: FactoryTarget.Component });
|
|
168
|
-
static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "16.1.0", version: "20.3.0", type: _NzDescriptionsItemComponent, isStandalone: true, selector: "nz-descriptions-item", inputs: { nzSpan: ["nzSpan", "nzSpan", numberAttribute], nzTitle: "nzTitle" }, viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["nzDescriptionsItem"], usesOnChanges: true, ngImport: core_exports, template: `
|
|
169
|
-
<ng-template>
|
|
170
|
-
<ng-content></ng-content>
|
|
171
|
-
</ng-template>
|
|
172
|
-
`, isInline: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None });
|
|
173
|
-
};
|
|
174
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzDescriptionsItemComponent, decorators: [{
|
|
175
|
-
type: Component,
|
|
176
|
-
args: [{
|
|
177
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
178
|
-
encapsulation: ViewEncapsulation.None,
|
|
179
|
-
selector: "nz-descriptions-item",
|
|
180
|
-
template: `
|
|
181
|
-
<ng-template>
|
|
182
|
-
<ng-content></ng-content>
|
|
183
|
-
</ng-template>
|
|
184
|
-
`,
|
|
185
|
-
exportAs: "nzDescriptionsItem"
|
|
186
|
-
}]
|
|
187
|
-
}], propDecorators: { content: [{
|
|
188
|
-
type: ViewChild,
|
|
189
|
-
args: [TemplateRef, { static: true }]
|
|
190
|
-
}], nzSpan: [{
|
|
191
|
-
type: Input,
|
|
192
|
-
args: [{ transform: numberAttribute }]
|
|
193
|
-
}], nzTitle: [{
|
|
194
|
-
type: Input
|
|
195
|
-
}] } });
|
|
196
|
-
var NZ_CONFIG_MODULE_NAME = "descriptions";
|
|
197
|
-
var defaultColumnMap = {
|
|
198
|
-
xxl: 3,
|
|
199
|
-
xl: 3,
|
|
200
|
-
lg: 3,
|
|
201
|
-
md: 3,
|
|
202
|
-
sm: 2,
|
|
203
|
-
xs: 1
|
|
204
|
-
};
|
|
205
|
-
var NzDescriptionsComponent = (() => {
|
|
206
|
-
var _a;
|
|
207
|
-
let _nzBordered_decorators;
|
|
208
|
-
let _nzBordered_initializers = [];
|
|
209
|
-
let _nzBordered_extraInitializers = [];
|
|
210
|
-
let _nzColumn_decorators;
|
|
211
|
-
let _nzColumn_initializers = [];
|
|
212
|
-
let _nzColumn_extraInitializers = [];
|
|
213
|
-
let _nzSize_decorators;
|
|
214
|
-
let _nzSize_initializers = [];
|
|
215
|
-
let _nzSize_extraInitializers = [];
|
|
216
|
-
let _nzColon_decorators;
|
|
217
|
-
let _nzColon_initializers = [];
|
|
218
|
-
let _nzColon_extraInitializers = [];
|
|
219
|
-
return _a = class {
|
|
220
|
-
nzConfigService = inject(NzConfigService);
|
|
221
|
-
cdr = inject(ChangeDetectorRef);
|
|
222
|
-
breakpointService = inject(NzBreakpointService);
|
|
223
|
-
directionality = inject(Directionality);
|
|
224
|
-
destroyRef = inject(DestroyRef);
|
|
225
|
-
_nzModuleName = NZ_CONFIG_MODULE_NAME;
|
|
226
|
-
items;
|
|
227
|
-
nzBordered = __runInitializers(this, _nzBordered_initializers, false);
|
|
228
|
-
nzLayout = (__runInitializers(this, _nzBordered_extraInitializers), "horizontal");
|
|
229
|
-
nzColumn = __runInitializers(this, _nzColumn_initializers, defaultColumnMap);
|
|
230
|
-
nzSize = (__runInitializers(this, _nzColumn_extraInitializers), __runInitializers(this, _nzSize_initializers, "default"));
|
|
231
|
-
nzTitle = (__runInitializers(this, _nzSize_extraInitializers), "");
|
|
232
|
-
nzExtra;
|
|
233
|
-
nzColon = __runInitializers(this, _nzColon_initializers, true);
|
|
234
|
-
itemMatrix = (__runInitializers(this, _nzColon_extraInitializers), []);
|
|
235
|
-
realColumn = 3;
|
|
236
|
-
dir = "ltr";
|
|
237
|
-
breakpoint = NzBreakpointEnum.md;
|
|
238
|
-
ngOnInit() {
|
|
239
|
-
this.dir = this.directionality.value;
|
|
240
|
-
this.directionality.change?.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((direction) => {
|
|
241
|
-
this.dir = direction;
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
ngOnChanges(changes) {
|
|
245
|
-
if (changes.nzColumn) {
|
|
246
|
-
this.prepareMatrix();
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
ngAfterContentInit() {
|
|
250
|
-
const contentChange$ = this.items.changes.pipe(startWith(this.items));
|
|
251
|
-
merge(contentChange$, contentChange$.pipe(switchMap(() => merge(...this.items.map((i) => i.inputChange$)).pipe(auditTime(16)))), this.breakpointService.subscribe(gridResponsiveMap).pipe(tap((bp) => this.breakpoint = bp))).pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
252
|
-
this.prepareMatrix();
|
|
253
|
-
this.cdr.markForCheck();
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Prepare the render matrix according to description items' spans.
|
|
258
|
-
*/
|
|
259
|
-
prepareMatrix() {
|
|
260
|
-
if (!this.items) {
|
|
261
|
-
return;
|
|
262
|
-
}
|
|
263
|
-
let currentRow = [];
|
|
264
|
-
let width = 0;
|
|
265
|
-
const column = this.realColumn = this.getColumn();
|
|
266
|
-
const items = this.items.toArray();
|
|
267
|
-
const length = items.length;
|
|
268
|
-
const matrix = [];
|
|
269
|
-
const flushRow = () => {
|
|
270
|
-
matrix.push(currentRow);
|
|
271
|
-
currentRow = [];
|
|
272
|
-
width = 0;
|
|
273
|
-
};
|
|
274
|
-
for (let i = 0; i < length; i++) {
|
|
275
|
-
const item = items[i];
|
|
276
|
-
const { nzTitle: title, content, nzSpan: span } = item;
|
|
277
|
-
width += span;
|
|
278
|
-
if (width >= column) {
|
|
279
|
-
if (width > column) {
|
|
280
|
-
warn(`"nzColumn" is ${column} but we have row length ${width}`);
|
|
281
|
-
}
|
|
282
|
-
currentRow.push({ title, content, span: column - (width - span) });
|
|
283
|
-
flushRow();
|
|
284
|
-
} else if (i === length - 1) {
|
|
285
|
-
currentRow.push({ title, content, span: column - (width - span) });
|
|
286
|
-
flushRow();
|
|
287
|
-
} else {
|
|
288
|
-
currentRow.push({ title, content, span });
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
this.itemMatrix = matrix;
|
|
292
|
-
}
|
|
293
|
-
getColumn() {
|
|
294
|
-
if (typeof this.nzColumn !== "number") {
|
|
295
|
-
return this.nzColumn[this.breakpoint];
|
|
296
|
-
}
|
|
297
|
-
return this.nzColumn;
|
|
298
|
-
}
|
|
299
|
-
}, (() => {
|
|
300
|
-
const _metadata = typeof Symbol === "function" && Symbol.metadata ? /* @__PURE__ */ Object.create(null) : void 0;
|
|
301
|
-
_nzBordered_decorators = [WithConfig()];
|
|
302
|
-
_nzColumn_decorators = [WithConfig()];
|
|
303
|
-
_nzSize_decorators = [WithConfig()];
|
|
304
|
-
_nzColon_decorators = [WithConfig()];
|
|
305
|
-
__esDecorate(null, null, _nzBordered_decorators, { kind: "field", name: "nzBordered", static: false, private: false, access: { has: (obj) => "nzBordered" in obj, get: (obj) => obj.nzBordered, set: (obj, value) => {
|
|
306
|
-
obj.nzBordered = value;
|
|
307
|
-
} }, metadata: _metadata }, _nzBordered_initializers, _nzBordered_extraInitializers);
|
|
308
|
-
__esDecorate(null, null, _nzColumn_decorators, { kind: "field", name: "nzColumn", static: false, private: false, access: { has: (obj) => "nzColumn" in obj, get: (obj) => obj.nzColumn, set: (obj, value) => {
|
|
309
|
-
obj.nzColumn = value;
|
|
310
|
-
} }, metadata: _metadata }, _nzColumn_initializers, _nzColumn_extraInitializers);
|
|
311
|
-
__esDecorate(null, null, _nzSize_decorators, { kind: "field", name: "nzSize", static: false, private: false, access: { has: (obj) => "nzSize" in obj, get: (obj) => obj.nzSize, set: (obj, value) => {
|
|
312
|
-
obj.nzSize = value;
|
|
313
|
-
} }, metadata: _metadata }, _nzSize_initializers, _nzSize_extraInitializers);
|
|
314
|
-
__esDecorate(null, null, _nzColon_decorators, { kind: "field", name: "nzColon", static: false, private: false, access: { has: (obj) => "nzColon" in obj, get: (obj) => obj.nzColon, set: (obj, value) => {
|
|
315
|
-
obj.nzColon = value;
|
|
316
|
-
} }, metadata: _metadata }, _nzColon_initializers, _nzColon_extraInitializers);
|
|
317
|
-
if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
318
|
-
})(), __publicField(_a, "\u0275fac", \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _a, deps: [], target: FactoryTarget.Component })), __publicField(_a, "\u0275cmp", \u0275\u0275ngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: _a, isStandalone: true, selector: "nz-descriptions", inputs: { nzBordered: ["nzBordered", "nzBordered", booleanAttribute], nzLayout: "nzLayout", nzColumn: "nzColumn", nzSize: "nzSize", nzTitle: "nzTitle", nzExtra: "nzExtra", nzColon: ["nzColon", "nzColon", booleanAttribute] }, host: { properties: { "class.ant-descriptions-bordered": "nzBordered", "class.ant-descriptions-middle": 'nzSize === "middle"', "class.ant-descriptions-small": 'nzSize === "small"', "class.ant-descriptions-rtl": 'dir === "rtl"' }, classAttribute: "ant-descriptions" }, queries: [{ propertyName: "items", predicate: NzDescriptionsItemComponent }], exportAs: ["nzDescriptions"], usesOnChanges: true, ngImport: core_exports, template: `
|
|
319
|
-
@if (nzTitle || nzExtra) {
|
|
320
|
-
<div class="ant-descriptions-header">
|
|
321
|
-
@if (nzTitle) {
|
|
322
|
-
<div class="ant-descriptions-title">
|
|
323
|
-
<ng-container *nzStringTemplateOutlet="nzTitle">{{ nzTitle }}</ng-container>
|
|
324
|
-
</div>
|
|
325
|
-
}
|
|
326
|
-
@if (nzExtra) {
|
|
327
|
-
<div class="ant-descriptions-extra">
|
|
328
|
-
<ng-container *nzStringTemplateOutlet="nzExtra">{{ nzExtra }}</ng-container>
|
|
329
|
-
</div>
|
|
330
|
-
}
|
|
331
|
-
</div>
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
<div class="ant-descriptions-view">
|
|
335
|
-
<table>
|
|
336
|
-
<tbody>
|
|
337
|
-
@if (nzLayout === 'horizontal') {
|
|
338
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
339
|
-
<tr class="ant-descriptions-row">
|
|
340
|
-
@for (item of row; track item; let isLast = $last) {
|
|
341
|
-
@if (!nzBordered) {
|
|
342
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
343
|
-
<div class="ant-descriptions-item-container">
|
|
344
|
-
<span class="ant-descriptions-item-label" [class.ant-descriptions-item-no-colon]="!nzColon">
|
|
345
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
346
|
-
{{ item.title }}
|
|
347
|
-
</ng-container>
|
|
348
|
-
</span>
|
|
349
|
-
<span class="ant-descriptions-item-content">
|
|
350
|
-
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
|
|
351
|
-
</span>
|
|
352
|
-
</div>
|
|
353
|
-
</td>
|
|
354
|
-
} @else {
|
|
355
|
-
<td class="ant-descriptions-item-label">
|
|
356
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
357
|
-
{{ item.title }}
|
|
358
|
-
</ng-container>
|
|
359
|
-
</td>
|
|
360
|
-
<td class="ant-descriptions-item-content" [colSpan]="item.span * 2 - 1">
|
|
361
|
-
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
|
|
362
|
-
</td>
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
</tr>
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
@if (nzLayout === 'vertical') {
|
|
370
|
-
@if (!nzBordered) {
|
|
371
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
372
|
-
<tr class="ant-descriptions-row">
|
|
373
|
-
@for (item of row; track item; let isLast = $last) {
|
|
374
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
375
|
-
<div class="ant-descriptions-item-container">
|
|
376
|
-
<span class="ant-descriptions-item-label" [class.ant-descriptions-item-no-colon]="!nzColon">
|
|
377
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
378
|
-
{{ item.title }}
|
|
379
|
-
</ng-container>
|
|
380
|
-
</span>
|
|
381
|
-
</div>
|
|
382
|
-
</td>
|
|
383
|
-
}
|
|
384
|
-
</tr>
|
|
385
|
-
<tr class="ant-descriptions-row">
|
|
386
|
-
@for (item of row; track item; let isLast = $last) {
|
|
387
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
388
|
-
<div class="ant-descriptions-item-container">
|
|
389
|
-
<span class="ant-descriptions-item-content">
|
|
390
|
-
<ng-template [ngTemplateOutlet]="item.content" />
|
|
391
|
-
</span>
|
|
392
|
-
</div>
|
|
393
|
-
</td>
|
|
394
|
-
}
|
|
395
|
-
</tr>
|
|
396
|
-
}
|
|
397
|
-
} @else {
|
|
398
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
399
|
-
<tr class="ant-descriptions-row">
|
|
400
|
-
@for (item of row; track item; let isLast = $last) {
|
|
401
|
-
<td class="ant-descriptions-item-label" [colSpan]="item.span">
|
|
402
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
403
|
-
{{ item.title }}
|
|
404
|
-
</ng-container>
|
|
405
|
-
</td>
|
|
406
|
-
}
|
|
407
|
-
</tr>
|
|
408
|
-
<tr class="ant-descriptions-row">
|
|
409
|
-
@for (item of row; track item; let isLast = $last) {
|
|
410
|
-
<td class="ant-descriptions-item-content" [colSpan]="item.span">
|
|
411
|
-
<ng-template [ngTemplateOutlet]="item.content" />
|
|
412
|
-
</td>
|
|
413
|
-
}
|
|
414
|
-
</tr>
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
</tbody>
|
|
419
|
-
</table>
|
|
420
|
-
</div>
|
|
421
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzOutletModule }, { kind: "directive", type: NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None })), _a;
|
|
422
|
-
})();
|
|
423
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzDescriptionsComponent, decorators: [{
|
|
424
|
-
type: Component,
|
|
425
|
-
args: [{
|
|
426
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
427
|
-
encapsulation: ViewEncapsulation.None,
|
|
428
|
-
selector: "nz-descriptions",
|
|
429
|
-
exportAs: "nzDescriptions",
|
|
430
|
-
template: `
|
|
431
|
-
@if (nzTitle || nzExtra) {
|
|
432
|
-
<div class="ant-descriptions-header">
|
|
433
|
-
@if (nzTitle) {
|
|
434
|
-
<div class="ant-descriptions-title">
|
|
435
|
-
<ng-container *nzStringTemplateOutlet="nzTitle">{{ nzTitle }}</ng-container>
|
|
436
|
-
</div>
|
|
437
|
-
}
|
|
438
|
-
@if (nzExtra) {
|
|
439
|
-
<div class="ant-descriptions-extra">
|
|
440
|
-
<ng-container *nzStringTemplateOutlet="nzExtra">{{ nzExtra }}</ng-container>
|
|
441
|
-
</div>
|
|
442
|
-
}
|
|
443
|
-
</div>
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
<div class="ant-descriptions-view">
|
|
447
|
-
<table>
|
|
448
|
-
<tbody>
|
|
449
|
-
@if (nzLayout === 'horizontal') {
|
|
450
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
451
|
-
<tr class="ant-descriptions-row">
|
|
452
|
-
@for (item of row; track item; let isLast = $last) {
|
|
453
|
-
@if (!nzBordered) {
|
|
454
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
455
|
-
<div class="ant-descriptions-item-container">
|
|
456
|
-
<span class="ant-descriptions-item-label" [class.ant-descriptions-item-no-colon]="!nzColon">
|
|
457
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
458
|
-
{{ item.title }}
|
|
459
|
-
</ng-container>
|
|
460
|
-
</span>
|
|
461
|
-
<span class="ant-descriptions-item-content">
|
|
462
|
-
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
|
|
463
|
-
</span>
|
|
464
|
-
</div>
|
|
465
|
-
</td>
|
|
466
|
-
} @else {
|
|
467
|
-
<td class="ant-descriptions-item-label">
|
|
468
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
469
|
-
{{ item.title }}
|
|
470
|
-
</ng-container>
|
|
471
|
-
</td>
|
|
472
|
-
<td class="ant-descriptions-item-content" [colSpan]="item.span * 2 - 1">
|
|
473
|
-
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
|
|
474
|
-
</td>
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
</tr>
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
@if (nzLayout === 'vertical') {
|
|
482
|
-
@if (!nzBordered) {
|
|
483
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
484
|
-
<tr class="ant-descriptions-row">
|
|
485
|
-
@for (item of row; track item; let isLast = $last) {
|
|
486
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
487
|
-
<div class="ant-descriptions-item-container">
|
|
488
|
-
<span class="ant-descriptions-item-label" [class.ant-descriptions-item-no-colon]="!nzColon">
|
|
489
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
490
|
-
{{ item.title }}
|
|
491
|
-
</ng-container>
|
|
492
|
-
</span>
|
|
493
|
-
</div>
|
|
494
|
-
</td>
|
|
495
|
-
}
|
|
496
|
-
</tr>
|
|
497
|
-
<tr class="ant-descriptions-row">
|
|
498
|
-
@for (item of row; track item; let isLast = $last) {
|
|
499
|
-
<td class="ant-descriptions-item" [colSpan]="item.span">
|
|
500
|
-
<div class="ant-descriptions-item-container">
|
|
501
|
-
<span class="ant-descriptions-item-content">
|
|
502
|
-
<ng-template [ngTemplateOutlet]="item.content" />
|
|
503
|
-
</span>
|
|
504
|
-
</div>
|
|
505
|
-
</td>
|
|
506
|
-
}
|
|
507
|
-
</tr>
|
|
508
|
-
}
|
|
509
|
-
} @else {
|
|
510
|
-
@for (row of itemMatrix; track row; let i = $index) {
|
|
511
|
-
<tr class="ant-descriptions-row">
|
|
512
|
-
@for (item of row; track item; let isLast = $last) {
|
|
513
|
-
<td class="ant-descriptions-item-label" [colSpan]="item.span">
|
|
514
|
-
<ng-container *nzStringTemplateOutlet="item.title">
|
|
515
|
-
{{ item.title }}
|
|
516
|
-
</ng-container>
|
|
517
|
-
</td>
|
|
518
|
-
}
|
|
519
|
-
</tr>
|
|
520
|
-
<tr class="ant-descriptions-row">
|
|
521
|
-
@for (item of row; track item; let isLast = $last) {
|
|
522
|
-
<td class="ant-descriptions-item-content" [colSpan]="item.span">
|
|
523
|
-
<ng-template [ngTemplateOutlet]="item.content" />
|
|
524
|
-
</td>
|
|
525
|
-
}
|
|
526
|
-
</tr>
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
</tbody>
|
|
531
|
-
</table>
|
|
532
|
-
</div>
|
|
533
|
-
`,
|
|
534
|
-
host: {
|
|
535
|
-
class: "ant-descriptions",
|
|
536
|
-
"[class.ant-descriptions-bordered]": "nzBordered",
|
|
537
|
-
"[class.ant-descriptions-middle]": 'nzSize === "middle"',
|
|
538
|
-
"[class.ant-descriptions-small]": 'nzSize === "small"',
|
|
539
|
-
"[class.ant-descriptions-rtl]": 'dir === "rtl"'
|
|
540
|
-
},
|
|
541
|
-
imports: [NzOutletModule, NgTemplateOutlet]
|
|
542
|
-
}]
|
|
543
|
-
}], propDecorators: { items: [{
|
|
544
|
-
type: ContentChildren,
|
|
545
|
-
args: [NzDescriptionsItemComponent]
|
|
546
|
-
}], nzBordered: [{
|
|
547
|
-
type: Input,
|
|
548
|
-
args: [{ transform: booleanAttribute }]
|
|
549
|
-
}], nzLayout: [{
|
|
550
|
-
type: Input
|
|
551
|
-
}], nzColumn: [{
|
|
552
|
-
type: Input
|
|
553
|
-
}], nzSize: [{
|
|
554
|
-
type: Input
|
|
555
|
-
}], nzTitle: [{
|
|
556
|
-
type: Input
|
|
557
|
-
}], nzExtra: [{
|
|
558
|
-
type: Input
|
|
559
|
-
}], nzColon: [{
|
|
560
|
-
type: Input,
|
|
561
|
-
args: [{ transform: booleanAttribute }]
|
|
562
|
-
}] } });
|
|
563
|
-
var NzDescriptionsModule = class _NzDescriptionsModule {
|
|
564
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzDescriptionsModule, deps: [], target: FactoryTarget.NgModule });
|
|
565
|
-
static \u0275mod = \u0275\u0275ngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: core_exports, type: _NzDescriptionsModule, imports: [NzDescriptionsComponent, NzDescriptionsItemComponent], exports: [NzDescriptionsComponent, NzDescriptionsItemComponent] });
|
|
566
|
-
static \u0275inj = \u0275\u0275ngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzDescriptionsModule, imports: [NzDescriptionsComponent] });
|
|
567
|
-
};
|
|
568
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzDescriptionsModule, decorators: [{
|
|
569
|
-
type: NgModule,
|
|
570
|
-
args: [{
|
|
571
|
-
imports: [NzDescriptionsComponent, NzDescriptionsItemComponent],
|
|
572
|
-
exports: [NzDescriptionsComponent, NzDescriptionsItemComponent]
|
|
573
|
-
}]
|
|
574
|
-
}] });
|
|
575
|
-
|
|
576
|
-
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-timeline.mjs
|
|
577
|
-
var TimelineService = class _TimelineService {
|
|
578
|
-
check$ = new ReplaySubject(1);
|
|
579
|
-
markForCheck() {
|
|
580
|
-
this.check$.next();
|
|
581
|
-
}
|
|
582
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _TimelineService, deps: [], target: FactoryTarget.Injectable });
|
|
583
|
-
static \u0275prov = \u0275\u0275ngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _TimelineService });
|
|
584
|
-
};
|
|
585
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: TimelineService, decorators: [{
|
|
586
|
-
type: Injectable
|
|
587
|
-
}] });
|
|
588
|
-
var TimelineTimeDefaultColors = ["red", "blue", "green", "grey", "gray"];
|
|
589
|
-
function isDefaultColor(color) {
|
|
590
|
-
return TimelineTimeDefaultColors.findIndex((i) => i === color) !== -1;
|
|
591
|
-
}
|
|
592
|
-
var NzTimelineItemComponent = class _NzTimelineItemComponent {
|
|
593
|
-
cdr = inject(ChangeDetectorRef);
|
|
594
|
-
timelineService = inject(TimelineService);
|
|
595
|
-
template;
|
|
596
|
-
nzPosition;
|
|
597
|
-
nzColor = "blue";
|
|
598
|
-
nzDot;
|
|
599
|
-
nzLabel;
|
|
600
|
-
isLast = false;
|
|
601
|
-
borderColor = null;
|
|
602
|
-
position;
|
|
603
|
-
ngOnChanges(changes) {
|
|
604
|
-
this.timelineService.markForCheck();
|
|
605
|
-
const { nzColor } = changes;
|
|
606
|
-
if (nzColor) {
|
|
607
|
-
this.updateCustomColor();
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
detectChanges() {
|
|
611
|
-
this.cdr.detectChanges();
|
|
612
|
-
}
|
|
613
|
-
updateCustomColor() {
|
|
614
|
-
this.borderColor = isDefaultColor(this.nzColor) ? null : this.nzColor;
|
|
615
|
-
}
|
|
616
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzTimelineItemComponent, deps: [], target: FactoryTarget.Component });
|
|
617
|
-
static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: _NzTimelineItemComponent, isStandalone: true, selector: "nz-timeline-item, [nz-timeline-item]", inputs: { nzPosition: "nzPosition", nzColor: "nzColor", nzDot: "nzDot", nzLabel: "nzLabel" }, viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }], exportAs: ["nzTimelineItem"], usesOnChanges: true, ngImport: core_exports, template: `
|
|
618
|
-
<ng-template #template>
|
|
619
|
-
<li
|
|
620
|
-
class="ant-timeline-item"
|
|
621
|
-
[class.ant-timeline-item-right]="(nzPosition || position) === 'right'"
|
|
622
|
-
[class.ant-timeline-item-left]="(nzPosition || position) === 'left'"
|
|
623
|
-
[class.ant-timeline-item-last]="isLast"
|
|
624
|
-
>
|
|
625
|
-
@if (nzLabel) {
|
|
626
|
-
<div class="ant-timeline-item-label">
|
|
627
|
-
<ng-container *nzStringTemplateOutlet="nzLabel">{{ nzLabel }}</ng-container>
|
|
628
|
-
</div>
|
|
629
|
-
}
|
|
630
|
-
<div class="ant-timeline-item-tail"></div>
|
|
631
|
-
<div
|
|
632
|
-
class="ant-timeline-item-head"
|
|
633
|
-
[class.ant-timeline-item-head-red]="nzColor === 'red'"
|
|
634
|
-
[class.ant-timeline-item-head-blue]="nzColor === 'blue'"
|
|
635
|
-
[class.ant-timeline-item-head-green]="nzColor === 'green'"
|
|
636
|
-
[class.ant-timeline-item-head-gray]="nzColor === 'gray'"
|
|
637
|
-
[class.ant-timeline-item-head-custom]="!!nzDot"
|
|
638
|
-
[style.border-color]="borderColor"
|
|
639
|
-
>
|
|
640
|
-
<ng-container *nzStringTemplateOutlet="nzDot">{{ nzDot }}</ng-container>
|
|
641
|
-
</div>
|
|
642
|
-
<div class="ant-timeline-item-content">
|
|
643
|
-
<ng-content></ng-content>
|
|
644
|
-
</div>
|
|
645
|
-
</li>
|
|
646
|
-
</ng-template>
|
|
647
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzOutletModule }, { kind: "directive", type: NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None });
|
|
648
|
-
};
|
|
649
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzTimelineItemComponent, decorators: [{
|
|
650
|
-
type: Component,
|
|
651
|
-
args: [{
|
|
652
|
-
selector: "nz-timeline-item, [nz-timeline-item]",
|
|
653
|
-
exportAs: "nzTimelineItem",
|
|
654
|
-
template: `
|
|
655
|
-
<ng-template #template>
|
|
656
|
-
<li
|
|
657
|
-
class="ant-timeline-item"
|
|
658
|
-
[class.ant-timeline-item-right]="(nzPosition || position) === 'right'"
|
|
659
|
-
[class.ant-timeline-item-left]="(nzPosition || position) === 'left'"
|
|
660
|
-
[class.ant-timeline-item-last]="isLast"
|
|
661
|
-
>
|
|
662
|
-
@if (nzLabel) {
|
|
663
|
-
<div class="ant-timeline-item-label">
|
|
664
|
-
<ng-container *nzStringTemplateOutlet="nzLabel">{{ nzLabel }}</ng-container>
|
|
665
|
-
</div>
|
|
666
|
-
}
|
|
667
|
-
<div class="ant-timeline-item-tail"></div>
|
|
668
|
-
<div
|
|
669
|
-
class="ant-timeline-item-head"
|
|
670
|
-
[class.ant-timeline-item-head-red]="nzColor === 'red'"
|
|
671
|
-
[class.ant-timeline-item-head-blue]="nzColor === 'blue'"
|
|
672
|
-
[class.ant-timeline-item-head-green]="nzColor === 'green'"
|
|
673
|
-
[class.ant-timeline-item-head-gray]="nzColor === 'gray'"
|
|
674
|
-
[class.ant-timeline-item-head-custom]="!!nzDot"
|
|
675
|
-
[style.border-color]="borderColor"
|
|
676
|
-
>
|
|
677
|
-
<ng-container *nzStringTemplateOutlet="nzDot">{{ nzDot }}</ng-container>
|
|
678
|
-
</div>
|
|
679
|
-
<div class="ant-timeline-item-content">
|
|
680
|
-
<ng-content></ng-content>
|
|
681
|
-
</div>
|
|
682
|
-
</li>
|
|
683
|
-
</ng-template>
|
|
684
|
-
`,
|
|
685
|
-
imports: [NzOutletModule],
|
|
686
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
687
|
-
encapsulation: ViewEncapsulation.None
|
|
688
|
-
}]
|
|
689
|
-
}], propDecorators: { template: [{
|
|
690
|
-
type: ViewChild,
|
|
691
|
-
args: ["template", { static: false }]
|
|
692
|
-
}], nzPosition: [{
|
|
693
|
-
type: Input
|
|
694
|
-
}], nzColor: [{
|
|
695
|
-
type: Input
|
|
696
|
-
}], nzDot: [{
|
|
697
|
-
type: Input
|
|
698
|
-
}], nzLabel: [{
|
|
699
|
-
type: Input
|
|
700
|
-
}] } });
|
|
701
|
-
var NzTimelineComponent = class _NzTimelineComponent {
|
|
702
|
-
cdr = inject(ChangeDetectorRef);
|
|
703
|
-
timelineService = inject(TimelineService);
|
|
704
|
-
directionality = inject(Directionality);
|
|
705
|
-
destroyRef = inject(DestroyRef);
|
|
706
|
-
listOfItems;
|
|
707
|
-
nzMode = "left";
|
|
708
|
-
nzPending;
|
|
709
|
-
nzPendingDot;
|
|
710
|
-
nzReverse = false;
|
|
711
|
-
isPendingBoolean = false;
|
|
712
|
-
timelineItems = [];
|
|
713
|
-
dir = "ltr";
|
|
714
|
-
hasLabelItem = false;
|
|
715
|
-
ngOnChanges(changes) {
|
|
716
|
-
const { nzMode, nzReverse, nzPending } = changes;
|
|
717
|
-
if (simpleChangeActivated(nzMode) || simpleChangeActivated(nzReverse)) {
|
|
718
|
-
this.updateChildren();
|
|
719
|
-
}
|
|
720
|
-
if (nzPending) {
|
|
721
|
-
this.isPendingBoolean = nzPending.currentValue === true;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
ngOnInit() {
|
|
725
|
-
this.timelineService.check$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
726
|
-
this.cdr.markForCheck();
|
|
727
|
-
});
|
|
728
|
-
this.directionality.change?.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((direction) => {
|
|
729
|
-
this.dir = direction;
|
|
730
|
-
this.cdr.detectChanges();
|
|
731
|
-
});
|
|
732
|
-
this.dir = this.directionality.value;
|
|
733
|
-
}
|
|
734
|
-
ngAfterContentInit() {
|
|
735
|
-
this.updateChildren();
|
|
736
|
-
this.listOfItems.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
737
|
-
this.updateChildren();
|
|
738
|
-
});
|
|
739
|
-
}
|
|
740
|
-
updateChildren() {
|
|
741
|
-
if (this.listOfItems && this.listOfItems.length) {
|
|
742
|
-
const length = this.listOfItems.length;
|
|
743
|
-
let hasLabelItem = false;
|
|
744
|
-
this.listOfItems.forEach((item, index) => {
|
|
745
|
-
item.isLast = !this.nzReverse ? index === length - 1 : index === 0;
|
|
746
|
-
item.position = getInferredTimelineItemPosition(index, this.nzMode);
|
|
747
|
-
if (!hasLabelItem && item.nzLabel) {
|
|
748
|
-
hasLabelItem = true;
|
|
749
|
-
}
|
|
750
|
-
item.detectChanges();
|
|
751
|
-
});
|
|
752
|
-
this.timelineItems = this.nzReverse ? this.listOfItems.toArray().reverse() : this.listOfItems.toArray();
|
|
753
|
-
this.hasLabelItem = hasLabelItem;
|
|
754
|
-
} else {
|
|
755
|
-
this.timelineItems = [];
|
|
756
|
-
this.hasLabelItem = false;
|
|
757
|
-
}
|
|
758
|
-
this.cdr.markForCheck();
|
|
759
|
-
}
|
|
760
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzTimelineComponent, deps: [], target: FactoryTarget.Component });
|
|
761
|
-
static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: _NzTimelineComponent, isStandalone: true, selector: "nz-timeline", inputs: { nzMode: "nzMode", nzPending: "nzPending", nzPendingDot: "nzPendingDot", nzReverse: ["nzReverse", "nzReverse", booleanAttribute] }, providers: [TimelineService], queries: [{ propertyName: "listOfItems", predicate: NzTimelineItemComponent }], exportAs: ["nzTimeline"], usesOnChanges: true, ngImport: core_exports, template: `
|
|
762
|
-
<ul
|
|
763
|
-
class="ant-timeline"
|
|
764
|
-
[class.ant-timeline-label]="hasLabelItem"
|
|
765
|
-
[class.ant-timeline-right]="!hasLabelItem && nzMode === 'right'"
|
|
766
|
-
[class.ant-timeline-alternate]="nzMode === 'alternate' || nzMode === 'custom'"
|
|
767
|
-
[class.ant-timeline-pending]="!!nzPending"
|
|
768
|
-
[class.ant-timeline-reverse]="nzReverse"
|
|
769
|
-
[class.ant-timeline-rtl]="dir === 'rtl'"
|
|
770
|
-
>
|
|
771
|
-
<!-- pending dot (reversed) -->
|
|
772
|
-
@if (nzReverse) {
|
|
773
|
-
<ng-container [ngTemplateOutlet]="pendingTemplate"></ng-container>
|
|
774
|
-
}
|
|
775
|
-
<!-- timeline items -->
|
|
776
|
-
@for (item of timelineItems; track item) {
|
|
777
|
-
<ng-template [ngTemplateOutlet]="item.template"></ng-template>
|
|
778
|
-
}
|
|
779
|
-
@if (!nzReverse) {
|
|
780
|
-
<ng-container [ngTemplateOutlet]="pendingTemplate"></ng-container>
|
|
781
|
-
}
|
|
782
|
-
<!-- pending dot -->
|
|
783
|
-
</ul>
|
|
784
|
-
<ng-template #pendingTemplate>
|
|
785
|
-
@if (nzPending) {
|
|
786
|
-
<li class="ant-timeline-item ant-timeline-item-pending">
|
|
787
|
-
<div class="ant-timeline-item-tail"></div>
|
|
788
|
-
<div class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-blue">
|
|
789
|
-
<ng-container *nzStringTemplateOutlet="nzPendingDot">
|
|
790
|
-
{{ nzPendingDot }}
|
|
791
|
-
@if (!nzPendingDot) {
|
|
792
|
-
<nz-icon nzType="loading" />
|
|
793
|
-
}
|
|
794
|
-
</ng-container>
|
|
795
|
-
</div>
|
|
796
|
-
<div class="ant-timeline-item-content">
|
|
797
|
-
<ng-container *nzStringTemplateOutlet="nzPending">
|
|
798
|
-
{{ isPendingBoolean ? '' : nzPending }}
|
|
799
|
-
</ng-container>
|
|
800
|
-
</div>
|
|
801
|
-
</li>
|
|
802
|
-
}
|
|
803
|
-
</ng-template>
|
|
804
|
-
<!-- Grasp items -->
|
|
805
|
-
<ng-content></ng-content>
|
|
806
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NzOutletModule }, { kind: "directive", type: NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None });
|
|
807
|
-
};
|
|
808
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzTimelineComponent, decorators: [{
|
|
809
|
-
type: Component,
|
|
810
|
-
args: [{
|
|
811
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
812
|
-
encapsulation: ViewEncapsulation.None,
|
|
813
|
-
selector: "nz-timeline",
|
|
814
|
-
providers: [TimelineService],
|
|
815
|
-
exportAs: "nzTimeline",
|
|
816
|
-
template: `
|
|
817
|
-
<ul
|
|
818
|
-
class="ant-timeline"
|
|
819
|
-
[class.ant-timeline-label]="hasLabelItem"
|
|
820
|
-
[class.ant-timeline-right]="!hasLabelItem && nzMode === 'right'"
|
|
821
|
-
[class.ant-timeline-alternate]="nzMode === 'alternate' || nzMode === 'custom'"
|
|
822
|
-
[class.ant-timeline-pending]="!!nzPending"
|
|
823
|
-
[class.ant-timeline-reverse]="nzReverse"
|
|
824
|
-
[class.ant-timeline-rtl]="dir === 'rtl'"
|
|
825
|
-
>
|
|
826
|
-
<!-- pending dot (reversed) -->
|
|
827
|
-
@if (nzReverse) {
|
|
828
|
-
<ng-container [ngTemplateOutlet]="pendingTemplate"></ng-container>
|
|
829
|
-
}
|
|
830
|
-
<!-- timeline items -->
|
|
831
|
-
@for (item of timelineItems; track item) {
|
|
832
|
-
<ng-template [ngTemplateOutlet]="item.template"></ng-template>
|
|
833
|
-
}
|
|
834
|
-
@if (!nzReverse) {
|
|
835
|
-
<ng-container [ngTemplateOutlet]="pendingTemplate"></ng-container>
|
|
836
|
-
}
|
|
837
|
-
<!-- pending dot -->
|
|
838
|
-
</ul>
|
|
839
|
-
<ng-template #pendingTemplate>
|
|
840
|
-
@if (nzPending) {
|
|
841
|
-
<li class="ant-timeline-item ant-timeline-item-pending">
|
|
842
|
-
<div class="ant-timeline-item-tail"></div>
|
|
843
|
-
<div class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-blue">
|
|
844
|
-
<ng-container *nzStringTemplateOutlet="nzPendingDot">
|
|
845
|
-
{{ nzPendingDot }}
|
|
846
|
-
@if (!nzPendingDot) {
|
|
847
|
-
<nz-icon nzType="loading" />
|
|
848
|
-
}
|
|
849
|
-
</ng-container>
|
|
850
|
-
</div>
|
|
851
|
-
<div class="ant-timeline-item-content">
|
|
852
|
-
<ng-container *nzStringTemplateOutlet="nzPending">
|
|
853
|
-
{{ isPendingBoolean ? '' : nzPending }}
|
|
854
|
-
</ng-container>
|
|
855
|
-
</div>
|
|
856
|
-
</li>
|
|
857
|
-
}
|
|
858
|
-
</ng-template>
|
|
859
|
-
<!-- Grasp items -->
|
|
860
|
-
<ng-content></ng-content>
|
|
861
|
-
`,
|
|
862
|
-
imports: [NgTemplateOutlet, NzOutletModule, NzIconModule]
|
|
863
|
-
}]
|
|
864
|
-
}], propDecorators: { listOfItems: [{
|
|
865
|
-
type: ContentChildren,
|
|
866
|
-
args: [NzTimelineItemComponent]
|
|
867
|
-
}], nzMode: [{
|
|
868
|
-
type: Input
|
|
869
|
-
}], nzPending: [{
|
|
870
|
-
type: Input
|
|
871
|
-
}], nzPendingDot: [{
|
|
872
|
-
type: Input
|
|
873
|
-
}], nzReverse: [{
|
|
874
|
-
type: Input,
|
|
875
|
-
args: [{ transform: booleanAttribute }]
|
|
876
|
-
}] } });
|
|
877
|
-
function simpleChangeActivated(simpleChange) {
|
|
878
|
-
return !!(simpleChange && (simpleChange.previousValue !== simpleChange.currentValue || simpleChange.isFirstChange()));
|
|
879
|
-
}
|
|
880
|
-
function getInferredTimelineItemPosition(index, mode) {
|
|
881
|
-
if (mode === "custom") {
|
|
882
|
-
return void 0;
|
|
883
|
-
} else if (mode === "left" || mode === "right") {
|
|
884
|
-
return mode;
|
|
885
|
-
} else {
|
|
886
|
-
return mode === "alternate" && index % 2 === 0 ? "left" : "right";
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
var NzTimelineModule = class _NzTimelineModule {
|
|
890
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzTimelineModule, deps: [], target: FactoryTarget.NgModule });
|
|
891
|
-
static \u0275mod = \u0275\u0275ngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: core_exports, type: _NzTimelineModule, imports: [NzTimelineItemComponent, NzTimelineComponent], exports: [NzTimelineItemComponent, NzTimelineComponent] });
|
|
892
|
-
static \u0275inj = \u0275\u0275ngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzTimelineModule, imports: [NzTimelineItemComponent, NzTimelineComponent] });
|
|
893
|
-
};
|
|
894
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzTimelineModule, decorators: [{
|
|
895
|
-
type: NgModule,
|
|
896
|
-
args: [{
|
|
897
|
-
imports: [NzTimelineItemComponent, NzTimelineComponent],
|
|
898
|
-
exports: [NzTimelineItemComponent, NzTimelineComponent]
|
|
899
|
-
}]
|
|
900
|
-
}] });
|
|
901
|
-
|
|
902
|
-
// angular:jit:style:inline:src\app\shared\ui\detail-item-card.component\detail-item-card.component.ts;CiAgICAuZGV0YWlsLWl0ZW0gewogICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIHdpZHRoOiAxMDAlOwogICAgICBkaXNwbGF5OiBmbGV4OwogICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uOwogICAgICBtYXJnaW4tYm90dG9tOiAxcmVtOwogICAgICAuYWN0aW9ucyB7CiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTJweDsKICAgICAgICBkaXNwbGF5OiBmbGV4OwogICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjZjBmMGYwOwoKICAgICAgICAud3JhcC10aXRsZSB7CiAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwOwogICAgICAgICAgd2lkdGg6IDEwMCU7CiAgICAgICAgICBmb250LXNpemU6IDE4cHg7CiAgICAgICAgICBmb250LXdlaWdodDogYm9sZDsKICAgICAgICB9CiAgICAgIH0KICAgIH0KCiAgICA6aG9zdCA6Om5nLWRlZXAgLmFudC1jYXJkLWJvZHkgewogICAgICBoZWlnaHQ6IDEwMCU7CiAgICAgIGRpc3BsYXk6IGZsZXg7CiAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47CiAgICB9CgogICAgLmNvbnRlbnQgewogICAgICBvdmVyZmxvdy15OiBhdXRvOwogICAgICAvLyBoZWlnaHQ6IDEwMCU7CiAgICAgIGZsZXg6IDE7CiAgICAgIC8vIG1pbi1oZWlnaHQ6IDA7CiAgICB9CgogICAgLmVtcHR5IHsKICAgICAgZm9udC1zaXplOiAwLjg3NXJlbTsKICAgICAgdGV4dC1hbGlnbjogY2VudGVyOwogICAgICBjb2xvcjogZ3JheTsKICAgIH0KCiAgICA6aG9zdCA6Om5nLWRlZXAgLmFudC1jYXJkLWJvcmRlcmVkIHsKICAgICAgYm9yZGVyLXJhZGl1czogMTBweDsKICAgIH0KICA=
|
|
903
|
-
var detail_item_card_component_default = "/* angular:styles/component:less;7e76251559f0b616f4616b2e4e34ce2d1a32635c1801b1e9d029d7659b65a15f;D:\\ng-manager\\webapp\\src\\app\\shared\\ui\\detail-item-card.component\\detail-item-card.component.ts */\n.detail-item {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n margin-bottom: 1rem;\n}\n.detail-item .actions {\n margin-bottom: 12px;\n display: flex;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail-item .actions .wrap-title {\n margin-bottom: 0;\n width: 100%;\n font-size: 18px;\n font-weight: bold;\n}\n:host ::ng-deep .ant-card-body {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.content {\n overflow-y: auto;\n flex: 1;\n}\n.empty {\n font-size: 0.875rem;\n text-align: center;\n color: gray;\n}\n:host ::ng-deep .ant-card-bordered {\n border-radius: 10px;\n}\n/*# sourceMappingURL=detail-item-card.component.css.map */\n";
|
|
904
|
-
|
|
905
|
-
// src/app/shared/ui/detail-item-card.component/detail-item-card.component.ts
|
|
906
|
-
var DetailItemCardComponent = class DetailItemCardComponent2 {
|
|
907
|
-
title = input();
|
|
908
|
-
maxHeight = input();
|
|
909
|
-
emptyStatus = input(false);
|
|
910
|
-
emptyText = input("\u6682\u65E0\u6570\u636E");
|
|
911
|
-
static propDecorators = {
|
|
912
|
-
title: [{ type: Input, args: [{ isSignal: true, alias: "title", required: false, transform: void 0 }] }],
|
|
913
|
-
maxHeight: [{ type: Input, args: [{ isSignal: true, alias: "maxHeight", required: false, transform: void 0 }] }],
|
|
914
|
-
emptyStatus: [{ type: Input, args: [{ isSignal: true, alias: "emptyStatus", required: false, transform: void 0 }] }],
|
|
915
|
-
emptyText: [{ type: Input, args: [{ isSignal: true, alias: "emptyText", required: false, transform: void 0 }] }]
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
DetailItemCardComponent = __decorate([
|
|
919
|
-
Component({
|
|
920
|
-
selector: "app-detail-item-card",
|
|
921
|
-
imports: [NzCardModule],
|
|
922
|
-
template: `
|
|
923
|
-
<nz-card class="detail-item" [style]="{ maxHeight: maxHeight() }">
|
|
924
|
-
@if (title()) {
|
|
925
|
-
<div class="actions">
|
|
926
|
-
<h2 class="wrap-title">{{ title() }}</h2>
|
|
927
|
-
<ng-content select="[actions]"></ng-content>
|
|
928
|
-
</div>
|
|
929
|
-
}
|
|
930
|
-
<div class="content">
|
|
931
|
-
@if (emptyStatus()) {
|
|
932
|
-
<div class="empty">{{ emptyText() }}</div>
|
|
933
|
-
} @else {
|
|
934
|
-
<ng-content></ng-content>
|
|
935
|
-
}
|
|
936
|
-
</div>
|
|
937
|
-
</nz-card>
|
|
938
|
-
`,
|
|
939
|
-
styles: [detail_item_card_component_default]
|
|
940
|
-
})
|
|
941
|
-
], DetailItemCardComponent);
|
|
942
|
-
|
|
943
|
-
// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-avatar.mjs
|
|
944
|
-
var NZ_CONFIG_MODULE_NAME2 = "avatar";
|
|
945
|
-
var NzAvatarComponent = (() => {
|
|
946
|
-
var _a;
|
|
947
|
-
let _nzShape_decorators;
|
|
948
|
-
let _nzShape_initializers = [];
|
|
949
|
-
let _nzShape_extraInitializers = [];
|
|
950
|
-
let _nzSize_decorators;
|
|
951
|
-
let _nzSize_initializers = [];
|
|
952
|
-
let _nzSize_extraInitializers = [];
|
|
953
|
-
let _nzGap_decorators;
|
|
954
|
-
let _nzGap_initializers = [];
|
|
955
|
-
let _nzGap_extraInitializers = [];
|
|
956
|
-
return _a = class {
|
|
957
|
-
_nzModuleName = NZ_CONFIG_MODULE_NAME2;
|
|
958
|
-
nzShape = __runInitializers(this, _nzShape_initializers, "circle");
|
|
959
|
-
nzSize = (__runInitializers(this, _nzShape_extraInitializers), __runInitializers(this, _nzSize_initializers, "default"));
|
|
960
|
-
nzGap = (__runInitializers(this, _nzSize_extraInitializers), __runInitializers(this, _nzGap_initializers, 4));
|
|
961
|
-
nzText = __runInitializers(this, _nzGap_extraInitializers);
|
|
962
|
-
nzSrc;
|
|
963
|
-
nzSrcSet;
|
|
964
|
-
nzAlt;
|
|
965
|
-
nzIcon;
|
|
966
|
-
nzLoading = input(...ngDevMode ? [void 0, { debugName: "nzLoading" }] : []);
|
|
967
|
-
nzFetchPriority = input(...ngDevMode ? [void 0, { debugName: "nzFetchPriority" }] : []);
|
|
968
|
-
nzError = new EventEmitter();
|
|
969
|
-
hasText = false;
|
|
970
|
-
hasSrc = true;
|
|
971
|
-
hasIcon = false;
|
|
972
|
-
customSize = null;
|
|
973
|
-
textEl;
|
|
974
|
-
el = inject(ElementRef).nativeElement;
|
|
975
|
-
cdr = inject(ChangeDetectorRef);
|
|
976
|
-
constructor() {
|
|
977
|
-
afterEveryRender(() => this.calcStringSize());
|
|
978
|
-
}
|
|
979
|
-
imgError(event) {
|
|
980
|
-
this.nzError.emit(event);
|
|
981
|
-
if (!event.defaultPrevented) {
|
|
982
|
-
this.hasSrc = false;
|
|
983
|
-
this.hasIcon = false;
|
|
984
|
-
this.hasText = false;
|
|
985
|
-
if (this.nzIcon) {
|
|
986
|
-
this.hasIcon = true;
|
|
987
|
-
} else if (this.nzText) {
|
|
988
|
-
this.hasText = true;
|
|
989
|
-
}
|
|
990
|
-
this.cdr.detectChanges();
|
|
991
|
-
this.setSizeStyle();
|
|
992
|
-
this.calcStringSize();
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
ngOnChanges() {
|
|
996
|
-
this.hasText = !this.nzSrc && !!this.nzText;
|
|
997
|
-
this.hasIcon = !this.nzSrc && !!this.nzIcon;
|
|
998
|
-
this.hasSrc = !!this.nzSrc;
|
|
999
|
-
this.setSizeStyle();
|
|
1000
|
-
this.calcStringSize();
|
|
1001
|
-
}
|
|
1002
|
-
calcStringSize() {
|
|
1003
|
-
if (!this.hasText || !this.textEl) {
|
|
1004
|
-
return;
|
|
1005
|
-
}
|
|
1006
|
-
const textEl = this.textEl.nativeElement;
|
|
1007
|
-
const childrenWidth = textEl.offsetWidth;
|
|
1008
|
-
const avatarWidth = this.el.getBoundingClientRect?.().width ?? 0;
|
|
1009
|
-
const offset = this.nzGap * 2 < avatarWidth ? this.nzGap * 2 : 8;
|
|
1010
|
-
const scale = avatarWidth - offset < childrenWidth ? (avatarWidth - offset) / childrenWidth : 1;
|
|
1011
|
-
textEl.style.transform = `scale(${scale}) translateX(-50%)`;
|
|
1012
|
-
textEl.style.lineHeight = this.customSize || "";
|
|
1013
|
-
}
|
|
1014
|
-
setSizeStyle() {
|
|
1015
|
-
if (typeof this.nzSize === "number") {
|
|
1016
|
-
this.customSize = toCssPixel(this.nzSize);
|
|
1017
|
-
} else {
|
|
1018
|
-
this.customSize = null;
|
|
1019
|
-
}
|
|
1020
|
-
this.cdr.markForCheck();
|
|
1021
|
-
}
|
|
1022
|
-
}, (() => {
|
|
1023
|
-
const _metadata = typeof Symbol === "function" && Symbol.metadata ? /* @__PURE__ */ Object.create(null) : void 0;
|
|
1024
|
-
_nzShape_decorators = [WithConfig()];
|
|
1025
|
-
_nzSize_decorators = [WithConfig()];
|
|
1026
|
-
_nzGap_decorators = [WithConfig()];
|
|
1027
|
-
__esDecorate(null, null, _nzShape_decorators, { kind: "field", name: "nzShape", static: false, private: false, access: { has: (obj) => "nzShape" in obj, get: (obj) => obj.nzShape, set: (obj, value) => {
|
|
1028
|
-
obj.nzShape = value;
|
|
1029
|
-
} }, metadata: _metadata }, _nzShape_initializers, _nzShape_extraInitializers);
|
|
1030
|
-
__esDecorate(null, null, _nzSize_decorators, { kind: "field", name: "nzSize", static: false, private: false, access: { has: (obj) => "nzSize" in obj, get: (obj) => obj.nzSize, set: (obj, value) => {
|
|
1031
|
-
obj.nzSize = value;
|
|
1032
|
-
} }, metadata: _metadata }, _nzSize_initializers, _nzSize_extraInitializers);
|
|
1033
|
-
__esDecorate(null, null, _nzGap_decorators, { kind: "field", name: "nzGap", static: false, private: false, access: { has: (obj) => "nzGap" in obj, get: (obj) => obj.nzGap, set: (obj, value) => {
|
|
1034
|
-
obj.nzGap = value;
|
|
1035
|
-
} }, metadata: _metadata }, _nzGap_initializers, _nzGap_extraInitializers);
|
|
1036
|
-
if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
1037
|
-
})(), __publicField(_a, "\u0275fac", \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _a, deps: [], target: FactoryTarget.Component })), __publicField(_a, "\u0275cmp", \u0275\u0275ngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: _a, isStandalone: true, selector: "nz-avatar", inputs: { nzShape: { classPropertyName: "nzShape", publicName: "nzShape", isSignal: false, isRequired: false, transformFunction: null }, nzSize: { classPropertyName: "nzSize", publicName: "nzSize", isSignal: false, isRequired: false, transformFunction: null }, nzGap: { classPropertyName: "nzGap", publicName: "nzGap", isSignal: false, isRequired: false, transformFunction: numberAttribute }, nzText: { classPropertyName: "nzText", publicName: "nzText", isSignal: false, isRequired: false, transformFunction: null }, nzSrc: { classPropertyName: "nzSrc", publicName: "nzSrc", isSignal: false, isRequired: false, transformFunction: null }, nzSrcSet: { classPropertyName: "nzSrcSet", publicName: "nzSrcSet", isSignal: false, isRequired: false, transformFunction: null }, nzAlt: { classPropertyName: "nzAlt", publicName: "nzAlt", isSignal: false, isRequired: false, transformFunction: null }, nzIcon: { classPropertyName: "nzIcon", publicName: "nzIcon", isSignal: false, isRequired: false, transformFunction: null }, nzLoading: { classPropertyName: "nzLoading", publicName: "nzLoading", isSignal: true, isRequired: false, transformFunction: null }, nzFetchPriority: { classPropertyName: "nzFetchPriority", publicName: "nzFetchPriority", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { nzError: "nzError" }, host: { properties: { "class.ant-avatar-lg": "nzSize === 'large'", "class.ant-avatar-sm": "nzSize === 'small'", "class.ant-avatar-square": "nzShape === 'square'", "class.ant-avatar-circle": "nzShape === 'circle'", "class.ant-avatar-icon": "nzIcon", "class.ant-avatar-image": "hasSrc ", "style.width": "customSize", "style.height": "customSize", "style.line-height": "customSize", "style.font-size.px": "(hasIcon && customSize) ? $any(nzSize) / 2 : null" }, classAttribute: "ant-avatar" }, viewQueries: [{ propertyName: "textEl", first: true, predicate: ["textEl"], descendants: true }], exportAs: ["nzAvatar"], usesOnChanges: true, ngImport: core_exports, template: `
|
|
1038
|
-
@if (nzIcon && hasIcon) {
|
|
1039
|
-
<nz-icon [nzType]="nzIcon" />
|
|
1040
|
-
} @else if (nzSrc && hasSrc) {
|
|
1041
|
-
<img
|
|
1042
|
-
[src]="nzSrc"
|
|
1043
|
-
[attr.srcset]="nzSrcSet"
|
|
1044
|
-
[attr.alt]="nzAlt"
|
|
1045
|
-
[attr.loading]="nzLoading() || 'eager'"
|
|
1046
|
-
[attr.fetchpriority]="nzFetchPriority() || 'auto'"
|
|
1047
|
-
(error)="imgError($event)"
|
|
1048
|
-
/>
|
|
1049
|
-
} @else if (nzText && hasText) {
|
|
1050
|
-
<span class="ant-avatar-string" #textEl>{{ nzText }}</span>
|
|
1051
|
-
}
|
|
1052
|
-
<ng-content></ng-content>
|
|
1053
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None })), _a;
|
|
1054
|
-
})();
|
|
1055
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzAvatarComponent, decorators: [{
|
|
1056
|
-
type: Component,
|
|
1057
|
-
args: [{
|
|
1058
|
-
selector: "nz-avatar",
|
|
1059
|
-
exportAs: "nzAvatar",
|
|
1060
|
-
imports: [NzIconModule],
|
|
1061
|
-
template: `
|
|
1062
|
-
@if (nzIcon && hasIcon) {
|
|
1063
|
-
<nz-icon [nzType]="nzIcon" />
|
|
1064
|
-
} @else if (nzSrc && hasSrc) {
|
|
1065
|
-
<img
|
|
1066
|
-
[src]="nzSrc"
|
|
1067
|
-
[attr.srcset]="nzSrcSet"
|
|
1068
|
-
[attr.alt]="nzAlt"
|
|
1069
|
-
[attr.loading]="nzLoading() || 'eager'"
|
|
1070
|
-
[attr.fetchpriority]="nzFetchPriority() || 'auto'"
|
|
1071
|
-
(error)="imgError($event)"
|
|
1072
|
-
/>
|
|
1073
|
-
} @else if (nzText && hasText) {
|
|
1074
|
-
<span class="ant-avatar-string" #textEl>{{ nzText }}</span>
|
|
1075
|
-
}
|
|
1076
|
-
<ng-content></ng-content>
|
|
1077
|
-
`,
|
|
1078
|
-
host: {
|
|
1079
|
-
class: "ant-avatar",
|
|
1080
|
-
"[class.ant-avatar-lg]": `nzSize === 'large'`,
|
|
1081
|
-
"[class.ant-avatar-sm]": `nzSize === 'small'`,
|
|
1082
|
-
"[class.ant-avatar-square]": `nzShape === 'square'`,
|
|
1083
|
-
"[class.ant-avatar-circle]": `nzShape === 'circle'`,
|
|
1084
|
-
"[class.ant-avatar-icon]": `nzIcon`,
|
|
1085
|
-
"[class.ant-avatar-image]": `hasSrc `,
|
|
1086
|
-
"[style.width]": "customSize",
|
|
1087
|
-
"[style.height]": "customSize",
|
|
1088
|
-
"[style.line-height]": "customSize",
|
|
1089
|
-
// nzSize type is number when customSize is true
|
|
1090
|
-
"[style.font-size.px]": "(hasIcon && customSize) ? $any(nzSize) / 2 : null"
|
|
1091
|
-
},
|
|
1092
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1093
|
-
encapsulation: ViewEncapsulation.None
|
|
1094
|
-
}]
|
|
1095
|
-
}], ctorParameters: () => [], propDecorators: { nzShape: [{
|
|
1096
|
-
type: Input
|
|
1097
|
-
}], nzSize: [{
|
|
1098
|
-
type: Input
|
|
1099
|
-
}], nzGap: [{
|
|
1100
|
-
type: Input,
|
|
1101
|
-
args: [{ transform: numberAttribute }]
|
|
1102
|
-
}], nzText: [{
|
|
1103
|
-
type: Input
|
|
1104
|
-
}], nzSrc: [{
|
|
1105
|
-
type: Input
|
|
1106
|
-
}], nzSrcSet: [{
|
|
1107
|
-
type: Input
|
|
1108
|
-
}], nzAlt: [{
|
|
1109
|
-
type: Input
|
|
1110
|
-
}], nzIcon: [{
|
|
1111
|
-
type: Input
|
|
1112
|
-
}], nzError: [{
|
|
1113
|
-
type: Output
|
|
1114
|
-
}], textEl: [{
|
|
1115
|
-
type: ViewChild,
|
|
1116
|
-
args: ["textEl", { static: false }]
|
|
1117
|
-
}] } });
|
|
1118
|
-
var NzAvatarGroupComponent = class _NzAvatarGroupComponent {
|
|
1119
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzAvatarGroupComponent, deps: [], target: FactoryTarget.Component });
|
|
1120
|
-
static \u0275cmp = \u0275\u0275ngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: _NzAvatarGroupComponent, isStandalone: true, selector: "nz-avatar-group", host: { classAttribute: "ant-avatar-group" }, exportAs: ["nzAvatarGroup"], ngImport: core_exports, template: `<ng-content></ng-content>`, isInline: true, changeDetection: ChangeDetectionStrategy.OnPush });
|
|
1121
|
-
};
|
|
1122
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzAvatarGroupComponent, decorators: [{
|
|
1123
|
-
type: Component,
|
|
1124
|
-
args: [{
|
|
1125
|
-
selector: "nz-avatar-group",
|
|
1126
|
-
exportAs: "nzAvatarGroup",
|
|
1127
|
-
template: `<ng-content></ng-content>`,
|
|
1128
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1129
|
-
host: {
|
|
1130
|
-
class: "ant-avatar-group"
|
|
1131
|
-
}
|
|
1132
|
-
}]
|
|
1133
|
-
}] });
|
|
1134
|
-
var NzAvatarModule = class _NzAvatarModule {
|
|
1135
|
-
static \u0275fac = \u0275\u0275ngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzAvatarModule, deps: [], target: FactoryTarget.NgModule });
|
|
1136
|
-
static \u0275mod = \u0275\u0275ngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: core_exports, type: _NzAvatarModule, imports: [NzAvatarComponent, NzAvatarGroupComponent], exports: [NzAvatarComponent, NzAvatarGroupComponent] });
|
|
1137
|
-
static \u0275inj = \u0275\u0275ngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: _NzAvatarModule, imports: [NzAvatarComponent] });
|
|
1138
|
-
};
|
|
1139
|
-
\u0275\u0275ngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: core_exports, type: NzAvatarModule, decorators: [{
|
|
1140
|
-
type: NgModule,
|
|
1141
|
-
args: [{
|
|
1142
|
-
exports: [NzAvatarComponent, NzAvatarGroupComponent],
|
|
1143
|
-
imports: [NzAvatarComponent, NzAvatarGroupComponent]
|
|
1144
|
-
}]
|
|
1145
|
-
}] });
|
|
1146
|
-
|
|
1147
|
-
export {
|
|
1148
|
-
PRIORITY_LABELS,
|
|
1149
|
-
PRIORITY_OPTIONS,
|
|
1150
|
-
PRIORITY_COLORS,
|
|
1151
|
-
ISSUE_STATUS,
|
|
1152
|
-
ISSUE_STATUS_LABELS,
|
|
1153
|
-
ISSUE_STATUS_COLORS,
|
|
1154
|
-
ISSUE_BRANCH_STATUS_COLORS,
|
|
1155
|
-
ISSUE_BRANCH_STATUS_LABELS,
|
|
1156
|
-
ISSUE_STATUS_FILTER_OPTIONS,
|
|
1157
|
-
RD_STATUS_LABELS,
|
|
1158
|
-
RD_STATUS_COLORS,
|
|
1159
|
-
RD_STATUS_FILTER_OPTIONS,
|
|
1160
|
-
NzDescriptionsModule,
|
|
1161
|
-
NzTimelineModule,
|
|
1162
|
-
DetailItemCardComponent,
|
|
1163
|
-
NzAvatarComponent,
|
|
1164
|
-
NzAvatarModule
|
|
1165
|
-
};
|
|
1166
|
-
//# sourceMappingURL=chunk-DIJX2663.js.map
|