fmode-ng 0.0.113 → 0.0.115

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 (275) hide show
  1. package/LICENSE.md +8 -0
  2. package/README.md +37 -37
  3. package/esm2022/fmode-ng.mjs +10 -5
  4. package/esm2022/lib/aigc/agent/fm-agent-task/fm-agent-task.component.mjs +8 -92
  5. package/esm2022/lib/aigc/agent/index.mjs +10 -3
  6. package/esm2022/lib/aigc/avatar/avatar.module.mjs +10 -45
  7. package/esm2022/lib/aigc/avatar/comp-avatar-particle/avatar.role.mjs +10 -2
  8. package/esm2022/lib/aigc/avatar/comp-avatar-particle/comp-avatar-particle.component.mjs +10 -315
  9. package/esm2022/lib/aigc/avatar/comp-avatar-particle/index.mjs +10 -3
  10. package/esm2022/lib/aigc/avatar/comp-avatar-particle/role-points.class.mjs +10 -57
  11. package/esm2022/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.mjs +10 -98
  12. package/esm2022/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.mjs +10 -107
  13. package/esm2022/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.mjs +10 -113
  14. package/esm2022/lib/aigc/avatar/index.mjs +10 -8
  15. package/esm2022/lib/aigc/avatar/interface-avatar-role.mjs +10 -2
  16. package/esm2022/lib/aigc/avatar/modal-chat-voice-input/modal-chat-voice-input.component.mjs +8 -164
  17. package/esm2022/lib/aigc/chat/chat-header-area/comp-header-area.component.mjs +10 -49
  18. package/esm2022/lib/aigc/chat/chat-header-area/index.mjs +10 -2
  19. package/esm2022/lib/aigc/chat/chat-list/chat-list.component.mjs +8 -155
  20. package/esm2022/lib/aigc/chat/chat-list/index.mjs +10 -2
  21. package/esm2022/lib/aigc/chat/chat-message-area/comp-message-area.component.mjs +10 -40
  22. package/esm2022/lib/aigc/chat/chat-message-area/index.mjs +10 -2
  23. package/esm2022/lib/aigc/chat/chat-message-card/comp-message-card.component.mjs +10 -140
  24. package/esm2022/lib/aigc/chat/chat-message-card/duration-str.pipe.mjs +10 -29
  25. package/esm2022/lib/aigc/chat/chat-message-card/index.mjs +10 -3
  26. package/esm2022/lib/aigc/chat/chat-modal-input/index.mjs +10 -3
  27. package/esm2022/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.mjs +8 -193
  28. package/esm2022/lib/aigc/chat/chat-modal-input/modal-input.component.mjs +10 -331
  29. package/esm2022/lib/aigc/chat/chat-panel/chat-panel.component.mjs +8 -249
  30. package/esm2022/lib/aigc/chat/comp-role-prompt/comp-role-prompt.component.mjs +10 -83
  31. package/esm2022/lib/aigc/chat/comp-role-prompt/index.mjs +10 -2
  32. package/esm2022/lib/aigc/chat/index.mjs +10 -8
  33. package/esm2022/lib/aigc/comp-markdown-preview/clipboard.service.mjs +10 -82
  34. package/esm2022/lib/aigc/comp-markdown-preview/markdown-parse.mjs +8 -367
  35. package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.component.mjs +10 -51
  36. package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.module.mjs +10 -24
  37. package/esm2022/lib/aigc/comp-markdown-preview/plugins/md-mathjax/index.mjs +10 -115
  38. package/esm2022/lib/aigc/index.mjs +10 -14
  39. package/esm2022/lib/aigc/service-fmai/fmai.service.mjs +10 -21
  40. package/esm2022/lib/aigc/service-fmai/service-chat/chat-class.mjs +10 -2
  41. package/esm2022/lib/aigc/service-fmai/service-chat/chat.service.mjs +8 -174
  42. package/esm2022/lib/aigc/service-fmai/service-chat/index.mjs +10 -7
  43. package/esm2022/lib/aigc/service-fmai/service-chat/mask-list.mjs +9 -194
  44. package/esm2022/lib/aigc/service-fmai/service-chat/pipes/chat-content.pipe.mjs +10 -27
  45. package/esm2022/lib/aigc/service-fmai/service-chat/pipes/hidexml.pipe.mjs +10 -27
  46. package/esm2022/lib/aigc/service-fmai/service-chat/utilnow.pipe.mjs +10 -68
  47. package/esm2022/lib/aigc/service-fmai/service-imagine/imagine-func.mjs +9 -162
  48. package/esm2022/lib/aigc/service-fmai/service-imagine/imagine-work.mjs +10 -68
  49. package/esm2022/lib/aigc/service-fmai/service-imagine/imagine.service.mjs +8 -313
  50. package/esm2022/lib/aigc/service-fmai/service-imagine/index.mjs +10 -4
  51. package/esm2022/lib/aigc/story/fm-office-viewer/fm-office-viewer.component.mjs +10 -62
  52. package/esm2022/lib/aigc/story/fm-story-card/fm-story-card.component.mjs +10 -87
  53. package/esm2022/lib/aigc/story/fm-story-list/fm-story-list.component.mjs +10 -345
  54. package/esm2022/lib/aigc/story/fm-story-list/story-preview.mjs +10 -81
  55. package/esm2022/lib/aigc/story/fm-story-loader/fm-story-loader.component.mjs +10 -152
  56. package/esm2022/lib/aigc/story/fm-story-splitter/fm-story-splitter.component.mjs +10 -42
  57. package/esm2022/lib/aigc/story/index.mjs +10 -6
  58. package/esm2022/lib/aigc/story/modal-chat-story/comp-chat-story-json/comp-chat-story-json.component.mjs +10 -47
  59. package/esm2022/lib/aigc/story/modal-chat-story/comp-diary-story/comp-diary-story.component.mjs +10 -95
  60. package/esm2022/lib/aigc/story/modal-chat-story/modal-chat-story.component.mjs +10 -253
  61. package/esm2022/lib/aigc/story/story.service.mjs +10 -35
  62. package/esm2022/lib/aigc/voice/fmode-voice.service.mjs +10 -636
  63. package/esm2022/lib/aigc/voice/index.mjs +10 -7
  64. package/esm2022/lib/aigc/voice/lib/audio/audio.player.mjs +10 -55
  65. package/esm2022/lib/aigc/voice/lib/audio/audio.streamer.mjs +10 -2
  66. package/esm2022/lib/aigc/voice/lib/audio/streamer.microsoft.mjs +10 -96
  67. package/esm2022/lib/aigc/voice/lib/audio/streamer.pcm.mjs +8 -177
  68. package/esm2022/lib/aigc/voice/lib/pcm2wav.mjs +10 -38
  69. package/esm2022/lib/aigc/voice/lib/recorder/extension-waveview.mjs +10 -215
  70. package/esm2022/lib/aigc/voice/lib/resample.mjs +10 -34
  71. package/esm2022/lib/aigc/voice/tts/fmode-tts-class.mjs +10 -189
  72. package/esm2022/lib/aigc/voice/tts/index.mjs +10 -5
  73. package/esm2022/lib/aigc/voice/tts/int-tts-provider.mjs +10 -2
  74. package/esm2022/lib/aigc/voice/tts/provider-doubao.mjs +8 -346
  75. package/esm2022/lib/code/fm-codemirror/fm-codemirror.component.mjs +8 -342
  76. package/esm2022/lib/code/index.mjs +10 -2
  77. package/esm2022/lib/core/agent/chat/completion/fmode-completion.mjs +8 -430
  78. package/esm2022/lib/core/agent/chat/completion/index.mjs +10 -2
  79. package/esm2022/lib/core/agent/chat/completion/int-gpt-chat-options.mjs +10 -2
  80. package/esm2022/lib/core/agent/chat/fmode-chat.mjs +8 -617
  81. package/esm2022/lib/core/agent/chat/index.mjs +10 -4
  82. package/esm2022/lib/core/agent/chat/interface.mjs +10 -2
  83. package/esm2022/lib/core/agent/index.mjs +10 -6
  84. package/esm2022/lib/core/agent/prompt/agent.prompt.mjs +10 -133
  85. package/esm2022/lib/core/agent/prompt/index.mjs +10 -2
  86. package/esm2022/lib/core/agent/prompt/prompt-util.mjs +10 -16
  87. package/esm2022/lib/core/agent/story/agent.story.mjs +10 -64
  88. package/esm2022/lib/core/agent/story/index.mjs +10 -2
  89. package/esm2022/lib/core/agent/task/agent.task.mjs +10 -90
  90. package/esm2022/lib/core/agent/task/index.mjs +10 -2
  91. package/esm2022/lib/core/agent/waiting/index.mjs +10 -3
  92. package/esm2022/lib/core/agent/waiting/loading/loading.ctrl.mjs +10 -279
  93. package/esm2022/lib/core/agent/waiting/tips/tips.ctrl.mjs +8 -190
  94. package/esm2022/lib/core/index.mjs +10 -4
  95. package/esm2022/lib/core/parse/datatype/acl.mjs +10 -57
  96. package/esm2022/lib/core/parse/datatype/file.mjs +10 -69
  97. package/esm2022/lib/core/parse/datatype/geopoint.mjs +10 -57
  98. package/esm2022/lib/core/parse/datatype/relation.mjs +10 -56
  99. package/esm2022/lib/core/parse/fmode.cloud.mjs +10 -0
  100. package/esm2022/lib/core/parse/fmode.object.mjs +10 -232
  101. package/esm2022/lib/core/parse/fmode.parse.mjs +10 -84
  102. package/esm2022/lib/core/parse/fmode.query.mjs +8 -500
  103. package/esm2022/lib/core/parse/fmode.user.mjs +10 -275
  104. package/esm2022/lib/core/parse/index.mjs +10 -5
  105. package/esm2022/lib/core/parse/types.mjs +10 -2
  106. package/esm2022/lib/core/voice/index.mjs +10 -3
  107. package/esm2022/lib/core/voice/tts/index.mjs +10 -2
  108. package/esm2022/lib/icon/filetype/audio.svg.mjs +10 -3
  109. package/esm2022/lib/icon/filetype/avatar.svg.mjs +10 -14
  110. package/esm2022/lib/icon/filetype/chat.svg.mjs +10 -3
  111. package/esm2022/lib/icon/filetype/docx.svg.mjs +10 -3
  112. package/esm2022/lib/icon/filetype/file.svg.mjs +10 -3
  113. package/esm2022/lib/icon/filetype/filetype.pipe.mjs +10 -57
  114. package/esm2022/lib/icon/filetype/index.mjs +10 -12
  115. package/esm2022/lib/icon/filetype/md.svg.mjs +10 -3
  116. package/esm2022/lib/icon/filetype/pdf.svg.mjs +10 -3
  117. package/esm2022/lib/icon/filetype/pptx.svg.mjs +10 -3
  118. package/esm2022/lib/icon/filetype/svgtoblob.mjs +10 -8
  119. package/esm2022/lib/icon/filetype/video.svg.mjs +10 -3
  120. package/esm2022/lib/icon/filetype/xlsx.svg.mjs +10 -3
  121. package/esm2022/lib/icon/index.mjs +10 -2
  122. package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.component.mjs +10 -209
  123. package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.module.mjs +10 -33
  124. package/esm2022/lib/map/index.mjs +10 -4
  125. package/esm2022/lib/map/map.module.mjs +10 -61
  126. package/esm2022/lib/map/page-loca-scatter/page-loca-scatter.component.mjs +10 -132
  127. package/esm2022/lib/map/page-map.start/page-map.start.component.mjs +8 -115
  128. package/esm2022/lib/map/page-plan-route/page-plan-route.component.mjs +8 -118
  129. package/esm2022/lib/nova-cloud/index.mjs +10 -3
  130. package/esm2022/lib/nova-cloud/ncloud-api-func.mjs +10 -91
  131. package/esm2022/lib/nova-cloud/nova-cloud.service.mjs +10 -53
  132. package/esm2022/lib/payment/index.mjs +10 -2
  133. package/esm2022/lib/payment/payment/payment.component.mjs +10 -543
  134. package/esm2022/lib/payment/payment.service.mjs +10 -202
  135. package/esm2022/lib/person/comp-person-gender-icon/comp-person-gender-icon.component.mjs +10 -48
  136. package/esm2022/lib/person/comp-person-item/comp-person-item.component.mjs +10 -29
  137. package/esm2022/lib/person/comp-person-story/comp-person-story.component.mjs +10 -211
  138. package/esm2022/lib/person/edit-upload/edit-upload.component.mjs +8 -412
  139. package/esm2022/lib/person/edit-upload/edit-upload.module.mjs +10 -50
  140. package/esm2022/lib/person/index.mjs +10 -5
  141. package/esm2022/lib/person/modal-person-select/modal-person-select.component.mjs +10 -144
  142. package/esm2022/lib/person/modal-user-verify/secret-text.pipe.mjs +10 -41
  143. package/esm2022/lib/person/modal-user-verify/user-verify.component.mjs +10 -595
  144. package/esm2022/lib/person/person-detail/person-detail.component.mjs +10 -172
  145. package/esm2022/lib/person/person.service.mjs +8 -193
  146. package/esm2022/lib/platform/cross.service.mjs +10 -62
  147. package/esm2022/lib/platform/index.mjs +10 -2
  148. package/esm2022/lib/social/index.mjs +10 -2
  149. package/esm2022/lib/social/wechat/wechat-jssdk.service.mjs +8 -230
  150. package/esm2022/lib/storage/comp-hwobs-manager/hwobs-manager.component.mjs +10 -59
  151. package/esm2022/lib/storage/index.mjs +10 -5
  152. package/esm2022/lib/storage/service-hwobs/hwobs.service.mjs +8 -131
  153. package/esm2022/lib/storage/service-hwobs/index.mjs +10 -3
  154. package/esm2022/lib/storage/service-hwobs/typings/esdk-obs-browser.mjs +1 -1
  155. package/esm2022/lib/storage/service-upload/index.mjs +10 -2
  156. package/esm2022/lib/storage/service-upload/nova-upload.service.mjs +8 -513
  157. package/esm2022/lib/storage/service-upload/util-file-md5.mjs +10 -28
  158. package/esm2022/lib/storage/service-upload/util-file-metadata.mjs +10 -93
  159. package/esm2022/lib/storage/storage.module.mjs +10 -42
  160. package/esm2022/lib/text/fm-article-editor/article-editor-topbar/article-editor-topbar.component.mjs +10 -72
  161. package/esm2022/lib/text/fm-article-editor/article.service.mjs +10 -237
  162. package/esm2022/lib/text/fm-article-editor/comp-upload-book-banners/comp-upload-book-banners.component.mjs +8 -72
  163. package/esm2022/lib/text/fm-article-editor/draft.service.mjs +10 -207
  164. package/esm2022/lib/text/fm-article-editor/fm-article-aitool/fm-article-aitool.component.mjs +8 -227
  165. package/esm2022/lib/text/fm-article-editor/fm-article-draft/fm-article-draft.component.mjs +10 -303
  166. package/esm2022/lib/text/fm-article-editor/fm-article-editor.component.mjs +8 -371
  167. package/esm2022/lib/text/fm-article-editor/fm-article-outline/fm-article-outline.component.mjs +10 -94
  168. package/esm2022/lib/text/fm-article-editor/fm-article-outline-leftitem/fm-article-outline-leftitem.component.mjs +10 -36
  169. package/esm2022/lib/text/fm-article-editor/fm-article-preview/fm-article-preview.component.mjs +10 -281
  170. package/esm2022/lib/text/fm-article-editor/fm-article-write-options/fm-article-write-options.component.mjs +10 -72
  171. package/esm2022/lib/text/fm-article-editor/outline-count.pipe.mjs +10 -22
  172. package/esm2022/lib/text/fm-article-editor/prompt/prompt-insertion-article.mjs +10 -169
  173. package/esm2022/lib/text/fm-article-editor/task-article-generation.mjs +10 -69
  174. package/esm2022/lib/text/fm-article-editor/tasks/task-article-draft-create.mjs +10 -65
  175. package/esm2022/lib/text/fm-article-editor/tasks/task-article-outline-edit.mjs +10 -55
  176. package/esm2022/lib/text/fm-article-editor/tasks/task-article-outline.mjs +10 -142
  177. package/esm2022/lib/text/fm-article-editor/tasks/task-article-preview.mjs +10 -35
  178. package/esm2022/lib/text/fm-article-editor/tasks/task-article-writing-options.mjs +10 -81
  179. package/esm2022/lib/text/fm-article-editor/tasks/task-document-select.mjs +10 -50
  180. package/esm2022/lib/text/fm-text-quill/fm-text-quill.component.mjs +10 -145
  181. package/esm2022/lib/text/index.mjs +10 -4
  182. package/esm2022/lib/user/account/account.service.mjs +10 -222
  183. package/esm2022/lib/user/captcha/captcha.component.mjs +10 -135
  184. package/esm2022/lib/user/comp-user-avatar/comp-user-avatar.component.mjs +10 -66
  185. package/esm2022/lib/user/index.mjs +10 -17
  186. package/esm2022/lib/user/login/auth.guard.mjs +10 -28
  187. package/esm2022/lib/user/login/auth.service.mjs +8 -433
  188. package/esm2022/lib/user/login/login.component.mjs +10 -916
  189. package/esm2022/lib/user/modal-user-login/modal-user-login.component.mjs +10 -311
  190. package/esm2022/lib/user/profile/auth-profile.guard.mjs +10 -27
  191. package/esm2022/lib/user/profile/auth-profile.service.mjs +10 -122
  192. package/esm2022/lib/user/profile/profile-bind/profile-bind.component.mjs +10 -164
  193. package/esm2022/lib/user/profile/profile-bind/profile-confirm-modal.component.mjs +10 -79
  194. package/esm2022/lib/user/profile/profile.module.mjs +10 -54
  195. package/esm2022/lib/user/staff/index.mjs +10 -4
  196. package/esm2022/lib/user/staff/staff.guard.mjs +10 -26
  197. package/esm2022/lib/user/staff/staff.module.mjs +10 -18
  198. package/esm2022/lib/user/staff/staff.service.mjs +10 -85
  199. package/esm2022/lib/user/user-name.pipe.mjs +10 -29
  200. package/esm2022/lib/user/user.module.mjs +10 -102
  201. package/esm2022/lib/video/fm-video/fm-video.component.mjs +10 -67
  202. package/esm2022/lib/video/index.mjs +10 -2
  203. package/esm2022/public-api.mjs +10 -21
  204. package/fesm2022/fmode-ng.mjs +7 -19788
  205. package/fesm2022/fmode-ng.mjs.map +1 -1
  206. package/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.d.ts +2 -2
  207. package/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.d.ts +2 -2
  208. package/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.d.ts +2 -2
  209. package/lib/aigc/chat/chat-list/chat-list.component.d.ts +3 -2
  210. package/lib/aigc/chat/chat-message-card/comp-message-card.component.d.ts +3 -3
  211. package/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.d.ts +2 -2
  212. package/lib/aigc/chat/chat-modal-input/modal-input.component.d.ts +3 -3
  213. package/lib/aigc/service-fmai/service-imagine/imagine-func.d.ts +3 -3
  214. package/lib/aigc/service-fmai/service-imagine/imagine-work.d.ts +4 -4
  215. package/lib/aigc/service-fmai/service-imagine/imagine.service.d.ts +6 -6
  216. package/lib/aigc/story/fm-office-viewer/fm-office-viewer.component.d.ts +2 -2
  217. package/lib/aigc/story/fm-story-card/fm-story-card.component.d.ts +2 -1
  218. package/lib/aigc/story/fm-story-list/fm-story-list.component.d.ts +6 -6
  219. package/lib/aigc/story/fm-story-list/story-preview.d.ts +4 -4
  220. package/lib/aigc/story/fm-story-loader/fm-story-loader.component.d.ts +3 -3
  221. package/lib/aigc/story/fm-story-splitter/fm-story-splitter.component.d.ts +2 -2
  222. package/lib/aigc/story/modal-chat-story/comp-chat-story-json/comp-chat-story-json.component.d.ts +3 -2
  223. package/lib/aigc/story/modal-chat-story/comp-diary-story/comp-diary-story.component.d.ts +3 -2
  224. package/lib/aigc/story/modal-chat-story/modal-chat-story.component.d.ts +6 -6
  225. package/lib/aigc/story/story.service.d.ts +3 -2
  226. package/lib/aigc/voice/tts/fmode-tts-class.d.ts +2 -2
  227. package/lib/core/agent/chat/fmode-chat.d.ts +11 -11
  228. package/lib/core/agent/story/agent.story.d.ts +8 -8
  229. package/lib/core/parse/datatype/geopoint.d.ts +5 -1
  230. package/lib/core/parse/fmode.cloud.d.ts +32 -0
  231. package/lib/core/parse/fmode.object.d.ts +2 -2
  232. package/lib/core/parse/fmode.parse.d.ts +15 -9
  233. package/lib/core/parse/fmode.query.d.ts +41 -2
  234. package/lib/core/parse/fmode.user.d.ts +1 -0
  235. package/lib/core/parse/index.d.ts +1 -0
  236. package/lib/core/parse/types.d.ts +2 -0
  237. package/lib/map/comp-poi-picker/comp-poi-picker.component.d.ts +5 -5
  238. package/lib/payment/payment/payment.component.d.ts +3 -3
  239. package/lib/payment/payment.service.d.ts +4 -4
  240. package/lib/person/comp-person-gender-icon/comp-person-gender-icon.component.d.ts +2 -1
  241. package/lib/person/comp-person-item/comp-person-item.component.d.ts +2 -1
  242. package/lib/person/comp-person-story/comp-person-story.component.d.ts +13 -13
  243. package/lib/person/edit-upload/edit-upload.component.d.ts +1 -1
  244. package/lib/person/modal-person-select/modal-person-select.component.d.ts +5 -5
  245. package/lib/person/modal-user-verify/user-verify.component.d.ts +5 -5
  246. package/lib/person/person-detail/person-detail.component.d.ts +4 -4
  247. package/lib/person/person.service.d.ts +7 -7
  248. package/lib/storage/service-hwobs/hwobs.service.d.ts +4 -5
  249. package/lib/storage/service-upload/nova-upload.service.d.ts +5 -5
  250. package/lib/text/fm-article-editor/article-editor-topbar/article-editor-topbar.component.d.ts +2 -1
  251. package/lib/text/fm-article-editor/article.service.d.ts +12 -12
  252. package/lib/text/fm-article-editor/draft.service.d.ts +5 -5
  253. package/lib/text/fm-article-editor/fm-article-aitool/fm-article-aitool.component.d.ts +3 -2
  254. package/lib/text/fm-article-editor/fm-article-draft/fm-article-draft.component.d.ts +16 -17
  255. package/lib/text/fm-article-editor/fm-article-editor.component.d.ts +3 -3
  256. package/lib/text/fm-article-editor/fm-article-outline/fm-article-outline.component.d.ts +11 -10
  257. package/lib/text/fm-article-editor/fm-article-preview/fm-article-preview.component.d.ts +2 -2
  258. package/lib/text/fm-article-editor/prompt/prompt-insertion-article.d.ts +3 -3
  259. package/lib/text/fm-article-editor/task-article-generation.d.ts +5 -4
  260. package/lib/text/fm-article-editor/tasks/task-article-draft-create.d.ts +3 -3
  261. package/lib/text/fm-article-editor/tasks/task-article-outline-edit.d.ts +3 -3
  262. package/lib/text/fm-article-editor/tasks/task-article-outline.d.ts +3 -3
  263. package/lib/text/fm-article-editor/tasks/task-article-preview.d.ts +2 -1
  264. package/lib/text/fm-article-editor/tasks/task-article-writing-options.d.ts +3 -3
  265. package/lib/text/fm-article-editor/tasks/task-document-select.d.ts +3 -3
  266. package/lib/user/account/account.service.d.ts +2 -2
  267. package/lib/user/comp-user-avatar/comp-user-avatar.component.d.ts +2 -2
  268. package/lib/user/login/auth.service.d.ts +5 -5
  269. package/lib/user/login/login.component.d.ts +3 -3
  270. package/lib/user/profile/auth-profile.service.d.ts +8 -8
  271. package/lib/user/profile/profile-bind/profile-bind.component.d.ts +7 -7
  272. package/lib/user/profile/profile-bind/profile-confirm-modal.component.d.ts +2 -2
  273. package/lib/user/staff/staff.service.d.ts +3 -3
  274. package/lib/user/user-name.pipe.d.ts +2 -2
  275. package/package.json +12 -18
@@ -1,94 +1,10 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, Inject, Input, ViewChild } from '@angular/core';
3
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import { MatDialogModule, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
6
- import { MatInputModule } from '@angular/material/input';
7
- import { NzCodeEditorModule } from 'ng-zorro-antd/code-editor';
8
- import { NzInputModule } from 'ng-zorro-antd/input';
9
- import { OutlineCountPipe } from '../outline-count.pipe';
10
- import { FmArticleOutlineLeftitemComponent } from '../fm-article-outline-leftitem/fm-article-outline-leftitem.component';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@angular/common";
13
- import * as i2 from "@angular/forms";
14
- import * as i3 from "ng-zorro-antd/input";
15
- import * as i4 from "@angular/material/dialog";
16
- import * as i5 from "@angular/material/button";
17
- export class FmArticleOutlineComponent {
18
- constructor() { }
19
- ngOnInit() {
20
- this.outlineJson = this.article?.get("outlineJson");
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FmArticleOutlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FmArticleOutlineComponent, isStandalone: true, selector: "fm-article-outline", inputs: { article: "article" }, ngImport: i0, template: "<div class=\"page\" *ngIf=\"article?.id\">\r\n <div id=\"editor-outline\" *ngIf=\"outlineJson\">\r\n <div class=\"row title\" *ngIf=\"outlineJson?.title\">\r\n <span>\u6807\u9898</span>\r\n <input matInput type=\"text\" [(ngModel)]=\"outlineJson.title\" placeholder=\"\u8BF7\u586B\u5199\u6587\u7AE0\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"outlineJson?.desc\">\r\n <span>\u63CF\u8FF0</span>\r\n <textarea nzAutosize matInput type=\"text\" [(ngModel)]=\"outlineJson.desc\" placeholder=\"\u8BF7\u63CF\u8FF0\u6587\u7AE0\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n\r\n\r\n <ng-container *ngIf=\"outlineJson.sections?.length\">\r\n\r\n <ng-container *ngFor=\"let section of outlineJson.sections;let index=index\">\r\n <div class=\"row\">\r\n <fm-article-outline-leftitem style=\"width:100%;\" [width]=\"'100%'\" [section]=\"section\" [index]=\"index\"></fm-article-outline-leftitem>\r\n </div>\r\n <!-- <div class=\"row divide title\" *ngIf=\"section?.title\">\r\n <span>\u7AE0{{index+1}}.</span>\r\n <input nz-input type=\"text\" [(ngModel)]=\"section.title\" placeholder=\"\u8BF7\u586B\u7AE0\u8282\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.outline\">\r\n <span>\u5185\u5BB9</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.outline\" placeholder=\"\u8BF7\u586B\u4E3B\u8981\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.skill\">\r\n <span>\u6280\u5DE7</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.skill\" placeholder=\"\u8BF7\u586B\u5199\u4F5C\u6280\u5DE7\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.case\">\r\n <span>\u4E8B\u4F8B</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.case\" placeholder=\"\u8BF7\u586B\u91CD\u70B9\u4E8B\u4F8B\" nzBorderless></textarea>\r\n </div> -->\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- <nz-code-editor *ngIf=\"article?.get('outline')?.length\"\r\n style=\"height:calc( 90vh - 60px );width:75vw;display: block;\"\r\n [ngModel]=\"article?.get('outline')\"\r\n (ngModelChange)=\"article?.set('outline',$event)\"\r\n [nzEditorOption]=\"{ language: 'markdown' }\"\r\n ></nz-code-editor> -->\r\n </div>\r\n</div>", styles: [":host-context(body.dark) .row{color:#fff}:host-context(body.dark) .row textarea,:host-context(body.dark) .row input{background-color:#00000080;border-radius:5px}.page{width:100%;height:100%;padding-top:10px}.page #editor-outline{padding-top:10px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center}.page #editor-outline .row{width:95%;display:flex;justify-content:center}.page #editor-outline .row span{padding-top:4px;width:50px}.page #editor-outline .row input,.page #editor-outline .row textarea{width:calc(100% - 60px)}.page #editor-outline .divide{border-top:1px solid rgba(0,0,0,.06)}.page #editor-outline .title{font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.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: 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"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type:
24
- // MatInputModule,MatFormFieldModule,MatDividerModule,
25
- NzInputModule }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "ngmodule", type: NzCodeEditorModule }, { kind: "component", type: FmArticleOutlineLeftitemComponent, selector: "fm-article-outline-leftitem", inputs: ["section", "index", "readOnly", "width"] }] }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FmArticleOutlineComponent, decorators: [{
28
- type: Component,
29
- args: [{ selector: 'fm-article-outline', standalone: true, imports: [
30
- CommonModule, FormsModule, ReactiveFormsModule,
31
- // MatInputModule,MatFormFieldModule,MatDividerModule,
32
- NzInputModule,
33
- NzCodeEditorModule,
34
- FmArticleOutlineLeftitemComponent,
35
- ], template: "<div class=\"page\" *ngIf=\"article?.id\">\r\n <div id=\"editor-outline\" *ngIf=\"outlineJson\">\r\n <div class=\"row title\" *ngIf=\"outlineJson?.title\">\r\n <span>\u6807\u9898</span>\r\n <input matInput type=\"text\" [(ngModel)]=\"outlineJson.title\" placeholder=\"\u8BF7\u586B\u5199\u6587\u7AE0\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"outlineJson?.desc\">\r\n <span>\u63CF\u8FF0</span>\r\n <textarea nzAutosize matInput type=\"text\" [(ngModel)]=\"outlineJson.desc\" placeholder=\"\u8BF7\u63CF\u8FF0\u6587\u7AE0\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n\r\n\r\n <ng-container *ngIf=\"outlineJson.sections?.length\">\r\n\r\n <ng-container *ngFor=\"let section of outlineJson.sections;let index=index\">\r\n <div class=\"row\">\r\n <fm-article-outline-leftitem style=\"width:100%;\" [width]=\"'100%'\" [section]=\"section\" [index]=\"index\"></fm-article-outline-leftitem>\r\n </div>\r\n <!-- <div class=\"row divide title\" *ngIf=\"section?.title\">\r\n <span>\u7AE0{{index+1}}.</span>\r\n <input nz-input type=\"text\" [(ngModel)]=\"section.title\" placeholder=\"\u8BF7\u586B\u7AE0\u8282\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.outline\">\r\n <span>\u5185\u5BB9</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.outline\" placeholder=\"\u8BF7\u586B\u4E3B\u8981\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.skill\">\r\n <span>\u6280\u5DE7</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.skill\" placeholder=\"\u8BF7\u586B\u5199\u4F5C\u6280\u5DE7\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.case\">\r\n <span>\u4E8B\u4F8B</span>\r\n <textarea nzAutosize nz-input type=\"text\" [(ngModel)]=\"section.case\" placeholder=\"\u8BF7\u586B\u91CD\u70B9\u4E8B\u4F8B\" nzBorderless></textarea>\r\n </div> -->\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- <nz-code-editor *ngIf=\"article?.get('outline')?.length\"\r\n style=\"height:calc( 90vh - 60px );width:75vw;display: block;\"\r\n [ngModel]=\"article?.get('outline')\"\r\n (ngModelChange)=\"article?.set('outline',$event)\"\r\n [nzEditorOption]=\"{ language: 'markdown' }\"\r\n ></nz-code-editor> -->\r\n </div>\r\n</div>", styles: [":host-context(body.dark) .row{color:#fff}:host-context(body.dark) .row textarea,:host-context(body.dark) .row input{background-color:#00000080;border-radius:5px}.page{width:100%;height:100%;padding-top:10px}.page #editor-outline{padding-top:10px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center}.page #editor-outline .row{width:95%;display:flex;justify-content:center}.page #editor-outline .row span{padding-top:4px;width:50px}.page #editor-outline .row input,.page #editor-outline .row textarea{width:calc(100% - 60px)}.page #editor-outline .divide{border-top:1px solid rgba(0,0,0,.06)}.page #editor-outline .title{font-weight:600}\n"] }]
36
- }], ctorParameters: () => [], propDecorators: { article: [{
37
- type: Input
38
- }] } });
39
- export class DialogArticleOutline {
40
- confirmOutline() {
41
- this.dialogRef.close(this.article?.get("outlineJson"));
42
- }
43
- constructor(
44
- // 关联选择弹窗相关服务
45
- dialogRef, data) {
46
- this.dialogRef = dialogRef;
47
- this.data = data;
48
- this.isSelectMode = true;
49
- this.selectCount = 0;
50
- this.outline = ``;
51
- this.writingOptions = {};
52
- this.article = data?.article;
53
- this.person = data?.person;
54
- this.book = data?.book;
55
- }
56
- onConfirm() {
57
- this.dialogRef.close(this.article?.get("outlineJson"));
58
- }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogArticleOutline, deps: [{ token: i4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DialogArticleOutline, isStandalone: true, selector: "article-outline-dialog", viewQueries: [{ propertyName: "storySelectComp", first: true, predicate: FmArticleOutlineComponent, descendants: true }], ngImport: i0, template: `
61
- <fm-article-outline [article]="article"></fm-article-outline>
62
- <mat-dialog-actions align="start" style="display: flex;justify-content: center;">
63
- <button mat-button>大纲篇幅:{{article?.get('outlineJson')|outlineCount}}字</button>
64
- <button mat-button style="color:red;">请您检查或修改大纲,确认后点击生成</button>
65
- <button mat-button color="primary" [mat-dialog-close]="true">取消</button>
66
- <button mat-raised-button color="primary" (click)="onConfirm()" cdkFocusInitial>生成文章</button>
67
- </mat-dialog-actions>
68
- `, isInline: true, styles: ["fm-article-outline{height:calc(100% - 60px);width:100%;overflow-y:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i4.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "component", type: FmArticleOutlineComponent, selector: "fm-article-outline", inputs: ["article"] }, { kind: "pipe", type: OutlineCountPipe, name: "outlineCount" }] }); }
69
- }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogArticleOutline, decorators: [{
71
- type: Component,
72
- args: [{ selector: 'article-outline-dialog', template: `
73
- <fm-article-outline [article]="article"></fm-article-outline>
74
- <mat-dialog-actions align="start" style="display: flex;justify-content: center;">
75
- <button mat-button>大纲篇幅:{{article?.get('outlineJson')|outlineCount}}字</button>
76
- <button mat-button style="color:red;">请您检查或修改大纲,确认后点击生成</button>
77
- <button mat-button color="primary" [mat-dialog-close]="true">取消</button>
78
- <button mat-raised-button color="primary" (click)="onConfirm()" cdkFocusInitial>生成文章</button>
79
- </mat-dialog-actions>
80
- `, standalone: true, imports: [
81
- CommonModule,
82
- MatDialogModule, MatButtonModule, MatInputModule,
83
- //
84
- FmArticleOutlineComponent,
85
- OutlineCountPipe,
86
- ], styles: ["fm-article-outline{height:calc(100% - 60px);width:100%;overflow-y:auto}\n"] }]
87
- }], ctorParameters: () => [{ type: i4.MatDialogRef }, { type: undefined, decorators: [{
88
- type: Inject,
89
- args: [MAT_DIALOG_DATA]
90
- }] }], propDecorators: { storySelectComp: [{
91
- type: ViewChild,
92
- args: [FmArticleOutlineComponent]
93
- }] } });
94
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm0tYXJ0aWNsZS1vdXRsa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+ * @copyright © 未来飞马 © 未来全栈 www.fmode.cn
4
+ * 版权所有 © 未来飞马 © 江西脑控科技有限公司 Copyright © Fmode Technology Co., Ltd.
5
+ * 保留所有权利 All Rights Reserved.
6
+ * /home/ryan/workspace/nova/nova-admin/dist/fmode-ng/esm2022/lib/text/fm-article-editor/fm-article-outline/fm-article-outline.component.mjs
7
+ */
8
+ import{CommonModule}from"@angular/common";import{Component,Inject,Input,ViewChild}from"@angular/core";import{FormsModule,ReactiveFormsModule}from"@angular/forms";import{MatButtonModule}from"@angular/material/button";import{MatDialogModule,MatDialogRef,MAT_DIALOG_DATA}from"@angular/material/dialog";import{MatInputModule}from"@angular/material/input";import{NzCodeEditorModule}from"ng-zorro-antd/code-editor";import{NzInputModule}from"ng-zorro-antd/input";import{OutlineCountPipe}from"../outline-count.pipe";import{FmArticleOutlineLeftitemComponent}from"../fm-article-outline-leftitem/fm-article-outline-leftitem.component";import{FmodeObject}from"@fmode/parse";import*as i0 from"@angular/core";import*as i1 from"@angular/common";import*as i2 from"@angular/forms";import*as i3 from"ng-zorro-antd/input";import*as i4 from"@angular/material/dialog";import*as i5 from"@angular/material/button";export class FmArticleOutlineComponent{constructor(){}ngOnInit(){this.outlineJson=this.article?.get("outlineJson")}static{this.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:FmArticleOutlineComponent,deps:[],target:i0.ɵɵFactoryTarget.Component})}static{this.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"17.3.12",type:FmArticleOutlineComponent,isStandalone:!0,selector:"fm-article-outline",inputs:{article:"article"},ngImport:i0,template:'<div class="page" *ngIf="article?.id">\n <div id="editor-outline" *ngIf="outlineJson">\n <div class="row title" *ngIf="outlineJson?.title">\n <span>标题</span>\n <input matInput type="text" [(ngModel)]="outlineJson.title" placeholder="请填写文章标题" nzBorderless />\n </div>\n <div class="row" *ngIf="outlineJson?.desc">\n <span>描述</span>\n <textarea nzAutosize matInput type="text" [(ngModel)]="outlineJson.desc" placeholder="请描述文章内容" nzBorderless></textarea>\n </div>\n\n\n <ng-container *ngIf="outlineJson.sections?.length">\n\n <ng-container *ngFor="let section of outlineJson.sections;let index=index">\n <div class="row">\n <fm-article-outline-leftitem style="width:100%;" [width]="\'100%\'" [section]="section" [index]="index"></fm-article-outline-leftitem>\n </div>\n \x3c!-- <div class="row divide title" *ngIf="section?.title">\n <span>章{{index+1}}.</span>\n <input nz-input type="text" [(ngModel)]="section.title" placeholder="请填章节标题" nzBorderless />\n </div>\n <div class="row" *ngIf="section?.outline">\n <span>内容</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.outline" placeholder="请填主要内容" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.skill">\n <span>技巧</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.skill" placeholder="请填写作技巧" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.case">\n <span>事例</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.case" placeholder="请填重点事例" nzBorderless></textarea>\n </div> --\x3e\n </ng-container>\n </ng-container>\n\n \x3c!-- <nz-code-editor *ngIf="article?.get(\'outline\')?.length"\n style="height:calc( 90vh - 60px );width:75vw;display: block;"\n [ngModel]="article?.get(\'outline\')"\n (ngModelChange)="article?.set(\'outline\',$event)"\n [nzEditorOption]="{ language: \'markdown\' }"\n ></nz-code-editor> --\x3e\n </div>\n</div>',styles:[":host-context(body.dark) .row{color:#fff}:host-context(body.dark) .row textarea,:host-context(body.dark) .row input{background-color:#00000080;border-radius:5px}.page{width:100%;height:100%;padding-top:10px}.page #editor-outline{padding-top:10px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center}.page #editor-outline .row{width:95%;display:flex;justify-content:center}.page #editor-outline .row span{padding-top:4px;width:50px}.page #editor-outline .row input,.page #editor-outline .row textarea{width:calc(100% - 60px)}.page #editor-outline .divide{border-top:1px solid rgba(0,0,0,.06)}.page #editor-outline .title{font-weight:600}\n"],dependencies:[{kind:"ngmodule",type:CommonModule},{kind:"directive",type:i1.NgForOf,selector:"[ngFor][ngForOf]",inputs:["ngForOf","ngForTrackBy","ngForTemplate"]},{kind:"directive",type:i1.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"ngmodule",type:FormsModule},{kind:"directive",type:i2.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: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"]},{kind:"ngmodule",type:ReactiveFormsModule},{kind:"ngmodule",type:NzInputModule},{kind:"directive",type:i3.NzAutosizeDirective,selector:"textarea[nzAutosize]",inputs:["nzAutosize"],exportAs:["nzAutosize"]},{kind:"ngmodule",type:NzCodeEditorModule},{kind:"component",type:FmArticleOutlineLeftitemComponent,selector:"fm-article-outline-leftitem",inputs:["section","index","readOnly","width"]}]})}}i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:FmArticleOutlineComponent,decorators:[{type:Component,args:[{selector:"fm-article-outline",standalone:!0,imports:[CommonModule,FormsModule,ReactiveFormsModule,NzInputModule,NzCodeEditorModule,FmArticleOutlineLeftitemComponent],template:'<div class="page" *ngIf="article?.id">\n <div id="editor-outline" *ngIf="outlineJson">\n <div class="row title" *ngIf="outlineJson?.title">\n <span>标题</span>\n <input matInput type="text" [(ngModel)]="outlineJson.title" placeholder="请填写文章标题" nzBorderless />\n </div>\n <div class="row" *ngIf="outlineJson?.desc">\n <span>描述</span>\n <textarea nzAutosize matInput type="text" [(ngModel)]="outlineJson.desc" placeholder="请描述文章内容" nzBorderless></textarea>\n </div>\n\n\n <ng-container *ngIf="outlineJson.sections?.length">\n\n <ng-container *ngFor="let section of outlineJson.sections;let index=index">\n <div class="row">\n <fm-article-outline-leftitem style="width:100%;" [width]="\'100%\'" [section]="section" [index]="index"></fm-article-outline-leftitem>\n </div>\n \x3c!-- <div class="row divide title" *ngIf="section?.title">\n <span>章{{index+1}}.</span>\n <input nz-input type="text" [(ngModel)]="section.title" placeholder="请填章节标题" nzBorderless />\n </div>\n <div class="row" *ngIf="section?.outline">\n <span>内容</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.outline" placeholder="请填主要内容" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.skill">\n <span>技巧</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.skill" placeholder="请填写作技巧" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.case">\n <span>事例</span>\n <textarea nzAutosize nz-input type="text" [(ngModel)]="section.case" placeholder="请填重点事例" nzBorderless></textarea>\n </div> --\x3e\n </ng-container>\n </ng-container>\n\n \x3c!-- <nz-code-editor *ngIf="article?.get(\'outline\')?.length"\n style="height:calc( 90vh - 60px );width:75vw;display: block;"\n [ngModel]="article?.get(\'outline\')"\n (ngModelChange)="article?.set(\'outline\',$event)"\n [nzEditorOption]="{ language: \'markdown\' }"\n ></nz-code-editor> --\x3e\n </div>\n</div>',styles:[":host-context(body.dark) .row{color:#fff}:host-context(body.dark) .row textarea,:host-context(body.dark) .row input{background-color:#00000080;border-radius:5px}.page{width:100%;height:100%;padding-top:10px}.page #editor-outline{padding-top:10px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:start;align-items:center}.page #editor-outline .row{width:95%;display:flex;justify-content:center}.page #editor-outline .row span{padding-top:4px;width:50px}.page #editor-outline .row input,.page #editor-outline .row textarea{width:calc(100% - 60px)}.page #editor-outline .divide{border-top:1px solid rgba(0,0,0,.06)}.page #editor-outline .title{font-weight:600}\n"]}]}],ctorParameters:()=>[],propDecorators:{article:[{type:Input}]}});export class DialogArticleOutline{confirmOutline(){this.dialogRef.close(this.article?.get("outlineJson"))}constructor(t,e){this.dialogRef=t,this.data=e,this.isSelectMode=!0,this.selectCount=0,this.outline="",this.writingOptions={},this.article=e?.article,this.person=e?.person,this.book=e?.book}onConfirm(){this.dialogRef.close(this.article?.get("outlineJson"))}static{this.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:DialogArticleOutline,deps:[{token:i4.MatDialogRef},{token:MAT_DIALOG_DATA}],target:i0.ɵɵFactoryTarget.Component})}static{this.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"17.3.12",type:DialogArticleOutline,isStandalone:!0,selector:"article-outline-dialog",viewQueries:[{propertyName:"storySelectComp",first:!0,predicate:FmArticleOutlineComponent,descendants:!0}],ngImport:i0,template:'\n <fm-article-outline [article]="article"></fm-article-outline>\n <mat-dialog-actions align="start" style="display: flex;justify-content: center;">\n <button mat-button>大纲篇幅:{{article?.get(\'outlineJson\')|outlineCount}}字</button>\n <button mat-button style="color:red;">请您检查或修改大纲,确认后点击生成</button>\n <button mat-button color="primary" [mat-dialog-close]="true">取消</button>\n <button mat-raised-button color="primary" (click)="onConfirm()" cdkFocusInitial>生成文章</button>\n </mat-dialog-actions>\n ',isInline:!0,styles:["fm-article-outline{height:calc(100% - 60px);width:100%;overflow-y:auto}\n"],dependencies:[{kind:"ngmodule",type:CommonModule},{kind:"ngmodule",type:MatDialogModule},{kind:"directive",type:i4.MatDialogClose,selector:"[mat-dialog-close], [matDialogClose]",inputs:["aria-label","type","mat-dialog-close","matDialogClose"],exportAs:["matDialogClose"]},{kind:"directive",type:i4.MatDialogActions,selector:"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",inputs:["align"]},{kind:"ngmodule",type:MatButtonModule},{kind:"component",type:i5.MatButton,selector:" button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ",exportAs:["matButton"]},{kind:"ngmodule",type:MatInputModule},{kind:"component",type:FmArticleOutlineComponent,selector:"fm-article-outline",inputs:["article"]},{kind:"pipe",type:OutlineCountPipe,name:"outlineCount"}]})}}i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:DialogArticleOutline,decorators:[{type:Component,args:[{selector:"article-outline-dialog",template:'\n <fm-article-outline [article]="article"></fm-article-outline>\n <mat-dialog-actions align="start" style="display: flex;justify-content: center;">\n <button mat-button>大纲篇幅:{{article?.get(\'outlineJson\')|outlineCount}}字</button>\n <button mat-button style="color:red;">请您检查或修改大纲,确认后点击生成</button>\n <button mat-button color="primary" [mat-dialog-close]="true">取消</button>\n <button mat-raised-button color="primary" (click)="onConfirm()" cdkFocusInitial>生成文章</button>\n </mat-dialog-actions>\n ',standalone:!0,imports:[CommonModule,MatDialogModule,MatButtonModule,MatInputModule,FmArticleOutlineComponent,OutlineCountPipe],styles:["fm-article-outline{height:calc(100% - 60px);width:100%;overflow-y:auto}\n"]}]}],ctorParameters:()=>[{type:i4.MatDialogRef},{type:void 0,decorators:[{type:Inject,args:[MAT_DIALOG_DATA]}]}],propDecorators:{storySelectComp:[{type:ViewChild,args:[FmArticleOutlineComponent]}]}});
9
+ var MODULE_PATH_NEED = `6K+l5paH5Lu25piv5pys6aG555uu55qE5LiA6YOo5YiGIFRoaXMgZmlsZSBpcyBwYXJ0IG9mIHRoZSBDb21wb25lbnRzIGluIEZtb2RlIEluYy4KICAgIOeJiOadg+aJgOaciSDCqSDmnKrmnaXpo57pqawgwqkg5rGf6KW/6ISR5o6n56eR5oqA5pyJ6ZmQ5YWs5Y+4IENvcHlyaWdodCDCqSBGbW9kZSBUZWNobm9sb2d5IENvLiwgTHRkLgogICAg5L+d55WZ5omA5pyJ5p2D5YipIEFsbCBSaWdodHMgUmVzZXJ2ZWQuCiAgICDkuKXnpoHlnKjmnKrnu4/mjojmnYPnmoTmg4XlhrXkuIvvvIzpgJrov4fku7vkvZXlqpLku4vlpI3liLbmraTmlofku7YgVW5hdXRob3JpemVkIGNvcHlpbmcgb2YgdGhpcyBmaWxlLCB2aWEgYW55IG1lZGl1bSBpcyBzdHJpY3RseSBwcm9oaWJpdGVkCiAgICDor6Xmlofku7bmmK/kuJPmnInnmoTmnLrlr4bmlofku7YgUHJvcHJpZXRhcnkgYW5kIGNvbmZpZGVudGlhbAogICAKICAgIENvcHlyaWdodCAyMDIxLW5vdyBGbW9kZSBJbmMuIHN1cHBvcnRAZm1vZGUuY24uIDE4NjA3MDA3MDczLgogICAg5L+d55WZ5omA5pyJ5p2D5YipIEFsbCByaWdodHMgcmVzZXJ2ZWQuCgogICAgUEFUSDovaG9tZS9yeWFuL3dvcmtzcGFjZS9ub3ZhL25vdmEtYWRtaW4vZGlzdC9mbW9kZS1uZy9lc20yMDIyL2xpYi90ZXh0L2ZtLWFydGljbGUtZWRpdG9yL2ZtLWFydGljbGUtb3V0bGluZS9mbS1hcnRpY2xlLW91dGxpbmUuY29tcG9uZW50Lm1qcw==`
10
+
@@ -1,36 +1,10 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, Input } from '@angular/core';
3
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
- import { MatInputModule } from '@angular/material/input';
5
- import { NzInputModule } from 'ng-zorro-antd/input';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "@angular/forms";
9
- import * as i3 from "ng-zorro-antd/input";
10
- import * as i4 from "@angular/material/input";
11
- export class FmArticleOutlineLeftitemComponent {
12
- constructor() {
13
- this.readOnly = false;
14
- this.width = "200px";
15
- }
16
- ngOnInit() { }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FmArticleOutlineLeftitemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FmArticleOutlineLeftitemComponent, isStandalone: true, selector: "fm-article-outline-leftitem", inputs: { section: "section", index: "index", readOnly: "readOnly", width: "width" }, ngImport: i0, template: "<div class=\"outline\" [style.width]=\"width\">\r\n <div class=\"row divide section-title\" *ngIf=\"section?.title\">\r\n <span>\u7AE0{{(index||0)+1}}.</span>\r\n <input matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.title\" placeholder=\"\u8BF7\u586B\u7AE0\u8282\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.outline\">\r\n <span>\u5185\u5BB9</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.outline\" placeholder=\"\u8BF7\u586B\u4E3B\u8981\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.skill\">\r\n <span>\u6280\u5DE7</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.skill\" placeholder=\"\u8BF7\u586B\u5199\u4F5C\u6280\u5DE7\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.case\">\r\n <span>\u4E8B\u4F8B</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.case\" placeholder=\"\u8BF7\u586B\u91CD\u70B9\u4E8B\u4F8B\" nzBorderless></textarea>\r\n </div>\r\n</div>", styles: [":host-context(body.dark) .outline{color:#fff}:host-context(body.dark) .outline textarea,:host-context(body.dark) .outline input{background-color:#00000080;border-radius:5px}.outline{height:auto;display:flex;flex-direction:column}.outline mat-chip{margin:0 3px 0 0}.outline mat-chip .mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:5px;padding-right:5px}.outline .row{width:100%;display:flex;justify-content:left;padding-left:5px}.outline .row span{padding-top:4px;width:50px}.outline .row input,.outline .row textarea{width:calc(100% - 60px)}.outline .divide{border-top:1px solid rgba(0,0,0,.06)}.outline .section-title{font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.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: 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"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FmArticleOutlineLeftitemComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'fm-article-outline-leftitem', standalone: true, imports: [
23
- CommonModule, FormsModule, ReactiveFormsModule,
24
- NzInputModule,
25
- MatInputModule
26
- ], template: "<div class=\"outline\" [style.width]=\"width\">\r\n <div class=\"row divide section-title\" *ngIf=\"section?.title\">\r\n <span>\u7AE0{{(index||0)+1}}.</span>\r\n <input matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.title\" placeholder=\"\u8BF7\u586B\u7AE0\u8282\u6807\u9898\" nzBorderless />\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.outline\">\r\n <span>\u5185\u5BB9</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.outline\" placeholder=\"\u8BF7\u586B\u4E3B\u8981\u5185\u5BB9\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.skill\">\r\n <span>\u6280\u5DE7</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.skill\" placeholder=\"\u8BF7\u586B\u5199\u4F5C\u6280\u5DE7\" nzBorderless></textarea>\r\n </div>\r\n <div class=\"row\" *ngIf=\"section?.case\">\r\n <span>\u4E8B\u4F8B</span>\r\n <textarea nzAutosize matInput [readonly]=\"readOnly\" type=\"text\" [(ngModel)]=\"section.case\" placeholder=\"\u8BF7\u586B\u91CD\u70B9\u4E8B\u4F8B\" nzBorderless></textarea>\r\n </div>\r\n</div>", styles: [":host-context(body.dark) .outline{color:#fff}:host-context(body.dark) .outline textarea,:host-context(body.dark) .outline input{background-color:#00000080;border-radius:5px}.outline{height:auto;display:flex;flex-direction:column}.outline mat-chip{margin:0 3px 0 0}.outline mat-chip .mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:5px;padding-right:5px}.outline .row{width:100%;display:flex;justify-content:left;padding-left:5px}.outline .row span{padding-top:4px;width:50px}.outline .row input,.outline .row textarea{width:calc(100% - 60px)}.outline .divide{border-top:1px solid rgba(0,0,0,.06)}.outline .section-title{font-weight:600}\n"] }]
27
- }], ctorParameters: () => [], propDecorators: { section: [{
28
- type: Input
29
- }], index: [{
30
- type: Input
31
- }], readOnly: [{
32
- type: Input
33
- }], width: [{
34
- type: Input
35
- }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm0tYXJ0aWNsZS1vdXRsaW5lLWxlZnRpdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL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ub3V0bGluZVwiIHBsYWNlaG9sZGVyPVwi6K+35aGr5Li76KaB5YaF5a65XCIgbnpCb3JkZXJsZXNzPjwvdGV4dGFyZWE+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cInJvd1wiICpuZ0lmPVwic2VjdGlvbj8uc2tpbGxcIj5cclxuICAgICAgPHNwYW4+5oqA5benPC9zcGFuPlxyXG4gICAgICA8dGV4dGFyZWEgbnpBdXRvc2l6ZSBtYXRJbnB1dCBbcmVhZG9ubHldPVwicmVhZE9ubHlcIiB0eXBlPVwidGV4dFwiIFsobmdNb2RlbCldPVwic2VjdGlvbi5za2lsbFwiIHBsYWNlaG9sZGVyPVwi6K+35aGr5YaZ5L2c5oqA5benXCIgbnpCb3JkZXJsZXNzPjwvdGV4dGFyZWE+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cInJvd1wiICpuZ0lmPVwic2VjdGlvbj8uY2FzZVwiPlxyXG4gICAgICA8c3Bhbj7kuovkvos8L3NwYW4+XHJcbiAgICAgIDx0ZXh0YXJlYSBuekF1dG9zaXplIG1hdElucHV0IFtyZWFkb25seV09XCJyZWFkT25seVwiIHR5cGU9XCJ0ZXh0XCIgWyhuZ01vZGVsKV09XCJzZWN0aW9uLmNhc2VcIiBwbGFjZWhvbGRlcj1cIuivt+Whq+mHjeeCueS6i+S+i1wiIG56Qm9yZGVybGVzcz48L3RleHRhcmVhPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj4iXX0=
1
+
2
+ /**
3
+ * @copyright © 未来飞马 © 未来全栈 www.fmode.cn
4
+ * 版权所有 © 未来飞马 © 江西脑控科技有限公司 Copyright © Fmode Technology Co., Ltd.
5
+ * 保留所有权利 All Rights Reserved.
6
+ * /home/ryan/workspace/nova/nova-admin/dist/fmode-ng/esm2022/lib/text/fm-article-editor/fm-article-outline-leftitem/fm-article-outline-leftitem.component.mjs
7
+ */
8
+ import{CommonModule}from"@angular/common";import{Component,Input}from"@angular/core";import{FormsModule,ReactiveFormsModule}from"@angular/forms";import{MatInputModule}from"@angular/material/input";import{NzInputModule}from"ng-zorro-antd/input";import*as i0 from"@angular/core";import*as i1 from"@angular/common";import*as i2 from"@angular/forms";import*as i3 from"ng-zorro-antd/input";import*as i4 from"@angular/material/input";export class FmArticleOutlineLeftitemComponent{constructor(){this.readOnly=!1,this.width="200px"}ngOnInit(){}static{this.ɵfac=i0.ɵɵngDeclareFactory({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:FmArticleOutlineLeftitemComponent,deps:[],target:i0.ɵɵFactoryTarget.Component})}static{this.ɵcmp=i0.ɵɵngDeclareComponent({minVersion:"14.0.0",version:"17.3.12",type:FmArticleOutlineLeftitemComponent,isStandalone:!0,selector:"fm-article-outline-leftitem",inputs:{section:"section",index:"index",readOnly:"readOnly",width:"width"},ngImport:i0,template:'<div class="outline" [style.width]="width">\n <div class="row divide section-title" *ngIf="section?.title">\n <span>章{{(index||0)+1}}.</span>\n <input matInput [readonly]="readOnly" type="text" [(ngModel)]="section.title" placeholder="请填章节标题" nzBorderless />\n </div>\n <div class="row" *ngIf="section?.outline">\n <span>内容</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.outline" placeholder="请填主要内容" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.skill">\n <span>技巧</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.skill" placeholder="请填写作技巧" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.case">\n <span>事例</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.case" placeholder="请填重点事例" nzBorderless></textarea>\n </div>\n</div>',styles:[":host-context(body.dark) .outline{color:#fff}:host-context(body.dark) .outline textarea,:host-context(body.dark) .outline input{background-color:#00000080;border-radius:5px}.outline{height:auto;display:flex;flex-direction:column}.outline mat-chip{margin:0 3px 0 0}.outline mat-chip .mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:5px;padding-right:5px}.outline .row{width:100%;display:flex;justify-content:left;padding-left:5px}.outline .row span{padding-top:4px;width:50px}.outline .row input,.outline .row textarea{width:calc(100% - 60px)}.outline .divide{border-top:1px solid rgba(0,0,0,.06)}.outline .section-title{font-weight:600}\n"],dependencies:[{kind:"ngmodule",type:CommonModule},{kind:"directive",type:i1.NgIf,selector:"[ngIf]",inputs:["ngIf","ngIfThen","ngIfElse"]},{kind:"ngmodule",type:FormsModule},{kind:"directive",type:i2.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: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"]},{kind:"ngmodule",type:ReactiveFormsModule},{kind:"ngmodule",type:NzInputModule},{kind:"directive",type:i3.NzAutosizeDirective,selector:"textarea[nzAutosize]",inputs:["nzAutosize"],exportAs:["nzAutosize"]},{kind:"ngmodule",type:MatInputModule},{kind:"directive",type:i4.MatInput,selector:"input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",inputs:["disabled","id","placeholder","name","required","type","errorStateMatcher","aria-describedby","value","readonly"],exportAs:["matInput"]}]})}}i0.ɵɵngDeclareClassMetadata({minVersion:"12.0.0",version:"17.3.12",ngImport:i0,type:FmArticleOutlineLeftitemComponent,decorators:[{type:Component,args:[{selector:"fm-article-outline-leftitem",standalone:!0,imports:[CommonModule,FormsModule,ReactiveFormsModule,NzInputModule,MatInputModule],template:'<div class="outline" [style.width]="width">\n <div class="row divide section-title" *ngIf="section?.title">\n <span>章{{(index||0)+1}}.</span>\n <input matInput [readonly]="readOnly" type="text" [(ngModel)]="section.title" placeholder="请填章节标题" nzBorderless />\n </div>\n <div class="row" *ngIf="section?.outline">\n <span>内容</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.outline" placeholder="请填主要内容" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.skill">\n <span>技巧</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.skill" placeholder="请填写作技巧" nzBorderless></textarea>\n </div>\n <div class="row" *ngIf="section?.case">\n <span>事例</span>\n <textarea nzAutosize matInput [readonly]="readOnly" type="text" [(ngModel)]="section.case" placeholder="请填重点事例" nzBorderless></textarea>\n </div>\n</div>',styles:[":host-context(body.dark) .outline{color:#fff}:host-context(body.dark) .outline textarea,:host-context(body.dark) .outline input{background-color:#00000080;border-radius:5px}.outline{height:auto;display:flex;flex-direction:column}.outline mat-chip{margin:0 3px 0 0}.outline mat-chip .mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:5px;padding-right:5px}.outline .row{width:100%;display:flex;justify-content:left;padding-left:5px}.outline .row span{padding-top:4px;width:50px}.outline .row input,.outline .row textarea{width:calc(100% - 60px)}.outline .divide{border-top:1px solid rgba(0,0,0,.06)}.outline .section-title{font-weight:600}\n"]}]}],ctorParameters:()=>[],propDecorators:{section:[{type:Input}],index:[{type:Input}],readOnly:[{type:Input}],width:[{type:Input}]}});
9
+ var MODULE_PATH_NEED = `6K+l5paH5Lu25piv5pys6aG555uu55qE5LiA6YOo5YiGIFRoaXMgZmlsZSBpcyBwYXJ0IG9mIHRoZSBDb21wb25lbnRzIGluIEZtb2RlIEluYy4KICAgIOeJiOadg+aJgOaciSDCqSDmnKrmnaXpo57pqawgwqkg5rGf6KW/6ISR5o6n56eR5oqA5pyJ6ZmQ5YWs5Y+4IENvcHlyaWdodCDCqSBGbW9kZSBUZWNobm9sb2d5IENvLiwgTHRkLgogICAg5L+d55WZ5omA5pyJ5p2D5YipIEFsbCBSaWdodHMgUmVzZXJ2ZWQuCiAgICDkuKXnpoHlnKjmnKrnu4/mjojmnYPnmoTmg4XlhrXkuIvvvIzpgJrov4fku7vkvZXlqpLku4vlpI3liLbmraTmlofku7YgVW5hdXRob3JpemVkIGNvcHlpbmcgb2YgdGhpcyBmaWxlLCB2aWEgYW55IG1lZGl1bSBpcyBzdHJpY3RseSBwcm9oaWJpdGVkCiAgICDor6Xmlofku7bmmK/kuJPmnInnmoTmnLrlr4bmlofku7YgUHJvcHJpZXRhcnkgYW5kIGNvbmZpZGVudGlhbAogICAKICAgIENvcHlyaWdodCAyMDIxLW5vdyBGbW9kZSBJbmMuIHN1cHBvcnRAZm1vZGUuY24uIDE4NjA3MDA3MDczLgogICAg5L+d55WZ5omA5pyJ5p2D5YipIEFsbCByaWdodHMgcmVzZXJ2ZWQuCgogICAgUEFUSDovaG9tZS9yeWFuL3dvcmtzcGFjZS9ub3ZhL25vdmEtYWRtaW4vZGlzdC9mbW9kZS1uZy9lc20yMDIyL2xpYi90ZXh0L2ZtLWFydGljbGUtZWRpdG9yL2ZtLWFydGljbGUtb3V0bGluZS1sZWZ0aXRlbS9mbS1hcnRpY2xlLW91dGxpbmUtbGVmdGl0ZW0uY29tcG9uZW50Lm1qcw==`
10
+