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.
- package/LICENSE.md +8 -0
- package/README.md +37 -37
- package/esm2022/fmode-ng.mjs +10 -5
- package/esm2022/lib/aigc/agent/fm-agent-task/fm-agent-task.component.mjs +8 -92
- package/esm2022/lib/aigc/agent/index.mjs +10 -3
- package/esm2022/lib/aigc/avatar/avatar.module.mjs +10 -45
- package/esm2022/lib/aigc/avatar/comp-avatar-particle/avatar.role.mjs +10 -2
- package/esm2022/lib/aigc/avatar/comp-avatar-particle/comp-avatar-particle.component.mjs +10 -315
- package/esm2022/lib/aigc/avatar/comp-avatar-particle/index.mjs +10 -3
- package/esm2022/lib/aigc/avatar/comp-avatar-particle/role-points.class.mjs +10 -57
- package/esm2022/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.mjs +10 -98
- package/esm2022/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.mjs +10 -107
- package/esm2022/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.mjs +10 -113
- package/esm2022/lib/aigc/avatar/index.mjs +10 -8
- package/esm2022/lib/aigc/avatar/interface-avatar-role.mjs +10 -2
- package/esm2022/lib/aigc/avatar/modal-chat-voice-input/modal-chat-voice-input.component.mjs +8 -164
- package/esm2022/lib/aigc/chat/chat-header-area/comp-header-area.component.mjs +10 -49
- package/esm2022/lib/aigc/chat/chat-header-area/index.mjs +10 -2
- package/esm2022/lib/aigc/chat/chat-list/chat-list.component.mjs +8 -155
- package/esm2022/lib/aigc/chat/chat-list/index.mjs +10 -2
- package/esm2022/lib/aigc/chat/chat-message-area/comp-message-area.component.mjs +10 -40
- package/esm2022/lib/aigc/chat/chat-message-area/index.mjs +10 -2
- package/esm2022/lib/aigc/chat/chat-message-card/comp-message-card.component.mjs +10 -140
- package/esm2022/lib/aigc/chat/chat-message-card/duration-str.pipe.mjs +10 -29
- package/esm2022/lib/aigc/chat/chat-message-card/index.mjs +10 -3
- package/esm2022/lib/aigc/chat/chat-modal-input/index.mjs +10 -3
- package/esm2022/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.mjs +8 -193
- package/esm2022/lib/aigc/chat/chat-modal-input/modal-input.component.mjs +10 -331
- package/esm2022/lib/aigc/chat/chat-panel/chat-panel.component.mjs +8 -249
- package/esm2022/lib/aigc/chat/comp-role-prompt/comp-role-prompt.component.mjs +10 -83
- package/esm2022/lib/aigc/chat/comp-role-prompt/index.mjs +10 -2
- package/esm2022/lib/aigc/chat/index.mjs +10 -8
- package/esm2022/lib/aigc/comp-markdown-preview/clipboard.service.mjs +10 -82
- package/esm2022/lib/aigc/comp-markdown-preview/markdown-parse.mjs +8 -367
- package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.component.mjs +10 -51
- package/esm2022/lib/aigc/comp-markdown-preview/markdown-preview.module.mjs +10 -24
- package/esm2022/lib/aigc/comp-markdown-preview/plugins/md-mathjax/index.mjs +10 -115
- package/esm2022/lib/aigc/index.mjs +10 -14
- package/esm2022/lib/aigc/service-fmai/fmai.service.mjs +10 -21
- package/esm2022/lib/aigc/service-fmai/service-chat/chat-class.mjs +10 -2
- package/esm2022/lib/aigc/service-fmai/service-chat/chat.service.mjs +8 -174
- package/esm2022/lib/aigc/service-fmai/service-chat/index.mjs +10 -7
- package/esm2022/lib/aigc/service-fmai/service-chat/mask-list.mjs +9 -194
- package/esm2022/lib/aigc/service-fmai/service-chat/pipes/chat-content.pipe.mjs +10 -27
- package/esm2022/lib/aigc/service-fmai/service-chat/pipes/hidexml.pipe.mjs +10 -27
- package/esm2022/lib/aigc/service-fmai/service-chat/utilnow.pipe.mjs +10 -68
- package/esm2022/lib/aigc/service-fmai/service-imagine/imagine-func.mjs +9 -162
- package/esm2022/lib/aigc/service-fmai/service-imagine/imagine-work.mjs +10 -68
- package/esm2022/lib/aigc/service-fmai/service-imagine/imagine.service.mjs +8 -313
- package/esm2022/lib/aigc/service-fmai/service-imagine/index.mjs +10 -4
- package/esm2022/lib/aigc/story/fm-office-viewer/fm-office-viewer.component.mjs +10 -62
- package/esm2022/lib/aigc/story/fm-story-card/fm-story-card.component.mjs +10 -87
- package/esm2022/lib/aigc/story/fm-story-list/fm-story-list.component.mjs +10 -345
- package/esm2022/lib/aigc/story/fm-story-list/story-preview.mjs +10 -81
- package/esm2022/lib/aigc/story/fm-story-loader/fm-story-loader.component.mjs +10 -152
- package/esm2022/lib/aigc/story/fm-story-splitter/fm-story-splitter.component.mjs +10 -42
- package/esm2022/lib/aigc/story/index.mjs +10 -6
- package/esm2022/lib/aigc/story/modal-chat-story/comp-chat-story-json/comp-chat-story-json.component.mjs +10 -47
- package/esm2022/lib/aigc/story/modal-chat-story/comp-diary-story/comp-diary-story.component.mjs +10 -95
- package/esm2022/lib/aigc/story/modal-chat-story/modal-chat-story.component.mjs +10 -253
- package/esm2022/lib/aigc/story/story.service.mjs +10 -35
- package/esm2022/lib/aigc/voice/fmode-voice.service.mjs +10 -636
- package/esm2022/lib/aigc/voice/index.mjs +10 -7
- package/esm2022/lib/aigc/voice/lib/audio/audio.player.mjs +10 -55
- package/esm2022/lib/aigc/voice/lib/audio/audio.streamer.mjs +10 -2
- package/esm2022/lib/aigc/voice/lib/audio/streamer.microsoft.mjs +10 -96
- package/esm2022/lib/aigc/voice/lib/audio/streamer.pcm.mjs +8 -177
- package/esm2022/lib/aigc/voice/lib/pcm2wav.mjs +10 -38
- package/esm2022/lib/aigc/voice/lib/recorder/extension-waveview.mjs +10 -215
- package/esm2022/lib/aigc/voice/lib/resample.mjs +10 -34
- package/esm2022/lib/aigc/voice/tts/fmode-tts-class.mjs +10 -189
- package/esm2022/lib/aigc/voice/tts/index.mjs +10 -5
- package/esm2022/lib/aigc/voice/tts/int-tts-provider.mjs +10 -2
- package/esm2022/lib/aigc/voice/tts/provider-doubao.mjs +8 -346
- package/esm2022/lib/code/fm-codemirror/fm-codemirror.component.mjs +8 -342
- package/esm2022/lib/code/index.mjs +10 -2
- package/esm2022/lib/core/agent/chat/completion/fmode-completion.mjs +8 -430
- package/esm2022/lib/core/agent/chat/completion/index.mjs +10 -2
- package/esm2022/lib/core/agent/chat/completion/int-gpt-chat-options.mjs +10 -2
- package/esm2022/lib/core/agent/chat/fmode-chat.mjs +8 -617
- package/esm2022/lib/core/agent/chat/index.mjs +10 -4
- package/esm2022/lib/core/agent/chat/interface.mjs +10 -2
- package/esm2022/lib/core/agent/index.mjs +10 -6
- package/esm2022/lib/core/agent/prompt/agent.prompt.mjs +10 -133
- package/esm2022/lib/core/agent/prompt/index.mjs +10 -2
- package/esm2022/lib/core/agent/prompt/prompt-util.mjs +10 -16
- package/esm2022/lib/core/agent/story/agent.story.mjs +10 -64
- package/esm2022/lib/core/agent/story/index.mjs +10 -2
- package/esm2022/lib/core/agent/task/agent.task.mjs +10 -90
- package/esm2022/lib/core/agent/task/index.mjs +10 -2
- package/esm2022/lib/core/agent/waiting/index.mjs +10 -3
- package/esm2022/lib/core/agent/waiting/loading/loading.ctrl.mjs +10 -279
- package/esm2022/lib/core/agent/waiting/tips/tips.ctrl.mjs +8 -190
- package/esm2022/lib/core/index.mjs +10 -4
- package/esm2022/lib/core/parse/datatype/acl.mjs +10 -57
- package/esm2022/lib/core/parse/datatype/file.mjs +10 -69
- package/esm2022/lib/core/parse/datatype/geopoint.mjs +10 -57
- package/esm2022/lib/core/parse/datatype/relation.mjs +10 -56
- package/esm2022/lib/core/parse/fmode.cloud.mjs +10 -0
- package/esm2022/lib/core/parse/fmode.object.mjs +10 -232
- package/esm2022/lib/core/parse/fmode.parse.mjs +10 -84
- package/esm2022/lib/core/parse/fmode.query.mjs +8 -500
- package/esm2022/lib/core/parse/fmode.user.mjs +10 -275
- package/esm2022/lib/core/parse/index.mjs +10 -5
- package/esm2022/lib/core/parse/types.mjs +10 -2
- package/esm2022/lib/core/voice/index.mjs +10 -3
- package/esm2022/lib/core/voice/tts/index.mjs +10 -2
- package/esm2022/lib/icon/filetype/audio.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/avatar.svg.mjs +10 -14
- package/esm2022/lib/icon/filetype/chat.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/docx.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/file.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/filetype.pipe.mjs +10 -57
- package/esm2022/lib/icon/filetype/index.mjs +10 -12
- package/esm2022/lib/icon/filetype/md.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/pdf.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/pptx.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/svgtoblob.mjs +10 -8
- package/esm2022/lib/icon/filetype/video.svg.mjs +10 -3
- package/esm2022/lib/icon/filetype/xlsx.svg.mjs +10 -3
- package/esm2022/lib/icon/index.mjs +10 -2
- package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.component.mjs +10 -209
- package/esm2022/lib/map/comp-poi-picker/comp-poi-picker.module.mjs +10 -33
- package/esm2022/lib/map/index.mjs +10 -4
- package/esm2022/lib/map/map.module.mjs +10 -61
- package/esm2022/lib/map/page-loca-scatter/page-loca-scatter.component.mjs +10 -132
- package/esm2022/lib/map/page-map.start/page-map.start.component.mjs +8 -115
- package/esm2022/lib/map/page-plan-route/page-plan-route.component.mjs +8 -118
- package/esm2022/lib/nova-cloud/index.mjs +10 -3
- package/esm2022/lib/nova-cloud/ncloud-api-func.mjs +10 -91
- package/esm2022/lib/nova-cloud/nova-cloud.service.mjs +10 -53
- package/esm2022/lib/payment/index.mjs +10 -2
- package/esm2022/lib/payment/payment/payment.component.mjs +10 -543
- package/esm2022/lib/payment/payment.service.mjs +10 -202
- package/esm2022/lib/person/comp-person-gender-icon/comp-person-gender-icon.component.mjs +10 -48
- package/esm2022/lib/person/comp-person-item/comp-person-item.component.mjs +10 -29
- package/esm2022/lib/person/comp-person-story/comp-person-story.component.mjs +10 -211
- package/esm2022/lib/person/edit-upload/edit-upload.component.mjs +8 -412
- package/esm2022/lib/person/edit-upload/edit-upload.module.mjs +10 -50
- package/esm2022/lib/person/index.mjs +10 -5
- package/esm2022/lib/person/modal-person-select/modal-person-select.component.mjs +10 -144
- package/esm2022/lib/person/modal-user-verify/secret-text.pipe.mjs +10 -41
- package/esm2022/lib/person/modal-user-verify/user-verify.component.mjs +10 -595
- package/esm2022/lib/person/person-detail/person-detail.component.mjs +10 -172
- package/esm2022/lib/person/person.service.mjs +8 -193
- package/esm2022/lib/platform/cross.service.mjs +10 -62
- package/esm2022/lib/platform/index.mjs +10 -2
- package/esm2022/lib/social/index.mjs +10 -2
- package/esm2022/lib/social/wechat/wechat-jssdk.service.mjs +8 -230
- package/esm2022/lib/storage/comp-hwobs-manager/hwobs-manager.component.mjs +10 -59
- package/esm2022/lib/storage/index.mjs +10 -5
- package/esm2022/lib/storage/service-hwobs/hwobs.service.mjs +8 -131
- package/esm2022/lib/storage/service-hwobs/index.mjs +10 -3
- package/esm2022/lib/storage/service-hwobs/typings/esdk-obs-browser.mjs +1 -1
- package/esm2022/lib/storage/service-upload/index.mjs +10 -2
- package/esm2022/lib/storage/service-upload/nova-upload.service.mjs +8 -513
- package/esm2022/lib/storage/service-upload/util-file-md5.mjs +10 -28
- package/esm2022/lib/storage/service-upload/util-file-metadata.mjs +10 -93
- package/esm2022/lib/storage/storage.module.mjs +10 -42
- package/esm2022/lib/text/fm-article-editor/article-editor-topbar/article-editor-topbar.component.mjs +10 -72
- package/esm2022/lib/text/fm-article-editor/article.service.mjs +10 -237
- package/esm2022/lib/text/fm-article-editor/comp-upload-book-banners/comp-upload-book-banners.component.mjs +8 -72
- package/esm2022/lib/text/fm-article-editor/draft.service.mjs +10 -207
- package/esm2022/lib/text/fm-article-editor/fm-article-aitool/fm-article-aitool.component.mjs +8 -227
- package/esm2022/lib/text/fm-article-editor/fm-article-draft/fm-article-draft.component.mjs +10 -303
- package/esm2022/lib/text/fm-article-editor/fm-article-editor.component.mjs +8 -371
- package/esm2022/lib/text/fm-article-editor/fm-article-outline/fm-article-outline.component.mjs +10 -94
- package/esm2022/lib/text/fm-article-editor/fm-article-outline-leftitem/fm-article-outline-leftitem.component.mjs +10 -36
- package/esm2022/lib/text/fm-article-editor/fm-article-preview/fm-article-preview.component.mjs +10 -281
- package/esm2022/lib/text/fm-article-editor/fm-article-write-options/fm-article-write-options.component.mjs +10 -72
- package/esm2022/lib/text/fm-article-editor/outline-count.pipe.mjs +10 -22
- package/esm2022/lib/text/fm-article-editor/prompt/prompt-insertion-article.mjs +10 -169
- package/esm2022/lib/text/fm-article-editor/task-article-generation.mjs +10 -69
- package/esm2022/lib/text/fm-article-editor/tasks/task-article-draft-create.mjs +10 -65
- package/esm2022/lib/text/fm-article-editor/tasks/task-article-outline-edit.mjs +10 -55
- package/esm2022/lib/text/fm-article-editor/tasks/task-article-outline.mjs +10 -142
- package/esm2022/lib/text/fm-article-editor/tasks/task-article-preview.mjs +10 -35
- package/esm2022/lib/text/fm-article-editor/tasks/task-article-writing-options.mjs +10 -81
- package/esm2022/lib/text/fm-article-editor/tasks/task-document-select.mjs +10 -50
- package/esm2022/lib/text/fm-text-quill/fm-text-quill.component.mjs +10 -145
- package/esm2022/lib/text/index.mjs +10 -4
- package/esm2022/lib/user/account/account.service.mjs +10 -222
- package/esm2022/lib/user/captcha/captcha.component.mjs +10 -135
- package/esm2022/lib/user/comp-user-avatar/comp-user-avatar.component.mjs +10 -66
- package/esm2022/lib/user/index.mjs +10 -17
- package/esm2022/lib/user/login/auth.guard.mjs +10 -28
- package/esm2022/lib/user/login/auth.service.mjs +8 -433
- package/esm2022/lib/user/login/login.component.mjs +10 -916
- package/esm2022/lib/user/modal-user-login/modal-user-login.component.mjs +10 -311
- package/esm2022/lib/user/profile/auth-profile.guard.mjs +10 -27
- package/esm2022/lib/user/profile/auth-profile.service.mjs +10 -122
- package/esm2022/lib/user/profile/profile-bind/profile-bind.component.mjs +10 -164
- package/esm2022/lib/user/profile/profile-bind/profile-confirm-modal.component.mjs +10 -79
- package/esm2022/lib/user/profile/profile.module.mjs +10 -54
- package/esm2022/lib/user/staff/index.mjs +10 -4
- package/esm2022/lib/user/staff/staff.guard.mjs +10 -26
- package/esm2022/lib/user/staff/staff.module.mjs +10 -18
- package/esm2022/lib/user/staff/staff.service.mjs +10 -85
- package/esm2022/lib/user/user-name.pipe.mjs +10 -29
- package/esm2022/lib/user/user.module.mjs +10 -102
- package/esm2022/lib/video/fm-video/fm-video.component.mjs +10 -67
- package/esm2022/lib/video/index.mjs +10 -2
- package/esm2022/public-api.mjs +10 -21
- package/fesm2022/fmode-ng.mjs +7 -19788
- package/fesm2022/fmode-ng.mjs.map +1 -1
- package/lib/aigc/avatar/comp-avatar-role-image/comp-avatar-role-image.component.d.ts +2 -2
- package/lib/aigc/avatar/comp-avatar-role-video/comp-avatar-role-video.component.d.ts +2 -2
- package/lib/aigc/avatar/comp-avatar-talk/comp-avatar-talk.component.d.ts +2 -2
- package/lib/aigc/chat/chat-list/chat-list.component.d.ts +3 -2
- package/lib/aigc/chat/chat-message-card/comp-message-card.component.d.ts +3 -3
- package/lib/aigc/chat/chat-modal-input/modal-audio-message/modal-audio-message.component.d.ts +2 -2
- package/lib/aigc/chat/chat-modal-input/modal-input.component.d.ts +3 -3
- package/lib/aigc/service-fmai/service-imagine/imagine-func.d.ts +3 -3
- package/lib/aigc/service-fmai/service-imagine/imagine-work.d.ts +4 -4
- package/lib/aigc/service-fmai/service-imagine/imagine.service.d.ts +6 -6
- package/lib/aigc/story/fm-office-viewer/fm-office-viewer.component.d.ts +2 -2
- package/lib/aigc/story/fm-story-card/fm-story-card.component.d.ts +2 -1
- package/lib/aigc/story/fm-story-list/fm-story-list.component.d.ts +6 -6
- package/lib/aigc/story/fm-story-list/story-preview.d.ts +4 -4
- package/lib/aigc/story/fm-story-loader/fm-story-loader.component.d.ts +3 -3
- package/lib/aigc/story/fm-story-splitter/fm-story-splitter.component.d.ts +2 -2
- package/lib/aigc/story/modal-chat-story/comp-chat-story-json/comp-chat-story-json.component.d.ts +3 -2
- package/lib/aigc/story/modal-chat-story/comp-diary-story/comp-diary-story.component.d.ts +3 -2
- package/lib/aigc/story/modal-chat-story/modal-chat-story.component.d.ts +6 -6
- package/lib/aigc/story/story.service.d.ts +3 -2
- package/lib/aigc/voice/tts/fmode-tts-class.d.ts +2 -2
- package/lib/core/agent/chat/fmode-chat.d.ts +11 -11
- package/lib/core/agent/story/agent.story.d.ts +8 -8
- package/lib/core/parse/datatype/geopoint.d.ts +5 -1
- package/lib/core/parse/fmode.cloud.d.ts +32 -0
- package/lib/core/parse/fmode.object.d.ts +2 -2
- package/lib/core/parse/fmode.parse.d.ts +15 -9
- package/lib/core/parse/fmode.query.d.ts +41 -2
- package/lib/core/parse/fmode.user.d.ts +1 -0
- package/lib/core/parse/index.d.ts +1 -0
- package/lib/core/parse/types.d.ts +2 -0
- package/lib/map/comp-poi-picker/comp-poi-picker.component.d.ts +5 -5
- package/lib/payment/payment/payment.component.d.ts +3 -3
- package/lib/payment/payment.service.d.ts +4 -4
- package/lib/person/comp-person-gender-icon/comp-person-gender-icon.component.d.ts +2 -1
- package/lib/person/comp-person-item/comp-person-item.component.d.ts +2 -1
- package/lib/person/comp-person-story/comp-person-story.component.d.ts +13 -13
- package/lib/person/edit-upload/edit-upload.component.d.ts +1 -1
- package/lib/person/modal-person-select/modal-person-select.component.d.ts +5 -5
- package/lib/person/modal-user-verify/user-verify.component.d.ts +5 -5
- package/lib/person/person-detail/person-detail.component.d.ts +4 -4
- package/lib/person/person.service.d.ts +7 -7
- package/lib/storage/service-hwobs/hwobs.service.d.ts +4 -5
- package/lib/storage/service-upload/nova-upload.service.d.ts +5 -5
- package/lib/text/fm-article-editor/article-editor-topbar/article-editor-topbar.component.d.ts +2 -1
- package/lib/text/fm-article-editor/article.service.d.ts +12 -12
- package/lib/text/fm-article-editor/draft.service.d.ts +5 -5
- package/lib/text/fm-article-editor/fm-article-aitool/fm-article-aitool.component.d.ts +3 -2
- package/lib/text/fm-article-editor/fm-article-draft/fm-article-draft.component.d.ts +16 -17
- package/lib/text/fm-article-editor/fm-article-editor.component.d.ts +3 -3
- package/lib/text/fm-article-editor/fm-article-outline/fm-article-outline.component.d.ts +11 -10
- package/lib/text/fm-article-editor/fm-article-preview/fm-article-preview.component.d.ts +2 -2
- package/lib/text/fm-article-editor/prompt/prompt-insertion-article.d.ts +3 -3
- package/lib/text/fm-article-editor/task-article-generation.d.ts +5 -4
- package/lib/text/fm-article-editor/tasks/task-article-draft-create.d.ts +3 -3
- package/lib/text/fm-article-editor/tasks/task-article-outline-edit.d.ts +3 -3
- package/lib/text/fm-article-editor/tasks/task-article-outline.d.ts +3 -3
- package/lib/text/fm-article-editor/tasks/task-article-preview.d.ts +2 -1
- package/lib/text/fm-article-editor/tasks/task-article-writing-options.d.ts +3 -3
- package/lib/text/fm-article-editor/tasks/task-document-select.d.ts +3 -3
- package/lib/user/account/account.service.d.ts +2 -2
- package/lib/user/comp-user-avatar/comp-user-avatar.component.d.ts +2 -2
- package/lib/user/login/auth.service.d.ts +5 -5
- package/lib/user/login/login.component.d.ts +3 -3
- package/lib/user/profile/auth-profile.service.d.ts +8 -8
- package/lib/user/profile/profile-bind/profile-bind.component.d.ts +7 -7
- package/lib/user/profile/profile-bind/profile-confirm-modal.component.d.ts +2 -2
- package/lib/user/staff/staff.service.d.ts +3 -3
- package/lib/user/user-name.pipe.d.ts +2 -2
- package/package.json +12 -18
|
@@ -28,6 +28,10 @@ export declare class FmodeQuery<T extends FmodeObject = FmodeObject> {
|
|
|
28
28
|
private static _instance;
|
|
29
29
|
static bindInstance(instance: any): void;
|
|
30
30
|
private static get instance();
|
|
31
|
+
/**
|
|
32
|
+
* Recursively converts included Pointer objects to FmodeObject instances
|
|
33
|
+
*/
|
|
34
|
+
private static convertIncludedObjects;
|
|
31
35
|
className: string;
|
|
32
36
|
where: QueryConditions;
|
|
33
37
|
_include: string[];
|
|
@@ -96,6 +100,25 @@ export declare class FmodeQuery<T extends FmodeObject = FmodeObject> {
|
|
|
96
100
|
latitude: number;
|
|
97
101
|
longitude: number;
|
|
98
102
|
}>): this;
|
|
103
|
+
/**
|
|
104
|
+
* Matches a key from a list of queries
|
|
105
|
+
*/
|
|
106
|
+
containedBy(key: string, values: any[]): this;
|
|
107
|
+
/**
|
|
108
|
+
* Full text search
|
|
109
|
+
*/
|
|
110
|
+
fullText(key: string, text: string, options?: {
|
|
111
|
+
caseSensitive?: boolean;
|
|
112
|
+
diacriticSensitive?: boolean;
|
|
113
|
+
}): this;
|
|
114
|
+
/**
|
|
115
|
+
* Matches objects with array field containing all given elements
|
|
116
|
+
*/
|
|
117
|
+
containsAllStartingWith(key: string, values: string[]): this;
|
|
118
|
+
/**
|
|
119
|
+
* Matches objects where the array field has a specific size
|
|
120
|
+
*/
|
|
121
|
+
sizeEqualTo(key: string, size: number): this;
|
|
99
122
|
/**
|
|
100
123
|
* Adds a relation constraint to the query
|
|
101
124
|
*/
|
|
@@ -167,9 +190,25 @@ export declare class FmodeQuery<T extends FmodeObject = FmodeObject> {
|
|
|
167
190
|
count(options?: {
|
|
168
191
|
useMasterKey?: boolean;
|
|
169
192
|
}): Promise<number>;
|
|
193
|
+
/**
|
|
194
|
+
* Converts the query to JSON format compatible with Parse REST API
|
|
195
|
+
*/
|
|
196
|
+
toJSON(): Record<string, any>;
|
|
197
|
+
/**
|
|
198
|
+
* Creates a query from JSON data
|
|
199
|
+
*/
|
|
200
|
+
static fromJSON<T extends FmodeObject>(className: string, json: Record<string, any>): FmodeQuery<T>;
|
|
170
201
|
private _buildQueryParams;
|
|
171
202
|
subscribe(): EventTarget;
|
|
172
|
-
or
|
|
173
|
-
and
|
|
203
|
+
static or<T extends FmodeObject>(...queries: FmodeQuery<T>[]): FmodeQuery<T>;
|
|
204
|
+
static and<T extends FmodeObject>(...queries: FmodeQuery<T>[]): FmodeQuery<T>;
|
|
205
|
+
/**
|
|
206
|
+
* Create a new query with OR logic
|
|
207
|
+
*/
|
|
208
|
+
or<T extends FmodeObject>(...queries: FmodeQuery<T>[]): FmodeQuery<T>;
|
|
209
|
+
/**
|
|
210
|
+
* Create a new query with AND logic
|
|
211
|
+
*/
|
|
212
|
+
and<T extends FmodeObject>(...queries: FmodeQuery<T>[]): FmodeQuery<T>;
|
|
174
213
|
}
|
|
175
214
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import Parse from "parse";
|
|
3
2
|
import { IonModal } from '@ionic/angular';
|
|
3
|
+
import { FmodeGeoPoint } from '@fmode/parse';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CompPoiPickerComponent implements AfterViewInit {
|
|
6
6
|
container: ElementRef;
|
|
@@ -13,10 +13,10 @@ export declare class CompPoiPickerComponent implements AfterViewInit {
|
|
|
13
13
|
get address(): string;
|
|
14
14
|
set address(v: string);
|
|
15
15
|
addressChange: EventEmitter<string>;
|
|
16
|
-
_location:
|
|
17
|
-
get location():
|
|
18
|
-
set location(v:
|
|
19
|
-
locationChange: EventEmitter<
|
|
16
|
+
_location: FmodeGeoPoint;
|
|
17
|
+
get location(): FmodeGeoPoint;
|
|
18
|
+
set location(v: FmodeGeoPoint);
|
|
19
|
+
locationChange: EventEmitter<FmodeGeoPoint>;
|
|
20
20
|
amap: {
|
|
21
21
|
securityJsCode: string;
|
|
22
22
|
key: string;
|
|
@@ -4,7 +4,7 @@ import { HttpClient } from "@angular/common/http";
|
|
|
4
4
|
import { WechatJssdkService } from "../../social/wechat/wechat-jssdk.service";
|
|
5
5
|
import { PaymentService } from "../../payment/payment.service";
|
|
6
6
|
import { AlertController } from "@ionic/angular/standalone";
|
|
7
|
-
import
|
|
7
|
+
import { FmodeObject } from "@fmode/parse";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
type PaymentMethod = "wxpay" | "alipay";
|
|
10
10
|
export declare class PaymentComponent {
|
|
@@ -27,9 +27,9 @@ export declare class PaymentComponent {
|
|
|
27
27
|
checkpay: string;
|
|
28
28
|
userAgent?: string;
|
|
29
29
|
codeLink?: string;
|
|
30
|
-
user:
|
|
30
|
+
user: FmodeObject;
|
|
31
31
|
timer: any;
|
|
32
|
-
accountLog?:
|
|
32
|
+
accountLog?: FmodeObject;
|
|
33
33
|
isLoading: boolean;
|
|
34
34
|
constructor(wxjssdk: WechatJssdkService, http: HttpClient, activRoute: ActivatedRoute, payServer: PaymentService, alertCtrl: AlertController);
|
|
35
35
|
ngOnInit(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from "@angular/common/http";
|
|
2
2
|
import { ToastController } from "@ionic/angular";
|
|
3
|
-
import
|
|
3
|
+
import { FmodeObject } from "@fmode/parse";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PaymentService {
|
|
6
6
|
toast: ToastController;
|
|
@@ -31,10 +31,10 @@ export declare class PaymentService {
|
|
|
31
31
|
payType: string;
|
|
32
32
|
price: number;
|
|
33
33
|
credit: number;
|
|
34
|
-
}): Promise<
|
|
35
|
-
createdAccount(uid: string): Promise<
|
|
34
|
+
}): Promise<FmodeObject>;
|
|
35
|
+
createdAccount(uid: string): Promise<FmodeObject>;
|
|
36
36
|
updateAccountLog(info: object, orderid: string): Promise<unknown>;
|
|
37
|
-
updateRecharge(accountLog:
|
|
37
|
+
updateRecharge(accountLog: FmodeObject): Promise<FmodeObject>;
|
|
38
38
|
getOrder(tradeNo: string): Promise<string | undefined>;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentService, never>;
|
|
40
40
|
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentService>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CompPersonGenderIconComponent implements OnInit {
|
|
4
|
-
person:
|
|
5
|
+
person: FmodeObject | undefined;
|
|
5
6
|
constructor();
|
|
6
7
|
gender: "male" | "female" | "unknown";
|
|
7
8
|
genderIcon: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CompPersonItemComponent implements OnInit {
|
|
4
|
-
person:
|
|
5
|
+
person: FmodeObject | undefined;
|
|
5
6
|
defaultAvatar: string;
|
|
6
7
|
constructor();
|
|
7
8
|
ngOnInit(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { AgentStory } from '../../core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import
|
|
4
|
+
import { FmodeObject } from "@fmode/parse";
|
|
5
5
|
import { LoadingController } from '@ionic/angular';
|
|
6
6
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
7
7
|
import { FmStoryListComponent } from '../../aigc/story';
|
|
@@ -12,9 +12,9 @@ export declare class CompPersonStoryComponent implements OnInit {
|
|
|
12
12
|
dialog: MatDialog;
|
|
13
13
|
private router;
|
|
14
14
|
listComp: FmStoryListComponent | undefined;
|
|
15
|
-
person:
|
|
16
|
-
book:
|
|
17
|
-
article:
|
|
15
|
+
person: FmodeObject | undefined;
|
|
16
|
+
book: FmodeObject | undefined;
|
|
17
|
+
article: FmodeObject | undefined;
|
|
18
18
|
currentStory: AgentStory | undefined;
|
|
19
19
|
storyList: Array<AgentStory> | undefined;
|
|
20
20
|
isPreview: boolean;
|
|
@@ -43,23 +43,23 @@ export declare class CompPersonStoryComponent implements OnInit {
|
|
|
43
43
|
export declare class DialogPersonStorySelect {
|
|
44
44
|
dialogRef: MatDialogRef<CompPersonStoryComponent>;
|
|
45
45
|
data: {
|
|
46
|
-
person:
|
|
47
|
-
book:
|
|
48
|
-
article:
|
|
46
|
+
person: FmodeObject;
|
|
47
|
+
book: FmodeObject;
|
|
48
|
+
article: FmodeObject;
|
|
49
49
|
};
|
|
50
50
|
storySelectComp: CompPersonStoryComponent | undefined;
|
|
51
|
-
person:
|
|
52
|
-
book:
|
|
53
|
-
article:
|
|
51
|
+
person: FmodeObject | undefined;
|
|
52
|
+
book: FmodeObject | undefined;
|
|
53
|
+
article: FmodeObject | undefined;
|
|
54
54
|
isSelectMode: boolean;
|
|
55
55
|
selectCount: number | undefined;
|
|
56
56
|
selectToken: number;
|
|
57
57
|
limitToken: number;
|
|
58
58
|
confirmSelectedList(): void;
|
|
59
59
|
constructor(dialogRef: MatDialogRef<CompPersonStoryComponent>, data: {
|
|
60
|
-
person:
|
|
61
|
-
book:
|
|
62
|
-
article:
|
|
60
|
+
person: FmodeObject;
|
|
61
|
+
book: FmodeObject;
|
|
62
|
+
article: FmodeObject;
|
|
63
63
|
});
|
|
64
64
|
onConfirm(ev: any): void;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogPersonStorySelect, never>;
|
|
@@ -62,7 +62,7 @@ export declare class EditUploadComponent implements OnInit {
|
|
|
62
62
|
}[];
|
|
63
63
|
qiniuConf: any;
|
|
64
64
|
getUptoken(): Promise<any>;
|
|
65
|
-
checkFileType(url: string): "
|
|
65
|
+
checkFileType(url: string): "file" | "video" | "image";
|
|
66
66
|
upable(): boolean;
|
|
67
67
|
imgShowing: boolean;
|
|
68
68
|
fileUrl: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AlertController } from "@ionic/angular/standalone";
|
|
3
3
|
import { ModalController } from "@ionic/angular/standalone";
|
|
4
|
-
import
|
|
4
|
+
import { FmodeObject } from "@fmode/parse";
|
|
5
5
|
import { PersonService } from '../person.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ModalPersonSelectComponent implements OnInit {
|
|
@@ -9,15 +9,15 @@ export declare class ModalPersonSelectComponent implements OnInit {
|
|
|
9
9
|
private alertCtrl;
|
|
10
10
|
private personServ;
|
|
11
11
|
defaultAvatar: string;
|
|
12
|
-
selfPerson:
|
|
12
|
+
selfPerson: FmodeObject | undefined;
|
|
13
13
|
constructor(modalCtrl: ModalController, alertCtrl: AlertController, personServ: PersonService);
|
|
14
|
-
ownPersonList:
|
|
15
|
-
authPersonList:
|
|
14
|
+
ownPersonList: FmodeObject[];
|
|
15
|
+
authPersonList: FmodeObject[];
|
|
16
16
|
createSelfPerson(withIdcard?: boolean): Promise<void>;
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
selfLoaded: boolean;
|
|
19
19
|
loadPerson(): Promise<void>;
|
|
20
|
-
selectPerson(person:
|
|
20
|
+
selectPerson(person: FmodeObject | undefined): Promise<boolean>;
|
|
21
21
|
cancel(): Promise<boolean>;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalPersonSelectComponent, never>;
|
|
23
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalPersonSelectComponent, "app-modal-person-select", never, {}, {}, never, never, true, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from "@angular/core";
|
|
2
|
-
import
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
3
3
|
import { HttpClient } from "@angular/common/http";
|
|
4
4
|
import { NzMessageService } from "ng-zorro-antd/message";
|
|
5
5
|
import { AuthService } from "../../user/login/auth.service";
|
|
@@ -43,8 +43,8 @@ export declare class ModalUserVerifyComponent implements OnInit {
|
|
|
43
43
|
idcard_image_front: string;
|
|
44
44
|
idcard_image_back: string;
|
|
45
45
|
identity_auth: boolean;
|
|
46
|
-
profile:
|
|
47
|
-
account:
|
|
46
|
+
profile: FmodeObject | undefined;
|
|
47
|
+
account: FmodeObject | undefined;
|
|
48
48
|
studentDateil: student;
|
|
49
49
|
eduImage: string;
|
|
50
50
|
bankMap: any;
|
|
@@ -81,8 +81,8 @@ interface UserVerifyOptions {
|
|
|
81
81
|
}
|
|
82
82
|
interface UserVerifyResult {
|
|
83
83
|
verifyResult: UserVerifyOptions;
|
|
84
|
-
profile?:
|
|
85
|
-
account?:
|
|
84
|
+
profile?: FmodeObject;
|
|
85
|
+
account?: FmodeObject;
|
|
86
86
|
}
|
|
87
87
|
export declare function openUserVerifyModal(modalCtrl: ModalController, alertCtrl: AlertController, options?: UserVerifyOptions): Promise<UserVerifyResult | undefined>;
|
|
88
88
|
export {};
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
4
|
import { Location } from '@angular/common';
|
|
5
|
-
import
|
|
5
|
+
import { FmodeObject, FmodeUser } from "@fmode/parse";
|
|
6
6
|
import { ModalController } from '@ionic/angular/standalone';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class PersonDetailComponent implements OnInit {
|
|
@@ -21,7 +21,7 @@ export declare class PersonDetailComponent implements OnInit {
|
|
|
21
21
|
mobile: string | undefined;
|
|
22
22
|
hobby: string | undefined;
|
|
23
23
|
birthday: any;
|
|
24
|
-
person:
|
|
24
|
+
person: FmodeObject | undefined;
|
|
25
25
|
personId: any;
|
|
26
26
|
constructor(route: ActivatedRoute, message: NzMessageService, location: Location, modalCtrl: ModalController);
|
|
27
27
|
ngOnInit(): void;
|
|
@@ -32,10 +32,10 @@ export declare class PersonDetailComponent implements OnInit {
|
|
|
32
32
|
onDateChange(event: any): void;
|
|
33
33
|
getPerson(): Promise<void>;
|
|
34
34
|
gender: any;
|
|
35
|
-
currentUser:
|
|
35
|
+
currentUser: FmodeUser | undefined;
|
|
36
36
|
addPerson(): Promise<any | null>;
|
|
37
37
|
goBack(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<PersonDetailComponent, never>;
|
|
39
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<PersonDetailComponent, "app-person-detail", never, {}, {}, never, never, true, never>;
|
|
40
40
|
}
|
|
41
|
-
export declare function openPersonDetailEditModal(modalCtrl: ModalController, person?:
|
|
41
|
+
export declare function openPersonDetailEditModal(modalCtrl: ModalController, person?: FmodeObject): Promise<any>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PersonService {
|
|
5
5
|
dialog: MatDialog;
|
|
6
6
|
personMap: {
|
|
7
|
-
[key: string]:
|
|
7
|
+
[key: string]: FmodeObject;
|
|
8
8
|
};
|
|
9
9
|
constructor(dialog: MatDialog);
|
|
10
|
-
loadPersonById(id: string): Promise<
|
|
10
|
+
loadPersonById(id: string): Promise<FmodeObject>;
|
|
11
11
|
objectMap: any;
|
|
12
|
-
loadObjectById(className: string, id: string, keys: Array<string>): Promise<
|
|
12
|
+
loadObjectById(className: string, id: string, keys: Array<string>): Promise<FmodeObject>;
|
|
13
13
|
test(): Promise<unknown>;
|
|
14
14
|
/**
|
|
15
15
|
* 角色关系图谱:Agent分析推理
|
|
@@ -21,13 +21,13 @@ export declare class PersonService {
|
|
|
21
21
|
* @param personRelationList
|
|
22
22
|
* @returns
|
|
23
23
|
*/
|
|
24
|
-
loadSelfPerson(): Promise<
|
|
24
|
+
loadSelfPerson(): Promise<FmodeObject>;
|
|
25
25
|
queryOwnPerson(options?: {
|
|
26
26
|
roleTags: any;
|
|
27
|
-
}): Promise<
|
|
27
|
+
}): Promise<FmodeObject[]>;
|
|
28
28
|
queryAuthPerson(options?: {
|
|
29
29
|
roleTags: any;
|
|
30
|
-
}): Promise<
|
|
30
|
+
}): Promise<FmodeObject[]>;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<PersonService, never>;
|
|
32
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<PersonService>;
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="typings/esdk-obs-browser.d.ts" />
|
|
2
2
|
import ObsClient from "esdk-obs-browserjs";
|
|
3
|
-
import
|
|
3
|
+
import { FmodeObject } from "@fmode/parse";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* HwobsDir 华为OBS目录接口
|
|
@@ -43,10 +43,9 @@ export declare class HwobsService {
|
|
|
43
43
|
* @param key
|
|
44
44
|
* @returns
|
|
45
45
|
*/
|
|
46
|
-
uploadFile(file: File, key: string): Promise<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
saveAttachment(file: File, key: string): Promise<Parse.Object<Parse.Attributes>>;
|
|
46
|
+
uploadFile(file: File, key: string): Promise<FmodeObject>;
|
|
47
|
+
checkFileExists(file: any): Promise<FmodeObject>;
|
|
48
|
+
saveAttachment(file: File, key: string): Promise<FmodeObject>;
|
|
50
49
|
getFileHash(file: File): Promise<unknown>;
|
|
51
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<HwobsService, never>;
|
|
52
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<HwobsService>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Platform } from '@ionic/angular';
|
|
2
|
-
import
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
3
3
|
import { Diagnostic } from '@awesome-cordova-plugins/diagnostic/ngx';
|
|
4
4
|
/**
|
|
5
5
|
* MediaCapture插件
|
|
@@ -23,7 +23,7 @@ export interface NovaFile {
|
|
|
23
23
|
size: number;
|
|
24
24
|
metadata?: any;
|
|
25
25
|
md5?: string;
|
|
26
|
-
attachment?:
|
|
26
|
+
attachment?: FmodeObject;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* NovaUploadService 上传服务
|
|
@@ -32,7 +32,7 @@ export interface NovaFile {
|
|
|
32
32
|
export declare class NovaUploadService {
|
|
33
33
|
private platform;
|
|
34
34
|
private diagnostic;
|
|
35
|
-
store:
|
|
35
|
+
store: FmodeObject;
|
|
36
36
|
company: string;
|
|
37
37
|
uptoken: string;
|
|
38
38
|
qiniuConf: any;
|
|
@@ -61,7 +61,7 @@ export declare class NovaUploadService {
|
|
|
61
61
|
}
|
|
62
62
|
*/
|
|
63
63
|
upload(file: File, onProgress?: Function): Promise<NovaFile>;
|
|
64
|
-
getAttachByMd5(fileMd5: string): Promise<
|
|
64
|
+
getAttachByMd5(fileMd5: string): Promise<FmodeObject>;
|
|
65
65
|
/**
|
|
66
66
|
* 移动端上传专用方法
|
|
67
67
|
* @returns
|
|
@@ -103,7 +103,7 @@ export declare class NovaUploadService {
|
|
|
103
103
|
type: string;
|
|
104
104
|
md5?: string;
|
|
105
105
|
metadata?: any;
|
|
106
|
-
}, domain: any, cateId?: any, company?: any, fileSrc?: File): Promise<
|
|
106
|
+
}, domain: any, cateId?: any, company?: any, fileSrc?: File): Promise<FmodeObject>;
|
|
107
107
|
/**
|
|
108
108
|
* 录像并上传
|
|
109
109
|
*/
|
package/lib/text/fm-article-editor/article-editor-topbar/article-editor-topbar.component.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
3
3
|
import { NavController } from '@ionic/angular';
|
|
4
|
+
import { FmodeObject } from "@fmode/parse";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ArticleEditorTopbarComponent implements OnInit {
|
|
6
7
|
private navCtrl;
|
|
7
8
|
popover?: any;
|
|
8
|
-
article:
|
|
9
|
+
article: FmodeObject | undefined;
|
|
9
10
|
contentChanged: boolean;
|
|
10
11
|
isSaving: boolean;
|
|
11
12
|
onNavEvent: EventEmitter<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
2
|
import { ClipboardService } from '../../aigc/comp-markdown-preview/clipboard.service';
|
|
3
3
|
import { WechatJssdkService } from '../../social/wechat/wechat-jssdk.service';
|
|
4
|
-
import
|
|
4
|
+
import { FmodeObject } from "@fmode/parse";
|
|
5
5
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
6
|
import { ModalController } from '@ionic/angular/standalone';
|
|
7
7
|
import { PersonService } from '../../person/person.service';
|
|
@@ -13,28 +13,28 @@ export declare class ArticleService {
|
|
|
13
13
|
private dialog;
|
|
14
14
|
private modalCtrl;
|
|
15
15
|
private personServ;
|
|
16
|
-
Article:
|
|
16
|
+
Article: FmodeObject;
|
|
17
17
|
constructor(router: Router, wxjssdk: WechatJssdkService, clipboard: ClipboardService, dialog: MatDialog, modalCtrl: ModalController, personServ: PersonService);
|
|
18
|
-
articleList: Array<
|
|
18
|
+
articleList: Array<FmodeObject>;
|
|
19
19
|
limit: number;
|
|
20
20
|
skip: number;
|
|
21
21
|
loadArticle(options: {
|
|
22
22
|
currentTab: string;
|
|
23
23
|
isNew: boolean;
|
|
24
|
-
}): Promise<Array<
|
|
24
|
+
}): Promise<Array<FmodeObject>>;
|
|
25
25
|
createArticle(options?: {
|
|
26
26
|
noRedirect: boolean;
|
|
27
|
-
}): Promise<
|
|
27
|
+
}): Promise<FmodeObject>;
|
|
28
28
|
newArticleByStory(): Promise<void>;
|
|
29
29
|
newTitle(): string;
|
|
30
|
-
shareArticle(article?:
|
|
31
|
-
initWxShareInfo(article:
|
|
32
|
-
getArticleBanner(article?:
|
|
33
|
-
loadArtcleAnalysis(articleList:
|
|
34
|
-
viewArticle(article:
|
|
30
|
+
shareArticle(article?: FmodeObject): Promise<void>;
|
|
31
|
+
initWxShareInfo(article: FmodeObject): void;
|
|
32
|
+
getArticleBanner(article?: FmodeObject): string[];
|
|
33
|
+
loadArtcleAnalysis(articleList: FmodeObject[]): Promise<void>;
|
|
34
|
+
viewArticle(article: FmodeObject): void;
|
|
35
35
|
likeMap: any;
|
|
36
|
-
ArticleLike:
|
|
37
|
-
likeArticle(article?:
|
|
36
|
+
ArticleLike: new () => FmodeObject;
|
|
37
|
+
likeArticle(article?: FmodeObject, type?: string): Promise<void>;
|
|
38
38
|
collectMap: any;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleService, never>;
|
|
40
40
|
static ɵprov: i0.ɵɵInjectableDeclaration<ArticleService>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import { FmodeObject } from "@fmode/parse";
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { PersonService } from '../../person/person.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DraftService {
|
|
7
7
|
private personServ;
|
|
8
8
|
DraftListMap: {
|
|
9
|
-
[key: string]:
|
|
9
|
+
[key: string]: FmodeObject[];
|
|
10
10
|
};
|
|
11
11
|
DraftCountMap: {
|
|
12
12
|
[key: string]: any;
|
|
@@ -15,13 +15,13 @@ export declare class DraftService {
|
|
|
15
15
|
aiCount: number;
|
|
16
16
|
draftCount: number;
|
|
17
17
|
constructor(personServ: PersonService);
|
|
18
|
-
loadArticleDraft(article:
|
|
18
|
+
loadArticleDraft(article: FmodeObject): Promise<void>;
|
|
19
19
|
newSectionCreate(params: {
|
|
20
20
|
writingOptions: any;
|
|
21
|
-
person?:
|
|
21
|
+
person?: FmodeObject;
|
|
22
22
|
outlineJson: any;
|
|
23
23
|
contentArray: any;
|
|
24
|
-
draft:
|
|
24
|
+
draft: FmodeObject | undefined;
|
|
25
25
|
sectionIndex: number;
|
|
26
26
|
documentList?: Array<any>;
|
|
27
27
|
afterComplete?: Function;
|
|
@@ -7,6 +7,7 @@ import { NovaUploadService } from '../../../storage';
|
|
|
7
7
|
import { Subscription } from 'rxjs';
|
|
8
8
|
import Quill, { Range } from 'quill';
|
|
9
9
|
import { PersonService } from '../../../person/person.service';
|
|
10
|
+
import { FmodeObject } from "@fmode/parse";
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class FmArticleAitoolComponent implements OnInit {
|
|
12
13
|
private alertCtrl;
|
|
@@ -16,7 +17,7 @@ export declare class FmArticleAitoolComponent implements OnInit {
|
|
|
16
17
|
private cdRef;
|
|
17
18
|
private clipboard;
|
|
18
19
|
private personServ;
|
|
19
|
-
article:
|
|
20
|
+
article: FmodeObject | undefined;
|
|
20
21
|
aitab: string;
|
|
21
22
|
clicktab: string;
|
|
22
23
|
clickTab(clicktab: string): Promise<void>;
|
|
@@ -68,6 +69,6 @@ export interface AIToolOptions {
|
|
|
68
69
|
modalCtrl: ModalController;
|
|
69
70
|
alertCtrl: AlertController;
|
|
70
71
|
animationCtrl: AnimationController;
|
|
71
|
-
article:
|
|
72
|
+
article: FmodeObject;
|
|
72
73
|
}
|
|
73
74
|
export declare function openArticleAITool(options: AIToolOptions): Promise<any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { DraftService } from '../draft.service';
|
|
4
|
-
import
|
|
4
|
+
import { FmodeObject } from "@fmode/parse";
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { MatAccordion } from '@angular/material/expansion';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -9,18 +9,17 @@ export declare class FmArticleDraftComponent implements OnInit {
|
|
|
9
9
|
draftServ: DraftService;
|
|
10
10
|
private cdRef?;
|
|
11
11
|
expandComp: MatAccordion | undefined;
|
|
12
|
-
article:
|
|
13
|
-
selectArticleDraft:
|
|
12
|
+
article: FmodeObject | undefined;
|
|
13
|
+
selectArticleDraft: FmodeObject | undefined;
|
|
14
14
|
isSelectMode: boolean;
|
|
15
15
|
constructor(draftServ: DraftService, cdRef?: ChangeDetectorRef);
|
|
16
16
|
getAcc(): void;
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
onDraftConfirm: EventEmitter<string>;
|
|
19
19
|
confirmDraft(): void;
|
|
20
|
-
previewDraft(draft:
|
|
21
|
-
currentDraft:
|
|
20
|
+
previewDraft(draft: FmodeObject): void;
|
|
21
|
+
currentDraft: FmodeObject | undefined;
|
|
22
22
|
currentHTML: string;
|
|
23
|
-
ArticleDraft: any;
|
|
24
23
|
isCreating: boolean | undefined;
|
|
25
24
|
isCreatingMap: {
|
|
26
25
|
[index: number]: boolean;
|
|
@@ -32,9 +31,9 @@ export declare class FmArticleDraftComponent implements OnInit {
|
|
|
32
31
|
create$Map: {
|
|
33
32
|
[index: number]: Subscription;
|
|
34
33
|
};
|
|
35
|
-
createNewDraft(outlineJson: any, writingOptions: any, person?:
|
|
34
|
+
createNewDraft(outlineJson: any, writingOptions: any, person?: FmodeObject, docList?: Array<any>, documentList?: Array<any>): Promise<void>;
|
|
36
35
|
contentArray: any;
|
|
37
|
-
createAllSections(documentList: any, writingOptions: any, person?:
|
|
36
|
+
createAllSections(documentList: any, writingOptions: any, person?: FmodeObject): Promise<void>;
|
|
38
37
|
stopCreatingAll(): void;
|
|
39
38
|
stopCreating(index: number): void;
|
|
40
39
|
checkAllComplete(index: number): boolean;
|
|
@@ -44,9 +43,9 @@ export declare class FmArticleDraftComponent implements OnInit {
|
|
|
44
43
|
export declare class DialogArticleDraft {
|
|
45
44
|
dialogRef: MatDialogRef<FmArticleDraftComponent>;
|
|
46
45
|
data: {
|
|
47
|
-
person?:
|
|
48
|
-
book?:
|
|
49
|
-
article:
|
|
46
|
+
person?: FmodeObject;
|
|
47
|
+
book?: FmodeObject;
|
|
48
|
+
article: FmodeObject;
|
|
50
49
|
outlineJson: any;
|
|
51
50
|
writingOptions: Array<any>;
|
|
52
51
|
documentList?: Array<any>;
|
|
@@ -54,9 +53,9 @@ export declare class DialogArticleDraft {
|
|
|
54
53
|
createNewDraft?: boolean;
|
|
55
54
|
};
|
|
56
55
|
draftComp: FmArticleDraftComponent | undefined;
|
|
57
|
-
person:
|
|
58
|
-
book:
|
|
59
|
-
article:
|
|
56
|
+
person: FmodeObject | undefined;
|
|
57
|
+
book: FmodeObject | undefined;
|
|
58
|
+
article: FmodeObject | undefined;
|
|
60
59
|
isSelectMode: boolean;
|
|
61
60
|
selectCount: number | undefined;
|
|
62
61
|
outlineJson: any;
|
|
@@ -65,9 +64,9 @@ export declare class DialogArticleDraft {
|
|
|
65
64
|
documentList: Array<any> | undefined;
|
|
66
65
|
createNewDraft: boolean;
|
|
67
66
|
constructor(dialogRef: MatDialogRef<FmArticleDraftComponent>, data: {
|
|
68
|
-
person?:
|
|
69
|
-
book?:
|
|
70
|
-
article:
|
|
67
|
+
person?: FmodeObject;
|
|
68
|
+
book?: FmodeObject;
|
|
69
|
+
article: FmodeObject;
|
|
71
70
|
outlineJson: any;
|
|
72
71
|
writingOptions: Array<any>;
|
|
73
72
|
documentList?: Array<any>;
|