fantasy-ngzorro 1.3.28 → 1.3.30

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 (163) hide show
  1. package/bundles/fantasy-ngzorro.umd.js +6035 -6035
  2. package/bundles/fantasy-ngzorro.umd.js.map +1 -1
  3. package/bundles/fantasy-ngzorro.umd.min.js +1 -1
  4. package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
  5. package/esm2015/fantasy-ngzorro.js +38 -38
  6. package/esm2015/fantasy-ngzorro.module.js +18 -18
  7. package/esm2015/hd-button/hd-button.component.js +91 -91
  8. package/esm2015/hd-button/hd-button.module.js +22 -22
  9. package/esm2015/hd-button/hd-button.service.js +36 -36
  10. package/esm2015/hd-button-group/hd-button-group.component.js +32 -32
  11. package/esm2015/hd-button-group/hd-button-group.module.js +22 -22
  12. package/esm2015/hd-component.module.js +43 -43
  13. package/esm2015/hd-current-table/hd-current-table.component.js +224 -224
  14. package/esm2015/hd-current-table/hd-current-table.module.js +23 -23
  15. package/esm2015/hd-current-table/hd-current-table.service.js +34 -34
  16. package/esm2015/hd-detail-form/hd-detail-form.component.js +64 -64
  17. package/esm2015/hd-detail-form/hd-detail-form.module.js +20 -20
  18. package/esm2015/hd-detail-form/hd-detail-form.service.js +17 -17
  19. package/esm2015/hd-detail-lines/hd-detail-lines.component.js +266 -266
  20. package/esm2015/hd-detail-lines/hd-detail-lines.module.js +23 -23
  21. package/esm2015/hd-detail-lines/hd-detail-lines.service.js +18 -18
  22. package/esm2015/hd-detail-tip/hd-detail-tip.component.js +61 -61
  23. package/esm2015/hd-detail-tip/hd-detail-tip.module.js +22 -22
  24. package/esm2015/hd-filter/hd-filter.component.js +192 -192
  25. package/esm2015/hd-filter/hd-filter.module.js +25 -25
  26. package/esm2015/hd-filter/hd-filter.service.js +69 -69
  27. package/esm2015/hd-form/hd-form.component.js +369 -369
  28. package/esm2015/hd-form/hd-form.module.js +25 -25
  29. package/esm2015/hd-form/hd-form.service.js +129 -129
  30. package/esm2015/hd-form-lines/hd-form-lines.component.js +1537 -1537
  31. package/esm2015/hd-form-lines/hd-form-lines.module.js +29 -29
  32. package/esm2015/hd-form-lines/hd-form-lines.service.js +121 -121
  33. package/esm2015/hd-log/hd-log.component.js +30 -30
  34. package/esm2015/hd-log/hd-log.module.js +25 -25
  35. package/esm2015/hd-log/hd-log.service.js +47 -47
  36. package/esm2015/hd-popconfirm/hd-popconfirm.component.js +52 -52
  37. package/esm2015/hd-popconfirm/hd-popconfirm.module.js +27 -27
  38. package/esm2015/hd-space/hd-space.component.js +51 -51
  39. package/esm2015/hd-space/hd-space.module.js +23 -23
  40. package/esm2015/hd-space/hd-space.service.js +33 -33
  41. package/esm2015/hd-status/hd-status.component.js +50 -50
  42. package/esm2015/hd-status/hd-status.module.js +27 -27
  43. package/esm2015/hd-status/hd-status.service.js +33 -33
  44. package/esm2015/hd-table/hd-table.component.js +972 -972
  45. package/esm2015/hd-table/hd-table.module.js +43 -43
  46. package/esm2015/hd-table/hd-table.service.js +116 -116
  47. package/esm2015/hd-tip/hd-tip.component.js +37 -37
  48. package/esm2015/hd-tip/hd-tip.module.js +20 -20
  49. package/esm2015/index.js +6 -6
  50. package/esm2015/model/colWidth.js +37 -37
  51. package/esm2015/model/common-type.js +122 -122
  52. package/esm2015/model/staticConst.js +8 -8
  53. package/esm2015/public-api.js +19 -19
  54. package/esm2015/service/common-session.service.js +37 -37
  55. package/esm2015/utils.js +128 -128
  56. package/esm5/fantasy-ngzorro.js +38 -38
  57. package/esm5/fantasy-ngzorro.module.js +22 -22
  58. package/esm5/hd-button/hd-button.component.js +104 -104
  59. package/esm5/hd-button/hd-button.module.js +26 -26
  60. package/esm5/hd-button/hd-button.service.js +39 -39
  61. package/esm5/hd-button-group/hd-button-group.component.js +38 -38
  62. package/esm5/hd-button-group/hd-button-group.module.js +26 -26
  63. package/esm5/hd-component.module.js +47 -47
  64. package/esm5/hd-current-table/hd-current-table.component.js +260 -260
  65. package/esm5/hd-current-table/hd-current-table.module.js +27 -27
  66. package/esm5/hd-current-table/hd-current-table.service.js +46 -46
  67. package/esm5/hd-detail-form/hd-detail-form.component.js +77 -77
  68. package/esm5/hd-detail-form/hd-detail-form.module.js +24 -24
  69. package/esm5/hd-detail-form/hd-detail-form.service.js +20 -20
  70. package/esm5/hd-detail-lines/hd-detail-lines.component.js +314 -314
  71. package/esm5/hd-detail-lines/hd-detail-lines.module.js +27 -27
  72. package/esm5/hd-detail-lines/hd-detail-lines.service.js +22 -22
  73. package/esm5/hd-detail-tip/hd-detail-tip.component.js +72 -72
  74. package/esm5/hd-detail-tip/hd-detail-tip.module.js +26 -26
  75. package/esm5/hd-filter/hd-filter.component.js +231 -231
  76. package/esm5/hd-filter/hd-filter.module.js +29 -29
  77. package/esm5/hd-filter/hd-filter.service.js +77 -77
  78. package/esm5/hd-form/hd-form.component.js +424 -424
  79. package/esm5/hd-form/hd-form.module.js +29 -29
  80. package/esm5/hd-form/hd-form.service.js +141 -141
  81. package/esm5/hd-form-lines/hd-form-lines.component.js +1844 -1844
  82. package/esm5/hd-form-lines/hd-form-lines.module.js +33 -33
  83. package/esm5/hd-form-lines/hd-form-lines.service.js +137 -137
  84. package/esm5/hd-log/hd-log.component.js +35 -35
  85. package/esm5/hd-log/hd-log.module.js +29 -29
  86. package/esm5/hd-log/hd-log.service.js +50 -50
  87. package/esm5/hd-popconfirm/hd-popconfirm.component.js +65 -65
  88. package/esm5/hd-popconfirm/hd-popconfirm.module.js +31 -31
  89. package/esm5/hd-space/hd-space.component.js +56 -56
  90. package/esm5/hd-space/hd-space.module.js +27 -27
  91. package/esm5/hd-space/hd-space.service.js +40 -40
  92. package/esm5/hd-status/hd-status.component.js +62 -62
  93. package/esm5/hd-status/hd-status.module.js +31 -31
  94. package/esm5/hd-status/hd-status.service.js +35 -35
  95. package/esm5/hd-table/hd-table.component.js +1100 -1100
  96. package/esm5/hd-table/hd-table.module.js +47 -47
  97. package/esm5/hd-table/hd-table.service.js +136 -136
  98. package/esm5/hd-tip/hd-tip.component.js +42 -42
  99. package/esm5/hd-tip/hd-tip.module.js +24 -24
  100. package/esm5/index.js +6 -6
  101. package/esm5/model/colWidth.js +37 -37
  102. package/esm5/model/common-type.js +146 -146
  103. package/esm5/model/staticConst.js +8 -8
  104. package/esm5/public-api.js +19 -19
  105. package/esm5/service/common-session.service.js +54 -54
  106. package/esm5/utils.js +128 -128
  107. package/fantasy-ngzorro.d.ts +34 -34
  108. package/fantasy-ngzorro.metadata.json +1 -1
  109. package/fantasy-ngzorro.module.d.ts +2 -2
  110. package/fesm2015/fantasy-ngzorro.js +5223 -5223
  111. package/fesm2015/fantasy-ngzorro.js.map +1 -1
  112. package/fesm5/fantasy-ngzorro.js +6044 -6044
  113. package/fesm5/fantasy-ngzorro.js.map +1 -1
  114. package/hd-button/hd-button.component.d.ts +14 -14
  115. package/hd-button/hd-button.module.d.ts +2 -2
  116. package/hd-button/hd-button.service.d.ts +17 -17
  117. package/hd-button-group/hd-button-group.component.d.ts +7 -7
  118. package/hd-button-group/hd-button-group.module.d.ts +2 -2
  119. package/hd-component.module.d.ts +2 -2
  120. package/hd-current-table/hd-current-table.component.d.ts +43 -43
  121. package/hd-current-table/hd-current-table.module.d.ts +2 -2
  122. package/hd-current-table/hd-current-table.service.d.ts +13 -13
  123. package/hd-detail-form/hd-detail-form.component.d.ts +9 -9
  124. package/hd-detail-form/hd-detail-form.module.d.ts +2 -2
  125. package/hd-detail-form/hd-detail-form.service.d.ts +3 -3
  126. package/hd-detail-lines/hd-detail-lines.component.d.ts +48 -48
  127. package/hd-detail-lines/hd-detail-lines.module.d.ts +2 -2
  128. package/hd-detail-lines/hd-detail-lines.service.d.ts +7 -7
  129. package/hd-detail-tip/hd-detail-tip.component.d.ts +12 -12
  130. package/hd-detail-tip/hd-detail-tip.module.d.ts +2 -2
  131. package/hd-filter/hd-filter.component.d.ts +23 -23
  132. package/hd-filter/hd-filter.module.d.ts +2 -2
  133. package/hd-filter/hd-filter.service.d.ts +25 -25
  134. package/hd-form/hd-form.component.d.ts +25 -25
  135. package/hd-form/hd-form.module.d.ts +2 -2
  136. package/hd-form/hd-form.service.d.ts +51 -51
  137. package/hd-form-lines/hd-form-lines.component.d.ts +147 -147
  138. package/hd-form-lines/hd-form-lines.module.d.ts +2 -2
  139. package/hd-form-lines/hd-form-lines.service.d.ts +53 -53
  140. package/hd-log/hd-log.component.d.ts +6 -6
  141. package/hd-log/hd-log.module.d.ts +2 -2
  142. package/hd-log/hd-log.service.d.ts +6 -6
  143. package/hd-popconfirm/hd-popconfirm.component.d.ts +10 -10
  144. package/hd-popconfirm/hd-popconfirm.module.d.ts +2 -2
  145. package/hd-space/hd-space.component.d.ts +10 -10
  146. package/hd-space/hd-space.module.d.ts +2 -2
  147. package/hd-space/hd-space.service.d.ts +12 -12
  148. package/hd-status/hd-status.component.d.ts +9 -9
  149. package/hd-status/hd-status.module.d.ts +2 -2
  150. package/hd-status/hd-status.service.d.ts +11 -11
  151. package/hd-table/hd-table.component.d.ts +91 -91
  152. package/hd-table/hd-table.module.d.ts +2 -2
  153. package/hd-table/hd-table.service.d.ts +42 -42
  154. package/hd-tip/hd-tip.component.d.ts +8 -8
  155. package/hd-tip/hd-tip.module.d.ts +2 -2
  156. package/index.d.ts +2 -2
  157. package/model/colWidth.d.ts +17 -17
  158. package/model/common-type.d.ts +46 -46
  159. package/model/staticConst.d.ts +3 -3
  160. package/package.json +1 -1
  161. package/public-api.d.ts +15 -15
  162. package/service/common-session.service.d.ts +5 -5
  163. package/utils.d.ts +28 -28
@@ -1,47 +1,47 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- // 表格行
6
- var
7
- // 表格行
8
- TableColumn = /** @class */ (function () {
9
- function TableColumn() {
10
- // 字段名称
11
- this.value = null; // 值 不传默认为null
12
- }
13
- return TableColumn;
14
- }());
15
- // 表格行
16
- export { TableColumn };
17
- if (false) {
18
- /** @type {?} */
19
- TableColumn.prototype.label;
20
- /** @type {?} */
21
- TableColumn.prototype.name;
22
- /** @type {?} */
23
- TableColumn.prototype.value;
24
- /** @type {?} */
25
- TableColumn.prototype.selectList;
26
- /** @type {?} */
27
- TableColumn.prototype.show;
28
- }
29
- //
30
- var
31
- //
32
- TableTotalOption = /** @class */ (function () {
33
- function TableTotalOption() {
34
- }
35
- return TableTotalOption;
36
- }());
37
- //
38
- export { TableTotalOption };
39
- if (false) {
40
- /** @type {?} */
41
- TableTotalOption.prototype.columnNumber;
42
- /** @type {?} */
43
- TableTotalOption.prototype.insertIndex;
44
- /** @type {?} */
45
- TableTotalOption.prototype.insertName;
46
- }
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ // 表格行
6
+ var
7
+ // 表格行
8
+ TableColumn = /** @class */ (function () {
9
+ function TableColumn() {
10
+ // 字段名称
11
+ this.value = null; // 值 不传默认为null
12
+ }
13
+ return TableColumn;
14
+ }());
15
+ // 表格行
16
+ export { TableColumn };
17
+ if (false) {
18
+ /** @type {?} */
19
+ TableColumn.prototype.label;
20
+ /** @type {?} */
21
+ TableColumn.prototype.name;
22
+ /** @type {?} */
23
+ TableColumn.prototype.value;
24
+ /** @type {?} */
25
+ TableColumn.prototype.selectList;
26
+ /** @type {?} */
27
+ TableColumn.prototype.show;
28
+ }
29
+ //
30
+ var
31
+ //
32
+ TableTotalOption = /** @class */ (function () {
33
+ function TableTotalOption() {
34
+ }
35
+ return TableTotalOption;
36
+ }());
37
+ //
38
+ export { TableTotalOption };
39
+ if (false) {
40
+ /** @type {?} */
41
+ TableTotalOption.prototype.columnNumber;
42
+ /** @type {?} */
43
+ TableTotalOption.prototype.insertIndex;
44
+ /** @type {?} */
45
+ TableTotalOption.prototype.insertName;
46
+ }
47
47
  //# sourceMappingURL=data:application/json;base64,eyJ2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9vbGVhbjtcbn1cblxuLy9cbmV4cG9ydCBjbGFzcyBUYWJsZVRvdGFsT3B0aW9uIHtcbiAgY29sdW1uTnVtYmVyOiBudW1iZXI7IC8vIOaAu+WIl+aVsFxuICBpbnNlcnRJbmRleDogbnVtYmVyOyAvLyDmj5LlhaXkuIvmoIdcbiAgaW5zZXJ0TmFtZTogc3RyaW5nOyAvLyDmj5LlhaXlrZfmrrVcbn1cbiJdfQ==
@@ -1,78 +1,78 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- var HdDetailFormComponent = /** @class */ (function () {
7
- function HdDetailFormComponent() {
8
- this.formCols = new Array();
9
- }
10
- /**
11
- * @return {?}
12
- */
13
- HdDetailFormComponent.prototype.ngOnInit = /**
14
- * @return {?}
15
- */
16
- function () {
17
- if (this.formCols && this.formCols.length > 0) {
18
- // 剔除掉formCols里面不需要显示的内容
19
- this.formCols = this.formCols.filter((/**
20
- * @param {?} item
21
- * @return {?}
22
- */
23
- function (item) { return !item.hide; }));
24
- }
25
- };
26
- /**
27
- * @param {?} changes
28
- * @return {?}
29
- */
30
- HdDetailFormComponent.prototype.ngOnChanges = /**
31
- * @param {?} changes
32
- * @return {?}
33
- */
34
- function (changes) {
35
- if (changes['formCols'] && JSON.stringify(changes['formCols'].currentValue) !== JSON.stringify(changes['formCols'].previousValue)) {
36
- if (this.formCols && this.formCols.length > 0) {
37
- // 剔除掉formCols里面不需要显示的内容
38
- this.formCols = this.formCols.filter((/**
39
- * @param {?} item
40
- * @return {?}
41
- */
42
- function (item) { return !item.hide; }));
43
- }
44
- }
45
- };
46
- /**
47
- * @param {?} fn
48
- * @return {?}
49
- */
50
- HdDetailFormComponent.prototype.triggerEvent = /**
51
- * @param {?} fn
52
- * @return {?}
53
- */
54
- function (fn) {
55
- if (fn) {
56
- fn(event);
57
- }
58
- };
59
- HdDetailFormComponent.decorators = [
60
- { type: Component, args: [{
61
- selector: 'hd-detail-form',
62
- template: "<nz-content class=\"hd-detail-form-container\">\n <nz-descriptions [nzColumn]=\"{ xxl: 4, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }\">\n <ng-container *ngFor=\"let col of formCols\">\n <nz-descriptions-item *ngIf=\"!col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</span>\n </nz-descriptions-item>\n <nz-descriptions-item *ngIf=\"col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">\n <a (click)=\"triggerEvent(col.click || null)\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</a>\n </span>\n </nz-descriptions-item>\n </ng-container>\n </nz-descriptions>\n</nz-content>",
63
- styles: ["::ng-deep .common-btn-group>a{font-size:12px;font-weight:400;color:#12a34f!important;white-space:nowrap}::ng-deep .common-btn-group .common-danger-btn:hover{color:#f05b24!important}::ng-deep .common-btn-group>a:hover{color:#20bd62!important}::ng-deep .common-btn-group>a:not(:last-child)::after{content:'';margin:0 2px}::ng-deep .common-billNumber>a{color:#3b77e3}button{box-shadow:unset;text-shadow:unset}::ng-deep .ant-form-item-label>label{color:#4b504e}::ng-deep .ant-input-number-input{height:28px}::ng-deep .ant-input-number{height:28px}textarea.ant-input{height:auto;min-height:28px}::ng-deep .ant-select-selection--multiple{min-height:28px}::ng-deep .ant-select-selection__rendered>ul>li{height:22px!important;margin-top:3px!important;line-height:22px!important}::ng-deep .ant-advanced-search-form .ant-form-item{margin-bottom:0!important}::ng-deep .ant-select-selection--single{height:28px!important}::ng-deep .ant-input{height:28px}::ng-deep .ant-input[disabled]:hover{border-color:#d9d9d9!important}::ng-deep .ant-select-selection__rendered{line-height:28px!important}::ng-deep .ant-calendar-range-picker-input{text-align:left!important}::ng-deep .ant-calendar-picker{width:100%!important}::ng-deep .ant-row{margin-right:0!important;margin-left:0!important}::ng-deep .ant-col-6{padding-left:12px;padding-right:12px}::ng-deep .ant-col-12{padding-left:12px;padding-right:12px}::ng-deep .ant-col-18{padding-left:12px;padding-right:12px}::ng-deep .ant-col-24{padding-left:12px;padding-right:12px}::ng-deep .ant-alert-info{background-color:#f5f8f6;border:1px solid #cfe3d4}:host ::ng-deep th{background:#f5f8f6!important;font-weight:700!important;white-space:nowrap;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;color:#2a3634;padding:8px!important;box-sizing:border-box}:host ::ng-deep td{font-weight:400;font-style:normal;font-size:12px;color:#2a3634;text-align:left;white-space:nowrap;padding:8px!important;box-sizing:border-box}::ng-deep .ant-pagination-options{display:inline-flex;align-items:center}::ng-deep .ant-time-picker{width:100%}.ant-input-number-disabled,.ant-input[disabled],.ant-select-disabled{color:#4b504e}.hd-detail-form-container ::ng-deep .ant-descriptions-item-content{word-break:break-all;color:rgba(0,0,0,.85);font-weight:400}.hd-detail-form-container ::ng-deep .ant-descriptions-item-label{color:rgba(0,0,0,.65)}.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-top:6px!important;padding-bottom:6px!important}.hd-detail-form-container ::ng-deep td{white-space:unset!important}.hd-detail-form-container .ng-star-inserted,.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-left:0!important}"]
64
- }] }
65
- ];
66
- /** @nocollapse */
67
- HdDetailFormComponent.ctorParameters = function () { return []; };
68
- HdDetailFormComponent.propDecorators = {
69
- formCols: [{ type: Input }]
70
- };
71
- return HdDetailFormComponent;
72
- }());
73
- export { HdDetailFormComponent };
74
- if (false) {
75
- /** @type {?} */
76
- HdDetailFormComponent.prototype.formCols;
77
- }
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { Component, Input } from '@angular/core';
6
+ var HdDetailFormComponent = /** @class */ (function () {
7
+ function HdDetailFormComponent() {
8
+ this.formCols = new Array();
9
+ }
10
+ /**
11
+ * @return {?}
12
+ */
13
+ HdDetailFormComponent.prototype.ngOnInit = /**
14
+ * @return {?}
15
+ */
16
+ function () {
17
+ if (this.formCols && this.formCols.length > 0) {
18
+ // 剔除掉formCols里面不需要显示的内容
19
+ this.formCols = this.formCols.filter((/**
20
+ * @param {?} item
21
+ * @return {?}
22
+ */
23
+ function (item) { return !item.hide; }));
24
+ }
25
+ };
26
+ /**
27
+ * @param {?} changes
28
+ * @return {?}
29
+ */
30
+ HdDetailFormComponent.prototype.ngOnChanges = /**
31
+ * @param {?} changes
32
+ * @return {?}
33
+ */
34
+ function (changes) {
35
+ if (changes['formCols'] && JSON.stringify(changes['formCols'].currentValue) !== JSON.stringify(changes['formCols'].previousValue)) {
36
+ if (this.formCols && this.formCols.length > 0) {
37
+ // 剔除掉formCols里面不需要显示的内容
38
+ this.formCols = this.formCols.filter((/**
39
+ * @param {?} item
40
+ * @return {?}
41
+ */
42
+ function (item) { return !item.hide; }));
43
+ }
44
+ }
45
+ };
46
+ /**
47
+ * @param {?} fn
48
+ * @return {?}
49
+ */
50
+ HdDetailFormComponent.prototype.triggerEvent = /**
51
+ * @param {?} fn
52
+ * @return {?}
53
+ */
54
+ function (fn) {
55
+ if (fn) {
56
+ fn(event);
57
+ }
58
+ };
59
+ HdDetailFormComponent.decorators = [
60
+ { type: Component, args: [{
61
+ selector: 'hd-detail-form',
62
+ template: "<nz-content class=\"hd-detail-form-container\">\n <nz-descriptions [nzColumn]=\"{ xxl: 4, xl: 3, lg: 3, md: 3, sm: 2, xs: 1 }\">\n <ng-container *ngFor=\"let col of formCols\">\n <nz-descriptions-item *ngIf=\"!col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</span>\n </nz-descriptions-item>\n <nz-descriptions-item *ngIf=\"col.click\" [nzTitle]=\"col.label\">\n <span [ngStyle]=\"{'color': col?.color ? col.color : null}\">\n <a (click)=\"triggerEvent(col.click || null)\">{{(col.value === '0' || col.value === 0 || col.value\n )? col.value : '&lt;\u7A7A&gt;'}}</a>\n </span>\n </nz-descriptions-item>\n </ng-container>\n </nz-descriptions>\n</nz-content>",
63
+ styles: ["::ng-deep .common-btn-group>a{font-size:12px;font-weight:400;color:#12a34f!important;white-space:nowrap}::ng-deep .common-btn-group .common-danger-btn:hover{color:#f05b24!important}::ng-deep .common-btn-group>a:hover{color:#20bd62!important}::ng-deep .common-btn-group>a:not(:last-child)::after{content:'';margin:0 2px}::ng-deep .common-billNumber>a{color:#3b77e3}button{box-shadow:unset;text-shadow:unset}::ng-deep .ant-form-item-label>label{color:#4b504e}::ng-deep .ant-input-number-input{height:28px}::ng-deep .ant-input-number{height:28px}textarea.ant-input{height:auto;min-height:28px}::ng-deep .ant-select-selection--multiple{min-height:28px}::ng-deep .ant-select-selection__rendered>ul>li{height:22px!important;margin-top:3px!important;line-height:22px!important}::ng-deep .ant-advanced-search-form .ant-form-item{margin-bottom:0!important}::ng-deep .ant-select-selection--single{height:28px!important}::ng-deep .ant-input{height:28px}::ng-deep .ant-input[disabled]:hover{border-color:#d9d9d9!important}::ng-deep .ant-select-selection__rendered{line-height:28px!important}::ng-deep .ant-calendar-range-picker-input{text-align:left!important}::ng-deep .ant-calendar-picker{width:100%!important}::ng-deep .ant-row{margin-right:0!important;margin-left:0!important}::ng-deep .ant-col-6{padding-left:12px;padding-right:12px}::ng-deep .ant-col-12{padding-left:12px;padding-right:12px}::ng-deep .ant-col-18{padding-left:12px;padding-right:12px}::ng-deep .ant-col-24{padding-left:12px;padding-right:12px}::ng-deep .ant-alert-info{background-color:#f5f8f6;border:1px solid #cfe3d4}:host ::ng-deep th{background:#f5f8f6!important;font-weight:700!important;white-space:nowrap;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;color:#2a3634;padding:8px!important;box-sizing:border-box}:host ::ng-deep td{font-weight:400;font-style:normal;font-size:12px;color:#2a3634;text-align:left;white-space:nowrap;padding:8px!important;box-sizing:border-box}::ng-deep .ant-pagination-options{display:inline-flex;align-items:center}::ng-deep .ant-time-picker{width:100%}.ant-input-number-disabled,.ant-input[disabled],.ant-select-disabled{color:#4b504e}.hd-detail-form-container ::ng-deep .ant-descriptions-item-content{word-break:break-all;color:rgba(0,0,0,.85);font-weight:400}.hd-detail-form-container ::ng-deep .ant-descriptions-item-label{color:rgba(0,0,0,.65)}.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-top:6px!important;padding-bottom:6px!important}.hd-detail-form-container ::ng-deep td{white-space:unset!important}.hd-detail-form-container .ng-star-inserted,.hd-detail-form-container ::ng-deep .ant-descriptions-item{padding-left:0!important}"]
64
+ }] }
65
+ ];
66
+ /** @nocollapse */
67
+ HdDetailFormComponent.ctorParameters = function () { return []; };
68
+ HdDetailFormComponent.propDecorators = {
69
+ formCols: [{ type: Input }]
70
+ };
71
+ return HdDetailFormComponent;
72
+ }());
73
+ export { HdDetailFormComponent };
74
+ if (false) {
75
+ /** @type {?} */
76
+ HdDetailFormComponent.prototype.formCols;
77
+ }
78
78
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGQtZGV0YWlsLWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vZmFudGFzeS1uZ3pvcnJvLyIsInNvdXJjZXMiOlsiaGQtZGV0YWlsLWZvcm0vaGQtZGV0YWlsLWZvcm0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBd0IsTUFBTSxlQUFlLENBQUM7QUFHdkU7SUFRRTtRQUZTLGFBQVEsR0FBb0IsSUFBSSxLQUFLLEVBQUUsQ0FBQztJQUVqQyxDQUFDOzs7O0lBRWpCLHdD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HMnXSAmJiBKU09OLnN0cmluZ2lmeShjaGFuZ2VzWydmb3JtQ29scyddLmN1cnJlbnRWYWx1ZSkgIT09IEpTT04uc3RyaW5naWZ5KGNoYW5nZXNbJ2Zvcm1Db2xzJ10ucHJldmlvdXNWYWx1ZSkpIHtcbiAgICAgIGlmICh0aGlzLmZvcm1Db2xzICYmIHRoaXMuZm9ybUNvbHMubGVuZ3RoID4gMCkge1xuICAgICAgICAvLyDliZTpmaTmjolmb3JtQ29sc+mHjOmdouS4jemcgOimgeaYvuekuueahOWGheWuuVxuICAgICAgICB0aGlzLmZvcm1Db2xzID0gdGhpcy5mb3JtQ29scy5maWx0ZXIoaXRlbSA9PiAhaXRlbS5oaWRlKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICB0cmlnZ2VyRXZlbnQoZm46IGFueSkge1xuICAgIGlmIChmbikge1xuICAgICAgZm4oZXZlbnQpO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -1,25 +1,25 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { HdDetailFormComponent } from './hd-detail-form.component';
8
- import { NgZorroAntdModule } from 'ng-zorro-antd';
9
- var HdDetailFormModule = /** @class */ (function () {
10
- function HdDetailFormModule() {
11
- }
12
- HdDetailFormModule.decorators = [
13
- { type: NgModule, args: [{
14
- imports: [
15
- CommonModule,
16
- NgZorroAntdModule
17
- ],
18
- exports: [HdDetailFormComponent],
19
- declarations: [HdDetailFormComponent]
20
- },] }
21
- ];
22
- return HdDetailFormModule;
23
- }());
24
- export { HdDetailFormModule };
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { NgModule } from '@angular/core';
6
+ import { CommonModule } from '@angular/common';
7
+ import { HdDetailFormComponent } from './hd-detail-form.component';
8
+ import { NgZorroAntdModule } from 'ng-zorro-antd';
9
+ var HdDetailFormModule = /** @class */ (function () {
10
+ function HdDetailFormModule() {
11
+ }
12
+ HdDetailFormModule.decorators = [
13
+ { type: NgModule, args: [{
14
+ imports: [
15
+ CommonModule,
16
+ NgZorroAntdModule
17
+ ],
18
+ exports: [HdDetailFormComponent],
19
+ declarations: [HdDetailFormComponent]
20
+ },] }
21
+ ];
22
+ return HdDetailFormModule;
23
+ }());
24
+ export { HdDetailFormModule };
25
25
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGQtZGV0YWlsLWZvcm0ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vZmFudGFzeS1uZ3pvcnJvLyIsInNvdXJjZXMiOlsiaGQtZGV0YWlsLWZvcm0vaGQtZGV0YWlsLWZvcm0ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEQ7SUFBQTtJQVFrQyxDQUFDOztnQkFSbEMsUUFBUSxTQUFDO29CQUNSLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3dCQUNaLGlCQUFpQjtxQkFDbEI7b0JBQ0QsT0FBTyxFQUFFLENBQUMscUJBQXFCLENBQUM7b0JBQ2hDLFlBQVksRUFBRSxDQUFDLHFCQUFxQixDQUFDO2lCQUN0Qzs7SUFDaUMseUJBQUM7Q0FBQSxBQVJuQyxJQVFtQztTQUF0QixrQkFBa0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEhkRGV0YWlsRm9ybUNvbXBvbmVudCB9IGZyb20gJy4vaGQtZGV0YWlsLWZvcm0uY29tcG9uZW50JztcbmltcG9ydCB7IE5nWm9ycm9BbnRkTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTmdab3Jyb0FudGRNb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogW0hkRGV0YWlsRm9ybUNvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW0hkRGV0YWlsRm9ybUNvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgSGREZXRhaWxGb3JtTW9kdWxlIHsgfVxuIl19
@@ -1,21 +1,21 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Injectable } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- var HdDetailFormService = /** @class */ (function () {
8
- function HdDetailFormService() {
9
- }
10
- HdDetailFormService.decorators = [
11
- { type: Injectable, args: [{
12
- providedIn: 'root'
13
- },] }
14
- ];
15
- /** @nocollapse */
16
- HdDetailFormService.ctorParameters = function () { return []; };
17
- /** @nocollapse */ HdDetailFormService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function HdDetailFormService_Factory() { return new HdDetailFormService(); }, token: HdDetailFormService, providedIn: "root" });
18
- return HdDetailFormService;
19
- }());
20
- export { HdDetailFormService };
1
+ /**
2
+ * @fileoverview added by tsickle
3
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
+ */
5
+ import { Injectable } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ var HdDetailFormService = /** @class */ (function () {
8
+ function HdDetailFormService() {
9
+ }
10
+ HdDetailFormService.decorators = [
11
+ { type: Injectable, args: [{
12
+ providedIn: 'root'
13
+ },] }
14
+ ];
15
+ /** @nocollapse */
16
+ HdDetailFormService.ctorParameters = function () { return []; };
17
+ /** @nocollapse */ HdDetailFormService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function HdDetailFormService_Factory() { return new HdDetailFormService(); }, token: HdDetailFormService, providedIn: "root" });
18
+ return HdDetailFormService;
19
+ }());
20
+ export { HdDetailFormService };
21
21
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGQtZGV0YWlsLWZvcm0uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2ZhbnRhc3ktbmd6b3Jyby8iLCJzb3VyY2VzIjpbImhkLWRldGFpbC1mb3JtL2hkLWRldGFpbC1mb3JtLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRTNDO0lBS0U7SUFBZ0IsQ0FBQzs7Z0JBTGxCLFVBQVUsU0FBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkI7Ozs7OzhCQUpEO0NBU0MsQUFQRCxJQU9DO1NBSlksbUJBQW1CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBIZERldGFpbEZvcm1TZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG59XG4iXX0=