ngx-axis-appforge 1.0.13 → 1.0.15

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 (203) hide show
  1. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +9 -6
  2. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
  3. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +35 -19
  4. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -1
  5. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +3 -3
  6. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
  7. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +31 -17
  8. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
  9. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +5 -4
  10. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -1
  11. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +23 -13
  12. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -1
  13. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +3 -3
  14. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
  15. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +17 -10
  16. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs.map +1 -1
  17. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +7 -7
  18. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -1
  19. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +3 -3
  20. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -1
  21. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +3 -3
  22. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
  23. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +35 -19
  24. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -1
  25. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +10 -10
  26. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
  27. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +31 -17
  28. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -1
  29. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +3 -3
  30. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
  31. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +79 -48
  32. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
  33. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs +7 -7
  34. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs.map +1 -1
  35. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs +33 -18
  36. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs.map +1 -1
  37. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +9 -6
  38. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -1
  39. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +15 -9
  40. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -1
  41. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +3 -3
  42. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
  43. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +15 -9
  44. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -1
  45. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +3 -3
  46. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
  47. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +9 -6
  48. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -1
  49. package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs +3 -3
  50. package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs.map +1 -1
  51. package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs +17 -10
  52. package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs.map +1 -1
  53. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +18 -16
  54. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
  55. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +115 -60
  56. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
  57. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +3 -3
  58. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
  59. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +13 -8
  60. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -1
  61. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +3 -3
  62. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -1
  63. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +17 -10
  64. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -1
  65. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +3 -3
  66. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
  67. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +3 -3
  68. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -1
  69. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +19 -11
  70. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
  71. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +7 -5
  72. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
  73. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +6 -5
  74. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
  75. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +9 -6
  76. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -1
  77. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +3 -3
  78. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
  79. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +10 -7
  80. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -1
  81. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +3 -3
  82. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
  83. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +21 -12
  84. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
  85. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +60 -4
  86. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
  87. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +3 -3
  88. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
  89. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +21 -8
  90. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
  91. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +3 -3
  92. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
  93. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +12 -8
  94. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
  95. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs +3 -3
  96. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs.map +1 -1
  97. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs +9 -6
  98. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs.map +1 -1
  99. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +3 -3
  100. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
  101. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +27 -15
  102. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -1
  103. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +24 -13
  104. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -1
  105. package/fesm2022/ngx-axis-appforge-axis-components-loop-task-design.mjs +7 -7
  106. package/fesm2022/ngx-axis-appforge-axis-components-loop-task-design.mjs.map +1 -1
  107. package/fesm2022/ngx-axis-appforge-axis-components-loop-task.mjs +17 -10
  108. package/fesm2022/ngx-axis-appforge-axis-components-loop-task.mjs.map +1 -1
  109. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +20 -17
  110. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -1
  111. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +43 -23
  112. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -1
  113. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +9 -8
  114. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
  115. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +33 -18
  116. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -1
  117. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +5 -4
  118. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
  119. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +27 -15
  120. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -1
  121. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +3 -3
  122. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -1
  123. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +9 -6
  124. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs.map +1 -1
  125. package/fesm2022/ngx-axis-appforge-axis-components-read-file-design.mjs +3 -3
  126. package/fesm2022/ngx-axis-appforge-axis-components-read-file-design.mjs.map +1 -1
  127. package/fesm2022/ngx-axis-appforge-axis-components-read-file.mjs +31 -17
  128. package/fesm2022/ngx-axis-appforge-axis-components-read-file.mjs.map +1 -1
  129. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs +3 -3
  130. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map +1 -1
  131. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs +13 -8
  132. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs.map +1 -1
  133. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +32 -22
  134. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
  135. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +11 -7
  136. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
  137. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +5 -4
  138. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
  139. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +55 -29
  140. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
  141. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +5 -4
  142. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
  143. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +42 -22
  144. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -1
  145. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +10 -10
  146. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
  147. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +25 -14
  148. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
  149. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +10 -10
  150. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
  151. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +45 -24
  152. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -1
  153. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +3 -3
  154. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
  155. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +15 -9
  156. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -1
  157. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +35 -23
  158. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
  159. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +73 -44
  160. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
  161. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +162 -84
  162. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
  163. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +10 -10
  164. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
  165. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +45 -24
  166. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
  167. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +3 -3
  168. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -1
  169. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +19 -11
  170. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -1
  171. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +3 -3
  172. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
  173. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +22 -12
  174. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -1
  175. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs +16 -13
  176. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs.map +1 -1
  177. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs +31 -17
  178. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs.map +1 -1
  179. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +3 -3
  180. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -1
  181. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +7 -5
  182. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -1
  183. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +16 -13
  184. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
  185. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +131 -67
  186. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -1
  187. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +14 -12
  188. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
  189. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +87 -45
  190. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
  191. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +3 -3
  192. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
  193. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +51 -27
  194. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
  195. package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs +3 -3
  196. package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs.map +1 -1
  197. package/fesm2022/ngx-axis-appforge-axis-components-video.mjs +3 -3
  198. package/fesm2022/ngx-axis-appforge-axis-components-video.mjs.map +1 -1
  199. package/fesm2022/ngx-axis-appforge-core.mjs +274 -192
  200. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
  201. package/package.json +9 -9
  202. package/types/ngx-axis-appforge-axis-components-input-icon.d.ts +1 -0
  203. package/types/ngx-axis-appforge-axis-components-input.d.ts +1 -0
@@ -54,10 +54,10 @@ class Setting extends FunFieldValueBase {
54
54
  defaultValue: ""
55
55
  },
56
56
  };
57
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: Setting, isStandalone: true, selector: "axis-design-color-picker-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u683C\u5F0F\u5316\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"format\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"rgb\" nzLabel=\"rgb\"></nz-option>\n <nz-option nzValue=\"hex\" nzLabel=\"hex\"></nz-option>\n <nz-option nzValue=\"hsb\" nzLabel=\"hsb\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u89E6\u53D1\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"trigger\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"click\">\u70B9\u51FB</label>\n <label nz-radio-button nzValue=\"hover\">\u89E6\u78B0</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showText\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\u900F\u660E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"disabledAlpha\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i7.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i7.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i8.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i8.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Setting, isStandalone: true, selector: "axis-design-color-picker-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u683C\u5F0F\u5316\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"format\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"rgb\" nzLabel=\"rgb\"></nz-option>\n <nz-option nzValue=\"hex\" nzLabel=\"hex\"></nz-option>\n <nz-option nzValue=\"hsb\" nzLabel=\"hsb\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u89E6\u53D1\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"trigger\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"click\">\u70B9\u51FB</label>\n <label nz-radio-button nzValue=\"hover\">\u89E6\u78B0</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showText\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\u900F\u660E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"disabledAlpha\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl", "nzXXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter", "nzWrap"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", inputs: ["nzLayout"], exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i5.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i7.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i7.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i8.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i8.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, decorators: [{
61
61
  type: Component,
62
62
  args: [{ selector: 'axis-design-color-picker-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, FunField, NzSwitchModule, InputTrigger, NzInputModule, NzRadioModule, NzSelectModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u683C\u5F0F\u5316\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"format\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"rgb\" nzLabel=\"rgb\"></nz-option>\n <nz-option nzValue=\"hex\" nzLabel=\"hex\"></nz-option>\n <nz-option nzValue=\"hsb\" nzLabel=\"hsb\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u89E6\u53D1\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"trigger\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"click\">\u70B9\u51FB</label>\n <label nz-radio-button nzValue=\"hover\">\u89E6\u78B0</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showText\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7981\u7528\u900F\u660E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"disabledAlpha\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
63
63
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-color-picker-design.mjs","sources":["../../../axis-components/color-picker/design/setting/setting.ts","../../../axis-components/color-picker/design/setting/setting.html","../../../axis-components/color-picker/design/config.ts","../../../axis-components/color-picker/design/ngx-axis-appforge-axis-components-color-picker-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-color-picker-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, FunField, NzSwitchModule, InputTrigger, NzInputModule, NzRadioModule, NzSelectModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n format: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n allowClear: [undefined, FormValidators.requiredFun],\n trigger: [undefined, FormValidators.requiredFun],\n showText: [undefined, FormValidators.requiredFun],\n disabledAlpha: [undefined, FormValidators.requiredFun],\n title: [],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n format: {\n defaultValue: \"hex\"\n },\n size: {\n defaultValue: \"default\"\n },\n allowClear: {\n defaultValue: false\n },\n trigger: {\n defaultValue: \"click\"\n },\n showText: {\n defaultValue: false\n },\n disabledAlpha: {\n defaultValue: false\n },\n title: {\n defaultValue: \"\"\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 格式化\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"format\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"rgb\" nzLabel=\"rgb\"></nz-option>\n <nz-option nzValue=\"hex\" nzLabel=\"hex\"></nz-option>\n <nz-option nzValue=\"hsb\" nzLabel=\"hsb\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">中</label>\n <label nz-radio-button nzValue=\"large\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 允许清空\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 触发方式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"trigger\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"click\">点击</label>\n <label nz-radio-button nzValue=\"hover\">触碰</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 显示文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showText\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 禁用透明\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"disabledAlpha\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 标题\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"颜色选择器\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"颜色选择器\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"bg-colors\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element },\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAiBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC/C,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,UAAU,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACjD,QAAA,aAAa,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACtD,QAAA,KAAK,EAAE,EAAE;AACV,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,MAAM,EAAE;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,EAAE,OAAO;AACb,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,WAAW;aACpB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;SAC5B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-color-picker-design.mjs","sources":["../../../axis-components/color-picker/design/setting/setting.ts","../../../axis-components/color-picker/design/setting/setting.html","../../../axis-components/color-picker/design/config.ts","../../../axis-components/color-picker/design/ngx-axis-appforge-axis-components-color-picker-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-color-picker-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, FunField, NzSwitchModule, InputTrigger, NzInputModule, NzRadioModule, NzSelectModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n format: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n allowClear: [undefined, FormValidators.requiredFun],\n trigger: [undefined, FormValidators.requiredFun],\n showText: [undefined, FormValidators.requiredFun],\n disabledAlpha: [undefined, FormValidators.requiredFun],\n title: [],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n format: {\n defaultValue: \"hex\"\n },\n size: {\n defaultValue: \"default\"\n },\n allowClear: {\n defaultValue: false\n },\n trigger: {\n defaultValue: \"click\"\n },\n showText: {\n defaultValue: false\n },\n disabledAlpha: {\n defaultValue: false\n },\n title: {\n defaultValue: \"\"\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 格式化\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"format\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"rgb\" nzLabel=\"rgb\"></nz-option>\n <nz-option nzValue=\"hex\" nzLabel=\"hex\"></nz-option>\n <nz-option nzValue=\"hsb\" nzLabel=\"hsb\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">中</label>\n <label nz-radio-button nzValue=\"large\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 允许清空\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 触发方式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"trigger\">\n <nz-radio-group nzSize=\"small\" ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"click\">点击</label>\n <label nz-radio-button nzValue=\"hover\">触碰</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 显示文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"showText\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 禁用透明\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"disabledAlpha\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 标题\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"颜色选择器\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"颜色选择器\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"bg-colors\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element },\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAiBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC/C,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,UAAU,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACjD,QAAA,aAAa,EAAE,CAAC,SAAS,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,IAAA,aAAa,EAAE,OAAO;AACtB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,OAAO;AACb,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,WAAW;aACpB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;SAC5B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
@@ -7,21 +7,28 @@ import * as i1 from 'ng-zorro-antd/color-picker';
7
7
  import { NzColorPickerModule } from 'ng-zorro-antd/color-picker';
8
8
 
9
9
  class ColorPickerOptions extends ValueAccessOptions {
10
- format = signal("hex", ...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
11
- size = signal("default", ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
12
- allowClear = signal(false, ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
13
- trigger = signal('click', ...(ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []));
14
- showText = signal(false, ...(ngDevMode ? [{ debugName: "showText" }] : /* istanbul ignore next */ []));
15
- disabledAlpha = signal(false, ...(ngDevMode ? [{ debugName: "disabledAlpha" }] : /* istanbul ignore next */ []));
16
- title = signal("", ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
10
+ format = signal("hex", /* @ts-ignore */
11
+ ...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
12
+ size = signal("default", /* @ts-ignore */
13
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
14
+ allowClear = signal(false, /* @ts-ignore */
15
+ ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
16
+ trigger = signal('click', /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []));
18
+ showText = signal(false, /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "showText" }] : /* istanbul ignore next */ []));
20
+ disabledAlpha = signal(false, /* @ts-ignore */
21
+ ...(ngDevMode ? [{ debugName: "disabledAlpha" }] : /* istanbul ignore next */ []));
22
+ title = signal("", /* @ts-ignore */
23
+ ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
17
24
  }
18
25
 
19
26
  class ColorPickerSelector extends ValueAccess {
20
27
  options = new ColorPickerOptions();
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: ColorPickerSelector, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: ColorPickerSelector, isStandalone: true, selector: "axis-color-picker", usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<div style=\"display: flex;align-items: center;gap: 4px;\">\n <nz-color-block [nzColor]=\"value()\" [nzSize]=\"options.size()\"></nz-color-block>\n <div>{{value()}}</div>\n</div>\n}@else {\n<nz-color-picker [(ngModel)]=\"value\" nzDefaultValue=\"#00000000\" [nzFormat]=\"options.format()\" [nzSize]=\"options.size()\"\n [nzAllowClear]=\"options.allowClear()\" [nzTrigger]=\"options.trigger()\" [nzShowText]=\"options.showText()\"\n [nzDisabledAlpha]=\"options.disabledAlpha()\" [nzTitle]=\"options.title()\" [nzDisabled]=\"options.disabled()\"\n (ngModelChange)=\"onChange?.($event)\"></nz-color-picker>\n}", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i1.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha", "nzPresets"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "component", type: i1.NzColorBlockComponent, selector: "nz-color-block", inputs: ["nzColor", "nzSize"], outputs: ["nzOnClick"], exportAs: ["nzColorBlock"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ColorPickerSelector, deps: null, target: i0.ɵɵFactoryTarget.Component });
29
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: ColorPickerSelector, isStandalone: true, selector: "axis-color-picker", usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<div style=\"display: flex;align-items: center;gap: 4px;\">\n <nz-color-block [nzColor]=\"value()\" [nzSize]=\"options.size()\"></nz-color-block>\n <div>{{value()}}</div>\n</div>\n}@else {\n<nz-color-picker [(ngModel)]=\"value\" nzDefaultValue=\"#00000000\" [nzFormat]=\"options.format()\" [nzSize]=\"options.size()\"\n [nzAllowClear]=\"options.allowClear()\" [nzTrigger]=\"options.trigger()\" [nzShowText]=\"options.showText()\"\n [nzDisabledAlpha]=\"options.disabledAlpha()\" [nzTitle]=\"options.title()\" [nzDisabled]=\"options.disabled()\"\n (ngModelChange)=\"onChange?.($event)\"></nz-color-picker>\n}", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzColorPickerModule }, { kind: "component", type: i1.NzColorPickerComponent, selector: "nz-color-picker", inputs: ["nzFormat", "nzValue", "nzSize", "nzDefaultValue", "nzTrigger", "nzTitle", "nzFlipFlop", "nzShowText", "nzOpen", "nzAllowClear", "nzDisabled", "nzDisabledAlpha", "nzPresets"], outputs: ["nzOnChange", "nzOnFormatChange", "nzOnClear", "nzOnOpenChange"], exportAs: ["nzColorPicker"] }, { kind: "component", type: i1.NzColorBlockComponent, selector: "nz-color-block", inputs: ["nzColor", "nzSize"], outputs: ["nzOnClick"], exportAs: ["nzColorBlock"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
30
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: ColorPickerSelector, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ColorPickerSelector, decorators: [{
25
32
  type: Component,
26
33
  args: [{ selector: 'axis-color-picker', imports: [NzColorPickerModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<div style=\"display: flex;align-items: center;gap: 4px;\">\n <nz-color-block [nzColor]=\"value()\" [nzSize]=\"options.size()\"></nz-color-block>\n <div>{{value()}}</div>\n</div>\n}@else {\n<nz-color-picker [(ngModel)]=\"value\" nzDefaultValue=\"#00000000\" [nzFormat]=\"options.format()\" [nzSize]=\"options.size()\"\n [nzAllowClear]=\"options.allowClear()\" [nzTrigger]=\"options.trigger()\" [nzShowText]=\"options.showText()\"\n [nzDisabledAlpha]=\"options.disabledAlpha()\" [nzTitle]=\"options.title()\" [nzDisabled]=\"options.disabled()\"\n (ngModelChange)=\"onChange?.($event)\"></nz-color-picker>\n}", styles: [":host{display:block}\n"] }]
27
34
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-color-picker.mjs","sources":["../../../axis-components/color-picker/color-picker.options.ts","../../../axis-components/color-picker/color-picker.ts","../../../axis-components/color-picker/color-picker.html","../../../axis-components/color-picker/ngx-axis-appforge-axis-components-color-picker.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class ColorPickerOptions extends ValueAccessOptions {\n readonly format = signal<'rgb' | 'hex' | 'hsb'>(\"hex\");\n readonly size = signal<'large' | 'small' | 'default'>(\"default\");\n readonly allowClear = signal(false);\n readonly trigger = signal<'hover' | 'click'>('click');\n readonly showText = signal(false);\n readonly disabledAlpha = signal(false);\n readonly title = signal(\"\");\n}","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { ColorPickerOptions } from './color-picker.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzColorPickerModule } from 'ng-zorro-antd/color-picker';\n\n@Component({\n selector: 'axis-color-picker',\n imports: [NzColorPickerModule, FormsModule],\n templateUrl: './color-picker.html',\n styleUrl: './color-picker.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPickerSelector extends ValueAccess<ColorPickerOptions> {\n\n override options: ColorPickerOptions = new ColorPickerOptions();\n\n}\n","@if (options.readonly()) {\n<div style=\"display: flex;align-items: center;gap: 4px;\">\n <nz-color-block [nzColor]=\"value()\" [nzSize]=\"options.size()\"></nz-color-block>\n <div>{{value()}}</div>\n</div>\n}@else {\n<nz-color-picker [(ngModel)]=\"value\" nzDefaultValue=\"#00000000\" [nzFormat]=\"options.format()\" [nzSize]=\"options.size()\"\n [nzAllowClear]=\"options.allowClear()\" [nzTrigger]=\"options.trigger()\" [nzShowText]=\"options.showText()\"\n [nzDisabledAlpha]=\"options.disabledAlpha()\" [nzTitle]=\"options.title()\" [nzDisabled]=\"options.disabled()\"\n (ngModelChange)=\"onChange?.($event)\"></nz-color-picker>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './color-picker';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;AAC7C,IAAA,MAAM,GAAG,MAAM,CAAwB,KAAK,6EAAC;AAC7C,IAAA,IAAI,GAAG,MAAM,CAAgC,SAAS,2EAAC;AACvD,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,iFAAC;AAC1B,IAAA,OAAO,GAAG,MAAM,CAAoB,OAAO,8EAAC;AAC5C,IAAA,QAAQ,GAAG,MAAM,CAAC,KAAK,+EAAC;AACxB,IAAA,aAAa,GAAG,MAAM,CAAC,KAAK,oFAAC;AAC7B,IAAA,KAAK,GAAG,MAAM,CAAC,EAAE,4EAAC;AAC9B;;ACEK,MAAO,mBAAoB,SAAQ,WAA+B,CAAA;AAE7D,IAAA,OAAO,GAAuB,IAAI,kBAAkB,EAAE;wGAFpD,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbhC,2oBAUC,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDFW,mBAAmB,2jBAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAK/B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;+BACE,mBAAmB,EAAA,OAAA,EACpB,CAAC,mBAAmB,EAAE,WAAW,CAAC,EAAA,eAAA,EAG1B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2oBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AEXjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-color-picker.mjs","sources":["../../../axis-components/color-picker/color-picker.options.ts","../../../axis-components/color-picker/color-picker.ts","../../../axis-components/color-picker/color-picker.html","../../../axis-components/color-picker/ngx-axis-appforge-axis-components-color-picker.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class ColorPickerOptions extends ValueAccessOptions {\n readonly format = signal<'rgb' | 'hex' | 'hsb'>(\"hex\");\n readonly size = signal<'large' | 'small' | 'default'>(\"default\");\n readonly allowClear = signal(false);\n readonly trigger = signal<'hover' | 'click'>('click');\n readonly showText = signal(false);\n readonly disabledAlpha = signal(false);\n readonly title = signal(\"\");\n}","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { ColorPickerOptions } from './color-picker.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzColorPickerModule } from 'ng-zorro-antd/color-picker';\n\n@Component({\n selector: 'axis-color-picker',\n imports: [NzColorPickerModule, FormsModule],\n templateUrl: './color-picker.html',\n styleUrl: './color-picker.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPickerSelector extends ValueAccess<ColorPickerOptions> {\n\n override options: ColorPickerOptions = new ColorPickerOptions();\n\n}\n","@if (options.readonly()) {\n<div style=\"display: flex;align-items: center;gap: 4px;\">\n <nz-color-block [nzColor]=\"value()\" [nzSize]=\"options.size()\"></nz-color-block>\n <div>{{value()}}</div>\n</div>\n}@else {\n<nz-color-picker [(ngModel)]=\"value\" nzDefaultValue=\"#00000000\" [nzFormat]=\"options.format()\" [nzSize]=\"options.size()\"\n [nzAllowClear]=\"options.allowClear()\" [nzTrigger]=\"options.trigger()\" [nzShowText]=\"options.showText()\"\n [nzDisabledAlpha]=\"options.disabledAlpha()\" [nzTitle]=\"options.title()\" [nzDisabled]=\"options.disabled()\"\n (ngModelChange)=\"onChange?.($event)\"></nz-color-picker>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './color-picker';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;IAC7C,MAAM,GAAG,MAAM,CAAwB,KAAK;+EAAC;IAC7C,IAAI,GAAG,MAAM,CAAgC,SAAS;6EAAC;IACvD,UAAU,GAAG,MAAM,CAAC,KAAK;mFAAC;IAC1B,OAAO,GAAG,MAAM,CAAoB,OAAO;gFAAC;IAC5C,QAAQ,GAAG,MAAM,CAAC,KAAK;iFAAC;IACxB,aAAa,GAAG,MAAM,CAAC,KAAK;sFAAC;IAC7B,KAAK,GAAG,MAAM,CAAC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,EAAA;;;AEXjD;;AAEG;;;;"}
@@ -20,10 +20,10 @@ class Setting extends FunFieldValueBase {
20
20
  defaultValue: undefined
21
21
  }
22
22
  };
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: Setting, isStandalone: true, selector: "axis-design-cytoscape-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u914D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Setting, isStandalone: true, selector: "axis-design-cytoscape-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u914D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl", "nzXXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter", "nzWrap"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", inputs: ["nzLayout"], exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, decorators: [{
27
27
  type: Component,
28
28
  args: [{ selector: 'axis-design-cytoscape-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u914D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
29
29
  }] });
@@ -39,16 +39,16 @@ class SetOvertNodesHandler extends FunFieldValueBase {
39
39
  defaultValue: [],
40
40
  },
41
41
  };
42
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SetOvertNodesHandler, deps: null, target: i0.ɵɵFactoryTarget.Component });
43
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: SetOvertNodesHandler, isStandalone: true, selector: "axis-modal-design-set-overt-nodes-handler", providers: [
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SetOvertNodesHandler, deps: null, target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: SetOvertNodesHandler, isStandalone: true, selector: "axis-modal-design-set-overt-nodes-handler", providers: [
44
44
  {
45
45
  provide: NG_VALUE_ACCESSOR,
46
46
  useExisting: forwardRef(() => SetOvertNodesHandler),
47
47
  multi: true
48
48
  }
49
- ], usesInheritance: true, ngImport: i0, template: "<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n \u8282\u70B9ID\u5217\u8868\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"ids\" [noListen]=\"noListen()\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
49
+ ], usesInheritance: true, ngImport: i0, template: "<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n \u8282\u70B9ID\u5217\u8868\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"ids\" [noListen]=\"noListen()\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl", "nzXXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter", "nzWrap"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", inputs: ["nzLayout"], exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SetOvertNodesHandler, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SetOvertNodesHandler, decorators: [{
52
52
  type: Component,
53
53
  args: [{ selector: 'axis-modal-design-set-overt-nodes-handler', imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
54
54
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-cytoscape-design.mjs","sources":["../../../axis-components/cytoscape/design/setting/setting.ts","../../../axis-components/cytoscape/design/setting/setting.html","../../../axis-components/cytoscape/design/set-overt-nodes-handler/set-overt-nodes-handler.ts","../../../axis-components/cytoscape/design/set-overt-nodes-handler/set-overt-nodes-handler.html","../../../axis-components/cytoscape/design/config.ts","../../../axis-components/cytoscape/design/ngx-axis-appforge-axis-components-cytoscape-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-cytoscape-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, DynamicDirective],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n data: []\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n data: {\n defaultValue: undefined\n }\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 配置\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { ChangeDetectionStrategy, Component, forwardRef, inject } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-modal-design-set-overt-nodes-handler',\n imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, DynamicDirective],\n templateUrl: './set-overt-nodes-handler.html',\n styleUrl: './set-overt-nodes-handler.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SetOvertNodesHandler),\n multi: true\n }\n ]\n})\nexport class SetOvertNodesHandler extends FunFieldValueBase {\n readonly noListen = inject(InputTrigger).noListen;\n protected override sendInitValue: boolean = true;\n override fg: UntypedFormGroup = this.fb.group({\n ids: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ids: {\n defaultValue: [],\n },\n };\n\n}\n","<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n 节点ID列表\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"ids\" [noListen]=\"noListen()\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, nameCode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\nimport { SetOvertNodesHandler } from \"./set-overt-nodes-handler/set-overt-nodes-handler\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"Cytoscape\",\n eventHandlerDescs: {\n setOvertNodes: {\n name: \"setOvertNodes\",\n title: \"设置高亮节点\",\n dataComponent: SetOvertNodesHandler,\n icon: \"flag\",\n target: \"component\",\n targetComponent: \"axis-components/cytoscape\",\n },\n },\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"Cytoscape\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"node-index\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';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IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;IACL,CAAC;;;ACvCL;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-cytoscape-design.mjs","sources":["../../../axis-components/cytoscape/design/setting/setting.ts","../../../axis-components/cytoscape/design/setting/setting.html","../../../axis-components/cytoscape/design/set-overt-nodes-handler/set-overt-nodes-handler.ts","../../../axis-components/cytoscape/design/set-overt-nodes-handler/set-overt-nodes-handler.html","../../../axis-components/cytoscape/design/config.ts","../../../axis-components/cytoscape/design/ngx-axis-appforge-axis-components-cytoscape-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-cytoscape-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, DynamicDirective],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n data: []\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n data: {\n defaultValue: undefined\n }\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 配置\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { ChangeDetectionStrategy, Component, forwardRef, inject } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-modal-design-set-overt-nodes-handler',\n imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, DynamicDirective],\n templateUrl: './set-overt-nodes-handler.html',\n styleUrl: './set-overt-nodes-handler.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SetOvertNodesHandler),\n multi: true\n }\n ]\n})\nexport class SetOvertNodesHandler extends FunFieldValueBase {\n readonly noListen = inject(InputTrigger).noListen;\n protected override sendInitValue: boolean = true;\n override fg: UntypedFormGroup = this.fb.group({\n ids: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ids: {\n defaultValue: [],\n },\n };\n\n}\n","<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n 节点ID列表\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"ids\" [noListen]=\"noListen()\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\" ngModel\n [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, nameCode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\nimport { SetOvertNodesHandler } from \"./set-overt-nodes-handler/set-overt-nodes-handler\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"Cytoscape\",\n eventHandlerDescs: {\n setOvertNodes: {\n name: \"setOvertNodes\",\n title: \"设置高亮节点\",\n dataComponent: SetOvertNodesHandler,\n icon: \"flag\",\n target: \"component\",\n targetComponent: \"axis-components/cytoscape\",\n },\n },\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"Cytoscape\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"node-index\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;AAaM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,IAAI,EAAE;AACP,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,IAAI,EAAE;AACJ,YAAA,YAAY,EAAE;AACf;KACF;uGAZU,OAAO,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAP,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAA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A;;;AEbI,MAAM,MAAM,GAAiB;AAEhC,IAAA,aAAa,EAAE,WAAW;AAC1B,IAAA,iBAAiB,EAAE;AACf,QAAA,aAAa,EAAE;AACX,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,QAAQ;AACf,YAAA,aAAa,EAAE,oBAAoB;AACnC,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,MAAM,EAAE,WAAW;AACnB,YAAA,eAAe,EAAE,2BAA2B;AAC/C,SAAA;AACJ,KAAA;AACD,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,WAAW;AACjB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE;aACT;SACJ;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;IACL,CAAC;;;ACvCL;;AAEG;;;;"}
@@ -76,10 +76,10 @@ class Cytoscape extends Base {
76
76
  super.ngOnDestroy();
77
77
  this.cy?.destroy();
78
78
  }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Cytoscape, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: Cytoscape, isStandalone: true, selector: "axis-cytoscape", usesInheritance: true, ngImport: i0, template: "", styles: [":host{display:block;height:100%;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Cytoscape, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Cytoscape, isStandalone: true, selector: "axis-cytoscape", usesInheritance: true, ngImport: i0, template: "", styles: [":host{display:block;height:100%;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Cytoscape, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Cytoscape, decorators: [{
83
83
  type: Component,
84
84
  args: [{ selector: 'axis-cytoscape', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "", styles: [":host{display:block;height:100%;width:100%}\n"] }]
85
85
  }], ctorParameters: () => [] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-cytoscape.mjs","sources":["../../../axis-components/cytoscape/cytoscape.options.ts","../../../axis-components/cytoscape/cytoscape.ts","../../../axis-components/cytoscape/cytoscape.html","../../../axis-components/cytoscape/ngx-axis-appforge-axis-components-cytoscape.ts"],"sourcesContent":["import { DataOptions } from \"ngx-axis-appforge/core\";\n\nexport class CytoscapeOptions extends DataOptions {\n}","import { AfterContentInit, ChangeDetectionStrategy, Component, effect, ElementRef, inject, OnDestroy } from '@angular/core';\nimport { CytoscapeOptions } from './cytoscape.options';\nimport { Base, EventHandlerOptions } from 'ngx-axis-appforge/core';\nimport { CommonModule } from '@angular/common';\nimport cytoscape from 'cytoscape';\nimport { Observable, of } from 'rxjs';\n\n@Component({\n selector: 'axis-cytoscape',\n imports: [CommonModule],\n templateUrl: './cytoscape.html',\n styleUrl: './cytoscape.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Cytoscape extends Base<CytoscapeOptions> implements AfterContentInit, OnDestroy {\n\n constructor() {\n super();\n effect(() => {\n this.render();\n })\n }\n\n override options: CytoscapeOptions = new CytoscapeOptions();\n\n readonly container = inject(ElementRef);\n\n cy?: cytoscape.Core;\n\n overtNodeids?: string[];\n\n ngAfterContentInit(): void {\n this.render();\n }\n\n private render() {\n if (this.options.data()) {\n this.cy?.destroy();\n this.container.nativeElement.innerHTML = \"\";\n const c = document.createElement(\"div\");\n c.style.width = \"100%\";\n c.style.height = \"100%\";\n this.container.nativeElement.appendChild(c);\n this.cy = cytoscape({\n container: c,\n ...this.options.data()\n });\n this.setOvertNodes(this.overtNodeids);\n }\n }\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return;\n }\n switch (e.name) {\n case \"setOvertNodes\":\n this.setOvertNodes(e.data?.ids);\n return of(true);\n }\n return undefined;\n }\n\n private setOvertNodes(ids: string[] | undefined) {\n if (!this.cy) {\n return;\n }\n this.overtNodeids = ids;\n if (ids) {\n this.cy.elements().style(\"opacity\", 0.5);\n if (ids.length) {\n const nodes = this.cy.nodes(ids.map(id => `#${id}`).join(\",\"));\n nodes.style(\"opacity\", 1);\n this.cy.animate({\n zoom: 2,\n center: { eles: nodes },\n fit: nodes.length > 1 ? { eles: nodes, padding: 50 } : undefined,\n duration: 300,\n easing: \"ease-in-out\"\n });\n }\n } else {\n this.cy?.elements().style(\"opacity\", 1);\n }\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.cy?.destroy();\n }\n}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './cytoscape';\n"],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E,OAAO,EAAE;IACpB;wGA5EW,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdtB,EAAA,EAAA,MAAA,EAAA,CAAA,+CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDSY,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAKX,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,WACjB,CAAC,YAAY,CAAC,EAAA,eAAA,EAGN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,EAAA,EAAA,MAAA,EAAA,CAAA,+CAAA,CAAA,EAAA;;;AEZjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-cytoscape.mjs","sources":["../../../axis-components/cytoscape/cytoscape.options.ts","../../../axis-components/cytoscape/cytoscape.ts","../../../axis-components/cytoscape/cytoscape.html","../../../axis-components/cytoscape/ngx-axis-appforge-axis-components-cytoscape.ts"],"sourcesContent":["import { DataOptions } from \"ngx-axis-appforge/core\";\n\nexport class CytoscapeOptions extends DataOptions {\n}","import { AfterContentInit, ChangeDetectionStrategy, Component, effect, ElementRef, inject, OnDestroy } from '@angular/core';\nimport { CytoscapeOptions } from './cytoscape.options';\nimport { Base, EventHandlerOptions } from 'ngx-axis-appforge/core';\nimport { CommonModule } from '@angular/common';\nimport cytoscape from 'cytoscape';\nimport { Observable, of } from 'rxjs';\n\n@Component({\n selector: 'axis-cytoscape',\n imports: [CommonModule],\n templateUrl: './cytoscape.html',\n styleUrl: './cytoscape.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Cytoscape extends Base<CytoscapeOptions> implements AfterContentInit, OnDestroy {\n\n constructor() {\n super();\n effect(() => {\n this.render();\n })\n }\n\n override options: CytoscapeOptions = new CytoscapeOptions();\n\n readonly container = inject(ElementRef);\n\n cy?: cytoscape.Core;\n\n overtNodeids?: string[];\n\n ngAfterContentInit(): void {\n this.render();\n }\n\n private render() {\n if (this.options.data()) {\n this.cy?.destroy();\n this.container.nativeElement.innerHTML = \"\";\n const c = document.createElement(\"div\");\n c.style.width = \"100%\";\n c.style.height = \"100%\";\n this.container.nativeElement.appendChild(c);\n this.cy = cytoscape({\n container: c,\n ...this.options.data()\n });\n this.setOvertNodes(this.overtNodeids);\n }\n }\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return;\n }\n switch (e.name) {\n case \"setOvertNodes\":\n this.setOvertNodes(e.data?.ids);\n return of(true);\n }\n return undefined;\n }\n\n private setOvertNodes(ids: string[] | undefined) {\n if (!this.cy) {\n return;\n }\n this.overtNodeids = ids;\n if (ids) {\n this.cy.elements().style(\"opacity\", 0.5);\n if (ids.length) {\n const nodes = this.cy.nodes(ids.map(id => `#${id}`).join(\",\"));\n nodes.style(\"opacity\", 1);\n this.cy.animate({\n zoom: 2,\n center: { eles: nodes },\n fit: nodes.length > 1 ? { eles: nodes, padding: 50 } : undefined,\n duration: 300,\n easing: \"ease-in-out\"\n });\n }\n } else {\n this.cy?.elements().style(\"opacity\", 1);\n }\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.cy?.destroy();\n }\n}\n","","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './cytoscape';\n"],"names":[],"mappings":";;;;;;;AAEM,MAAO,gBAAiB,SAAQ,WAAW,CAAA;AAChD;;ACWK,MAAO,SAAU,SAAQ,IAAsB,CAAA;AAEnD,IAAA,WAAA,GAAA;AACE,QAA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