@ebuilding/abc 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/button/index.d.ts +1 -0
  4. package/button/src/default/index.d.ts +15 -0
  5. package/button/src/index.module.d.ts +9 -0
  6. package/button/src/inner/index.d.ts +10 -0
  7. package/button/src/main/index.d.ts +16 -0
  8. package/button/src/public_api.d.ts +4 -0
  9. package/card/index.d.ts +1 -0
  10. package/card/src/card.service.d.ts +19 -0
  11. package/card/src/column-default/index.d.ts +22 -0
  12. package/card/src/column-img/index.d.ts +22 -0
  13. package/card/src/column-img1/index.d.ts +13 -0
  14. package/card/src/column-img2/index.d.ts +13 -0
  15. package/card/src/column-img3/index.d.ts +13 -0
  16. package/card/src/default/index.d.ts +45 -0
  17. package/card/src/design/index.d.ts +10 -0
  18. package/card/src/design-text/index.d.ts +10 -0
  19. package/card/src/index.module.d.ts +11 -0
  20. package/card/src/item-group/index.d.ts +16 -0
  21. package/card/src/item-text/index.d.ts +15 -0
  22. package/card/src/item.service.d.ts +20 -0
  23. package/card/src/public_api.d.ts +6 -0
  24. package/card-assess/index.d.ts +1 -0
  25. package/card-assess/src/default/index.d.ts +19 -0
  26. package/card-assess/src/index.module.d.ts +7 -0
  27. package/card-assess/src/public_api.d.ts +2 -0
  28. package/card-emp/index.d.ts +1 -0
  29. package/card-emp/src/default/index.d.ts +10 -0
  30. package/card-emp/src/emp-okr/index.d.ts +12 -0
  31. package/card-emp/src/index.module.d.ts +8 -0
  32. package/card-emp/src/public_api.d.ts +3 -0
  33. package/card-list/index.d.ts +1 -0
  34. package/card-list/src/default/index.d.ts +14 -0
  35. package/card-list/src/index.module.d.ts +7 -0
  36. package/card-list/src/public_api.d.ts +2 -0
  37. package/card-okr/index.d.ts +1 -0
  38. package/card-okr/src/default/index.d.ts +22 -0
  39. package/card-okr/src/index.module.d.ts +17 -0
  40. package/card-okr/src/kpi-stats1/index.d.ts +15 -0
  41. package/card-okr/src/kpi-stats2/index.d.ts +14 -0
  42. package/card-okr/src/kpi-stats3/index.d.ts +16 -0
  43. package/card-okr/src/objective/index.d.ts +14 -0
  44. package/card-okr/src/objective-dl/index.d.ts +16 -0
  45. package/card-okr/src/objective-dx/index.d.ts +16 -0
  46. package/card-okr/src/public_api.d.ts +11 -0
  47. package/card-okr/src/stats-default/index.d.ts +14 -0
  48. package/card-okr/src/stats-objective/index.d.ts +14 -0
  49. package/card-okr/src/stats-progress/index.d.ts +12 -0
  50. package/card-plan-kpi/index.d.ts +1 -0
  51. package/card-plan-kpi/src/default/index.d.ts +22 -0
  52. package/card-plan-kpi/src/index.module.d.ts +7 -0
  53. package/card-plan-kpi/src/public_api.d.ts +2 -0
  54. package/card-result/index.d.ts +1 -0
  55. package/card-result/src/default/index.d.ts +45 -0
  56. package/card-result/src/index.module.d.ts +8 -0
  57. package/card-result/src/public_api.d.ts +2 -0
  58. package/card-score/index.d.ts +1 -0
  59. package/card-score/src/default/index.d.ts +9 -0
  60. package/card-score/src/index.module.d.ts +8 -0
  61. package/card-score/src/public_api.d.ts +2 -0
  62. package/card-user/index.d.ts +1 -0
  63. package/card-user/src/default/index.d.ts +11 -0
  64. package/card-user/src/index.module.d.ts +7 -0
  65. package/card-user/src/public_api.d.ts +2 -0
  66. package/card2/index.d.ts +1 -0
  67. package/card2/src/default/index.d.ts +90 -0
  68. package/card2/src/index.module.d.ts +7 -0
  69. package/card2/src/public_api.d.ts +2 -0
  70. package/codemirror/index.d.ts +1 -0
  71. package/codemirror/src/default/index.d.ts +10 -0
  72. package/codemirror/src/index.module.d.ts +7 -0
  73. package/codemirror/src/public_api.d.ts +5 -0
  74. package/collect/index.d.ts +1 -0
  75. package/collect/src/default/index.d.ts +11 -0
  76. package/collect/src/index.module.d.ts +7 -0
  77. package/collect/src/public_api.d.ts +2 -0
  78. package/developing/index.d.ts +1 -0
  79. package/developing/src/default/index.d.ts +8 -0
  80. package/developing/src/index.module.d.ts +10 -0
  81. package/developing/src/public_api.d.ts +2 -0
  82. package/empty/index.d.ts +1 -0
  83. package/empty/src/default/index.d.ts +13 -0
  84. package/empty/src/index.module.d.ts +7 -0
  85. package/empty/src/public_api.d.ts +2 -0
  86. package/fesm2022/codemirror.mjs +806 -0
  87. package/fesm2022/codemirror.mjs.map +1 -0
  88. package/fesm2022/components.button.mjs +121 -0
  89. package/fesm2022/components.button.mjs.map +1 -0
  90. package/fesm2022/components.card-assess.mjs +68 -0
  91. package/fesm2022/components.card-assess.mjs.map +1 -0
  92. package/fesm2022/components.card-emp.mjs +65 -0
  93. package/fesm2022/components.card-emp.mjs.map +1 -0
  94. package/fesm2022/components.card-list.mjs +53 -0
  95. package/fesm2022/components.card-list.mjs.map +1 -0
  96. package/fesm2022/components.card-okr.mjs +370 -0
  97. package/fesm2022/components.card-okr.mjs.map +1 -0
  98. package/fesm2022/components.card-plan-kpi.mjs +68 -0
  99. package/fesm2022/components.card-plan-kpi.mjs.map +1 -0
  100. package/fesm2022/components.card-result.mjs +137 -0
  101. package/fesm2022/components.card-result.mjs.map +1 -0
  102. package/fesm2022/components.card-score.mjs +47 -0
  103. package/fesm2022/components.card-score.mjs.map +1 -0
  104. package/fesm2022/components.card-user.mjs +56 -0
  105. package/fesm2022/components.card-user.mjs.map +1 -0
  106. package/fesm2022/components.card.mjs +670 -0
  107. package/fesm2022/components.card.mjs.map +1 -0
  108. package/fesm2022/components.card2.mjs +463 -0
  109. package/fesm2022/components.card2.mjs.map +1 -0
  110. package/fesm2022/components.collect.mjs +57 -0
  111. package/fesm2022/components.collect.mjs.map +1 -0
  112. package/fesm2022/components.developing.mjs +38 -0
  113. package/fesm2022/components.developing.mjs.map +1 -0
  114. package/fesm2022/components.empty.mjs +54 -0
  115. package/fesm2022/components.empty.mjs.map +1 -0
  116. package/fesm2022/components.flow-button.mjs +89 -0
  117. package/fesm2022/components.flow-button.mjs.map +1 -0
  118. package/fesm2022/components.header-user.mjs +261 -0
  119. package/fesm2022/components.header-user.mjs.map +1 -0
  120. package/fesm2022/components.header.mjs +81 -0
  121. package/fesm2022/components.header.mjs.map +1 -0
  122. package/fesm2022/components.line.mjs +44 -0
  123. package/fesm2022/components.line.mjs.map +1 -0
  124. package/fesm2022/components.no-role.mjs +37 -0
  125. package/fesm2022/components.no-role.mjs.map +1 -0
  126. package/fesm2022/components.nz-table-tree.mjs +407 -0
  127. package/fesm2022/components.nz-table-tree.mjs.map +1 -0
  128. package/fesm2022/components.nz-table.mjs +463 -0
  129. package/fesm2022/components.nz-table.mjs.map +1 -0
  130. package/fesm2022/components.plan-item.mjs +249 -0
  131. package/fesm2022/components.plan-item.mjs.map +1 -0
  132. package/fesm2022/components.principal.mjs +59 -0
  133. package/fesm2022/components.principal.mjs.map +1 -0
  134. package/fesm2022/components.python.mjs +140 -0
  135. package/fesm2022/components.python.mjs.map +1 -0
  136. package/fesm2022/components.quick.mjs +158 -0
  137. package/fesm2022/components.quick.mjs.map +1 -0
  138. package/fesm2022/components.record.mjs +106 -0
  139. package/fesm2022/components.record.mjs.map +1 -0
  140. package/fesm2022/components.step-entry.mjs +50 -0
  141. package/fesm2022/components.step-entry.mjs.map +1 -0
  142. package/fesm2022/components.target-value.mjs +83 -0
  143. package/fesm2022/components.target-value.mjs.map +1 -0
  144. package/fesm2022/components.text.mjs +444 -0
  145. package/fesm2022/components.text.mjs.map +1 -0
  146. package/fesm2022/components.tree.mjs +203 -0
  147. package/fesm2022/components.tree.mjs.map +1 -0
  148. package/fesm2022/ebuilding-abc.mjs +121 -0
  149. package/fesm2022/ebuilding-abc.mjs.map +1 -0
  150. package/flow-button/index.d.ts +1 -0
  151. package/flow-button/src/default/index.d.ts +14 -0
  152. package/flow-button/src/index.module.d.ts +7 -0
  153. package/flow-button/src/public_api.d.ts +2 -0
  154. package/header/index.d.ts +1 -0
  155. package/header/src/default/index.d.ts +16 -0
  156. package/header/src/index.module.d.ts +10 -0
  157. package/header/src/public_api.d.ts +2 -0
  158. package/header-user/index.d.ts +1 -0
  159. package/header-user/src/default/index.d.ts +57 -0
  160. package/header-user/src/index.module.d.ts +7 -0
  161. package/header-user/src/public_api.d.ts +2 -0
  162. package/index.d.ts +1 -0
  163. package/line/index.d.ts +1 -0
  164. package/line/src/default/index.d.ts +9 -0
  165. package/line/src/index.module.d.ts +10 -0
  166. package/line/src/public_api.d.ts +2 -0
  167. package/no-role/index.d.ts +1 -0
  168. package/no-role/src/default/index.d.ts +9 -0
  169. package/no-role/src/index.module.d.ts +8 -0
  170. package/no-role/src/public_api.d.ts +2 -0
  171. package/nz-table/index.d.ts +1 -0
  172. package/nz-table/src/default/index.d.ts +90 -0
  173. package/nz-table/src/index.module.d.ts +7 -0
  174. package/nz-table/src/public_api.d.ts +2 -0
  175. package/nz-table-tree/index.d.ts +1 -0
  176. package/nz-table-tree/src/default/index.d.ts +98 -0
  177. package/nz-table-tree/src/index.module.d.ts +8 -0
  178. package/nz-table-tree/src/operation/index.d.ts +12 -0
  179. package/nz-table-tree/src/public_api.d.ts +2 -0
  180. package/package.json +144 -0
  181. package/plan-item/index.d.ts +1 -0
  182. package/plan-item/src/default/index.d.ts +45 -0
  183. package/plan-item/src/index.module.d.ts +7 -0
  184. package/plan-item/src/public_api.d.ts +2 -0
  185. package/principal/index.d.ts +1 -0
  186. package/principal/src/default/index.d.ts +15 -0
  187. package/principal/src/index.module.d.ts +7 -0
  188. package/principal/src/public_api.d.ts +2 -0
  189. package/python/index.d.ts +1 -0
  190. package/python/src/default/index.d.ts +8 -0
  191. package/python/src/index.module.d.ts +8 -0
  192. package/python/src/public_api.d.ts +2 -0
  193. package/quick/index.d.ts +1 -0
  194. package/quick/src/datetime/index.d.ts +12 -0
  195. package/quick/src/default/index.d.ts +14 -0
  196. package/quick/src/index.module.d.ts +10 -0
  197. package/quick/src/public_api.d.ts +2 -0
  198. package/record/index.d.ts +1 -0
  199. package/record/src/default/index.d.ts +12 -0
  200. package/record/src/index.module.d.ts +8 -0
  201. package/record/src/main/index.d.ts +12 -0
  202. package/record/src/public_api.d.ts +3 -0
  203. package/step-entry/index.d.ts +1 -0
  204. package/step-entry/src/default/index.d.ts +12 -0
  205. package/step-entry/src/index.module.d.ts +9 -0
  206. package/step-entry/src/public_api.d.ts +2 -0
  207. package/target-value/index.d.ts +1 -0
  208. package/target-value/src/default/index.d.ts +17 -0
  209. package/target-value/src/index.module.d.ts +8 -0
  210. package/target-value/src/public_api.d.ts +2 -0
  211. package/text/index.d.ts +1 -0
  212. package/text/src/default/index.d.ts +25 -0
  213. package/text/src/index.module.d.ts +9 -0
  214. package/text/src/public_api.d.ts +2 -0
  215. package/text/src/text.service.d.ts +57 -0
  216. package/tree/index.d.ts +1 -0
  217. package/tree/src/default/index.d.ts +39 -0
  218. package/tree/src/index.module.d.ts +9 -0
  219. package/tree/src/public_api.d.ts +2 -0
@@ -0,0 +1,370 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Output, Input, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i4 from '@ebuilding/base/shared.pipe';
6
+ import { GramPipeModule } from '@ebuilding/base/shared.pipe';
7
+ import * as i2 from 'ng-zorro-antd/tag';
8
+ import { NzTagModule } from 'ng-zorro-antd/tag';
9
+ import * as i3 from 'ng-zorro-antd/progress';
10
+ import { NzProgressModule } from 'ng-zorro-antd/progress';
11
+ import * as i1$1 from 'ng-zorro-antd/icon';
12
+ import { NzIconModule } from 'ng-zorro-antd/icon';
13
+
14
+ class GramDeonCardOKRComponent {
15
+ /**
16
+ * 主键Key
17
+ */
18
+ primary_key = '';
19
+ /**
20
+ * 数据
21
+ */
22
+ data = {};
23
+ /**
24
+ * 点击事件
25
+ */
26
+ componentEvent = new EventEmitter();
27
+ ngOnInit() { }
28
+ ngAfterViewInit() { }
29
+ ngOnChanges(change) { }
30
+ titleClick() {
31
+ let emitData = {
32
+ rowCode: this.data[this.primary_key],
33
+ rowData: this.data,
34
+ columnKey: 'id',
35
+ };
36
+ this.componentEvent.emit(emitData);
37
+ }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonCardOKRComponent, isStandalone: true, selector: "card-okr", inputs: { primary_key: "primary_key", data: "data" }, outputs: { componentEvent: "componentEvent" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"type\">\u5B63\u5EA6</li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>\u5E74\u5EA6\uFF1A</label>{{data?.yearInfo?.name}}</li>\n <li><label>\u5468\u671F\uFF1A</label>{{data?.startDate | date:\"yyyy-MM-dd\" }}&nbsp;~&nbsp;{{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u65E5\u671F\uFF1A</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u4EBA\uFF1A</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{position:relative;display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i4.StatePipe, name: "state" }] });
40
+ }
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: 'card-okr', imports: [
44
+ CommonModule,
45
+ GramPipeModule
46
+ ], template: "<div class=\"info-box\">\n <div class=\"left-box\">\n <div class=\"first\">\n <ul (click)=\"titleClick()\">\n <li class=\"title\"><a>{{data?.name}}</a></li>\n <li class=\"type\">\u5B63\u5EA6</li>\n <li class=\"state\" [ngClass]=\"'state_' + data?.state\"><label>{{data?.state | state}}</label></li>\n </ul>\n </div>\n </div>\n <div class=\"right-box\"></div>\n</div>\n<div class=\"operation-box\">\n <div class=\"left-box\">\n <ul>\n <li><label>\u5E74\u5EA6\uFF1A</label>{{data?.yearInfo?.name}}</li>\n <li><label>\u5468\u671F\uFF1A</label>{{data?.startDate | date:\"yyyy-MM-dd\" }}&nbsp;~&nbsp;{{data?.endDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u65E5\u671F\uFF1A</label>{{data?.createDate | date:\"yyyy-MM-dd\" }}</li>\n <li><label>\u521B\u5EFA\u4EBA\uFF1A</label>{{data?.createEmpInfo?.name}}</li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <li><ng-content></ng-content></li>\n </ul>\n </div>\n</div>\n", styles: [":host ::ng-deep{position:relative;display:-webkit-box;display:flex;flex-direction:column;margin-bottom:18px;padding:0;border:1px solid #eaeaea;-webkit-box-orient:vertical;-webkit-box-direction:normal}\n"] }]
47
+ }], propDecorators: { primary_key: [{
48
+ type: Input
49
+ }], data: [{
50
+ type: Input
51
+ }], componentEvent: [{
52
+ type: Output
53
+ }] } });
54
+
55
+ class GramOkrObjectiveDLComponent {
56
+ data = null;
57
+ dataType = null;
58
+ itemClick = new EventEmitter();
59
+ constructor() { }
60
+ ngOnInit() { }
61
+ ngAfterViewInit() { }
62
+ ngOnChanges(change) { }
63
+ btnNameClick() {
64
+ this.itemClick.emit({
65
+ type: 'name',
66
+ });
67
+ }
68
+ followClick() { }
69
+ adjustClick() { }
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveDLComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrObjectiveDLComponent, isStandalone: true, selector: "okr-objective-dl", inputs: { data: "data", dataType: "dataType" }, outputs: { itemClick: "itemClick" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">\u6218\u7565</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">\u56E2\u961F</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">\u4E2A\u4EBA</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#FB8E8C'\">\u5B9A\u91CF</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">\u56E2\u961F\u76EE\u6807&nbsp;[&nbsp;{{data.teamCnt}}&nbsp;]</li>\n <li class=\"a-selNum\">\u4E2A\u4EBA\u76EE\u6807&nbsp;[&nbsp;{{data?.selfCnt}}&nbsp;]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">\u5DE5\u4F5C\u4EFB\u52A1&nbsp;[&nbsp;{{data?.taskCnt}}&nbsp;]</li>\n <li class=\"a-keyNum\">\u5173\u952E\u7ED3\u679C&nbsp;[&nbsp;{{data?.keyResultCnt}}&nbsp;]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li class=\"team-value\">\n <div>\n <label>\u8BBE\u7F6E\u76EE\u6807\u503C</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n <div>\n <label>\u5206\u89E3\u76EE\u6807\u503C</label>\n <label>{{data?.breakValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n </li>\n <li>\n <label>\u5206\u89E3\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.breakRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5B8C\u6210\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u503C</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u6311\u6218\u503C</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u53CA\u683C\u503C</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u9884\u8B66\u503C</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>\u8BBE\u7F6E\u76EE\u6807\u503C</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u5B8C\u6210\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u503C</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u6311\u6218\u503C</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u53CA\u683C\u503C</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u9884\u8B66\u503C</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <label>{{item?.periodValue | empty:['--']}}</label>\n <ng-container *ngIf=\"data?.unit && item?.periodValue!=null\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>\u6D41\u7A0B\u72B6\u6001</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>\u8282\u70B9\u540D\u79F0</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>\u5BA1\u6838\u4EBA</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>\u8C03\u6574\u8BB0\u5F55</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>\u8DDF\u8FDB\u8BB0\u5F55</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;margin-bottom:15px;border:1px solid #eaeaea;border-radius:4px;padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: NzTagModule }, { kind: "component", type: i2.NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzColor", "nzChecked", "nzBordered"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }, { kind: "ngmodule", type: NzProgressModule }, { kind: "component", type: i3.NzProgressComponent, selector: "nz-progress", inputs: ["nzShowInfo", "nzWidth", "nzStrokeColor", "nzSize", "nzFormat", "nzSuccessPercent", "nzPercent", "nzStrokeWidth", "nzGapDegree", "nzStatus", "nzType", "nzGapPosition", "nzStrokeLinecap", "nzSteps"], exportAs: ["nzProgress"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i4.EmptyPipe, name: "empty" }, { kind: "pipe", type: i4.FlowStatePipe, name: "flowState" }, { kind: "pipe", type: i4.MomentPipe, name: "moment" }, { kind: "pipe", type: i4.OkrUnitPipe, name: "okr_unit" }, { kind: "pipe", type: i4.SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveDLComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'okr-objective-dl', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
76
+ CommonModule,
77
+ NzTagModule,
78
+ NzProgressModule,
79
+ GramPipeModule
80
+ ], template: "<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">\u6218\u7565</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">\u56E2\u961F</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">\u4E2A\u4EBA</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#FB8E8C'\">\u5B9A\u91CF</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">\u56E2\u961F\u76EE\u6807&nbsp;[&nbsp;{{data.teamCnt}}&nbsp;]</li>\n <li class=\"a-selNum\">\u4E2A\u4EBA\u76EE\u6807&nbsp;[&nbsp;{{data?.selfCnt}}&nbsp;]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">\u5DE5\u4F5C\u4EFB\u52A1&nbsp;[&nbsp;{{data?.taskCnt}}&nbsp;]</li>\n <li class=\"a-keyNum\">\u5173\u952E\u7ED3\u679C&nbsp;[&nbsp;{{data?.keyResultCnt}}&nbsp;]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li class=\"team-value\">\n <div>\n <label>\u8BBE\u7F6E\u76EE\u6807\u503C</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n <div>\n <label>\u5206\u89E3\u76EE\u6807\u503C</label>\n <label>{{data?.breakValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </div>\n </li>\n <li>\n <label>\u5206\u89E3\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.breakRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5B8C\u6210\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u503C</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u6311\u6218\u503C</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u53CA\u683C\u503C</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u9884\u8B66\u503C</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>\u8BBE\u7F6E\u76EE\u6807\u503C</label>\n <label>{{data?.targetValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u5B8C\u6210\u7387</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u503C</label>\n <label>{{data?.finishValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u6311\u6218\u503C</label>\n <label>{{data?.challengeValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u53CA\u683C\u503C</label>\n <label>{{data?.passValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li>\n <label>\u9884\u8B66\u503C</label>\n <label>{{data?.warnValue}}</label>\n <ng-container *ngIf=\"data?.unit\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <label>{{item?.periodValue | empty:['--']}}</label>\n <ng-container *ngIf=\"data?.unit && item?.periodValue!=null\">\n <span class=\"okr-unit\">({{data?.unit | okr_unit}})</span>\n </ng-container>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>\u6D41\u7A0B\u72B6\u6001</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>\u8282\u70B9\u540D\u79F0</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>\u5BA1\u6838\u4EBA</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>\u8C03\u6574\u8BB0\u5F55</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>\u8DDF\u8FDB\u8BB0\u5F55</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;margin-bottom:15px;border:1px solid #eaeaea;border-radius:4px;padding:0}\n"] }]
81
+ }], ctorParameters: () => [], propDecorators: { data: [{
82
+ type: Input
83
+ }], dataType: [{
84
+ type: Input
85
+ }], itemClick: [{
86
+ type: Output
87
+ }] } });
88
+
89
+ class GramOkrObjectiveDXComponent {
90
+ data = null;
91
+ dataType = null;
92
+ itemClick = new EventEmitter();
93
+ constructor() { }
94
+ ngOnInit() { }
95
+ ngAfterViewInit() { }
96
+ ngOnChanges(change) { }
97
+ btnNameClick() {
98
+ this.itemClick.emit({
99
+ type: 'name',
100
+ });
101
+ }
102
+ followClick() { }
103
+ adjustClick() { }
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveDXComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
105
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrObjectiveDXComponent, isStandalone: true, selector: "okr-objective-dx", inputs: { data: "data", dataType: "dataType" }, outputs: { itemClick: "itemClick" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">\u6218\u7565</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">\u56E2\u961F</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">\u4E2A\u4EBA</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#F59C65'\">\u5B9A\u6027</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">\u56E2\u961F\u76EE\u6807&nbsp;[&nbsp;{{data?.teamCnt}}&nbsp;]</li>\n <li class=\"a-selNum\">\u4E2A\u4EBA\u76EE\u6807&nbsp;[&nbsp;{{data?.selfCnt}}&nbsp;]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">\u5DE5\u4F5C\u4EFB\u52A1&nbsp;[&nbsp;{{data?.taskCnt}}&nbsp;]</li>\n <li class=\"a-keyNum\">\u5173\u952E\u7ED3\u679C&nbsp;[&nbsp;{{data?.keyResultCnt}}&nbsp;]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u5EA6</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u5EA6</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishValue\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <ng-container\n *ngIf=\"item.periodValue!=undefined && item.periodValue!=null && item.periodValue!='';else tmpPeriod\">\n <label>{{item?.periodValue}}%</label>\n </ng-container>\n <ng-template #tmpPeriod>\n <label>--</label>\n </ng-template>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>\u6D41\u7A0B\u72B6\u6001</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>\u8282\u70B9\u540D\u79F0</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>\u5BA1\u6838\u4EBA</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>\u8C03\u6574\u8BB0\u5F55</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>\u8DDF\u8FDB\u8BB0\u5F55</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;margin-bottom:15px;border:1px solid #eaeaea;border-radius:4px;padding:0}:host ::ng-deep .a-type{background-color:#6331b3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: NzTagModule }, { kind: "component", type: i2.NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzColor", "nzChecked", "nzBordered"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }, { kind: "ngmodule", type: NzProgressModule }, { kind: "component", type: i3.NzProgressComponent, selector: "nz-progress", inputs: ["nzShowInfo", "nzWidth", "nzStrokeColor", "nzSize", "nzFormat", "nzSuccessPercent", "nzPercent", "nzStrokeWidth", "nzGapDegree", "nzStatus", "nzType", "nzGapPosition", "nzStrokeLinecap", "nzSteps"], exportAs: ["nzProgress"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i4.FlowStatePipe, name: "flowState" }, { kind: "pipe", type: i4.MomentPipe, name: "moment" }, { kind: "pipe", type: i4.SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
106
+ }
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveDXComponent, decorators: [{
108
+ type: Component,
109
+ args: [{ selector: 'okr-objective-dx', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
110
+ CommonModule,
111
+ NzTagModule,
112
+ NzProgressModule,
113
+ GramPipeModule
114
+ ], template: "<div class=\"first\">\n <div class=\"left-box\">\n <ng-container [ngSwitch]=\"data.category\">\n <ng-container *ngSwitchCase=\"'STR'\">\n <nz-tag [nzColor]=\"'#3554d1'\">\u6218\u7565</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'TEAM'\">\n <nz-tag [nzColor]=\"'#8C94FC'\">\u56E2\u961F</nz-tag>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SELF'\">\n <nz-tag [nzColor]=\"'#B7A0FC'\">\u4E2A\u4EBA</nz-tag>\n </ng-container>\n <ng-container *ngSwitchDefault> </ng-container>\n </ng-container>\n <nz-tag [nzColor]=\"'#F59C65'\">\u5B9A\u6027</nz-tag>\n\n <a class=\"name\" (click)=\"btnNameClick()\">{{data?.name}}</a>\n <!-- <a class=\"planName\">{{data?.planInfo?.name}}</a> -->\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <li class=\"a-teamNum\">\u56E2\u961F\u76EE\u6807&nbsp;[&nbsp;{{data?.teamCnt}}&nbsp;]</li>\n <li class=\"a-selNum\">\u4E2A\u4EBA\u76EE\u6807&nbsp;[&nbsp;{{data?.selfCnt}}&nbsp;]</li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li class=\"a-taskNum\">\u5DE5\u4F5C\u4EFB\u52A1&nbsp;[&nbsp;{{data?.taskCnt}}&nbsp;]</li>\n <li class=\"a-keyNum\">\u5173\u952E\u7ED3\u679C&nbsp;[&nbsp;{{data?.keyResultCnt}}&nbsp;]</li>\n </ng-container>\n <li class=\"operation\">\n <ng-content></ng-content>\n </li>\n </ul>\n </div>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='STR' || dataType=='TEAM'\">\n <ul>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u5EA6</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishRate\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\" *ngIf=\"dataType=='TEAM'\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"second\" *ngIf=\"dataType=='SELF'\">\n <ul>\n <li>\n <label>\u5F53\u524D\u5B8C\u6210\u5EA6</label>\n <nz-progress nzStrokeLinecap=\"round\" nzType=\"circle\" [nzPercent]=\"data.finishValue\" [nzWidth]=\"40\"></nz-progress>\n </li>\n <li class=\"li-empty\"></li>\n <li class=\"create-info\">\n <div>\n <label>\u76EE\u6807\u8D1F\u8D23\u4EBA</label>\n <label>{{data?.empInfo?.name}}</label>\n </div>\n <div>\n <label>\u521B\u5EFA\u65E5\u671F</label>\n <label>{{data?.createDate | moment: ['YYYY/MM/DD']}}</label>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"three\">\n <div class=\"left-box\">\n <ul>\n <li *ngFor=\"let item of data?.listFinishPeriod\">\n <label>{{item?.name}}</label>\n <ng-container\n *ngIf=\"item.periodValue!=undefined && item.periodValue!=null && item.periodValue!='';else tmpPeriod\">\n <label>{{item?.periodValue}}%</label>\n </ng-container>\n <ng-template #tmpPeriod>\n <label>--</label>\n </ng-template>\n </li>\n </ul>\n </div>\n <div class=\"right-box\">\n <ul>\n <ng-container *ngIf=\"data?.writeType=='WORKFLOW'\">\n <li>\n <label>\u6D41\u7A0B\u72B6\u6001</label>\n <div class=\"flow\" [ngClass]=\"'flow_text_'+data?.workflowStatus\"\n [innerHtml]=\"data?.workflowStatus | flowState | safeHtml\">\n </div>\n </li>\n <li *ngIf=\"data?.nodeName\">\n <label>\u8282\u70B9\u540D\u79F0</label>\n <div class=\"nodeName\">\n {{data?.nodeName}}\n </div>\n </li>\n <li *ngIf=\"data?.nodeEmpName\">\n <label>\u5BA1\u6838\u4EBA</label>\n <div class=\"nodeEmpName\">\n {{data?.nodeEmpName}}\n </div>\n </li>\n </ng-container>\n <ng-container *ngIf=\"dataType=='SELF'\">\n <li>\n <label>\u8C03\u6574\u8BB0\u5F55</label>\n <label>{{data?.adjustCnt}}</label>\n </li>\n <li *ngIf=\"data?.izFollow==true\">\n <label>\u8DDF\u8FDB\u8BB0\u5F55</label>\n <label>{{data?.followCnt}}</label>\n </li>\n </ng-container>\n </ul>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;margin-bottom:15px;border:1px solid #eaeaea;border-radius:4px;padding:0}:host ::ng-deep .a-type{background-color:#6331b3}\n"] }]
115
+ }], ctorParameters: () => [], propDecorators: { data: [{
116
+ type: Input
117
+ }], dataType: [{
118
+ type: Input
119
+ }], itemClick: [{
120
+ type: Output
121
+ }] } });
122
+
123
+ class GramOkrObjectiveComponent {
124
+ data = null;
125
+ dataType = null;
126
+ itemClick = new EventEmitter();
127
+ constructor() { }
128
+ ngOnInit() { }
129
+ ngAfterViewInit() { }
130
+ ngOnChanges(change) { }
131
+ btnItemClick(e) {
132
+ this.itemClick.emit(e);
133
+ }
134
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
135
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrObjectiveComponent, isStandalone: true, selector: "okr-objective", inputs: { data: "data", dataType: "dataType" }, outputs: { itemClick: "itemClick" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngIf=\"data.type=='DL';else tmpDX\">\n <okr-objective-dl [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dl-box]\"></ng-content>\n </okr-objective-dl>\n </ng-container>\n <ng-template #tmpDX>\n <okr-objective-dx [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dx-box]\"></ng-content>\n </okr-objective-dx>\n </ng-template>\n</ng-container>\n", styles: [":host ::ng-deep ul{display:flex;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{margin:0;padding:0 25px 0 0;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .first{font-size:13px;padding:8px 15px 0;position:relative}:host ::ng-deep .first .name{padding:0 0 0 8px}:host ::ng-deep .first .right-box{position:absolute;top:0;right:1px;color:#fff}:host ::ng-deep .first .right-box li{border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .a-teamNum{background-color:#8c94fc}:host ::ng-deep .first .right-box .a-selNum{background-color:#b7a0fc}:host ::ng-deep .first .right-box .a-taskNum{background-color:#80e4cf}:host ::ng-deep .first .right-box .a-keyNum{background-color:#a3e7a4}:host ::ng-deep .first .right-box .a-operation{background-color:#fca326;border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .b-operation{background-color:#8c8c8c;border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .operation{padding:0;margin-left:0}:host ::ng-deep .second{padding:8px 15px 0}:host ::ng-deep .second nz-progress{margin-left:5px}:host ::ng-deep .second ul{align-items:center}:host ::ng-deep .second ul li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .second ul li label:nth-child(2){font-size:16px}:host ::ng-deep .three{padding:8px 15px;margin-top:8px;border-top:1px solid #eaeaea;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .three .left-box{display:flex;flex:1}:host ::ng-deep .three .left-box li{padding:0 20px 0 0}:host ::ng-deep .three .left-box li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .three .right-box li{padding:0 0 0 15px}:host ::ng-deep .three .right-box li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .team-value{display:flex;flex-direction:column;align-items:flex-start}:host ::ng-deep .li-empty{flex:1}:host ::ng-deep .create-info{display:flex;flex-direction:column;align-items:flex-start;padding:0}:host ::ng-deep .create-info div+div{padding:3px 0 0}:host ::ng-deep .create-info label:nth-child(2){font-size:12px!important}:host ::ng-deep .flow label:after{content:\"\"!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GramOkrObjectiveDLComponent, selector: "okr-objective-dl", inputs: ["data", "dataType"], outputs: ["itemClick"] }, { kind: "component", type: GramOkrObjectiveDXComponent, selector: "okr-objective-dx", inputs: ["data", "dataType"], outputs: ["itemClick"] }] });
136
+ }
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrObjectiveComponent, decorators: [{
138
+ type: Component,
139
+ args: [{ selector: 'okr-objective', imports: [
140
+ CommonModule,
141
+ GramOkrObjectiveDLComponent,
142
+ GramOkrObjectiveDXComponent
143
+ ], template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngIf=\"data.type=='DL';else tmpDX\">\n <okr-objective-dl [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dl-box]\"></ng-content>\n </okr-objective-dl>\n </ng-container>\n <ng-template #tmpDX>\n <okr-objective-dx [data]=\"data\" [dataType]=\"dataType\" (itemClick)=\"btnItemClick($event)\">\n <ng-content select=\"[name=dx-box]\"></ng-content>\n </okr-objective-dx>\n </ng-template>\n</ng-container>\n", styles: [":host ::ng-deep ul{display:flex;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{margin:0;padding:0 25px 0 0;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .first{font-size:13px;padding:8px 15px 0;position:relative}:host ::ng-deep .first .name{padding:0 0 0 8px}:host ::ng-deep .first .right-box{position:absolute;top:0;right:1px;color:#fff}:host ::ng-deep .first .right-box li{border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .a-teamNum{background-color:#8c94fc}:host ::ng-deep .first .right-box .a-selNum{background-color:#b7a0fc}:host ::ng-deep .first .right-box .a-taskNum{background-color:#80e4cf}:host ::ng-deep .first .right-box .a-keyNum{background-color:#a3e7a4}:host ::ng-deep .first .right-box .a-operation{background-color:#fca326;border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .b-operation{background-color:#8c8c8c;border-bottom-left-radius:4px;border-bottom-right-radius:4px;margin-left:6px;text-align:center;padding:2px 10px;font-size:12px;cursor:pointer}:host ::ng-deep .first .right-box .operation{padding:0;margin-left:0}:host ::ng-deep .second{padding:8px 15px 0}:host ::ng-deep .second nz-progress{margin-left:5px}:host ::ng-deep .second ul{align-items:center}:host ::ng-deep .second ul li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .second ul li label:nth-child(2){font-size:16px}:host ::ng-deep .three{padding:8px 15px;margin-top:8px;border-top:1px solid #eaeaea;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .three .left-box{display:flex;flex:1}:host ::ng-deep .three .left-box li{padding:0 20px 0 0}:host ::ng-deep .three .left-box li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .three .right-box li{padding:0 0 0 15px}:host ::ng-deep .three .right-box li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .team-value{display:flex;flex-direction:column;align-items:flex-start}:host ::ng-deep .li-empty{flex:1}:host ::ng-deep .create-info{display:flex;flex-direction:column;align-items:flex-start;padding:0}:host ::ng-deep .create-info div+div{padding:3px 0 0}:host ::ng-deep .create-info label:nth-child(2){font-size:12px!important}:host ::ng-deep .flow label:after{content:\"\"!important}\n"] }]
144
+ }], ctorParameters: () => [], propDecorators: { data: [{
145
+ type: Input
146
+ }], dataType: [{
147
+ type: Input
148
+ }], itemClick: [{
149
+ type: Output
150
+ }] } });
151
+
152
+ class GramOkrStatsDefaultComponent {
153
+ name = null;
154
+ data = null;
155
+ unit = null;
156
+ icon = 'line-chart';
157
+ constructor() { }
158
+ ngOnInit() { }
159
+ ngAfterViewInit() { }
160
+ ngOnChanges(change) { }
161
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsDefaultComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
162
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrStatsDefaultComponent, isStandalone: true, selector: "okr-stats-default", inputs: { name: "name", data: "data", unit: "unit", icon: "icon" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <label class=\"data\">{{data!=undefined && data!=null && data!=''?data:0}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:16px;display:flex;flex-direction:row;align-items:flex-end}:host ::ng-deep .value .unit{margin-left:5px;font-size:12px}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
163
+ }
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsDefaultComponent, decorators: [{
165
+ type: Component,
166
+ args: [{ selector: 'okr-stats-default', imports: [
167
+ CommonModule,
168
+ NzIconModule
169
+ ], template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <label class=\"data\">{{data!=undefined && data!=null && data!=''?data:0}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:16px;display:flex;flex-direction:row;align-items:flex-end}:host ::ng-deep .value .unit{margin-left:5px;font-size:12px}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"] }]
170
+ }], ctorParameters: () => [], propDecorators: { name: [{
171
+ type: Input
172
+ }], data: [{
173
+ type: Input
174
+ }], unit: [{
175
+ type: Input
176
+ }], icon: [{
177
+ type: Input
178
+ }] } });
179
+
180
+ class GramOkrStatsObjComponent {
181
+ name = null;
182
+ dx = null;
183
+ dl = null;
184
+ unit = null;
185
+ constructor() { }
186
+ ngOnInit() { }
187
+ ngAfterViewInit() { }
188
+ ngOnChanges(change) { }
189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsObjComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrStatsObjComponent, isStandalone: true, selector: "okr-stats-obj", inputs: { name: "name", dx: "dx", dl: "dl", unit: "unit" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <div>\n <label class=\"type\">\u5B9A\u91CF</label>\n <label class=\"cnt\">{{dl}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n <div>\n <label class=\"type\">\u5B9A\u6027</label>\n <label class=\"cnt\">{{dx}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:180px;height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value div{flex:1;display:flex;flex-direction:row;align-items:flex-end}:host ::ng-deep .value .type{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .value .type:after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .value .unit{padding:0 10px 0 5px}:host ::ng-deep .value .cnt{font-size:13px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
191
+ }
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsObjComponent, decorators: [{
193
+ type: Component,
194
+ args: [{ selector: 'okr-stats-obj', imports: [
195
+ CommonModule
196
+ ], template: "<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <div>\n <label class=\"type\">\u5B9A\u91CF</label>\n <label class=\"cnt\">{{dl}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n <div>\n <label class=\"type\">\u5B9A\u6027</label>\n <label class=\"cnt\">{{dx}}</label>\n <label class=\"unit\" *ngIf=\"unit!!\">({{unit}})</label>\n </div>\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:180px;height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value div{flex:1;display:flex;flex-direction:row;align-items:flex-end}:host ::ng-deep .value .type{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .value .type:after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .value .unit{padding:0 10px 0 5px}:host ::ng-deep .value .cnt{font-size:13px;font-weight:600}\n"] }]
197
+ }], ctorParameters: () => [], propDecorators: { name: [{
198
+ type: Input
199
+ }], dx: [{
200
+ type: Input
201
+ }], dl: [{
202
+ type: Input
203
+ }], unit: [{
204
+ type: Input
205
+ }] } });
206
+
207
+ class GramOkrStatsProgressComponent {
208
+ name = null;
209
+ data = null;
210
+ constructor() { }
211
+ ngOnInit() { }
212
+ ngAfterViewInit() { }
213
+ ngOnChanges(change) { }
214
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
215
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramOkrStatsProgressComponent, isStandalone: true, selector: "okr-stats-progress", inputs: { name: "name", data: "data" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <nz-progress [nzPercent]=\"data\"></nz-progress>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:180px;min-height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{padding:0 15px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: NzProgressModule }, { kind: "component", type: i3.NzProgressComponent, selector: "nz-progress", inputs: ["nzShowInfo", "nzWidth", "nzStrokeColor", "nzSize", "nzFormat", "nzSuccessPercent", "nzPercent", "nzStrokeWidth", "nzGapDegree", "nzStatus", "nzType", "nzGapPosition", "nzStrokeLinecap", "nzSteps"], exportAs: ["nzProgress"] }] });
216
+ }
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramOkrStatsProgressComponent, decorators: [{
218
+ type: Component,
219
+ args: [{ selector: 'okr-stats-progress', imports: [
220
+ NzProgressModule
221
+ ], template: "<div class=\"title\"><span nz-icon nzType=\"line-chart\"></span>{{name}}</div>\n<div class=\"value\">\n <nz-progress [nzPercent]=\"data\"></nz-progress>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:180px;min-height:76px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{padding:0 15px 0 0}\n"] }]
222
+ }], ctorParameters: () => [], propDecorators: { name: [{
223
+ type: Input
224
+ }], data: [{
225
+ type: Input
226
+ }] } });
227
+
228
+ class GramKpiStats1Component {
229
+ name = null;
230
+ data1 = null;
231
+ data2 = null;
232
+ data3 = null;
233
+ icon = 'line-chart';
234
+ constructor() { }
235
+ ngOnInit() { }
236
+ ngAfterViewInit() { }
237
+ ngOnChanges(change) { }
238
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats1Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
239
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramKpiStats1Component, isStandalone: true, selector: "kpi-stats1", inputs: { name: "name", data1: "data1", data2: "data2", data3: "data3", icon: "icon" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u672A\u5B8C\u6210</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .finish{color:#2cb792}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
240
+ }
241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats1Component, decorators: [{
242
+ type: Component,
243
+ args: [{ selector: 'kpi-stats1', imports: [
244
+ CommonModule,
245
+ NzIconModule
246
+ ], template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u672A\u5B8C\u6210</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .finish{color:#2cb792}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"] }]
247
+ }], ctorParameters: () => [], propDecorators: { name: [{
248
+ type: Input
249
+ }], data1: [{
250
+ type: Input
251
+ }], data2: [{
252
+ type: Input
253
+ }], data3: [{
254
+ type: Input
255
+ }], icon: [{
256
+ type: Input
257
+ }] } });
258
+
259
+ class GramKpiStats2Component {
260
+ name = null;
261
+ data1 = null;
262
+ data2 = null;
263
+ icon = 'line-chart';
264
+ constructor() { }
265
+ ngOnInit() { }
266
+ ngAfterViewInit() { }
267
+ ngOnChanges(change) { }
268
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats2Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramKpiStats2Component, isStandalone: true, selector: "kpi-stats2", inputs: { name: "name", data1: "data1", data2: "data2", icon: "icon" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .data{font-size:13px;font-weight:600}:host ::ng-deep .value .finish{color:#2cb792}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
270
+ }
271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats2Component, decorators: [{
272
+ type: Component,
273
+ args: [{ selector: 'kpi-stats2', imports: [
274
+ CommonModule,
275
+ NzIconModule
276
+ ], template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .data{font-size:13px;font-weight:600}:host ::ng-deep .value .finish{color:#2cb792}\n"] }]
277
+ }], ctorParameters: () => [], propDecorators: { name: [{
278
+ type: Input
279
+ }], data1: [{
280
+ type: Input
281
+ }], data2: [{
282
+ type: Input
283
+ }], icon: [{
284
+ type: Input
285
+ }] } });
286
+
287
+ class GramKpiStats3Component {
288
+ name = null;
289
+ data1 = null;
290
+ data2 = null;
291
+ data3 = null;
292
+ data4 = null;
293
+ icon = 'line-chart';
294
+ constructor() { }
295
+ ngOnInit() { }
296
+ ngAfterViewInit() { }
297
+ ngOnChanges(change) { }
298
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats3Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
299
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramKpiStats3Component, isStandalone: true, selector: "kpi-stats3", inputs: { name: "name", data1: "data1", data2: "data2", data3: "data3", data4: "data4", icon: "icon" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u672A\u5B8C\u6210</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n <!-- <li class=\"shensu\">\n <div>{{data4!=undefined && data4!=null && data4!=''?data4:0}}</div>\n <div>\u7533\u8BC9\u4E2D</div>\n </li> -->\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .finish{color:#2cb792}:host ::ng-deep .value .shensu{color:#ff7752}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
300
+ }
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramKpiStats3Component, decorators: [{
302
+ type: Component,
303
+ args: [{ selector: 'kpi-stats3', imports: [
304
+ CommonModule,
305
+ NzIconModule
306
+ ], template: "<div class=\"title\"><span nz-icon [nzType]=\"icon\"></span>{{name}}</div>\n<div class=\"value\">\n <ul>\n <li>\n <div class=\"data\">{{data1!=undefined && data1!=null && data1!=''?data1:0}}</div>\n <div>\u672A\u5B8C\u6210</div>\n </li>\n <li>\n <div class=\"data\">{{data2!=undefined && data2!=null && data2!=''?data2:0}}</div>\n <div>\u5BA1\u6838\u4E2D</div>\n </li>\n <li class=\"finish\">\n <div class=\"data\">{{data3!=undefined && data3!=null && data3!=''?data3:0}}</div>\n <div>\u5DF2\u5B8C\u6210</div>\n </li>\n <!-- <li class=\"shensu\">\n <div>{{data4!=undefined && data4!=null && data4!=''?data4:0}}</div>\n <div>\u7533\u8BC9\u4E2D</div>\n </li> -->\n </ul>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;border:1px solid #eaeaea;border-radius:4px;padding:8px 12px;min-width:110px;height:90px;font-size:12px}:host ::ng-deep .title{font-size:14px;padding:0 0 8px;flex-direction:row;align-items:center}:host ::ng-deep .title span{margin-right:5px;color:#1177fb}:host ::ng-deep .value{font-size:12px;flex:1;display:flex;flex-direction:row;align-items:center}:host ::ng-deep .value ul{display:flex;flex-direction:row;align-items:center;flex:1;padding:0;margin:0}:host ::ng-deep .value li{flex:1;text-align:center}:host ::ng-deep .value .finish{color:#2cb792}:host ::ng-deep .value .shensu{color:#ff7752}:host ::ng-deep .value .data{font-size:13px;font-weight:600}\n"] }]
307
+ }], ctorParameters: () => [], propDecorators: { name: [{
308
+ type: Input
309
+ }], data1: [{
310
+ type: Input
311
+ }], data2: [{
312
+ type: Input
313
+ }], data3: [{
314
+ type: Input
315
+ }], data4: [{
316
+ type: Input
317
+ }], icon: [{
318
+ type: Input
319
+ }] } });
320
+
321
+ const components = [
322
+ GramDeonCardOKRComponent,
323
+ GramOkrObjectiveComponent,
324
+ GramOkrObjectiveDLComponent,
325
+ GramOkrObjectiveDXComponent,
326
+ GramOkrStatsDefaultComponent,
327
+ GramOkrStatsObjComponent,
328
+ GramOkrStatsProgressComponent,
329
+ GramKpiStats1Component,
330
+ GramKpiStats2Component,
331
+ GramKpiStats3Component,
332
+ ];
333
+ const entryComponents = [];
334
+ class GramDeonCardOKRModule {
335
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
336
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRModule, imports: [CommonModule, GramDeonCardOKRComponent,
337
+ GramOkrObjectiveComponent,
338
+ GramOkrObjectiveDLComponent,
339
+ GramOkrObjectiveDXComponent,
340
+ GramOkrStatsDefaultComponent,
341
+ GramOkrStatsObjComponent,
342
+ GramOkrStatsProgressComponent,
343
+ GramKpiStats1Component,
344
+ GramKpiStats2Component,
345
+ GramKpiStats3Component], exports: [GramDeonCardOKRComponent,
346
+ GramOkrObjectiveComponent,
347
+ GramOkrObjectiveDLComponent,
348
+ GramOkrObjectiveDXComponent,
349
+ GramOkrStatsDefaultComponent,
350
+ GramOkrStatsObjComponent,
351
+ GramOkrStatsProgressComponent,
352
+ GramKpiStats1Component,
353
+ GramKpiStats2Component,
354
+ GramKpiStats3Component] });
355
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRModule, imports: [CommonModule, components] });
356
+ }
357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonCardOKRModule, decorators: [{
358
+ type: NgModule,
359
+ args: [{
360
+ imports: [CommonModule, ...components],
361
+ exports: [...components, ...entryComponents],
362
+ }]
363
+ }] });
364
+
365
+ /**
366
+ * Generated bundle index. Do not edit.
367
+ */
368
+
369
+ export { GramDeonCardOKRComponent, GramDeonCardOKRModule, GramKpiStats1Component, GramKpiStats2Component, GramKpiStats3Component, GramOkrObjectiveComponent, GramOkrObjectiveDLComponent, GramOkrObjectiveDXComponent, GramOkrStatsDefaultComponent, GramOkrStatsObjComponent, GramOkrStatsProgressComponent };
370
+ //# sourceMappingURL=components.card-okr.mjs.map