@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,83 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i3 from 'ng-zorro-antd/table';
6
+ import { NzTableModule } from 'ng-zorro-antd/table';
7
+ import * as i4 from 'ng-zorro-antd/tabs';
8
+ import { NzTabsModule } from 'ng-zorro-antd/tabs';
9
+ import * as i5 from '@ebuilding/base/shared.pipe';
10
+ import { GramPipeModule } from '@ebuilding/base/shared.pipe';
11
+ import * as i1 from '@angular/router';
12
+
13
+ class GramDeonTargetValueComponent {
14
+ router;
15
+ activatedRoute;
16
+ _data = {};
17
+ set data(value) {
18
+ if (value.periods && value.itemList) {
19
+ let periodList = [];
20
+ value.itemList.forEach((item) => {
21
+ let itemInfo = {};
22
+ itemInfo.itemName = item.itemName;
23
+ if (value.periods) {
24
+ itemInfo.details = value.periods.filter((detail) => {
25
+ return detail.itemId == item.itemId && detail.adjId == item.adjId;
26
+ });
27
+ }
28
+ periodList.push(itemInfo);
29
+ });
30
+ value.periodList = periodList;
31
+ }
32
+ this._data = value;
33
+ }
34
+ get data() {
35
+ return this._data;
36
+ }
37
+ buttonClick = new EventEmitter();
38
+ ngOnInit() { }
39
+ ngAfterViewInit() { }
40
+ btnClickEvent(type) {
41
+ this.buttonClick.emit(type);
42
+ }
43
+ constructor(router, activatedRoute) {
44
+ this.router = router;
45
+ this.activatedRoute = activatedRoute;
46
+ }
47
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
48
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonTargetValueComponent, isStandalone: true, selector: "gram-target-value", inputs: { data: "data" }, outputs: { buttonClick: "buttonClick" }, ngImport: i0, template: "<div class=\"header\">\n <ul>\n <li>\u8C03\u6574\u65E5\u671F\uFF1A{{data?.createDate | date:'yyyy-MM-dd'}}<label>|</label></li>\n <li>\u64CD\u4F5C\u4EBA\uFF1A{{data?.createEmpInfo?.name}}<label></label></li>\n <li>\u5206\u89E3\u65B9\u6848\uFF1A{{data?.planInfo?.name}}</li>\n <li>\u76EE\u6807\u540D\u79F0\uFF1A{{data?.objectiveInfo?.name}}</li>\n <li>\u6D41\u7A0B\u72B6\u6001\uFF1A<span [ngClass]=\"'flowState_'+data.workflowState \">{{data?.workflowState | flowState}}</span></li>\n </ul>\n</div>\n<div class=\"content\">\n <nz-tabset [nzSize]=\"'small'\">\n <nz-tab nzTitle=\"\u6574\u4F53\u76EE\u6807\u503C\">\n <nz-table #tableALL [nzData]=\"data?.itemList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th nzLeft></th>\n <th>\u8C03\u6574\u524D</th>\n <th>\u8C03\u6574\u540E</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let adjust of data?.itemList\">\n <tr>\n <td>{{adjust?.itemName}}</td>\n <td>{{adjust?.beforeItemValue}}</td>\n <td>{{adjust?.afterItemValue}}</td>\n </tr>\n </ng-container>\n </tbody>\n </nz-table>\n </nz-tab>\n <nz-tab nzTitle=\"\u9636\u6BB5\u76EE\u6807\u503C\">\n <nz-table #tablePeriod [nzData]=\"data?.periodList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th rowspan=\"2\" nzLeft></th>\n <th rowspan=\"2\" nzLeft>\u8BA1\u91CF\u5355\u4F4D</th>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th colspan=\"2\">{{hd?.name}}</th>\n </ng-container>\n </tr>\n <tr>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th>\u8C03\u6574\u524D</th>\n <th>\u8C03\u6574\u540E</th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let d of data?.periodList\">\n <td>{{d?.itemName}}</td>\n <td>{{d?.unit}}</td>\n <ng-container *ngFor=\"let item of d?.details\">\n <td>{{item.beforeItemValue}}</td>\n <td>{{item.afterItemValue}}</td>\n </ng-container>\n </tr>\n </tbody>\n </nz-table>\n </nz-tab>\n </nz-tabset>\n <ul>\n <li>\u8C03\u6574\u539F\u56E0\uFF1A{{data?.description}}</li>\n </ul>\n</div>\n", styles: [":host ::ng-deep ul li{float:left;padding:0 8px 0 0}:host ::ng-deep .header{display:flex;padding:0 0 12px}:host ::ng-deep .header ul{padding:0}:host ::ng-deep .header label{display:inline-block;padding:0 0 0 8px;color:#e8e8e8}:host ::ng-deep .header .left{flex:1}:host ::ng-deep .header .right{flex:1}:host ::ng-deep .header .right ul{float:right}:host ::ng-deep .content{padding:0 8px 12px;border:1px solid #e8e8e8;border-radius:4px}:host ::ng-deep .content ul{display:flex;width:100%;padding:12px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }, { kind: "ngmodule", type: NzTableModule }, { kind: "component", type: i3.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzCustomColumn", "nzPaginationPosition", "nzScroll", "noDataVirtualHeight", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange", "nzCustomColumnChange"], exportAs: ["nzTable"] }, { kind: "directive", type: i3.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }, { kind: "directive", type: i3.NzThMeasureDirective, selector: "th", inputs: ["nzWidth", "colspan", "colSpan", "rowspan", "rowSpan"] }, { kind: "component", type: i3.NzTheadComponent, selector: "thead:not(.ant-table-thead)", outputs: ["nzSortOrderChange"] }, { kind: "component", type: i3.NzTbodyComponent, selector: "tbody" }, { kind: "directive", type: i3.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }, { kind: "directive", type: i3.NzCellFixedDirective, selector: "td[nzRight],th[nzRight],td[nzLeft],th[nzLeft]", inputs: ["nzRight", "nzLeft", "colspan", "colSpan"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i5.FlowStatePipe, name: "flowState" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
49
+ }
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: 'gram-target-value', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
53
+ CommonModule,
54
+ NzTableModule,
55
+ NzTabsModule,
56
+ GramPipeModule
57
+ ], template: "<div class=\"header\">\n <ul>\n <li>\u8C03\u6574\u65E5\u671F\uFF1A{{data?.createDate | date:'yyyy-MM-dd'}}<label>|</label></li>\n <li>\u64CD\u4F5C\u4EBA\uFF1A{{data?.createEmpInfo?.name}}<label></label></li>\n <li>\u5206\u89E3\u65B9\u6848\uFF1A{{data?.planInfo?.name}}</li>\n <li>\u76EE\u6807\u540D\u79F0\uFF1A{{data?.objectiveInfo?.name}}</li>\n <li>\u6D41\u7A0B\u72B6\u6001\uFF1A<span [ngClass]=\"'flowState_'+data.workflowState \">{{data?.workflowState | flowState}}</span></li>\n </ul>\n</div>\n<div class=\"content\">\n <nz-tabset [nzSize]=\"'small'\">\n <nz-tab nzTitle=\"\u6574\u4F53\u76EE\u6807\u503C\">\n <nz-table #tableALL [nzData]=\"data?.itemList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th nzLeft></th>\n <th>\u8C03\u6574\u524D</th>\n <th>\u8C03\u6574\u540E</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let adjust of data?.itemList\">\n <tr>\n <td>{{adjust?.itemName}}</td>\n <td>{{adjust?.beforeItemValue}}</td>\n <td>{{adjust?.afterItemValue}}</td>\n </tr>\n </ng-container>\n </tbody>\n </nz-table>\n </nz-tab>\n <nz-tab nzTitle=\"\u9636\u6BB5\u76EE\u6807\u503C\">\n <nz-table #tablePeriod [nzData]=\"data?.periodList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th rowspan=\"2\" nzLeft></th>\n <th rowspan=\"2\" nzLeft>\u8BA1\u91CF\u5355\u4F4D</th>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th colspan=\"2\">{{hd?.name}}</th>\n </ng-container>\n </tr>\n <tr>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th>\u8C03\u6574\u524D</th>\n <th>\u8C03\u6574\u540E</th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let d of data?.periodList\">\n <td>{{d?.itemName}}</td>\n <td>{{d?.unit}}</td>\n <ng-container *ngFor=\"let item of d?.details\">\n <td>{{item.beforeItemValue}}</td>\n <td>{{item.afterItemValue}}</td>\n </ng-container>\n </tr>\n </tbody>\n </nz-table>\n </nz-tab>\n </nz-tabset>\n <ul>\n <li>\u8C03\u6574\u539F\u56E0\uFF1A{{data?.description}}</li>\n </ul>\n</div>\n", styles: [":host ::ng-deep ul li{float:left;padding:0 8px 0 0}:host ::ng-deep .header{display:flex;padding:0 0 12px}:host ::ng-deep .header ul{padding:0}:host ::ng-deep .header label{display:inline-block;padding:0 0 0 8px;color:#e8e8e8}:host ::ng-deep .header .left{flex:1}:host ::ng-deep .header .right{flex:1}:host ::ng-deep .header .right ul{float:right}:host ::ng-deep .content{padding:0 8px 12px;border:1px solid #e8e8e8;border-radius:4px}:host ::ng-deep .content ul{display:flex;width:100%;padding:12px 0 0}\n"] }]
58
+ }], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }], propDecorators: { data: [{
59
+ type: Input
60
+ }], buttonClick: [{
61
+ type: Output
62
+ }] } });
63
+
64
+ const components = [GramDeonTargetValueComponent];
65
+ class GramDeonTargetValueModule {
66
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
67
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueModule, imports: [CommonModule, GramDeonTargetValueComponent], exports: [GramDeonTargetValueComponent] });
68
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueModule, imports: [CommonModule, components] });
69
+ }
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTargetValueModule, decorators: [{
71
+ type: NgModule,
72
+ args: [{
73
+ imports: [CommonModule, ...components],
74
+ exports: [...components],
75
+ }]
76
+ }] });
77
+
78
+ /**
79
+ * Generated bundle index. Do not edit.
80
+ */
81
+
82
+ export { GramDeonTargetValueComponent, GramDeonTargetValueModule };
83
+ //# sourceMappingURL=components.target-value.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.target-value.mjs","sources":["../../../../packages/abc/target-value/src/default/index.ts","../../../../packages/abc/target-value/src/default/index.html","../../../../packages/abc/target-value/src/index.module.ts","../../../../packages/abc/target-value/components.target-value.ts"],"sourcesContent":["import { Component, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { NzTableModule } from \"ng-zorro-antd/table\";\nimport { NzTabsModule } from \"ng-zorro-antd/tabs\";\nimport { GramPipeModule } from \"@ebuilding/base/shared.pipe\";\n@Component({\n selector: 'gram-target-value',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n NzTableModule,\n NzTabsModule,\n GramPipeModule\n ]\n})\nexport class GramDeonTargetValueComponent implements OnInit, AfterViewInit {\n _data: any = {};\n @Input()\n set data(value: any) {\n if (value.periods!! && value.itemList!!) {\n let periodList: any = [];\n value.itemList.forEach((item: any) => {\n let itemInfo: any = {};\n itemInfo.itemName = item.itemName;\n if (value.periods!!) {\n itemInfo.details = value.periods.filter((detail: any) => {\n return detail.itemId == item.itemId && detail.adjId == item.adjId;\n });\n }\n periodList.push(itemInfo);\n });\n value.periodList = periodList;\n }\n this._data = value;\n }\n\n get data() {\n return this._data;\n }\n\n @Output() buttonClick: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n btnClickEvent(type: string) {\n this.buttonClick.emit(type);\n }\n\n constructor(private router: Router, private activatedRoute: ActivatedRoute) { }\n}\n","<div class=\"header\">\n <ul>\n <li>调整日期:{{data?.createDate | date:'yyyy-MM-dd'}}<label>|</label></li>\n <li>操作人:{{data?.createEmpInfo?.name}}<label></label></li>\n <li>分解方案:{{data?.planInfo?.name}}</li>\n <li>目标名称:{{data?.objectiveInfo?.name}}</li>\n <li>流程状态:<span [ngClass]=\"'flowState_'+data.workflowState \">{{data?.workflowState | flowState}}</span></li>\n </ul>\n</div>\n<div class=\"content\">\n <nz-tabset [nzSize]=\"'small'\">\n <nz-tab nzTitle=\"整体目标值\">\n <nz-table #tableALL [nzData]=\"data?.itemList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th nzLeft></th>\n <th>调整前</th>\n <th>调整后</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let adjust of data?.itemList\">\n <tr>\n <td>{{adjust?.itemName}}</td>\n <td>{{adjust?.beforeItemValue}}</td>\n <td>{{adjust?.afterItemValue}}</td>\n </tr>\n </ng-container>\n </tbody>\n </nz-table>\n </nz-tab>\n <nz-tab nzTitle=\"阶段目标值\">\n <nz-table #tablePeriod [nzData]=\"data?.periodList\" nzBordered [nzShowPagination]=\"false\" [nzSize]=\"'small'\">\n <thead>\n <tr>\n <th rowspan=\"2\" nzLeft></th>\n <th rowspan=\"2\" nzLeft>计量单位</th>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th colspan=\"2\">{{hd?.name}}</th>\n </ng-container>\n </tr>\n <tr>\n <ng-container *ngFor=\"let hd of data?.configPeriod\">\n <th>调整前</th>\n <th>调整后</th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let d of data?.periodList\">\n <td>{{d?.itemName}}</td>\n <td>{{d?.unit}}</td>\n <ng-container *ngFor=\"let item of d?.details\">\n <td>{{item.beforeItemValue}}</td>\n <td>{{item.afterItemValue}}</td>\n </ng-container>\n </tr>\n </tbody>\n </nz-table>\n </nz-tab>\n </nz-tabset>\n <ul>\n <li>调整原因:{{data?.description}}</li>\n </ul>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { GramDeonTargetValueComponent } from './default/index';\n\nconst components: any[] = [GramDeonTargetValueComponent];\n\n@NgModule({\n imports: [CommonModule, ...components],\n exports: [...components],\n})\nexport class GramDeonTargetValueModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAkBa,4BAA4B,CAAA;AAmCnB,IAAA,MAAA;AAAwB,IAAA,cAAA;IAlC5C,KAAK,GAAQ,EAAE;IACf,IACI,IAAI,CAAC,KAAU,EAAA;QACjB,IAAI,KAAK,CAAC,OAAS,IAAI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AAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,UAAU,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -0,0 +1,444 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Input, Component, NgModule } from '@angular/core';
3
+ import * as i4 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import _ from 'lodash';
7
+ import * as i5 from '@ebuilding/base/shared.pipe';
8
+ import { GramPipeModule } from '@ebuilding/base/shared.pipe';
9
+ import moment from 'moment';
10
+ import { Format_Date_YYYYMMDD, Format_HHMMSS, Format_HHMM, Format_Month, Format_Year, Format_Date, Format_DateTime, Format_Date_HHMMSS, Format_Date_HHMM, Format_Date_YYYYMMDDHHMMSS, Format_Date_YYYYMMDDHHMM, Format_Date_YYYYMMDDHH, Format_Date_YYYYMM, Format_Date_MM, Format_Date_YYYY } from '@ebuilding/base/shared.var/shared.constant';
11
+ import { WorkFlowState } from '@ebuilding/base/shared.util/workflow';
12
+ import * as i1 from 'ng-zorro-antd/message';
13
+ import * as i2 from 'ng-zorro-antd/modal';
14
+
15
+ class TextService {
16
+ constructor() { }
17
+ transferText(field, fieldValue, rowData) {
18
+ let explain = field?.explain;
19
+ let fieldClick = field?.fieldClick;
20
+ let value = fieldValue;
21
+ if (explain && explain?.type) {
22
+ switch (explain.type) {
23
+ case 'ref':
24
+ value = this.getRefInfo(fieldValue, explain);
25
+ break;
26
+ case 'empInfo':
27
+ value = this.getEmpInfo(fieldValue, explain?.format);
28
+ break;
29
+ case 'date':
30
+ value = this.getDateInfo(fieldValue, explain?.format);
31
+ break;
32
+ case 'select':
33
+ value = this.getSelectInfo(fieldValue, explain?.options);
34
+ break;
35
+ case 'yesNo':
36
+ value = this.getBooleanInfo(fieldValue, explain?.format);
37
+ break;
38
+ case 'disFlag':
39
+ value = this.getDisFlagInfo(fieldValue, explain?.format);
40
+ break;
41
+ case 'builtin':
42
+ value = this.getBuiltinInfo(fieldValue, explain?.format);
43
+ break;
44
+ case 'special':
45
+ value = this.getSpecialInfo(fieldValue, field);
46
+ break;
47
+ case 'color':
48
+ value = this.getColorConvert(fieldValue, field);
49
+ break;
50
+ case 'workflow':
51
+ value = this.getWorkFlowInfo(fieldValue, field);
52
+ break;
53
+ default:
54
+ value = this.getTextConvert(fieldValue, field);
55
+ break;
56
+ }
57
+ }
58
+ if (field.styles && value != undefined && value != null && value != '' && value != 'null') {
59
+ let fontSize = null, fontColor = null, fontWeight = null;
60
+ let styles = JSON.parse(field.styles);
61
+ if (styles['font-size']) {
62
+ fontSize = styles['font-size'];
63
+ }
64
+ if (styles['color']) {
65
+ fontColor = styles['color'];
66
+ }
67
+ if (styles['font-weight']) {
68
+ fontWeight = styles['font-weight'];
69
+ }
70
+ value = `<div style="font-size:${fontSize};color:${fontColor};font-weight:${fontWeight}">${value}</div>`;
71
+ }
72
+ if (value != undefined && value != null && fieldClick == true) {
73
+ value = `<a>${value}</a>`;
74
+ }
75
+ if (field.unitExplain != undefined && field.unitExplain != null) {
76
+ let unitName = null;
77
+ let unitCode = rowData[field.unitExplain?.fieldKey];
78
+ if (unitCode != undefined && unitCode != null && field.unitExplain.options) {
79
+ field.unitExplain.options.forEach((item) => {
80
+ if (item.value == unitCode) {
81
+ unitName = item.label;
82
+ }
83
+ });
84
+ }
85
+ if (unitName != undefined && unitName != null && unitName != '') {
86
+ value = `${value}(${unitName})`;
87
+ }
88
+ }
89
+ return value;
90
+ }
91
+ /**
92
+ * 引用信息 - 转换
93
+ * @param data
94
+ * @param format
95
+ * @returns
96
+ */
97
+ getRefInfo(data, explain) {
98
+ let result = '';
99
+ if (data) {
100
+ if (explain?.multiple == true) {
101
+ if (Array.isArray(data) && data.length > 0) {
102
+ data.forEach((item, index) => {
103
+ if (item?.color) {
104
+ result += `<span class="text-color" style="background:${item.color};">${item.name}</span>`;
105
+ }
106
+ else {
107
+ result += item.name;
108
+ if (index < data.length - 1) {
109
+ result += '、';
110
+ }
111
+ }
112
+ });
113
+ }
114
+ }
115
+ else {
116
+ if (!Array.isArray(data)) {
117
+ if (data?.color) {
118
+ result += `<span class="text-color" style="background:${data.color};">${data.name}</span>`;
119
+ }
120
+ else {
121
+ result = data?.name;
122
+ }
123
+ }
124
+ }
125
+ }
126
+ return result;
127
+ }
128
+ /**
129
+ * 人信息 - 转换
130
+ * @param data
131
+ * @param format
132
+ * @returns
133
+ */
134
+ getEmpInfo(data, format) {
135
+ let result = '';
136
+ if (data) {
137
+ switch (format) {
138
+ case 'empCode':
139
+ result = data?.code;
140
+ break;
141
+ case 'empName':
142
+ result = data?.name;
143
+ break;
144
+ default:
145
+ result = data?.name;
146
+ break;
147
+ }
148
+ }
149
+ return result;
150
+ }
151
+ /**
152
+ * 日期信息 - 转换
153
+ * @param data
154
+ * @param format
155
+ * @returns
156
+ */
157
+ getDateInfo(data, format) {
158
+ let result = '';
159
+ if (data) {
160
+ let dateFormat = Format_Date_YYYYMMDD;
161
+ switch (format) {
162
+ case 'YYYY':
163
+ dateFormat = Format_Date_YYYY;
164
+ break;
165
+ case 'MM':
166
+ dateFormat = Format_Date_MM;
167
+ break;
168
+ case 'YYYYMM':
169
+ dateFormat = Format_Date_YYYYMM;
170
+ break;
171
+ case 'YYYYMMDD':
172
+ dateFormat = Format_Date_YYYYMMDD;
173
+ break;
174
+ case 'YYYYMMDDHH':
175
+ dateFormat = Format_Date_YYYYMMDDHH;
176
+ break;
177
+ case 'YYYYMMDDHHMM':
178
+ dateFormat = Format_Date_YYYYMMDDHHMM;
179
+ break;
180
+ case 'YYYYMMDDHHMMSS':
181
+ dateFormat = Format_Date_YYYYMMDDHHMMSS;
182
+ break;
183
+ case 'HHMM':
184
+ dateFormat = Format_Date_HHMM;
185
+ break;
186
+ case 'HHMMSS':
187
+ dateFormat = Format_Date_HHMMSS;
188
+ break;
189
+ case 'datetime':
190
+ dateFormat = Format_DateTime;
191
+ break;
192
+ case 'date':
193
+ dateFormat = Format_Date;
194
+ break;
195
+ case 'year':
196
+ dateFormat = Format_Year;
197
+ break;
198
+ case 'month':
199
+ dateFormat = Format_Month;
200
+ break;
201
+ case 'hhmm':
202
+ dateFormat = Format_HHMM;
203
+ break;
204
+ case 'hhmmss':
205
+ dateFormat = Format_HHMMSS;
206
+ break;
207
+ default:
208
+ break;
209
+ }
210
+ result = moment(data).format(dateFormat).toString();
211
+ }
212
+ return result;
213
+ }
214
+ /**
215
+ * 下拉选项 - 转换
216
+ * @param data
217
+ * @param options
218
+ * @returns
219
+ */
220
+ getSelectInfo(data, options) {
221
+ let result = '';
222
+ if (data && options && Array.isArray(options)) {
223
+ options.forEach((element) => {
224
+ if (element.value == data) {
225
+ result = element.label;
226
+ }
227
+ });
228
+ }
229
+ return result;
230
+ }
231
+ /**
232
+ * 布尔值 - 转换
233
+ * @param data
234
+ * @param display
235
+ * @returns
236
+ */
237
+ getBooleanInfo(data, display) {
238
+ let result = '';
239
+ switch (data) {
240
+ case 0:
241
+ case '0':
242
+ case false:
243
+ case 'false':
244
+ result = '否';
245
+ break;
246
+ default:
247
+ result = '是';
248
+ break;
249
+ }
250
+ return result;
251
+ }
252
+ getDisFlagInfo(data, display) {
253
+ let result = '';
254
+ switch (data) {
255
+ case 0:
256
+ case '0':
257
+ case false:
258
+ case 'false':
259
+ result = '启用';
260
+ break;
261
+ case 1:
262
+ case '1':
263
+ case true:
264
+ case 'true':
265
+ result = '禁用';
266
+ break;
267
+ default:
268
+ break;
269
+ }
270
+ return result;
271
+ }
272
+ /**
273
+ * 内置|自定义 - 转换
274
+ * @param data
275
+ * @param display
276
+ * @returns
277
+ */
278
+ getBuiltinInfo(data, display) {
279
+ let result = '';
280
+ switch (data) {
281
+ case 0:
282
+ case '0':
283
+ case true:
284
+ case 'true':
285
+ result = `<span class="yes_ok">内置</span>`;
286
+ break;
287
+ case 1:
288
+ case '1':
289
+ case false:
290
+ case 'false':
291
+ result = `<span class="yes_no">自定义</span>`;
292
+ break;
293
+ default:
294
+ break;
295
+ }
296
+ return result;
297
+ }
298
+ /**
299
+ * 特殊对象 - 转换
300
+ * @param data
301
+ * @param field
302
+ * @returns
303
+ */
304
+ getSpecialInfo(data, field) {
305
+ let result = '';
306
+ let precision = field?.explain?.precision;
307
+ let format = field?.explain?.format;
308
+ if (data != undefined && data != null && typeof data === 'number') {
309
+ if (precision == null) {
310
+ result = data.toFixed(0);
311
+ }
312
+ else {
313
+ result = data.toFixed(precision);
314
+ }
315
+ result = this.getTextConvert(data, field);
316
+ }
317
+ else {
318
+ switch (format) {
319
+ case 'YYYYMMDD':
320
+ result = moment(data).format(Format_Date).toString();
321
+ break;
322
+ default:
323
+ result = data;
324
+ }
325
+ }
326
+ return result;
327
+ }
328
+ getTextConvert(value, field) {
329
+ if (field && field.explain && field.explain.textConvert) {
330
+ switch (field.explain.textConvert) {
331
+ case 'yesNo':
332
+ value = this.getBooleanInfo(value, null);
333
+ break;
334
+ default:
335
+ break;
336
+ }
337
+ }
338
+ return value;
339
+ }
340
+ getColorConvert(value, field) {
341
+ let result = '';
342
+ if (value) {
343
+ result = `<span class="text-color" style="background:${value};">${value}</span>`;
344
+ }
345
+ return result;
346
+ }
347
+ getWorkFlowInfo(value, field) {
348
+ let result = '';
349
+ if (value) {
350
+ value = value.toLocaleUpperCase();
351
+ let value2 = value.toLocaleLowerCase();
352
+ WorkFlowState().forEach((e) => {
353
+ if (e.value == value) {
354
+ result = e.label;
355
+ }
356
+ });
357
+ result = `<span class="ant-tag workflow_${value2}">${result}</span>`;
358
+ }
359
+ return result;
360
+ }
361
+ }
362
+
363
+ class GramDeonTextComponent {
364
+ elementRef;
365
+ renderer;
366
+ drf;
367
+ msg;
368
+ modal;
369
+ textSrv;
370
+ _data = null;
371
+ unitData = null;
372
+ set data(value) {
373
+ if (value && value?.config && value?.config?.parameterUnit) {
374
+ this.unitData = value?.config?.parameterUnit;
375
+ }
376
+ this._data = value;
377
+ }
378
+ get data() {
379
+ return this._data;
380
+ }
381
+ constructor(elementRef, renderer, drf, msg, modal, textSrv) {
382
+ this.elementRef = elementRef;
383
+ this.renderer = renderer;
384
+ this.drf = drf;
385
+ this.msg = msg;
386
+ this.modal = modal;
387
+ this.textSrv = textSrv;
388
+ }
389
+ ngOnInit() { }
390
+ ngAfterViewInit() { }
391
+ ngOnChanges(change) { }
392
+ get textInfo() {
393
+ return this.getTextInfo();
394
+ }
395
+ getTextInfo() {
396
+ let item = _.get(this.data, 'item');
397
+ let header = _.get(this.data, 'header');
398
+ let key = _.get(header, 'key');
399
+ let itemValue = _.get(item, key);
400
+ let result = this.textSrv.transferText(header, itemValue, item);
401
+ if (result == null) {
402
+ result = '';
403
+ }
404
+ else {
405
+ if (result && key && this.unitData && this.unitData[key]) {
406
+ result = `${result} (${this.unitData[key]})`;
407
+ }
408
+ }
409
+ return result;
410
+ }
411
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.NzMessageService }, { token: i2.NzModalService }, { token: TextService }], target: i0.ɵɵFactoryTarget.Component });
412
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonTextComponent, isStandalone: true, selector: "gram-text", inputs: { data: "data" }, providers: [TextService], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"data?.header?.explain?.type=='image';else tmpDefault\">\n <div style=\"height: 50px;\">\n <img [src]=\"data.item[data.header.key]\" style=\"width: auto;height: 100%;\">\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"pipe-box\" [innerHtml]=\"textInfo | safeHtml\"></div>\n</ng-template>", styles: [":host ::ng-deep .pipe-box{display:flex}:host ::ng-deep .text-color{display:inline-block;padding:2px 15px;color:#fff;border-radius:8px}:host ::ng-deep .text-color+.text-color{margin-left:5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i5.SafeHtmlPipe, name: "safeHtml" }] });
413
+ }
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextComponent, decorators: [{
415
+ type: Component,
416
+ args: [{ selector: 'gram-text', imports: [
417
+ CommonModule,
418
+ FormsModule, ReactiveFormsModule,
419
+ GramPipeModule
420
+ ], providers: [TextService], template: "<ng-container *ngIf=\"data?.header?.explain?.type=='image';else tmpDefault\">\n <div style=\"height: 50px;\">\n <img [src]=\"data.item[data.header.key]\" style=\"width: auto;height: 100%;\">\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"pipe-box\" [innerHtml]=\"textInfo | safeHtml\"></div>\n</ng-template>", styles: [":host ::ng-deep .pipe-box{display:flex}:host ::ng-deep .text-color{display:inline-block;padding:2px 15px;color:#fff;border-radius:8px}:host ::ng-deep .text-color+.text-color{margin-left:5px}\n"] }]
421
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.NzMessageService }, { type: i2.NzModalService }, { type: TextService }], propDecorators: { data: [{
422
+ type: Input
423
+ }] } });
424
+
425
+ const components = [GramDeonTextComponent];
426
+ class GramDeonTextModule {
427
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
428
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, GramDeonTextComponent], exports: [GramDeonTextComponent] });
429
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, components] });
430
+ }
431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonTextModule, decorators: [{
432
+ type: NgModule,
433
+ args: [{
434
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, ...components],
435
+ exports: [...components]
436
+ }]
437
+ }] });
438
+
439
+ /**
440
+ * Generated bundle index. Do not edit.
441
+ */
442
+
443
+ export { GramDeonTextComponent, GramDeonTextModule };
444
+ //# sourceMappingURL=components.text.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.text.mjs","sources":["../../../../packages/abc/text/src/text.service.ts","../../../../packages/abc/text/src/default/index.ts","../../../../packages/abc/text/src/default/index.html","../../../../packages/abc/text/src/index.module.ts","../../../../packages/abc/text/components.text.ts"],"sourcesContent":["import moment from 'moment';\nimport {\n Format_Month,\n Format_Year,\n Format_Date,\n Format_DateTime,\n Format_HHMM,\n Format_HHMMSS,\n Format_Date_YYYY,\n Format_Date_MM,\n Format_Date_YYYYMM,\n Format_Date_YYYYMMDD,\n Format_Date_YYYYMMDDHH,\n Format_Date_YYYYMMDDHHMM,\n Format_Date_YYYYMMDDHHMMSS,\n Format_Date_HHMM,\n Format_Date_HHMMSS,\n} from '@ebuilding/base/shared.var/shared.constant';\nimport { WorkFlowState } from '@ebuilding/base/shared.util/workflow';\n\nexport class TextService {\n constructor() { }\n\n transferText(field: any, fieldValue: any, rowData: any) {\n let explain: any = field?.explain;\n let fieldClick: any = field?.fieldClick;\n\n let value: any = fieldValue;\n if (explain!! && explain?.type!!) {\n switch (explain.type) {\n case 'ref':\n value = this.getRefInfo(fieldValue, explain);\n break;\n case 'empInfo':\n value = this.getEmpInfo(fieldValue, explain?.format);\n break;\n case 'date':\n value = this.getDateInfo(fieldValue, explain?.format);\n break;\n case 'select':\n value = this.getSelectInfo(fieldValue, explain?.options);\n break;\n case 'yesNo':\n value = this.getBooleanInfo(fieldValue, explain?.format);\n break;\n case 'disFlag':\n value = this.getDisFlagInfo(fieldValue, explain?.format);\n break;\n case 'builtin':\n value = this.getBuiltinInfo(fieldValue, explain?.format);\n break;\n case 'special':\n value = this.getSpecialInfo(fieldValue, field);\n break;\n case 'color':\n value = this.getColorConvert(fieldValue, field);\n break;\n case 'workflow':\n value = this.getWorkFlowInfo(fieldValue, field);\n break;\n default:\n value = this.getTextConvert(fieldValue, field);\n break;\n }\n }\n if (field.styles!! && value != undefined && value != null && value != '' && value != 'null') {\n let fontSize = null,\n fontColor = null,\n fontWeight = null;\n let styles: any = JSON.parse(field.styles);\n if (styles['font-size']!!) {\n fontSize = styles['font-size'];\n }\n if (styles['color']!!) {\n fontColor = styles['color'];\n }\n if (styles['font-weight']!!) {\n fontWeight = styles['font-weight'];\n }\n value = `<div style=\"font-size:${fontSize};color:${fontColor};font-weight:${fontWeight}\">${value}</div>`;\n }\n\n if (value != undefined && value != null && fieldClick == true) {\n value = `<a>${value}</a>`;\n }\n\n if (field.unitExplain != undefined && field.unitExplain != null) {\n let unitName: any = null;\n let unitCode: any = rowData[field.unitExplain?.fieldKey];\n if (unitCode != undefined && unitCode != null && field.unitExplain.options!!) {\n field.unitExplain.options.forEach((item: any) => {\n if (item.value == unitCode) {\n unitName = item.label;\n }\n });\n }\n if (unitName != undefined && unitName != null && unitName != '') {\n value = `${value}(${unitName})`;\n }\n }\n\n return value;\n }\n\n /**\n * 引用信息 - 转换\n * @param data\n * @param format\n * @returns\n */\n private getRefInfo(data: any, explain: any) {\n let result: any = '';\n if (data!!) {\n if (explain?.multiple == true) {\n if (Array.isArray(data) && data.length > 0) {\n data.forEach((item: any, index: number) => {\n if (item?.color!!) {\n result += `<span class=\"text-color\" style=\"background:${item.color};\">${item.name}</span>`;\n } else {\n result += item.name;\n if (index < data.length - 1) {\n result += '、';\n }\n }\n });\n }\n } else {\n if (!Array.isArray(data)) {\n if (data?.color!!) {\n result += `<span class=\"text-color\" style=\"background:${data.color};\">${data.name}</span>`;\n } else {\n result = data?.name;\n }\n }\n }\n }\n return result;\n }\n\n /**\n * 人信息 - 转换\n * @param data\n * @param format\n * @returns\n */\n private getEmpInfo(data: any, format: any) {\n let result: any = '';\n if (data!!) {\n switch (format) {\n case 'empCode':\n result = data?.code;\n break;\n case 'empName':\n result = data?.name;\n break;\n default:\n result = data?.name;\n break;\n }\n }\n return result;\n }\n\n /**\n * 日期信息 - 转换\n * @param data\n * @param format\n * @returns\n */\n private getDateInfo(data: any, format: any) {\n let result: any = '';\n if (data!!) {\n let dateFormat = Format_Date_YYYYMMDD;\n switch (format) {\n case 'YYYY':\n dateFormat = Format_Date_YYYY;\n break;\n case 'MM':\n dateFormat = Format_Date_MM;\n break;\n case 'YYYYMM':\n dateFormat = Format_Date_YYYYMM;\n break;\n case 'YYYYMMDD':\n dateFormat = Format_Date_YYYYMMDD;\n break;\n case 'YYYYMMDDHH':\n dateFormat = Format_Date_YYYYMMDDHH;\n break;\n case 'YYYYMMDDHHMM':\n dateFormat = Format_Date_YYYYMMDDHHMM;\n break;\n case 'YYYYMMDDHHMMSS':\n dateFormat = Format_Date_YYYYMMDDHHMMSS;\n break;\n case 'HHMM':\n dateFormat = Format_Date_HHMM;\n break;\n case 'HHMMSS':\n dateFormat = Format_Date_HHMMSS;\n break;\n case 'datetime':\n dateFormat = Format_DateTime;\n break;\n case 'date':\n dateFormat = Format_Date;\n break;\n case 'year':\n dateFormat = Format_Year;\n break;\n case 'month':\n dateFormat = Format_Month;\n break;\n case 'hhmm':\n dateFormat = Format_HHMM;\n break;\n case 'hhmmss':\n dateFormat = Format_HHMMSS;\n break;\n default:\n break;\n }\n result = moment(data).format(dateFormat).toString();\n }\n return result;\n }\n\n /**\n * 下拉选项 - 转换\n * @param data\n * @param options\n * @returns\n */\n private getSelectInfo(data: any, options: any) {\n let result: any = '';\n if (data!! && options!! && Array.isArray(options)) {\n options.forEach((element: any) => {\n if (element.value == data) {\n result = element.label;\n }\n });\n }\n return result;\n }\n\n /**\n * 布尔值 - 转换\n * @param data\n * @param display\n * @returns\n */\n private getBooleanInfo(data: any, display: any) {\n let result: any = '';\n switch (data) {\n case 0:\n case '0':\n case false:\n case 'false':\n result = '否';\n break;\n default:\n result = '是';\n break;\n }\n return result;\n }\n\n private getDisFlagInfo(data: any, display: any) {\n let result: any = '';\n switch (data) {\n case 0:\n case '0':\n case false:\n case 'false':\n result = '启用';\n break;\n case 1:\n case '1':\n case true:\n case 'true':\n result = '禁用';\n break;\n default:\n break;\n }\n return result;\n }\n\n /**\n * 内置|自定义 - 转换\n * @param data\n * @param display\n * @returns\n */\n private getBuiltinInfo(data: any, display: any) {\n let result: any = '';\n switch (data) {\n case 0:\n case '0':\n case true:\n case 'true':\n result = `<span class=\"yes_ok\">内置</span>`;\n break;\n case 1:\n case '1':\n case false:\n case 'false':\n result = `<span class=\"yes_no\">自定义</span>`;\n break;\n default:\n break;\n }\n return result;\n }\n\n /**\n * 特殊对象 - 转换\n * @param data\n * @param field\n * @returns\n */\n private getSpecialInfo(data: any, field: any) {\n let result: any = '';\n let precision: number = field?.explain?.precision;\n let format: any = field?.explain?.format;\n if (data != undefined && data != null && typeof data === 'number') {\n if (precision == null) {\n result = data.toFixed(0);\n } else {\n result = data.toFixed(precision);\n }\n result = this.getTextConvert(data, field);\n } else {\n switch (format) {\n case 'YYYYMMDD':\n result = moment(data).format(Format_Date).toString();\n break;\n default:\n result = data;\n }\n }\n return result;\n }\n\n private getTextConvert(value: any, field: any) {\n if (field!! && field.explain!! && field.explain.textConvert!!) {\n switch (field.explain.textConvert) {\n case 'yesNo':\n value = this.getBooleanInfo(value, null);\n break;\n default:\n break;\n }\n }\n return value;\n }\n\n private getColorConvert(value: any, field: any) {\n let result: any = '';\n if (value!!) {\n result = `<span class=\"text-color\" style=\"background:${value};\">${value}</span>`;\n }\n return result;\n }\n\n private getWorkFlowInfo(value: any, field: any) {\n let result: any = '';\n if (value!!) {\n value = value.toLocaleUpperCase();\n let value2: any = value.toLocaleLowerCase();\n WorkFlowState().forEach((e: any) => {\n if (e.value == value) {\n result = e.label;\n }\n });\n result = `<span class=\"ant-tag workflow_${value2}\">${result}</span>`;\n }\n return result;\n }\n}\n","import { Component, Input, OnInit, AfterViewInit, OnChanges, ElementRef, ChangeDetectorRef, Renderer2 } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { NzMessageService } from 'ng-zorro-antd/message';\nimport { NzModalService } from 'ng-zorro-antd/modal';\nimport _ from 'lodash';\nimport { GramPipeModule } from '@ebuilding/base/shared.pipe';\nimport { TextService } from '../text.service';\n@Component({\n selector: 'gram-text',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n GramPipeModule\n ],\n providers: [TextService],\n})\nexport class GramDeonTextComponent implements OnInit, AfterViewInit, OnChanges {\n _data: any = null;\n\n unitData: any = null;\n\n @Input()\n set data(value: any) {\n if (value && value?.config && value?.config?.parameterUnit) {\n this.unitData = value?.config?.parameterUnit;\n }\n this._data = value;\n }\n get data() {\n return this._data;\n }\n\n constructor(\n public elementRef: ElementRef,\n public renderer: Renderer2,\n public drf: ChangeDetectorRef,\n public msg: NzMessageService,\n public modal: NzModalService,\n public textSrv: TextService,\n ) { }\n\n ngOnInit() { }\n\n ngAfterViewInit() { }\n\n ngOnChanges(change: any) { }\n\n get textInfo() {\n return this.getTextInfo();\n }\n\n private getTextInfo() {\n let item: any = _.get(this.data, 'item');\n let header: any = _.get(this.data, 'header');\n let key: any = _.get(header, 'key');\n let itemValue: any = _.get(item, key);\n let result: any = this.textSrv.transferText(header, itemValue, item);\n if (result == null) {\n result = '';\n } else {\n if (result && key && this.unitData && this.unitData[key]) {\n result = `${result} (${this.unitData[key]})`;\n }\n }\n return result;\n }\n}\n","<ng-container *ngIf=\"data?.header?.explain?.type=='image';else tmpDefault\">\n <div style=\"height: 50px;\">\n <img [src]=\"data.item[data.header.key]\" style=\"width: auto;height: 100%;\">\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"pipe-box\" [innerHtml]=\"textInfo | safeHtml\"></div>\n</ng-template>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\n\nimport { GramDeonTextComponent } from './default/index';\nconst components: any[] = [GramDeonTextComponent];\n\n@NgModule({\n imports: [CommonModule, FormsModule, ReactiveFormsModule, ...components],\n exports: [...components]\n})\nexport class GramDeonTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3.TextService"],"mappings":";;;;;;;;;;;;;;MAoBa,WAAW,CAAA;AACtB,IAAA,WAAA,GAAA;AAEA,IAAA,YAAY,CAAC,KAAU,EAAE,UAAe,EAAE,OAAY,EAAA;AACpD,QAAA,IAAI,OAAO,GAAQ,KAAK,EAAE,OAAO;AACjC,QAAA,IAAI,UAAU,GAAQ,KAAK,EAAE,UAAU;QAEvC,IAAI,KAAK,GAAQ,UAAU;AAC3B,QAAA,IAAI,OAAS,IAAI,OAAO,EAAE,IAAM,EAAE;AAChC,YAAA,QAAQ,OAAO,CAAC,IAAI;AAClB,gBAAA,KAAK,KAAK;oBACR,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC;oBAC5C;AACF,gBAAA,KAAK,SAAS;oBACZ,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC;oBACpD;AACF,gBAAA,KAAK,MAAM;oBACT,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC;oBACrD;AACF,gBAAA,KAAK,QAAQ;oBACX,KAAK,GAAG,IAAI,CAAC,aAAa,CAA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