@funhub/platform 0.1.127 → 0.1.130
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/dist/_virtual/_rolldown/runtime.mjs +18 -1
- package/dist/assets/icons/clear.mjs +17 -1
- package/dist/assets/icons/close-icon.mjs +18 -1
- package/dist/assets/icons/close.mjs +14 -1
- package/dist/assets/icons/common/collect_nor.mjs +21 -1
- package/dist/assets/icons/common/collect_sel.mjs +21 -1
- package/dist/assets/icons/common/follow_sel.mjs +17 -1
- package/dist/assets/icons/common/follow_user.mjs +17 -1
- package/dist/assets/icons/common/full_screen.mjs +17 -1
- package/dist/assets/icons/common/god_comment.mjs +17 -1
- package/dist/assets/icons/common/heart-like.mjs +31 -1
- package/dist/assets/icons/common/heart-unlike.mjs +18 -1
- package/dist/assets/icons/common/qq.mjs +32 -1
- package/dist/assets/icons/common/right_arrow.mjs +14 -1
- package/dist/assets/icons/common/share.mjs +17 -1
- package/dist/assets/icons/common/solid-arrow.mjs +17 -1
- package/dist/assets/icons/common/video_play.mjs +18 -1
- package/dist/assets/icons/common/wechat-friends.mjs +40 -1
- package/dist/assets/icons/common/wechat.mjs +39 -1
- package/dist/assets/icons/detail/check-ok.mjs +17 -1
- package/dist/assets/icons/detail/collect_nor.mjs +21 -1
- package/dist/assets/icons/detail/collect_sel.mjs +21 -1
- package/dist/assets/icons/detail/comment.mjs +19 -1
- package/dist/assets/icons/detail/commet_at.mjs +53 -1
- package/dist/assets/icons/detail/give_like.mjs +20 -1
- package/dist/assets/icons/detail/give_like_sel.mjs +27 -1
- package/dist/assets/icons/detail/min-collection.mjs +38 -1
- package/dist/assets/icons/detail/publish_pic.mjs +27 -1
- package/dist/assets/icons/detail/publish_video.mjs +30 -1
- package/dist/assets/icons/detail/share.mjs +17 -1
- package/dist/assets/icons/detail/un_like.mjs +20 -1
- package/dist/assets/icons/detail/un_like_sel.mjs +27 -1
- package/dist/assets/icons/detail/video_flag.mjs +17 -1
- package/dist/assets/icons/detail/video_play.mjs +18 -1
- package/dist/assets/icons/dislike.mjs +20 -1
- package/dist/assets/icons/dislike_sel.mjs +27 -1
- package/dist/assets/icons/empty/img-empty-adduser.mjs +463 -1
- package/dist/assets/icons/empty/img-empty-nodata.mjs +194 -1
- package/dist/assets/icons/eye-icon.mjs +21 -1
- package/dist/assets/icons/eye-off-icon.mjs +21 -1
- package/dist/assets/icons/filter_dark.mjs +17 -1
- package/dist/assets/icons/follow_nor.mjs +44 -1
- package/dist/assets/icons/follow_sel.mjs +31 -1
- package/dist/assets/icons/left-arrow-icon.mjs +18 -1
- package/dist/assets/icons/left_arrow.mjs +14 -1
- package/dist/assets/icons/like.mjs +20 -1
- package/dist/assets/icons/like_sel.mjs +27 -1
- package/dist/assets/icons/publish/publish_add.mjs +17 -1
- package/dist/assets/icons/publish/publish_at.mjs +53 -1
- package/dist/assets/icons/publish/publish_collection.mjs +28 -1
- package/dist/assets/icons/publish/publish_pic.mjs +27 -1
- package/dist/assets/icons/publish/publish_video.mjs +30 -1
- package/dist/assets/icons/refresh.mjs +18 -1
- package/dist/assets/icons/right_arrow.mjs +14 -1
- package/dist/assets/icons/search/avatar.mjs +36 -1
- package/dist/assets/icons/search/filter.mjs +17 -1
- package/dist/assets/icons/search/video.mjs +27 -1
- package/dist/assets/icons/search.mjs +23 -1
- package/dist/assets/icons/share/share-link.mjs +39 -1
- package/dist/assets/icons/tabs/follow.mjs +20 -1
- package/dist/assets/icons/tabs/follow_active.mjs +17 -1
- package/dist/assets/icons/tabs/home.mjs +17 -1
- package/dist/assets/icons/tabs/home_active.mjs +17 -1
- package/dist/assets/icons/tabs/mine.mjs +26 -1
- package/dist/assets/icons/tabs/mine_active.mjs +17 -1
- package/dist/assets/icons/view.mjs +17 -1
- package/dist/assets/images/add.mjs +5 -1
- package/dist/assets/images/default_avatar.mjs +5 -1
- package/dist/assets/images/default_collection_cover.mjs +5 -1
- package/dist/assets/images/empty/img_empty_adduser.mjs +463 -1
- package/dist/assets/images/empty/img_empty_message.mjs +408 -1
- package/dist/assets/images/empty/img_empty_network.mjs +168 -1
- package/dist/assets/images/empty/img_empty_nodata.mjs +194 -1
- package/dist/assets/images/empty/img_empty_picture.mjs +59 -1
- package/dist/assets/images/empty/img_empty_search.mjs +250 -1
- package/dist/assets/images/frame.mjs +5 -1
- package/dist/assets/images/less.mjs +5 -1
- package/dist/assets/images/logo.mjs +5 -1
- package/dist/assets/images/marquee.mjs +5 -1
- package/dist/assets/images/subscript.mjs +5 -1
- package/dist/assets/images/user/default_avatar.mjs +5 -1
- package/dist/biz.mjs +144 -1
- package/dist/common.mjs +44 -1
- package/dist/components/biz/basics/card-item/defaults/default-props.mjs +10 -1
- package/dist/components/biz/basics/card-item/runtime/client.mjs +83 -1
- package/dist/components/biz/basics/card-item/runtime/corners.mjs +33 -1
- package/dist/components/biz/basics/card-item/schema/component.mjs +14 -1
- package/dist/components/biz/basics/card-item/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/card-item/schema/event.schema.mjs +8 -1
- package/dist/components/biz/basics/card-item/schema/index.mjs +17 -1
- package/dist/components/biz/basics/card-item/schema/props.schema.mjs +18 -1
- package/dist/components/biz/basics/card-item/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/card-layout/defaults/default-props.mjs +13 -1
- package/dist/components/biz/basics/card-layout/runtime/client.mjs +38 -1
- package/dist/components/biz/basics/card-layout/schema/component.mjs +14 -1
- package/dist/components/biz/basics/card-layout/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/card-layout/schema/event.schema.mjs +5 -1
- package/dist/components/biz/basics/card-layout/schema/index.mjs +17 -1
- package/dist/components/biz/basics/card-layout/schema/props.schema.mjs +28 -1
- package/dist/components/biz/basics/card-layout/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/fullscreen-feed/basic-fullscreen.mjs +268 -1
- package/dist/components/biz/basics/fullscreen-feed/defaults/default-props.mjs +11 -1
- package/dist/components/biz/basics/fullscreen-feed/index.mjs +12 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/adapters.mjs +97 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/bottom-info.mjs +125 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/client.mjs +390 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/comment-modal.mjs +107 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/interaction-sync.mjs +134 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/post-slide.mjs +232 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/styles.module.mjs +25 -152
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-mixed-feed-controller.mjs +193 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-series-feed-controller.mjs +212 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +273 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/video-slide.mjs +373 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/component.mjs +14 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/data.schema.mjs +11 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/event.schema.mjs +13 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/index.mjs +17 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/props.schema.mjs +20 -1
- package/dist/components/biz/basics/fullscreen-feed/schema/style.schema.mjs +5 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs +19 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/index.mjs +9 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +169 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/component.mjs +14 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/data.schema.mjs +9 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/event.schema.mjs +23 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/index.mjs +17 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/props.schema.mjs +78 -1
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/search/shared/components/search-box.mjs +55 -1
- package/dist/components/biz/basics/search/shared/config/default-data.mjs +15 -1
- package/dist/components/biz/basics/search/shared/config/schema.mjs +50 -1
- package/dist/components/biz/basics/search/variants/basic-search/defaults/default-props.mjs +10 -1
- package/dist/components/biz/basics/search/variants/basic-search/index.mjs +12 -1
- package/dist/components/biz/basics/search/variants/basic-search/runtime/client.mjs +31 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/component.mjs +14 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/event.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/index.mjs +17 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/props.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/basic-search/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/filter-search/defaults/default-props.mjs +14 -1
- package/dist/components/biz/basics/search/variants/filter-search/index.mjs +12 -1
- package/dist/components/biz/basics/search/variants/filter-search/runtime/client.mjs +63 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/component.mjs +14 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/event.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/index.mjs +17 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/props.schema.mjs +22 -1
- package/dist/components/biz/basics/search/variants/filter-search/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/simple-search/defaults/default-props.mjs +10 -1
- package/dist/components/biz/basics/search/variants/simple-search/index.mjs +9 -1
- package/dist/components/biz/basics/search/variants/simple-search/runtime/client.mjs +37 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/component.mjs +14 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/event.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/index.mjs +17 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/props.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/simple-search/schema/style.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/tag-search/defaults/default-props.mjs +18 -1
- package/dist/components/biz/basics/search/variants/tag-search/index.mjs +9 -1
- package/dist/components/biz/basics/search/variants/tag-search/runtime/client.mjs +67 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/component.mjs +14 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/data.schema.mjs +8 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/event.schema.mjs +7 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/index.mjs +17 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/props.schema.mjs +37 -1
- package/dist/components/biz/basics/search/variants/tag-search/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs +15 -1
- package/dist/components/biz/business/banner/variants/basic-banner/index.mjs +12 -1
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +64 -1
- package/dist/components/biz/business/banner/variants/basic-banner/material.mjs +21 -1
- package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +126 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/component.mjs +14 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/data.schema.mjs +53 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/index.mjs +17 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/props.schema.mjs +40 -1
- package/dist/components/biz/business/banner/variants/basic-banner/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/banner/variants/basic-banner/server.mjs +25 -1
- package/dist/components/biz/business/banner-carousel/client.mjs +122 -1
- package/dist/components/biz/business/banner-carousel/default-props.mjs +15 -1
- package/dist/components/biz/business/banner-carousel/material.mjs +21 -1
- package/dist/components/biz/business/banner-carousel/schema.mjs +85 -1
- package/dist/components/biz/business/banner-carousel/server.mjs +22 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/index.mjs +9 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/runtime/client.mjs +41 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/component.mjs +14 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs +17 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/props.schema.mjs +12 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs +9 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/runtime/client.mjs +106 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/component.mjs +14 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs +17 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/props.schema.mjs +12 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/index.mjs +9 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/runtime/client.mjs +41 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/component.mjs +14 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs +17 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/props.schema.mjs +12 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/index.mjs +9 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/runtime/client.mjs +41 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/component.mjs +14 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs +17 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/props.schema.mjs +12 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs +9 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/runtime/client.mjs +106 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/component.mjs +14 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs +17 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/props.schema.mjs +12 -1
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/channel-list/channel-filter-dialog.mjs +190 -1
- package/dist/components/biz/business/channel-list/client.mjs +136 -1
- package/dist/components/biz/business/channel-list/default-props.mjs +12 -1
- package/dist/components/biz/business/channel-list/material.mjs +21 -1
- package/dist/components/biz/business/channel-list/schema.mjs +39 -1
- package/dist/components/biz/business/comment/comment-input.mjs +772 -5
- package/dist/components/biz/business/comment/comment-item.mjs +190 -1
- package/dist/components/biz/business/comment/comment-list.mjs +722 -1
- package/dist/components/biz/business/comment/comment-media.mjs +57 -1
- package/dist/components/biz/business/comment/comment-rich-text.mjs +69 -1
- package/dist/components/biz/business/comment/reply-detail.mjs +978 -1
- package/dist/components/biz/business/comment/time-display.mjs +20 -1
- package/dist/components/biz/business/comment/use-keyboard-handler.mjs +142 -1
- package/dist/components/biz/business/contact/contact-item.mjs +45 -1
- package/dist/components/biz/business/contact/contact-list.mjs +212 -1
- package/dist/components/biz/business/contact/contact-search.mjs +128 -1
- package/dist/components/biz/business/detail/shared/detail-follow-action.mjs +105 -1
- package/dist/components/biz/business/detail/shared/detail-info-tags.mjs +24 -1
- package/dist/components/biz/business/detail/shared/detail-info-title.mjs +82 -1
- package/dist/components/biz/business/detail/shared/detail-introduction.mjs +109 -1
- package/dist/components/biz/business/detail/shared/detail-operate.mjs +340 -1
- package/dist/components/biz/business/detail/shared/detail-structured-data.mjs +63 -1
- package/dist/components/biz/business/detail/shared/editor-preview.mjs +67 -1
- package/dist/components/biz/business/detail/shared/material-route-context.mjs +44 -1
- package/dist/components/biz/business/detail/shared/metadata-utils.mjs +21 -1
- package/dist/components/biz/business/detail/shared/post-recommend-list.mjs +184 -1
- package/dist/components/biz/business/detail/shared/registry.mjs +52 -1
- package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +191 -1
- package/dist/components/biz/business/detail/shared/seo-config.mjs +28 -1
- package/dist/components/biz/business/detail/shared/use-video-detail-webview-bridge.mjs +89 -1
- package/dist/components/biz/business/detail/shared/video-detail-server-data.mjs +46 -1
- package/dist/components/biz/business/detail/shared/video-hero.mjs +395 -1
- package/dist/components/biz/business/detail/video-detail-actions/client.mjs +106 -1
- package/dist/components/biz/business/detail/video-detail-actions/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +11 -1
- package/dist/components/biz/business/detail/video-detail-actions/server.mjs +47 -1
- package/dist/components/biz/business/detail/video-detail-info/client.mjs +41 -1
- package/dist/components/biz/business/detail/video-detail-info/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +20 -1
- package/dist/components/biz/business/detail/video-detail-info/server.mjs +98 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.mjs +51 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +20 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.mjs +45 -1
- package/dist/components/biz/business/detail/video-detail-player/client.mjs +144 -1
- package/dist/components/biz/business/detail/video-detail-player/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +11 -1
- package/dist/components/biz/business/detail/video-detail-player/server.mjs +17 -1
- package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +552 -1
- package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +58 -1
- package/dist/components/biz/business/detail/video-detail-recommend/server.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +68 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs +12 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs +9 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/runtime/client.mjs +66 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/component.mjs +14 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/data.schema.mjs +43 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs +17 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/props.schema.mjs +32 -1
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/floating-ball/client.mjs +31 -1
- package/dist/components/biz/business/floating-ball/material.mjs +18 -1
- package/dist/components/biz/business/floating-ball/schema.mjs +22 -1
- package/dist/components/biz/business/floating-ball/server.mjs +17 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs +11 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs +9 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/runtime/client.mjs +71 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/component.mjs +14 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/data.schema.mjs +11 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs +17 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs +11 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs +9 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/runtime/client.mjs +64 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/component.mjs +14 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/data.schema.mjs +11 -1
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs +17 -1
- package/dist/components/biz/business/fullscreen-feed/variants/shared/runtime-compat.mjs +522 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +29 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +18 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +11 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/server.mjs +17 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +36 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +18 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +24 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/server.mjs +17 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +45 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +18 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +22 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.mjs +17 -1
- package/dist/components/biz/business/header-search/header-logo-search/client.mjs +33 -1
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +18 -1
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +24 -1
- package/dist/components/biz/business/header-search/header-logo-search/server.mjs +17 -1
- package/dist/components/biz/business/header-search/header-search/client.mjs +20 -1
- package/dist/components/biz/business/header-search/header-search/material.mjs +18 -1
- package/dist/components/biz/business/header-search/header-search/schema.mjs +11 -1
- package/dist/components/biz/business/header-search/header-search/server.mjs +17 -1
- package/dist/components/biz/business/header-search/shared/avatar.mjs +44 -1
- package/dist/components/biz/business/header-search/shared/logo.mjs +28 -1
- package/dist/components/biz/business/header-search/shared/search.mjs +28 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.mjs +48 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/index.mjs +14 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +193 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.mjs +18 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/schema.mjs +24 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/server.mjs +49 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +44 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.mjs +14 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +169 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +18 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs +24 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/server.mjs +44 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +498 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +25 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +130 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-runtime-props.mjs +34 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +288 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +38 -1
- package/dist/components/biz/business/image-text-recommend/client.mjs +423 -1
- package/dist/components/biz/business/image-text-recommend/material.mjs +21 -1
- package/dist/components/biz/business/image-text-recommend/schema.mjs +117 -1
- package/dist/components/biz/business/image-text-recommend/server.mjs +53 -1
- package/dist/components/biz/business/image-text-recommend/shared/query.mjs +32 -1
- package/dist/components/biz/business/large-feature-grid/card-item.mjs +91 -1
- package/dist/components/biz/business/large-feature-grid/client.mjs +88 -1
- package/dist/components/biz/business/large-feature-grid/material.mjs +21 -1
- package/dist/components/biz/business/large-feature-grid/schema.mjs +81 -1
- package/dist/components/biz/business/large-feature-grid/server.mjs +16 -1
- package/dist/components/biz/business/marquee/client.mjs +230 -1
- package/dist/components/biz/business/marquee/marquee.module.mjs +13 -25
- package/dist/components/biz/business/marquee/material.mjs +21 -1
- package/dist/components/biz/business/marquee/schema.mjs +97 -1
- package/dist/components/biz/business/marquee/server.mjs +17 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs +21 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs +9 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/channel-filter-dialog.mjs +180 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +148 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/component.mjs +14 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/event.schema.mjs +27 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs +17 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/props.schema.mjs +92 -1
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs +8 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/index.mjs +9 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/runtime/client.mjs +119 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/component.mjs +14 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/data.schema.mjs +8 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/index.mjs +17 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/props.schema.mjs +5 -1
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/profile/profile-header/client.mjs +243 -1
- package/dist/components/biz/business/profile/profile-header/material.mjs +59 -1
- package/dist/components/biz/business/profile/profile-header/schema.mjs +11 -1
- package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +235 -1
- package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +135 -1
- package/dist/components/biz/business/profile/profile-main/client.mjs +234 -1
- package/dist/components/biz/business/profile/profile-main/material.mjs +18 -1
- package/dist/components/biz/business/profile/profile-main/schema.mjs +11 -1
- package/dist/components/biz/business/profile/profile-main/server.mjs +13 -1
- package/dist/components/biz/business/profile/profile-main/shell.mjs +187 -1
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +519 -1
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs +13 -1
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +250 -1
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/server.mjs +13 -1
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +250 -1
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/server.mjs +13 -1
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +149 -1
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs +13 -1
- package/dist/components/biz/business/profile/profile-main/utils.mjs +248 -1
- package/dist/components/biz/business/profile/profile-main/variants.mjs +40 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs +15 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs +9 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/client.mjs +168 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/recommended-users-skeleton.mjs +119 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/component.mjs +14 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/event.schema.mjs +17 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs +17 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/props.schema.mjs +54 -1
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs +15 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/index.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/runtime/client.mjs +52 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/component.mjs +14 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs +17 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/props.schema.mjs +117 -1
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs +22 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/index.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/runtime/client.mjs +53 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/component.mjs +14 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/event.schema.mjs +5 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs +17 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/props.schema.mjs +117 -1
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs +15 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/index.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/runtime/client.mjs +52 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/component.mjs +14 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/event.schema.mjs +25 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs +17 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/props.schema.mjs +128 -1
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs +15 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/index.mjs +12 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/runtime/client.mjs +58 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/component.mjs +14 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/data.schema.mjs +9 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/event.schema.mjs +38 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs +17 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/props.schema.mjs +144 -1
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/style.schema.mjs +7 -1
- package/dist/components/biz/business/search-history/client.mjs +121 -1
- package/dist/components/biz/business/search-history/material.mjs +18 -1
- package/dist/components/biz/business/search-history/schema.mjs +20 -1
- package/dist/components/biz/business/search-history/server.mjs +17 -1
- package/dist/components/biz/business/search-input/client.mjs +108 -1
- package/dist/components/biz/business/search-input/material.mjs +18 -1
- package/dist/components/biz/business/search-input/schema.mjs +11 -1
- package/dist/components/biz/business/search-input/server.mjs +17 -1
- package/dist/components/biz/business/shortcut-grid/client.mjs +64 -1
- package/dist/components/biz/business/shortcut-grid/material.mjs +18 -1
- package/dist/components/biz/business/shortcut-grid/schema.mjs +70 -1
- package/dist/components/biz/business/shortcut-grid/server.mjs +17 -1
- package/dist/components/biz/business/tab-bar/client.mjs +102 -1
- package/dist/components/biz/business/tab-bar/material.mjs +21 -1
- package/dist/components/biz/business/tab-bar/schema.mjs +11 -1
- package/dist/components/biz/business/tab-bar/server.mjs +17 -1
- package/dist/components/biz/business/text-recommend/client.mjs +69 -1
- package/dist/components/biz/business/text-recommend/material.mjs +18 -1
- package/dist/components/biz/business/text-recommend/schema.mjs +28 -1
- package/dist/components/biz/business/text-recommend/server.mjs +18 -1
- package/dist/components/biz/example/button/client.mjs +43 -1
- package/dist/components/biz/example/button/material.mjs +18 -1
- package/dist/components/biz/example/button/schema.mjs +47 -1
- package/dist/components/biz/example/button/server.mjs +32 -1
- package/dist/components/biz/example/button/variants.mjs +22 -1
- package/dist/components/biz/renderer/renderer.mjs +73 -1
- package/dist/components/biz/utils/constants/card-spec.mjs +48 -1
- package/dist/components/biz/utils/helpers/get-channel-list.mjs +14 -1
- package/dist/components/biz/utils/helpers/url.mjs +16 -1
- package/dist/components/biz/utils/schema/data.mjs +22 -1
- package/dist/components/biz/utils/styles/helpers.mjs +84 -1
- package/dist/components/biz/utils/styles/schema.mjs +306 -1
- package/dist/components/biz/utils/transformers/card-grid.mjs +71 -1
- package/dist/components/biz/utils/transformers/data.mjs +171 -1
- package/dist/components/common/at-element/index.mjs +47 -1
- package/dist/components/common/background-preview-modal/background-preview-modal.mjs +73 -1
- package/dist/components/common/blocked-dialog/blocked-dialog.mjs +54 -1
- package/dist/components/common/cards/mini-three-card.mjs +55 -1
- package/dist/components/common/cards/style.module.mjs +12 -24
- package/dist/components/common/collection-popup/collection-create-modal.mjs +130 -1
- package/dist/components/common/collection-popup/index.mjs +292 -1
- package/dist/components/common/debug-locale-switcher/index.mjs +59 -1
- package/dist/components/common/delete-confirm-dialog/delete-confirm-dialog.mjs +66 -1
- package/dist/components/common/empty/index.mjs +51 -1
- package/dist/components/common/follow-button/index.mjs +133 -1
- package/dist/components/common/follow-button/unfollow-confirm-dialog.mjs +23 -1
- package/dist/components/common/funhub-provider/funhub-provider.mjs +85 -1
- package/dist/components/common/header-nav/client.mjs +51 -1
- package/dist/components/common/icons/add.mjs +21 -1
- package/dist/components/common/icons/comment.mjs +30 -1
- package/dist/components/common/icons/delete.mjs +32 -1
- package/dist/components/common/icons/left-arrow.mjs +15 -1
- package/dist/components/common/icons/more.mjs +30 -1
- package/dist/components/common/icons/right-arrow.mjs +19 -1
- package/dist/components/common/icons/setting.mjs +45 -1
- package/dist/components/common/icons/share.mjs +20 -1
- package/dist/components/common/icons/video.mjs +22 -1
- package/dist/components/common/image-crop/image-crop.mjs +182 -1
- package/dist/components/common/image-crop/show-image-crop.mjs +102 -1
- package/dist/components/common/image-crop-modal/image-crop-modal.mjs +128 -2
- package/dist/components/common/info-card/card-header.mjs +70 -1
- package/dist/components/common/info-card/card-text.mjs +49 -1
- package/dist/components/common/interaction-animations.module.mjs +14 -84
- package/dist/components/common/intl-provider/intl-provider.mjs +21 -1
- package/dist/components/common/keep-scroll-position/index.mjs +39 -1
- package/dist/components/common/list/collection-list/collection-list-item.mjs +93 -1
- package/dist/components/common/list/collection-list/collection-list.mjs +21 -1
- package/dist/components/common/list/post-list/post-list-item.mjs +54 -1
- package/dist/components/common/list/post-list/post-list.mjs +143 -1
- package/dist/components/common/list/user-activity-list/user-activity-list-actions.mjs +269 -1
- package/dist/components/common/list/user-activity-list/user-activity-list-item.mjs +468 -1
- package/dist/components/common/list/user-activity-list/user-activity-list.mjs +139 -1
- package/dist/components/common/list/video-list/video-list-item.mjs +104 -1
- package/dist/components/common/list/video-list/video-list.mjs +152 -1
- package/dist/components/common/locale-sync/locale-sync.mjs +62 -1
- package/dist/components/common/login-dialog/login-dialog.mjs +29 -1
- package/dist/components/common/media-preview/index.mjs +162 -1
- package/dist/components/common/media-preview/video-play.mjs +237 -1
- package/dist/components/common/page-loading/index.mjs +20 -1
- package/dist/components/common/page-skeleton/page-skeleton.mjs +7 -1
- package/dist/components/common/photo-grid/common-photo-grid.d.mts +0 -1
- package/dist/components/common/photo-grid/common-photo-grid.mjs +320 -1
- package/dist/components/common/photo-grid/index.mjs +226 -1
- package/dist/components/common/photo-preview/common-photo-preview.mjs +96 -1
- package/dist/components/common/photo-preview/decrypt-loading.mjs +66 -2
- package/dist/components/common/photo-preview/index.d.mts +0 -2
- package/dist/components/common/photo-preview/index.mjs +63 -1
- package/dist/components/common/photo-preview/style.mjs +7 -19
- package/dist/components/common/picker/gender-picker/gender-picker.mjs +66 -1
- package/dist/components/common/picker/picker-drawer/picker-drawer.mjs +78 -1
- package/dist/components/common/popup-video/index.mjs +76 -1
- package/dist/components/common/popup-video/popup-video.module.mjs +7 -16
- package/dist/components/common/series-episodes/index.mjs +555 -1
- package/dist/components/common/share-popup/share-content.mjs +155 -1
- package/dist/components/common/share-popup/share-drawer.mjs +100 -1
- package/dist/components/common/share-popup/share-popup.mjs +326 -1
- package/dist/components/common/skeleton/post-list-item-skeleton.mjs +99 -1
- package/dist/components/common/skeleton/user-activity-list-item-skeleton.mjs +146 -1
- package/dist/components/common/skeleton/video-list-item-skeleton.mjs +110 -1
- package/dist/components/common/tab-bar/index.mjs +120 -1
- package/dist/components/common/theme-sync/index.mjs +22 -1
- package/dist/components/common/top-nav-bar/client.mjs +63 -1
- package/dist/components/common/top-nav-bar/fullscreen.mjs +27 -1
- package/dist/components/common/top-nav-bar/index.mjs +29 -1
- package/dist/components/common/top-nav-bar/normal.mjs +20 -1
- package/dist/components/common/video-player/create-video.mjs +27 -2
- package/dist/components/common/video-player/index.mjs +710 -5
- package/dist/components/common/video-player/playing-videos.mjs +73 -1
- package/dist/components/common/video-player/process-m3u8-cache.mjs +282 -1
- package/dist/components/common/video-player/style.module.mjs +7 -257
- package/dist/components/common/wait-loading.mjs +119 -1
- package/dist/components/pages/(follow)/_components/follow-button/index.mjs +80 -1
- package/dist/components/pages/(follow)/_components/header-nav/index.mjs +13 -1
- package/dist/components/pages/(follow)/_components/interaction-tabs/index.mjs +43 -1
- package/dist/components/pages/(follow)/_components/user-list/index.mjs +139 -1
- package/dist/components/pages/(follow)/_components/user-list/user-list-item.mjs +46 -1
- package/dist/components/pages/(follow)/fans/index.mjs +10 -1
- package/dist/components/pages/(follow)/fans/page.mjs +95 -1
- package/dist/components/pages/(follow)/followed/index.mjs +10 -1
- package/dist/components/pages/(follow)/followed/page.mjs +95 -1
- package/dist/components/pages/collection-add/index.mjs +10 -1
- package/dist/components/pages/collection-add/page.mjs +161 -1
- package/dist/components/pages/collection-create/form.mjs +163 -1
- package/dist/components/pages/collection-create/index.mjs +10 -1
- package/dist/components/pages/collection-create/page.mjs +28 -1
- package/dist/components/pages/collection-detail/_components/collection-detail-card.mjs +183 -1
- package/dist/components/pages/collection-detail/detail.mjs +538 -1
- package/dist/components/pages/collection-detail/index.mjs +10 -1
- package/dist/components/pages/collection-detail/page.mjs +18 -1
- package/dist/components/pages/edit/index.mjs +10 -1
- package/dist/components/pages/edit/page.mjs +655 -1
- package/dist/components/pages/feed-series/feed-series-client.mjs +382 -1
- package/dist/components/pages/feed-series/page.mjs +97 -1
- package/dist/components/pages/feedback/_components/feedback-form.mjs +256 -1
- package/dist/components/pages/feedback/index.mjs +10 -1
- package/dist/components/pages/feedback/page.mjs +10 -1
- package/dist/components/pages/fullscreen-feed/index.mjs +10 -1
- package/dist/components/pages/fullscreen-feed/page.mjs +104 -1
- package/dist/components/pages/home/channel-matcher.mjs +30 -1
- package/dist/components/pages/home/client.mjs +155 -1
- package/dist/components/pages/home/index.mjs +56 -1
- package/dist/components/pages/login/agreement-dialog.mjs +104 -1
- package/dist/components/pages/login/auth-guard.mjs +37 -1
- package/dist/components/pages/login/forgot.mjs +130 -1
- package/dist/components/pages/login/index.mjs +107 -1
- package/dist/components/pages/login/login-client.mjs +214 -1
- package/dist/components/pages/login/password.mjs +186 -1
- package/dist/components/pages/login/register.mjs +189 -1
- package/dist/components/pages/login/reset-password.mjs +193 -1
- package/dist/components/pages/login/verify.mjs +212 -3
- package/dist/components/pages/post-detail/page.mjs +28 -1
- package/dist/components/pages/post-detail/post-detail-client.mjs +516 -1
- package/dist/components/pages/profile/index.mjs +10 -1
- package/dist/components/pages/profile/page.mjs +28 -1
- package/dist/components/pages/publish/components/collection-card.mjs +49 -1
- package/dist/components/pages/publish/components/collection-popup.mjs +81 -1
- package/dist/components/pages/publish/components/collection.mjs +97 -1
- package/dist/components/pages/publish/components/cover-item.mjs +46 -1
- package/dist/components/pages/publish/components/editor.mjs +208 -1
- package/dist/components/pages/publish/components/header.mjs +31 -1
- package/dist/components/pages/publish/components/material-grid.mjs +52 -1
- package/dist/components/pages/publish/components/material-item.mjs +68 -1
- package/dist/components/pages/publish/components/toolbar.mjs +39 -1
- package/dist/components/pages/publish/components/upload-progress.mjs +53 -1
- package/dist/components/pages/publish/components/video-item.mjs +36 -1
- package/dist/components/pages/publish/constants.mjs +8 -1
- package/dist/components/pages/publish/hooks/use-file-upload.mjs +162 -1
- package/dist/components/pages/publish/page-client.mjs +345 -1
- package/dist/components/pages/publish/page.mjs +11 -1
- package/dist/components/pages/publish/utils/file-upload.mjs +155 -1
- package/dist/components/pages/publish/utils/publish-utils.mjs +11 -1
- package/dist/components/pages/search/hot-recommend.mjs +185 -1
- package/dist/components/pages/search/hot-search.mjs +70 -1
- package/dist/components/pages/search/index.mjs +17 -1
- package/dist/components/pages/search/page-client.mjs +159 -1
- package/dist/components/pages/search/search-result/index.mjs +22 -1
- package/dist/components/pages/search/search-result/search-all.mjs +223 -1
- package/dist/components/pages/search/search-result/search-user.mjs +203 -1
- package/dist/components/pages/search/search-result/search-video-info.mjs +324 -1
- package/dist/components/pages/search/search-utils.mjs +48 -1
- package/dist/components/pages/search/style.module.mjs +13 -113
- package/dist/components/pages/search/top-header.mjs +91 -1
- package/dist/components/pages/search-result/page-client.mjs +117 -1
- package/dist/components/pages/search-result/search-all.mjs +82 -1
- package/dist/components/pages/search-result/search-result-skeleton.mjs +22 -1
- package/dist/components/pages/search-result/search-tab.mjs +89 -1
- package/dist/components/pages/search-result/search-user.mjs +253 -1
- package/dist/components/pages/search-result/search-video.mjs +226 -1
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +256 -4
- package/dist/components/pages/settings/_components/settings.mjs +183 -1
- package/dist/components/pages/settings/index.mjs +10 -1
- package/dist/components/pages/settings/page.mjs +13 -1
- package/dist/components/pages/user-follow/_components/follow-no-login.mjs +34 -1
- package/dist/components/pages/user-follow/_components/follow-top-header.mjs +25 -1
- package/dist/components/pages/user-follow/_components/post-tab.mjs +96 -1
- package/dist/components/pages/user-follow/index.mjs +10 -1
- package/dist/components/pages/user-follow/page.mjs +106 -1
- package/dist/components/pages/user-follow/skeleton.mjs +62 -1
- package/dist/components/pages/video-detail/page.mjs +47 -1
- package/dist/components/pages/video-detail/video-detail-client.mjs +357 -1
- package/dist/components/pages/video-list/index.mjs +59 -1
- package/dist/components/pages/video-list/types.mjs +16 -1
- package/dist/components/pages/video-list/video-list-client.mjs +106 -1
- package/dist/components/pages/video-list/video-list-item.mjs +92 -1
- package/dist/components/pages/video-list/video-list-skeleton.mjs +62 -1
- package/dist/components/ui/accordion.mjs +62 -1
- package/dist/components/ui/alert-dialog.mjs +114 -1
- package/dist/components/ui/alert.mjs +50 -1
- package/dist/components/ui/aspect-ratio.mjs +17 -1
- package/dist/components/ui/avatar.mjs +106 -1
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/badge.mjs +38 -1
- package/dist/components/ui/box.mjs +17 -1
- package/dist/components/ui/breadcrumb.mjs +84 -1
- package/dist/components/ui/button-group.d.mts +1 -1
- package/dist/components/ui/button-group.mjs +49 -1
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/components/ui/button.mjs +50 -1
- package/dist/components/ui/card.mjs +65 -1
- package/dist/components/ui/carousel.mjs +142 -1
- package/dist/components/ui/checkbox.mjs +25 -1
- package/dist/components/ui/collapsible.mjs +31 -1
- package/dist/components/ui/combobox.mjs +185 -1
- package/dist/components/ui/context-menu.mjs +150 -1
- package/dist/components/ui/dialog.mjs +109 -1
- package/dist/components/ui/drawer.mjs +91 -1
- package/dist/components/ui/dropdown-menu.mjs +154 -1
- package/dist/components/ui/empty-icons.mjs +96 -7
- package/dist/components/ui/empty.mjs +95 -1
- package/dist/components/ui/field.d.mts +1 -1
- package/dist/components/ui/field.mjs +131 -1
- package/dist/components/ui/hover-card.mjs +43 -1
- package/dist/components/ui/image.mjs +257 -1
- package/dist/components/ui/infinite-scroll.mjs +168 -1
- package/dist/components/ui/input-group.mjs +90 -1
- package/dist/components/ui/input.mjs +19 -1
- package/dist/components/ui/item.mjs +137 -1
- package/dist/components/ui/kbd.mjs +24 -1
- package/dist/components/ui/label.mjs +18 -1
- package/dist/components/ui/legacy/badge.mjs +80 -1
- package/dist/components/ui/legacy/button.mjs +55 -1
- package/dist/components/ui/legacy/input.mjs +22 -1
- package/dist/components/ui/legacy/popover.mjs +69 -1
- package/dist/components/ui/link.mjs +32 -1
- package/dist/components/ui/list.mjs +221 -5
- package/dist/components/ui/loading.mjs +44 -1
- package/dist/components/ui/mask.mjs +17 -1
- package/dist/components/ui/menubar.mjs +154 -1
- package/dist/components/ui/native-select.mjs +43 -1
- package/dist/components/ui/pagination.mjs +90 -1
- package/dist/components/ui/popover.mjs +73 -1
- package/dist/components/ui/popup.mjs +44 -1
- package/dist/components/ui/progress.mjs +53 -1
- package/dist/components/ui/radio-group.mjs +34 -1
- package/dist/components/ui/rate.mjs +69 -1
- package/dist/components/ui/scroll-area.mjs +43 -1
- package/dist/components/ui/select.mjs +113 -1
- package/dist/components/ui/separator.mjs +20 -1
- package/dist/components/ui/sheet.mjs +109 -1
- package/dist/components/ui/skeleton.mjs +16 -1
- package/dist/components/ui/slider.mjs +46 -1
- package/dist/components/ui/sonner.mjs +34 -1
- package/dist/components/ui/spinner.mjs +18 -1
- package/dist/components/ui/switch.mjs +65 -1
- package/dist/components/ui/table.mjs +78 -1
- package/dist/components/ui/tabs.mjs +54 -1
- package/dist/components/ui/text.mjs +20 -1
- package/dist/components/ui/textarea.mjs +16 -1
- package/dist/components/ui/time.mjs +91 -1
- package/dist/components/ui/toggle-group.mjs +59 -1
- package/dist/components/ui/toggle.mjs +41 -1
- package/dist/components/ui/tooltip.mjs +49 -1
- package/dist/components/ui/wheel-picker.mjs +28 -1
- package/dist/constants/event-key.mjs +18 -1
- package/dist/constants/query-key.mjs +32 -1
- package/dist/constants/revalidate.mjs +9 -1
- package/dist/constants/site.mjs +11 -1
- package/dist/constants/url-prefix.mjs +11 -1
- package/dist/hooks/image-text-recommend.mjs +71 -1
- package/dist/hooks/query/hydration-boundary.mjs +34 -1
- package/dist/hooks/query/use-query.mjs +114 -1
- package/dist/hooks/use-auth.mjs +198 -1
- package/dist/hooks/use-browse-report.mjs +466 -1
- package/dist/hooks/use-card-decoration.mjs +92 -1
- package/dist/hooks/use-content-operate.mjs +525 -1
- package/dist/hooks/use-follow.mjs +69 -1
- package/dist/hooks/use-fullscreen-gestures.mjs +144 -1
- package/dist/hooks/use-interaction-animation.mjs +26 -1
- package/dist/hooks/use-keyboard-open.mjs +56 -1
- package/dist/hooks/use-like-dislike.mjs +40 -1
- package/dist/hooks/use-search-history.mjs +53 -1
- package/dist/hooks/use-sticky.mjs +50 -1
- package/dist/hooks.mjs +14 -1
- package/dist/i18n/locales/en.mjs +820 -3
- package/dist/i18n/locales/zh-CN.mjs +820 -3
- package/dist/i18n/messages.mjs +20 -1
- package/dist/i18n/translator.mjs +38 -1
- package/dist/i18n.mjs +165 -1
- package/dist/materials.mjs +61 -1
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +17 -1
- package/dist/pages.mjs +23 -1
- package/dist/seo/build-metadata.mjs +163 -1
- package/dist/seo/config/index.mjs +22 -1
- package/dist/seo/config/page.mjs +301 -6
- package/dist/seo/config/site.mjs +25 -1
- package/dist/seo/constants.mjs +31 -1
- package/dist/seo/helpers.mjs +120 -1
- package/dist/seo/resource-hints.mjs +60 -1
- package/dist/seo/robots.mjs +36 -1
- package/dist/seo/sitemap.mjs +44 -1
- package/dist/seo/structured-data/article.mjs +51 -1
- package/dist/seo/structured-data/common.mjs +60 -1
- package/dist/seo/structured-data/video.mjs +41 -1
- package/dist/seo/viewport.mjs +31 -1
- package/dist/seo.mjs +15 -1
- package/dist/service/generated/client.mjs +1138 -1
- package/dist/service/generated/tanstack.mjs +1049 -1
- package/dist/service.d.mts +1 -2
- package/dist/service.mjs +4 -1
- package/dist/store/create-store.mjs +25 -1
- package/dist/store/modules/app-config-store.mjs +28 -1
- package/dist/store/modules/blocked-modal-store.mjs +30 -1
- package/dist/store/modules/follow-ids-store.mjs +12 -1
- package/dist/store/modules/login-modal-store.mjs +155 -1
- package/dist/store/modules/media-preview-store.mjs +54 -1
- package/dist/store/modules/publish-store.mjs +31 -1
- package/dist/store/modules/use-demo-store.mjs +17 -1
- package/dist/store/modules/user-store.mjs +113 -1
- package/dist/store.mjs +10 -1
- package/dist/types/safe-at-user.mjs +15 -1
- package/dist/types/safe-comment.mjs +30 -1
- package/dist/types/safe-grid.mjs +36 -1
- package/dist/types/safe-replay.mjs +43 -1
- package/dist/types/share.mjs +16 -1
- package/dist/ui.mjs +57 -1
- package/dist/utils/api-collect.mjs +14 -1
- package/dist/utils/channel-storage.mjs +57 -1
- package/dist/utils/cn.mjs +15 -1
- package/dist/utils/common.mjs +296 -1
- package/dist/utils/db.mjs +80 -1
- package/dist/utils/decrypt-image-client.mjs +325 -1
- package/dist/utils/decrypt.worker.mjs +20 -2
- package/dist/utils/event-bus.mjs +33 -1
- package/dist/utils/follow-service.mjs +87 -1
- package/dist/utils/get-res-url.mjs +94 -1
- package/dist/utils/helper.mjs +33 -1
- package/dist/utils/http.mjs +194 -1
- package/dist/utils/image-compression.mjs +59 -1
- package/dist/utils/image-crop.mjs +110 -1
- package/dist/utils/loaders.mjs +51 -1
- package/dist/utils/login-modal-bridge.mjs +65 -1
- package/dist/utils/media.mjs +128 -1
- package/dist/utils/password-validator.mjs +86 -1
- package/dist/utils/s3-uploader.mjs +40 -1
- package/dist/utils/schema/material.mjs +24 -1
- package/dist/utils/schema/schema.mjs +147 -1
- package/dist/utils/schema/utils.mjs +27 -1
- package/dist/utils/share-manager.mjs +183 -1
- package/dist/utils/tools.mjs +105 -1
- package/dist/utils/uint8.mjs +46 -1
- package/dist/utils/upload-file.mjs +429 -1
- package/dist/utils.mjs +21 -1
- package/package.json +30 -30
- package/dist/components/common/skeleton/search-video-card-skeleton.mjs +0 -2
- package/dist/service/register-by-verify-email-code.d.mts +0 -15
- package/dist/service/register-by-verify-email-code.mjs +0 -2
package/dist/service.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
|
|
2
2
|
import { gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserViewUserInfo, pCommunityAddContentToCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetNewstVideoList, pContentGetPopularVideoList, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetFollowStats, pInteractionBatchGetLikeStatus, pInteractionBatchQueryContentInteractions, pInteractionBrowse, pInteractionCancelDislike, pInteractionCancelLike, pInteractionCheckCollect, pInteractionCheckFollow, pInteractionClearBrowseHistory, pInteractionCreateFolder, pInteractionDeleteBrowseRecord, pInteractionDeleteFolder, pInteractionDislike, pInteractionDislikeComment, pInteractionFollow, pInteractionLike, pInteractionLikeComment, pInteractionMoveCollects, pInteractionRemoveCollect, pInteractionTrackEventsBatch, pInteractionUnfollow, pInteractionUnifiedBatchLikeDislike, pInteractionUpdateFolder, pInteractionUpdateFollowingContentUpdateTime, pUserEditUserInfo, pUserLogin, pUserRegister, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode } from "./service/generated/client.mjs";
|
|
3
3
|
import { createQueryKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserViewUserInfoKey, pCommunityAddContentToCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowseKey, pInteractionCancelDislikeKey, pInteractionCancelLikeKey, pInteractionCheckCollectKey, pInteractionCheckFollowKey, pInteractionClearBrowseHistoryKey, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolderKey, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollowKey, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollectsKey, pInteractionRemoveCollectKey, pInteractionTrackEventsBatchKey, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfoKey, pUserLoginKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey } from "./service/generated/tanstack.mjs";
|
|
4
|
-
|
|
5
|
-
export { createQueryKey, gCommunityGetCollectionInfo, gCommunityGetCollectionInfoKey, gCommunityGetComments, gCommunityGetCommentsKey, gCommunityGetContentInfo, gCommunityGetContentInfoKey, gCommunityGetContentList, gCommunityGetContentListKey, gCommunityGetHotContentList, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollections, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollections, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCode, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannels, gContentGetAppChannelsKey, gContentGetAppComponent, gContentGetAppComponentKey, gContentGetGuessYouLikeVideos, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoList, gContentGetHotVideoListKey, gContentGetRecommendSearchList, gContentGetRecommendSearchListKey, gContentGetRecommendVideoList, gContentGetRecommendVideoListKey, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBall, gContentListVisibleFloatingBallKey, gContentProcessM3u8, gContentProcessM3u8Key, gInteractionCheckMutualFollow, gInteractionCheckMutualFollowKey, gInteractionGetBrowseList, gInteractionGetBrowseListKey, gInteractionGetContentDislikeList, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeList, gInteractionGetContentLikeListKey, gInteractionGetDislikeList, gInteractionGetDislikeListKey, gInteractionGetFolder, gInteractionGetFolderKey, gInteractionGetFolderStats, gInteractionGetFolderStatsKey, gInteractionGetFollowStats, gInteractionGetFollowStatsKey, gInteractionGetFollowerList, gInteractionGetFollowerListKey, gInteractionGetFollowingContentList, gInteractionGetFollowingContentListKey, gInteractionGetFollowingList, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdates, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeList, gInteractionGetLikeListKey, gInteractionListCollects, gInteractionListCollectsKey, gInteractionListFolders, gInteractionListFoldersKey, gUserGetGuestIdentity, gUserGetGuestIdentityKey, gUserGetUserEditInfo, gUserGetUserEditInfoKey, gUserGetUserInfo, gUserGetUserInfoKey, gUserGetUserPrivacySettings, gUserGetUserPrivacySettingsKey, gUserViewUserInfo, gUserViewUserInfoKey, pCommunityAddContentToCollection, pCommunityAddContentToCollectionKey, pCommunityCreateCollection, pCommunityCreateCollectionKey, pCommunityCreateComment, pCommunityCreateCommentKey, pCommunityDeleteCollection, pCommunityDeleteCollectionKey, pCommunityDeleteComment, pCommunityDeleteCommentKey, pCommunityDeleteContent, pCommunityDeleteContentKey, pCommunityDislikeComment, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURL, pCommunityGetUploadPresignedURLKey, pCommunityLikeComment, pCommunityLikeCommentKey, pCommunityMoveCollectionContent, pCommunityMoveCollectionContentKey, pCommunityPublishContent, pCommunityPublishContentKey, pCommunityRemoveContentFromCollection, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfo, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContent, pCommunityShareContentKey, pCommunitySubscribeCollection, pCommunitySubscribeCollectionKey, pCommunityUpdateCollection, pCommunityUpdateCollectionKey, pCommunityUpdateContent, pCommunityUpdateContentKey, pCommunityUploadMedia, pCommunityUploadMediaKey, pContentBatchGetVideoDetail, pContentBatchGetVideoDetailKey, pContentGetNewstVideoList, pContentGetNewstVideoListKey, pContentGetPopularVideoList, pContentGetPopularVideoListKey, pInteractionAddCollect, pInteractionAddCollectKey, pInteractionBatchClearBrowse, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollects, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStats, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatus, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractions, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowse, pInteractionBrowseKey, pInteractionCancelDislike, pInteractionCancelDislikeKey, pInteractionCancelLike, pInteractionCancelLikeKey, pInteractionCheckCollect, pInteractionCheckCollectKey, pInteractionCheckFollow, pInteractionCheckFollowKey, pInteractionClearBrowseHistory, pInteractionClearBrowseHistoryKey, pInteractionCreateFolder, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecord, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolder, pInteractionDeleteFolderKey, pInteractionDislike, pInteractionDislikeComment, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollow, pInteractionFollowKey, pInteractionLike, pInteractionLikeComment, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollects, pInteractionMoveCollectsKey, pInteractionRemoveCollect, pInteractionRemoveCollectKey, pInteractionTrackEventsBatch, pInteractionTrackEventsBatchKey, pInteractionUnfollow, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislike, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolder, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTime, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfo, pUserEditUserInfoKey, pUserLogin, pUserLoginKey, pUserRegister, pUserRegisterByVerifyEmailCode, pUserRegisterKey, pUserResetForgetPassword, pUserResetForgetPasswordKey, pUserResetPassword, pUserResetPasswordKey, pUserSendEmailCode, pUserSendEmailCodeKey, pUserSendForgetEmailCode, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCode, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImage, pUserUploadUserBgImageKey, pUserUserFeedback, pUserUserFeedbackKey, pUserUserPrivacySettings, pUserUserPrivacySettingsKey, pUserVerifyEmailCode, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCode, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCode, pUserVerifyResetPasswordEmailCodeKey };
|
|
4
|
+
export { createQueryKey, gCommunityGetCollectionInfo, gCommunityGetCollectionInfoKey, gCommunityGetComments, gCommunityGetCommentsKey, gCommunityGetContentInfo, gCommunityGetContentInfoKey, gCommunityGetContentList, gCommunityGetContentListKey, gCommunityGetHotContentList, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollections, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollections, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCode, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannels, gContentGetAppChannelsKey, gContentGetAppComponent, gContentGetAppComponentKey, gContentGetGuessYouLikeVideos, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoList, gContentGetHotVideoListKey, gContentGetRecommendSearchList, gContentGetRecommendSearchListKey, gContentGetRecommendVideoList, gContentGetRecommendVideoListKey, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBall, gContentListVisibleFloatingBallKey, gContentProcessM3u8, gContentProcessM3u8Key, gInteractionCheckMutualFollow, gInteractionCheckMutualFollowKey, gInteractionGetBrowseList, gInteractionGetBrowseListKey, gInteractionGetContentDislikeList, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeList, gInteractionGetContentLikeListKey, gInteractionGetDislikeList, gInteractionGetDislikeListKey, gInteractionGetFolder, gInteractionGetFolderKey, gInteractionGetFolderStats, gInteractionGetFolderStatsKey, gInteractionGetFollowStats, gInteractionGetFollowStatsKey, gInteractionGetFollowerList, gInteractionGetFollowerListKey, gInteractionGetFollowingContentList, gInteractionGetFollowingContentListKey, gInteractionGetFollowingList, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdates, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeList, gInteractionGetLikeListKey, gInteractionListCollects, gInteractionListCollectsKey, gInteractionListFolders, gInteractionListFoldersKey, gUserGetGuestIdentity, gUserGetGuestIdentityKey, gUserGetUserEditInfo, gUserGetUserEditInfoKey, gUserGetUserInfo, gUserGetUserInfoKey, gUserGetUserPrivacySettings, gUserGetUserPrivacySettingsKey, gUserViewUserInfo, gUserViewUserInfoKey, pCommunityAddContentToCollection, pCommunityAddContentToCollectionKey, pCommunityCreateCollection, pCommunityCreateCollectionKey, pCommunityCreateComment, pCommunityCreateCommentKey, pCommunityDeleteCollection, pCommunityDeleteCollectionKey, pCommunityDeleteComment, pCommunityDeleteCommentKey, pCommunityDeleteContent, pCommunityDeleteContentKey, pCommunityDislikeComment, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURL, pCommunityGetUploadPresignedURLKey, pCommunityLikeComment, pCommunityLikeCommentKey, pCommunityMoveCollectionContent, pCommunityMoveCollectionContentKey, pCommunityPublishContent, pCommunityPublishContentKey, pCommunityRemoveContentFromCollection, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfo, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContent, pCommunityShareContentKey, pCommunitySubscribeCollection, pCommunitySubscribeCollectionKey, pCommunityUpdateCollection, pCommunityUpdateCollectionKey, pCommunityUpdateContent, pCommunityUpdateContentKey, pCommunityUploadMedia, pCommunityUploadMediaKey, pContentBatchGetVideoDetail, pContentBatchGetVideoDetailKey, pContentGetNewstVideoList, pContentGetNewstVideoListKey, pContentGetPopularVideoList, pContentGetPopularVideoListKey, pInteractionAddCollect, pInteractionAddCollectKey, pInteractionBatchClearBrowse, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollects, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStats, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatus, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractions, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowse, pInteractionBrowseKey, pInteractionCancelDislike, pInteractionCancelDislikeKey, pInteractionCancelLike, pInteractionCancelLikeKey, pInteractionCheckCollect, pInteractionCheckCollectKey, pInteractionCheckFollow, pInteractionCheckFollowKey, pInteractionClearBrowseHistory, pInteractionClearBrowseHistoryKey, pInteractionCreateFolder, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecord, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolder, pInteractionDeleteFolderKey, pInteractionDislike, pInteractionDislikeComment, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollow, pInteractionFollowKey, pInteractionLike, pInteractionLikeComment, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollects, pInteractionMoveCollectsKey, pInteractionRemoveCollect, pInteractionRemoveCollectKey, pInteractionTrackEventsBatch, pInteractionTrackEventsBatchKey, pInteractionUnfollow, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislike, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolder, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTime, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfo, pUserEditUserInfoKey, pUserLogin, pUserLoginKey, pUserRegister, pUserRegisterKey, pUserResetForgetPassword, pUserResetForgetPasswordKey, pUserResetPassword, pUserResetPasswordKey, pUserSendEmailCode, pUserSendEmailCodeKey, pUserSendForgetEmailCode, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCode, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImage, pUserUploadUserBgImageKey, pUserUserFeedback, pUserUserFeedbackKey, pUserUserPrivacySettings, pUserUserPrivacySettingsKey, pUserVerifyEmailCode, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCode, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCode, pUserVerifyResetPasswordEmailCodeKey };
|
package/dist/service.mjs
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import{gCommunityGetCollectionInfo as e,gCommunityGetComments as t,gCommunityGetContentInfo as n,gCommunityGetContentList as r,gCommunityGetHotContentList as i,gCommunityGetSubscribedCollections as a,gCommunityGetUserCollections as o,gContentGetAdvertiseByCode as s,gContentGetAppChannelBlock as c,gContentGetAppChannelBlockData as l,gContentGetAppChannels as u,gContentGetAppComponent as d,gContentGetGuessYouLikeVideos as f,gContentGetHotVideoList as p,gContentGetRecommendSearchList as m,gContentGetRecommendVideoList as h,gContentGetVideoDetail as g,gContentGetVideoDetailByApi as _,gContentListVisibleFloatingBall as v,gContentProcessM3u8 as y,gInteractionCheckMutualFollow as b,gInteractionGetBrowseList as x,gInteractionGetContentDislikeList as S,gInteractionGetContentLikeList as C,gInteractionGetDislikeList as w,gInteractionGetFolder as T,gInteractionGetFolderStats as E,gInteractionGetFollowStats as D,gInteractionGetFollowerList as O,gInteractionGetFollowingContentList as k,gInteractionGetFollowingList as A,gInteractionGetFollowingUserUpdates as j,gInteractionGetLikeList as M,gInteractionListCollects as N,gInteractionListFolders as P,gUserGetGuestIdentity as F,gUserGetUserEditInfo as I,gUserGetUserInfo as L,gUserGetUserPrivacySettings as R,gUserViewUserInfo as z,pCommunityAddContentToCollection as B,pCommunityCreateCollection as V,pCommunityCreateComment as H,pCommunityDeleteCollection as U,pCommunityDeleteComment as W,pCommunityDeleteContent as G,pCommunityDislikeComment as K,pCommunityGetUploadPresignedURL as q,pCommunityLikeComment as J,pCommunityMoveCollectionContent as Y,pCommunityPublishContent as X,pCommunityRemoveContentFromCollection as Z,pCommunitySearchCurAccountFollowingUsersInfo as Q,pCommunityShareContent as $,pCommunitySubscribeCollection as ee,pCommunityUpdateCollection as te,pCommunityUpdateContent as ne,pCommunityUploadMedia as re,pContentBatchGetVideoDetail as ie,pContentGetNewstVideoList as ae,pContentGetPopularVideoList as oe,pInteractionAddCollect as se,pInteractionBatchClearBrowse as ce,pInteractionBatchDeleteCollects as le,pInteractionBatchGetCommentLikeStatus as ue,pInteractionBatchGetFollowStats as de,pInteractionBatchGetLikeStatus as fe,pInteractionBatchQueryContentInteractions as pe,pInteractionBrowse as me,pInteractionCancelDislike as he,pInteractionCancelLike as ge,pInteractionCheckCollect as _e,pInteractionCheckFollow as ve,pInteractionClearBrowseHistory as ye,pInteractionCreateFolder as be,pInteractionDeleteBrowseRecord as xe,pInteractionDeleteFolder as Se,pInteractionDislike as Ce,pInteractionDislikeComment as we,pInteractionFollow as Te,pInteractionLike as Ee,pInteractionLikeComment as De,pInteractionMoveCollects as Oe,pInteractionRemoveCollect as ke,pInteractionTrackEventsBatch as Ae,pInteractionUnfollow as je,pInteractionUnifiedBatchLikeDislike as Me,pInteractionUpdateFolder as Ne,pInteractionUpdateFollowingContentUpdateTime as Pe,pUserEditUserInfo as Fe,pUserLogin as Ie,pUserRegister as Le,pUserResetForgetPassword as Re,pUserResetPassword as ze,pUserSendEmailCode as Be,pUserSendForgetEmailCode as Ve,pUserSendResetPasswordEmailCode as He,pUserUploadUserBgImage as Ue,pUserUserFeedback as We,pUserUserPrivacySettings as Ge,pUserVerifyEmailCode as Ke,pUserVerifyForgetEmailCode as qe,pUserVerifyResetPasswordEmailCode as Je}from"./service/generated/client.mjs";import{createQueryKey as Ye,gCommunityGetCollectionInfoKey as Xe,gCommunityGetCommentsKey as Ze,gCommunityGetContentInfoKey as Qe,gCommunityGetContentListKey as $e,gCommunityGetHotContentListKey as et,gCommunityGetSubscribedCollectionsKey as tt,gCommunityGetUserCollectionsKey as nt,gContentGetAdvertiseByCodeKey as rt,gContentGetAppChannelBlockDataKey as it,gContentGetAppChannelBlockKey as at,gContentGetAppChannelsKey as ot,gContentGetAppComponentKey as st,gContentGetGuessYouLikeVideosKey as ct,gContentGetHotVideoListKey as lt,gContentGetRecommendSearchListKey as ut,gContentGetRecommendVideoListKey as dt,gContentGetVideoDetailByApiKey as ft,gContentGetVideoDetailKey as pt,gContentListVisibleFloatingBallKey as mt,gContentProcessM3u8Key as ht,gInteractionCheckMutualFollowKey as gt,gInteractionGetBrowseListKey as _t,gInteractionGetContentDislikeListKey as vt,gInteractionGetContentLikeListKey as yt,gInteractionGetDislikeListKey as bt,gInteractionGetFolderKey as xt,gInteractionGetFolderStatsKey as St,gInteractionGetFollowStatsKey as Ct,gInteractionGetFollowerListKey as wt,gInteractionGetFollowingContentListKey as Tt,gInteractionGetFollowingListKey as Et,gInteractionGetFollowingUserUpdatesKey as Dt,gInteractionGetLikeListKey as Ot,gInteractionListCollectsKey as kt,gInteractionListFoldersKey as At,gUserGetGuestIdentityKey as jt,gUserGetUserEditInfoKey as Mt,gUserGetUserInfoKey as Nt,gUserGetUserPrivacySettingsKey as Pt,gUserViewUserInfoKey as Ft,pCommunityAddContentToCollectionKey as It,pCommunityCreateCollectionKey as Lt,pCommunityCreateCommentKey as Rt,pCommunityDeleteCollectionKey as zt,pCommunityDeleteCommentKey as Bt,pCommunityDeleteContentKey as Vt,pCommunityDislikeCommentKey as Ht,pCommunityGetUploadPresignedURLKey as Ut,pCommunityLikeCommentKey as Wt,pCommunityMoveCollectionContentKey as Gt,pCommunityPublishContentKey as Kt,pCommunityRemoveContentFromCollectionKey as qt,pCommunitySearchCurAccountFollowingUsersInfoKey as Jt,pCommunityShareContentKey as Yt,pCommunitySubscribeCollectionKey as Xt,pCommunityUpdateCollectionKey as Zt,pCommunityUpdateContentKey as Qt,pCommunityUploadMediaKey as $t,pContentBatchGetVideoDetailKey as en,pContentGetNewstVideoListKey as tn,pContentGetPopularVideoListKey as nn,pInteractionAddCollectKey as rn,pInteractionBatchClearBrowseKey as an,pInteractionBatchDeleteCollectsKey as on,pInteractionBatchGetCommentLikeStatusKey as sn,pInteractionBatchGetFollowStatsKey as cn,pInteractionBatchGetLikeStatusKey as ln,pInteractionBatchQueryContentInteractionsKey as un,pInteractionBrowseKey as dn,pInteractionCancelDislikeKey as fn,pInteractionCancelLikeKey as pn,pInteractionCheckCollectKey as mn,pInteractionCheckFollowKey as hn,pInteractionClearBrowseHistoryKey as gn,pInteractionCreateFolderKey as _n,pInteractionDeleteBrowseRecordKey as vn,pInteractionDeleteFolderKey as yn,pInteractionDislikeCommentKey as bn,pInteractionDislikeKey as xn,pInteractionFollowKey as Sn,pInteractionLikeCommentKey as Cn,pInteractionLikeKey as wn,pInteractionMoveCollectsKey as Tn,pInteractionRemoveCollectKey as En,pInteractionTrackEventsBatchKey as Dn,pInteractionUnfollowKey as On,pInteractionUnifiedBatchLikeDislikeKey as kn,pInteractionUpdateFolderKey as An,pInteractionUpdateFollowingContentUpdateTimeKey as jn,pUserEditUserInfoKey as Mn,pUserLoginKey as Nn,pUserRegisterKey as Pn,pUserResetForgetPasswordKey as Fn,pUserResetPasswordKey as In,pUserSendEmailCodeKey as Ln,pUserSendForgetEmailCodeKey as Rn,pUserSendResetPasswordEmailCodeKey as zn,pUserUploadUserBgImageKey as Bn,pUserUserFeedbackKey as Vn,pUserUserPrivacySettingsKey as Hn,pUserVerifyEmailCodeKey as Un,pUserVerifyForgetEmailCodeKey as Wn,pUserVerifyResetPasswordEmailCodeKey as Gn}from"./service/generated/tanstack.mjs";import{pUserRegisterByVerifyEmailCode as Kn}from"./service/register-by-verify-email-code.mjs";export{Ye as createQueryKey,e as gCommunityGetCollectionInfo,Xe as gCommunityGetCollectionInfoKey,t as gCommunityGetComments,Ze as gCommunityGetCommentsKey,n as gCommunityGetContentInfo,Qe as gCommunityGetContentInfoKey,r as gCommunityGetContentList,$e as gCommunityGetContentListKey,i as gCommunityGetHotContentList,et as gCommunityGetHotContentListKey,a as gCommunityGetSubscribedCollections,tt as gCommunityGetSubscribedCollectionsKey,o as gCommunityGetUserCollections,nt as gCommunityGetUserCollectionsKey,s as gContentGetAdvertiseByCode,rt as gContentGetAdvertiseByCodeKey,c as gContentGetAppChannelBlock,l as gContentGetAppChannelBlockData,it as gContentGetAppChannelBlockDataKey,at as gContentGetAppChannelBlockKey,u as gContentGetAppChannels,ot as gContentGetAppChannelsKey,d as gContentGetAppComponent,st as gContentGetAppComponentKey,f as gContentGetGuessYouLikeVideos,ct as gContentGetGuessYouLikeVideosKey,p as gContentGetHotVideoList,lt as gContentGetHotVideoListKey,m as gContentGetRecommendSearchList,ut as gContentGetRecommendSearchListKey,h as gContentGetRecommendVideoList,dt as gContentGetRecommendVideoListKey,g as gContentGetVideoDetail,_ as gContentGetVideoDetailByApi,ft as gContentGetVideoDetailByApiKey,pt as gContentGetVideoDetailKey,v as gContentListVisibleFloatingBall,mt as gContentListVisibleFloatingBallKey,y as gContentProcessM3u8,ht as gContentProcessM3u8Key,b as gInteractionCheckMutualFollow,gt as gInteractionCheckMutualFollowKey,x as gInteractionGetBrowseList,_t as gInteractionGetBrowseListKey,S as gInteractionGetContentDislikeList,vt as gInteractionGetContentDislikeListKey,C as gInteractionGetContentLikeList,yt as gInteractionGetContentLikeListKey,w as gInteractionGetDislikeList,bt as gInteractionGetDislikeListKey,T as gInteractionGetFolder,xt as gInteractionGetFolderKey,E as gInteractionGetFolderStats,St as gInteractionGetFolderStatsKey,D as gInteractionGetFollowStats,Ct as gInteractionGetFollowStatsKey,O as gInteractionGetFollowerList,wt as gInteractionGetFollowerListKey,k as gInteractionGetFollowingContentList,Tt as gInteractionGetFollowingContentListKey,A as gInteractionGetFollowingList,Et as gInteractionGetFollowingListKey,j as gInteractionGetFollowingUserUpdates,Dt as gInteractionGetFollowingUserUpdatesKey,M as gInteractionGetLikeList,Ot as gInteractionGetLikeListKey,N as gInteractionListCollects,kt as gInteractionListCollectsKey,P as gInteractionListFolders,At as gInteractionListFoldersKey,F as gUserGetGuestIdentity,jt as gUserGetGuestIdentityKey,I as gUserGetUserEditInfo,Mt as gUserGetUserEditInfoKey,L as gUserGetUserInfo,Nt as gUserGetUserInfoKey,R as gUserGetUserPrivacySettings,Pt as gUserGetUserPrivacySettingsKey,z as gUserViewUserInfo,Ft as gUserViewUserInfoKey,B as pCommunityAddContentToCollection,It as pCommunityAddContentToCollectionKey,V as pCommunityCreateCollection,Lt as pCommunityCreateCollectionKey,H as pCommunityCreateComment,Rt as pCommunityCreateCommentKey,U as pCommunityDeleteCollection,zt as pCommunityDeleteCollectionKey,W as pCommunityDeleteComment,Bt as pCommunityDeleteCommentKey,G as pCommunityDeleteContent,Vt as pCommunityDeleteContentKey,K as pCommunityDislikeComment,Ht as pCommunityDislikeCommentKey,q as pCommunityGetUploadPresignedURL,Ut as pCommunityGetUploadPresignedURLKey,J as pCommunityLikeComment,Wt as pCommunityLikeCommentKey,Y as pCommunityMoveCollectionContent,Gt as pCommunityMoveCollectionContentKey,X as pCommunityPublishContent,Kt as pCommunityPublishContentKey,Z as pCommunityRemoveContentFromCollection,qt as pCommunityRemoveContentFromCollectionKey,Q as pCommunitySearchCurAccountFollowingUsersInfo,Jt as pCommunitySearchCurAccountFollowingUsersInfoKey,$ as pCommunityShareContent,Yt as pCommunityShareContentKey,ee as pCommunitySubscribeCollection,Xt as pCommunitySubscribeCollectionKey,te as pCommunityUpdateCollection,Zt as pCommunityUpdateCollectionKey,ne as pCommunityUpdateContent,Qt as pCommunityUpdateContentKey,re as pCommunityUploadMedia,$t as pCommunityUploadMediaKey,ie as pContentBatchGetVideoDetail,en as pContentBatchGetVideoDetailKey,ae as pContentGetNewstVideoList,tn as pContentGetNewstVideoListKey,oe as pContentGetPopularVideoList,nn as pContentGetPopularVideoListKey,se as pInteractionAddCollect,rn as pInteractionAddCollectKey,ce as pInteractionBatchClearBrowse,an as pInteractionBatchClearBrowseKey,le as pInteractionBatchDeleteCollects,on as pInteractionBatchDeleteCollectsKey,ue as pInteractionBatchGetCommentLikeStatus,sn as pInteractionBatchGetCommentLikeStatusKey,de as pInteractionBatchGetFollowStats,cn as pInteractionBatchGetFollowStatsKey,fe as pInteractionBatchGetLikeStatus,ln as pInteractionBatchGetLikeStatusKey,pe as pInteractionBatchQueryContentInteractions,un as pInteractionBatchQueryContentInteractionsKey,me as pInteractionBrowse,dn as pInteractionBrowseKey,he as pInteractionCancelDislike,fn as pInteractionCancelDislikeKey,ge as pInteractionCancelLike,pn as pInteractionCancelLikeKey,_e as pInteractionCheckCollect,mn as pInteractionCheckCollectKey,ve as pInteractionCheckFollow,hn as pInteractionCheckFollowKey,ye as pInteractionClearBrowseHistory,gn as pInteractionClearBrowseHistoryKey,be as pInteractionCreateFolder,_n as pInteractionCreateFolderKey,xe as pInteractionDeleteBrowseRecord,vn as pInteractionDeleteBrowseRecordKey,Se as pInteractionDeleteFolder,yn as pInteractionDeleteFolderKey,Ce as pInteractionDislike,we as pInteractionDislikeComment,bn as pInteractionDislikeCommentKey,xn as pInteractionDislikeKey,Te as pInteractionFollow,Sn as pInteractionFollowKey,Ee as pInteractionLike,De as pInteractionLikeComment,Cn as pInteractionLikeCommentKey,wn as pInteractionLikeKey,Oe as pInteractionMoveCollects,Tn as pInteractionMoveCollectsKey,ke as pInteractionRemoveCollect,En as pInteractionRemoveCollectKey,Ae as pInteractionTrackEventsBatch,Dn as pInteractionTrackEventsBatchKey,je as pInteractionUnfollow,On as pInteractionUnfollowKey,Me as pInteractionUnifiedBatchLikeDislike,kn as pInteractionUnifiedBatchLikeDislikeKey,Ne as pInteractionUpdateFolder,An as pInteractionUpdateFolderKey,Pe as pInteractionUpdateFollowingContentUpdateTime,jn as pInteractionUpdateFollowingContentUpdateTimeKey,Fe as pUserEditUserInfo,Mn as pUserEditUserInfoKey,Ie as pUserLogin,Nn as pUserLoginKey,Le as pUserRegister,Kn as pUserRegisterByVerifyEmailCode,Pn as pUserRegisterKey,Re as pUserResetForgetPassword,Fn as pUserResetForgetPasswordKey,ze as pUserResetPassword,In as pUserResetPasswordKey,Be as pUserSendEmailCode,Ln as pUserSendEmailCodeKey,Ve as pUserSendForgetEmailCode,Rn as pUserSendForgetEmailCodeKey,He as pUserSendResetPasswordEmailCode,zn as pUserSendResetPasswordEmailCodeKey,Ue as pUserUploadUserBgImage,Bn as pUserUploadUserBgImageKey,We as pUserUserFeedback,Vn as pUserUserFeedbackKey,Ge as pUserUserPrivacySettings,Hn as pUserUserPrivacySettingsKey,Ke as pUserVerifyEmailCode,Un as pUserVerifyEmailCodeKey,qe as pUserVerifyForgetEmailCode,Wn as pUserVerifyForgetEmailCodeKey,Je as pUserVerifyResetPasswordEmailCode,Gn as pUserVerifyResetPasswordEmailCodeKey};
|
|
2
|
+
import { gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserViewUserInfo, pCommunityAddContentToCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetNewstVideoList, pContentGetPopularVideoList, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetFollowStats, pInteractionBatchGetLikeStatus, pInteractionBatchQueryContentInteractions, pInteractionBrowse, pInteractionCancelDislike, pInteractionCancelLike, pInteractionCheckCollect, pInteractionCheckFollow, pInteractionClearBrowseHistory, pInteractionCreateFolder, pInteractionDeleteBrowseRecord, pInteractionDeleteFolder, pInteractionDislike, pInteractionDislikeComment, pInteractionFollow, pInteractionLike, pInteractionLikeComment, pInteractionMoveCollects, pInteractionRemoveCollect, pInteractionTrackEventsBatch, pInteractionUnfollow, pInteractionUnifiedBatchLikeDislike, pInteractionUpdateFolder, pInteractionUpdateFollowingContentUpdateTime, pUserEditUserInfo, pUserLogin, pUserRegister, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode } from "./service/generated/client.mjs";
|
|
3
|
+
import { createQueryKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserViewUserInfoKey, pCommunityAddContentToCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowseKey, pInteractionCancelDislikeKey, pInteractionCancelLikeKey, pInteractionCheckCollectKey, pInteractionCheckFollowKey, pInteractionClearBrowseHistoryKey, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolderKey, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollowKey, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollectsKey, pInteractionRemoveCollectKey, pInteractionTrackEventsBatchKey, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfoKey, pUserLoginKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey } from "./service/generated/tanstack.mjs";
|
|
4
|
+
|
|
5
|
+
export { createQueryKey, gCommunityGetCollectionInfo, gCommunityGetCollectionInfoKey, gCommunityGetComments, gCommunityGetCommentsKey, gCommunityGetContentInfo, gCommunityGetContentInfoKey, gCommunityGetContentList, gCommunityGetContentListKey, gCommunityGetHotContentList, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollections, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollections, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCode, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannels, gContentGetAppChannelsKey, gContentGetAppComponent, gContentGetAppComponentKey, gContentGetGuessYouLikeVideos, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoList, gContentGetHotVideoListKey, gContentGetRecommendSearchList, gContentGetRecommendSearchListKey, gContentGetRecommendVideoList, gContentGetRecommendVideoListKey, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBall, gContentListVisibleFloatingBallKey, gContentProcessM3u8, gContentProcessM3u8Key, gInteractionCheckMutualFollow, gInteractionCheckMutualFollowKey, gInteractionGetBrowseList, gInteractionGetBrowseListKey, gInteractionGetContentDislikeList, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeList, gInteractionGetContentLikeListKey, gInteractionGetDislikeList, gInteractionGetDislikeListKey, gInteractionGetFolder, gInteractionGetFolderKey, gInteractionGetFolderStats, gInteractionGetFolderStatsKey, gInteractionGetFollowStats, gInteractionGetFollowStatsKey, gInteractionGetFollowerList, gInteractionGetFollowerListKey, gInteractionGetFollowingContentList, gInteractionGetFollowingContentListKey, gInteractionGetFollowingList, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdates, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeList, gInteractionGetLikeListKey, gInteractionListCollects, gInteractionListCollectsKey, gInteractionListFolders, gInteractionListFoldersKey, gUserGetGuestIdentity, gUserGetGuestIdentityKey, gUserGetUserEditInfo, gUserGetUserEditInfoKey, gUserGetUserInfo, gUserGetUserInfoKey, gUserGetUserPrivacySettings, gUserGetUserPrivacySettingsKey, gUserViewUserInfo, gUserViewUserInfoKey, pCommunityAddContentToCollection, pCommunityAddContentToCollectionKey, pCommunityCreateCollection, pCommunityCreateCollectionKey, pCommunityCreateComment, pCommunityCreateCommentKey, pCommunityDeleteCollection, pCommunityDeleteCollectionKey, pCommunityDeleteComment, pCommunityDeleteCommentKey, pCommunityDeleteContent, pCommunityDeleteContentKey, pCommunityDislikeComment, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURL, pCommunityGetUploadPresignedURLKey, pCommunityLikeComment, pCommunityLikeCommentKey, pCommunityMoveCollectionContent, pCommunityMoveCollectionContentKey, pCommunityPublishContent, pCommunityPublishContentKey, pCommunityRemoveContentFromCollection, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfo, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContent, pCommunityShareContentKey, pCommunitySubscribeCollection, pCommunitySubscribeCollectionKey, pCommunityUpdateCollection, pCommunityUpdateCollectionKey, pCommunityUpdateContent, pCommunityUpdateContentKey, pCommunityUploadMedia, pCommunityUploadMediaKey, pContentBatchGetVideoDetail, pContentBatchGetVideoDetailKey, pContentGetNewstVideoList, pContentGetNewstVideoListKey, pContentGetPopularVideoList, pContentGetPopularVideoListKey, pInteractionAddCollect, pInteractionAddCollectKey, pInteractionBatchClearBrowse, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollects, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStats, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatus, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractions, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowse, pInteractionBrowseKey, pInteractionCancelDislike, pInteractionCancelDislikeKey, pInteractionCancelLike, pInteractionCancelLikeKey, pInteractionCheckCollect, pInteractionCheckCollectKey, pInteractionCheckFollow, pInteractionCheckFollowKey, pInteractionClearBrowseHistory, pInteractionClearBrowseHistoryKey, pInteractionCreateFolder, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecord, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolder, pInteractionDeleteFolderKey, pInteractionDislike, pInteractionDislikeComment, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollow, pInteractionFollowKey, pInteractionLike, pInteractionLikeComment, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollects, pInteractionMoveCollectsKey, pInteractionRemoveCollect, pInteractionRemoveCollectKey, pInteractionTrackEventsBatch, pInteractionTrackEventsBatchKey, pInteractionUnfollow, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislike, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolder, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTime, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfo, pUserEditUserInfoKey, pUserLogin, pUserLoginKey, pUserRegister, pUserRegisterKey, pUserResetForgetPassword, pUserResetForgetPasswordKey, pUserResetPassword, pUserResetPasswordKey, pUserSendEmailCode, pUserSendEmailCodeKey, pUserSendForgetEmailCode, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCode, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImage, pUserUploadUserBgImageKey, pUserUserFeedback, pUserUserFeedbackKey, pUserUserPrivacySettings, pUserUserPrivacySettingsKey, pUserVerifyEmailCode, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCode, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCode, pUserVerifyResetPasswordEmailCodeKey };
|
|
@@ -1,2 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
import{create
|
|
2
|
+
import { create } from "zustand";
|
|
3
|
+
import { devtools, persist, subscribeWithSelector } from "zustand/middleware";
|
|
4
|
+
import { immer } from "zustand/middleware/immer";
|
|
5
|
+
|
|
6
|
+
//#region store/create-store.ts
|
|
7
|
+
/**
|
|
8
|
+
* 创建 store
|
|
9
|
+
* @param initializer - 初始化函数
|
|
10
|
+
* @param options - 选项
|
|
11
|
+
* @returns create<T>()(withMiddlewares as any)
|
|
12
|
+
*/
|
|
13
|
+
function createStore(initializer, options = {}) {
|
|
14
|
+
const { name, persist: usePersist, version = 1, partialize } = options;
|
|
15
|
+
const storeName = name ?? "zustand-store";
|
|
16
|
+
const persistConfig = {
|
|
17
|
+
name: storeName,
|
|
18
|
+
version,
|
|
19
|
+
...typeof partialize === "function" ? { partialize } : {}
|
|
20
|
+
};
|
|
21
|
+
const withMiddlewares = subscribeWithSelector(devtools(immer(usePersist ? persist(initializer, persistConfig) : initializer), { name: storeName }));
|
|
22
|
+
return create()(withMiddlewares);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { createStore };
|
|
@@ -1,2 +1,29 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/app-config-store.ts
|
|
5
|
+
let StorageType = /* @__PURE__ */ function(StorageType) {
|
|
6
|
+
StorageType[StorageType["COS"] = 0] = "COS";
|
|
7
|
+
StorageType[StorageType["AWS"] = 2] = "AWS";
|
|
8
|
+
return StorageType;
|
|
9
|
+
}({});
|
|
10
|
+
const useAppConfigStore = createStore((set, get) => ({
|
|
11
|
+
config: null,
|
|
12
|
+
async getConfig() {
|
|
13
|
+
const cached = get().config;
|
|
14
|
+
if (cached) return cached;
|
|
15
|
+
return { storage_type: StorageType.COS };
|
|
16
|
+
},
|
|
17
|
+
async getStorageType() {
|
|
18
|
+
return (await get().getConfig()).storage_type ?? StorageType.COS;
|
|
19
|
+
},
|
|
20
|
+
async getCaptchaApiKey() {
|
|
21
|
+
return (await get().getConfig()).captcha_api_key ?? "";
|
|
22
|
+
}
|
|
23
|
+
}), {
|
|
24
|
+
persist: true,
|
|
25
|
+
name: "app-config-store"
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { StorageType, useAppConfigStore };
|
|
@@ -1,2 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/blocked-modal-store.ts
|
|
5
|
+
/**
|
|
6
|
+
* 全局封禁弹窗状态管理。
|
|
7
|
+
*/
|
|
8
|
+
const useBlockedModalStore = createStore((set) => ({
|
|
9
|
+
isOpen: false,
|
|
10
|
+
blockedRemark: "",
|
|
11
|
+
blockedEndTime: 0,
|
|
12
|
+
open: (payload) => set((s) => ({
|
|
13
|
+
...s,
|
|
14
|
+
isOpen: true,
|
|
15
|
+
...payload
|
|
16
|
+
})),
|
|
17
|
+
setOpen: (open) => set((s) => ({
|
|
18
|
+
...s,
|
|
19
|
+
isOpen: open
|
|
20
|
+
})),
|
|
21
|
+
close: () => set((s) => ({
|
|
22
|
+
...s,
|
|
23
|
+
isOpen: false
|
|
24
|
+
}))
|
|
25
|
+
}), {
|
|
26
|
+
name: "blocked-modal-store",
|
|
27
|
+
persist: false
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { useBlockedModalStore };
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import{create
|
|
2
|
+
import { create } from "zustand";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/follow-ids-store.ts
|
|
5
|
+
const useFollowIdsState = create()((set) => ({
|
|
6
|
+
followIds: [],
|
|
7
|
+
setFollowIds: (ids) => {
|
|
8
|
+
set({ followIds: ids });
|
|
9
|
+
}
|
|
10
|
+
}));
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { useFollowIdsState };
|
|
@@ -1,2 +1,156 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
import { notifyBridgeLoginModalClosed, notifyBridgeLoginModalOpened, notifyBridgeLoginSuccessClosed } from "../../utils/login-modal-bridge.mjs";
|
|
4
|
+
|
|
5
|
+
//#region store/modules/login-modal-store.ts
|
|
6
|
+
let hiddenVideosSnapshot = null;
|
|
7
|
+
function hidePageVideosForLoginModal() {
|
|
8
|
+
if (typeof document === "undefined") return;
|
|
9
|
+
if (hiddenVideosSnapshot) return;
|
|
10
|
+
const videos = Array.from(document.querySelectorAll("video"));
|
|
11
|
+
hiddenVideosSnapshot = videos.map((el) => ({
|
|
12
|
+
el,
|
|
13
|
+
display: el.style.display
|
|
14
|
+
}));
|
|
15
|
+
videos.forEach((el) => {
|
|
16
|
+
try {
|
|
17
|
+
el.pause();
|
|
18
|
+
} catch (error) {
|
|
19
|
+
console.warn("暂停 video 元素失败:", error);
|
|
20
|
+
}
|
|
21
|
+
el.style.display = "none";
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function restorePageVideosAfterLoginModal() {
|
|
25
|
+
if (typeof document === "undefined") return;
|
|
26
|
+
if (!hiddenVideosSnapshot) return;
|
|
27
|
+
hiddenVideosSnapshot.forEach(({ el, display }) => {
|
|
28
|
+
el.style.display = display;
|
|
29
|
+
});
|
|
30
|
+
hiddenVideosSnapshot = null;
|
|
31
|
+
}
|
|
32
|
+
const useLoginModalStore = createStore((set, get) => {
|
|
33
|
+
let pendingResolve = null;
|
|
34
|
+
let pendingId = 0;
|
|
35
|
+
function finalize(result) {
|
|
36
|
+
if (!pendingResolve) return;
|
|
37
|
+
const resolve = pendingResolve;
|
|
38
|
+
pendingResolve = null;
|
|
39
|
+
resolve(result);
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
isOpen: false,
|
|
43
|
+
verifyStep: null,
|
|
44
|
+
entryStep: null,
|
|
45
|
+
open: () => {
|
|
46
|
+
hidePageVideosForLoginModal();
|
|
47
|
+
notifyBridgeLoginModalOpened();
|
|
48
|
+
set((s) => ({
|
|
49
|
+
...s,
|
|
50
|
+
isOpen: true
|
|
51
|
+
}));
|
|
52
|
+
},
|
|
53
|
+
openWithStep: (step) => {
|
|
54
|
+
hidePageVideosForLoginModal();
|
|
55
|
+
notifyBridgeLoginModalOpened();
|
|
56
|
+
set((s) => ({
|
|
57
|
+
...s,
|
|
58
|
+
isOpen: true,
|
|
59
|
+
entryStep: step
|
|
60
|
+
}));
|
|
61
|
+
},
|
|
62
|
+
openAsync: () => {
|
|
63
|
+
finalize(false);
|
|
64
|
+
pendingId += 1;
|
|
65
|
+
const thisId = pendingId;
|
|
66
|
+
hidePageVideosForLoginModal();
|
|
67
|
+
notifyBridgeLoginModalOpened();
|
|
68
|
+
set((s) => ({
|
|
69
|
+
...s,
|
|
70
|
+
isOpen: true
|
|
71
|
+
}));
|
|
72
|
+
return new Promise((resolve) => {
|
|
73
|
+
pendingResolve = (result) => {
|
|
74
|
+
if (thisId !== pendingId) return;
|
|
75
|
+
resolve(result);
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
resolveLogin: (result = true) => {
|
|
80
|
+
finalize(result);
|
|
81
|
+
const { isOpen } = get();
|
|
82
|
+
if (isOpen) {
|
|
83
|
+
set((s) => ({
|
|
84
|
+
...s,
|
|
85
|
+
isOpen: false,
|
|
86
|
+
entryStep: null
|
|
87
|
+
}));
|
|
88
|
+
restorePageVideosAfterLoginModal();
|
|
89
|
+
notifyBridgeLoginModalClosed();
|
|
90
|
+
if (result) notifyBridgeLoginSuccessClosed();
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
close: () => {
|
|
94
|
+
finalize(false);
|
|
95
|
+
set((s) => ({
|
|
96
|
+
...s,
|
|
97
|
+
isOpen: false,
|
|
98
|
+
entryStep: null
|
|
99
|
+
}));
|
|
100
|
+
restorePageVideosAfterLoginModal();
|
|
101
|
+
notifyBridgeLoginModalClosed();
|
|
102
|
+
},
|
|
103
|
+
toggle: () => {
|
|
104
|
+
const { isOpen } = get();
|
|
105
|
+
if (isOpen) {
|
|
106
|
+
finalize(false);
|
|
107
|
+
set((s) => ({
|
|
108
|
+
...s,
|
|
109
|
+
isOpen: !s.isOpen,
|
|
110
|
+
entryStep: isOpen ? null : s.entryStep
|
|
111
|
+
}));
|
|
112
|
+
restorePageVideosAfterLoginModal();
|
|
113
|
+
notifyBridgeLoginModalClosed();
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
hidePageVideosForLoginModal();
|
|
117
|
+
notifyBridgeLoginModalOpened();
|
|
118
|
+
set((s) => ({
|
|
119
|
+
...s,
|
|
120
|
+
isOpen: !s.isOpen,
|
|
121
|
+
entryStep: isOpen ? null : s.entryStep
|
|
122
|
+
}));
|
|
123
|
+
},
|
|
124
|
+
setOpen: (open) => {
|
|
125
|
+
const { isOpen } = get();
|
|
126
|
+
if (isOpen && !open) finalize(false);
|
|
127
|
+
if (!isOpen && open) {
|
|
128
|
+
hidePageVideosForLoginModal();
|
|
129
|
+
notifyBridgeLoginModalOpened();
|
|
130
|
+
}
|
|
131
|
+
set((s) => ({
|
|
132
|
+
...s,
|
|
133
|
+
isOpen: open,
|
|
134
|
+
entryStep: open ? s.entryStep : null
|
|
135
|
+
}));
|
|
136
|
+
if (isOpen && !open) {
|
|
137
|
+
restorePageVideosAfterLoginModal();
|
|
138
|
+
notifyBridgeLoginModalClosed();
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
setEntryStep: (step) => set((s) => ({
|
|
142
|
+
...s,
|
|
143
|
+
entryStep: step
|
|
144
|
+
})),
|
|
145
|
+
setVerifyStep: (step) => set((s) => ({
|
|
146
|
+
...s,
|
|
147
|
+
verifyStep: step
|
|
148
|
+
}))
|
|
149
|
+
};
|
|
150
|
+
}, {
|
|
151
|
+
name: "login-modal-store",
|
|
152
|
+
persist: false
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
export { useLoginModalStore };
|
|
@@ -1,2 +1,55 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/media-preview-store.ts
|
|
5
|
+
/** 媒体预览弹窗 store。 */
|
|
6
|
+
const useMediaPreviewStore = createStore((set) => {
|
|
7
|
+
return {
|
|
8
|
+
isOpen: false,
|
|
9
|
+
mediaList: [],
|
|
10
|
+
startIndex: 0,
|
|
11
|
+
openWithMediaList: (mediaList, startIndex = 0) => {
|
|
12
|
+
const safeIndex = Math.min(Math.max(startIndex, 0), Math.max(mediaList.length - 1, 0));
|
|
13
|
+
set((s) => ({
|
|
14
|
+
...s,
|
|
15
|
+
isOpen: true,
|
|
16
|
+
mediaList,
|
|
17
|
+
startIndex: safeIndex
|
|
18
|
+
}));
|
|
19
|
+
},
|
|
20
|
+
close: () => {
|
|
21
|
+
set((s) => ({
|
|
22
|
+
...s,
|
|
23
|
+
isOpen: false,
|
|
24
|
+
mediaList: [],
|
|
25
|
+
startIndex: 0
|
|
26
|
+
}));
|
|
27
|
+
},
|
|
28
|
+
setOpen: (open) => {
|
|
29
|
+
set((s) => ({
|
|
30
|
+
...s,
|
|
31
|
+
isOpen: open,
|
|
32
|
+
mediaList: open ? s.mediaList : [],
|
|
33
|
+
startIndex: open ? s.startIndex : 0
|
|
34
|
+
}));
|
|
35
|
+
},
|
|
36
|
+
setMediaList: (mediaList) => {
|
|
37
|
+
set((s) => ({
|
|
38
|
+
...s,
|
|
39
|
+
mediaList
|
|
40
|
+
}));
|
|
41
|
+
},
|
|
42
|
+
setStartIndex: (index) => {
|
|
43
|
+
set((s) => ({
|
|
44
|
+
...s,
|
|
45
|
+
startIndex: index
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
name: "media-preview-store",
|
|
51
|
+
persist: false
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
//#endregion
|
|
55
|
+
export { useMediaPreviewStore };
|
|
@@ -1,2 +1,32 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/publish-store.ts
|
|
5
|
+
const usePublishStore = createStore((set) => ({
|
|
6
|
+
materialList: [],
|
|
7
|
+
videoUrl: "",
|
|
8
|
+
coverUrl: "",
|
|
9
|
+
content: "",
|
|
10
|
+
atUsers: [],
|
|
11
|
+
setPubState: (payload) => set((state) => ({
|
|
12
|
+
...state,
|
|
13
|
+
materialList: payload.materialList ?? state.materialList,
|
|
14
|
+
videoUrl: payload.videoUrl ?? state.videoUrl,
|
|
15
|
+
coverUrl: payload.coverUrl ?? state.coverUrl,
|
|
16
|
+
content: payload.content ?? state.content,
|
|
17
|
+
atUsers: payload.atUsers ?? state.atUsers
|
|
18
|
+
})),
|
|
19
|
+
init: () => set(() => ({
|
|
20
|
+
materialList: [],
|
|
21
|
+
videoUrl: "",
|
|
22
|
+
coverUrl: "",
|
|
23
|
+
content: "",
|
|
24
|
+
atUsers: []
|
|
25
|
+
}))
|
|
26
|
+
}), {
|
|
27
|
+
persist: true,
|
|
28
|
+
name: "publish-store"
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { usePublishStore };
|
|
@@ -1,2 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
import{createStore
|
|
2
|
+
import { createStore } from "../create-store.mjs";
|
|
3
|
+
|
|
4
|
+
//#region store/modules/use-demo-store.ts
|
|
5
|
+
const useDemoStore = createStore((set) => ({
|
|
6
|
+
demo: "demo",
|
|
7
|
+
setDemo: (v) => set((s) => ({
|
|
8
|
+
...s,
|
|
9
|
+
demo: v
|
|
10
|
+
}))
|
|
11
|
+
}), {
|
|
12
|
+
name: "demo-store",
|
|
13
|
+
persist: true,
|
|
14
|
+
partialize: (s) => ({ demo: s.demo })
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { useDemoStore };
|
|
@@ -1,2 +1,114 @@
|
|
|
1
1
|
|
|
2
|
-
import{generateDynamicSign
|
|
2
|
+
import { generateDynamicSign, generateUUID, getCookie, isClient, removeCookie, setCookie } from "../../utils/common.mjs";
|
|
3
|
+
import { createStore } from "../create-store.mjs";
|
|
4
|
+
import { useFollowIdsState } from "./follow-ids-store.mjs";
|
|
5
|
+
import { usePublishStore } from "./publish-store.mjs";
|
|
6
|
+
import { gUserGetGuestIdentity } from "../../service/generated/client.mjs";
|
|
7
|
+
|
|
8
|
+
//#region store/modules/user-store.ts
|
|
9
|
+
const PERSIST_KEYS = {
|
|
10
|
+
userStore: "user-store",
|
|
11
|
+
publishStore: "publish-store"
|
|
12
|
+
};
|
|
13
|
+
const DEFAULT_USER_STATE = {
|
|
14
|
+
userInfo: {},
|
|
15
|
+
isLogin: false,
|
|
16
|
+
token: "",
|
|
17
|
+
expireTime: 0,
|
|
18
|
+
userId: ""
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 清空与用户强相关的其他 store 状态。
|
|
22
|
+
*/
|
|
23
|
+
function clearUserRelatedStores() {
|
|
24
|
+
useFollowIdsState.setState({ followIds: [] });
|
|
25
|
+
usePublishStore.getState().init();
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 清理 Cookie 与持久化缓存。
|
|
29
|
+
*/
|
|
30
|
+
function clearAuthPersistence() {
|
|
31
|
+
try {
|
|
32
|
+
removeCookie("token");
|
|
33
|
+
removeCookie("userId");
|
|
34
|
+
removeCookie("guestUserId");
|
|
35
|
+
} catch (error) {
|
|
36
|
+
console.warn("clear auth cookie failed", error);
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
localStorage.removeItem(PERSIST_KEYS.userStore);
|
|
40
|
+
localStorage.removeItem(PERSIST_KEYS.publishStore);
|
|
41
|
+
} catch (error) {
|
|
42
|
+
console.warn("clear local storage failed", error);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const useUserStore = createStore((set) => ({
|
|
46
|
+
...DEFAULT_USER_STATE,
|
|
47
|
+
setUserInfo: (userInfo) => {
|
|
48
|
+
set({ userInfo });
|
|
49
|
+
},
|
|
50
|
+
setUserId: (userId) => {
|
|
51
|
+
if (isClient()) setCookie("userId", userId);
|
|
52
|
+
set({ userId });
|
|
53
|
+
},
|
|
54
|
+
setIsLogin: (isLogin) => {
|
|
55
|
+
set({ isLogin });
|
|
56
|
+
},
|
|
57
|
+
setToken: (token) => {
|
|
58
|
+
if (isClient()) {
|
|
59
|
+
setCookie("token", token);
|
|
60
|
+
setCookie("guestUserId", "");
|
|
61
|
+
}
|
|
62
|
+
set({ token });
|
|
63
|
+
},
|
|
64
|
+
setExpireTime: (expireTime) => {
|
|
65
|
+
set({ expireTime });
|
|
66
|
+
},
|
|
67
|
+
updateUserInfo: (updates) => {
|
|
68
|
+
set((state) => ({ userInfo: {
|
|
69
|
+
...state.userInfo,
|
|
70
|
+
...updates
|
|
71
|
+
} }));
|
|
72
|
+
},
|
|
73
|
+
logout: () => {
|
|
74
|
+
clearUserRelatedStores();
|
|
75
|
+
set({ ...DEFAULT_USER_STATE });
|
|
76
|
+
if (isClient()) clearAuthPersistence();
|
|
77
|
+
},
|
|
78
|
+
clearUserInfo: () => {
|
|
79
|
+
set({ userInfo: DEFAULT_USER_STATE.userInfo });
|
|
80
|
+
}
|
|
81
|
+
}), {
|
|
82
|
+
name: "user-store",
|
|
83
|
+
persist: true,
|
|
84
|
+
partialize: (s) => ({
|
|
85
|
+
userInfo: s.userInfo,
|
|
86
|
+
isLogin: s.isLogin,
|
|
87
|
+
token: s.token,
|
|
88
|
+
expireTime: s.expireTime,
|
|
89
|
+
userId: s.userId
|
|
90
|
+
})
|
|
91
|
+
});
|
|
92
|
+
/**
|
|
93
|
+
* 确保游客身份已生成并缓存到 Cookie
|
|
94
|
+
*/
|
|
95
|
+
async function ensureGuestIdentity(force = false) {
|
|
96
|
+
if (await getCookie("userId") && !force) return;
|
|
97
|
+
const uuid = generateUUID();
|
|
98
|
+
gUserGetGuestIdentity({
|
|
99
|
+
finger_id: uuid,
|
|
100
|
+
sign: generateDynamicSign(uuid)
|
|
101
|
+
}).then((res) => {
|
|
102
|
+
setCookie("guestUserId", res.data.user_id);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
const userSelectors = {
|
|
106
|
+
getUserInfo: () => useUserStore.getState().userInfo,
|
|
107
|
+
getIsLogin: () => useUserStore.getState().isLogin,
|
|
108
|
+
getToken: () => useUserStore.getState().token,
|
|
109
|
+
getExpireTime: () => useUserStore.getState().expireTime,
|
|
110
|
+
getUserId: () => useUserStore.getState().userId
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
//#endregion
|
|
114
|
+
export { ensureGuestIdentity, useUserStore, userSelectors };
|
package/dist/store.mjs
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import { useBlockedModalStore } from "./store/modules/blocked-modal-store.mjs";
|
|
3
|
+
import { useFollowIdsState } from "./store/modules/follow-ids-store.mjs";
|
|
4
|
+
import { usePublishStore } from "./store/modules/publish-store.mjs";
|
|
5
|
+
import { ensureGuestIdentity, useUserStore, userSelectors } from "./store/modules/user-store.mjs";
|
|
6
|
+
import { useLoginModalStore } from "./store/modules/login-modal-store.mjs";
|
|
7
|
+
import { StorageType, useAppConfigStore } from "./store/modules/app-config-store.mjs";
|
|
8
|
+
import { useMediaPreviewStore } from "./store/modules/media-preview-store.mjs";
|
|
9
|
+
import { useDemoStore } from "./store/modules/use-demo-store.mjs";
|
|
10
|
+
|
|
11
|
+
export { StorageType, ensureGuestIdentity, useAppConfigStore, useBlockedModalStore, useDemoStore, useFollowIdsState, useLoginModalStore, useMediaPreviewStore, usePublishStore, useUserStore, userSelectors };
|
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import{numToString
|
|
2
|
+
import { numToString } from "../utils/common.mjs";
|
|
3
|
+
|
|
4
|
+
//#region types/safe-at-user.ts
|
|
5
|
+
function safeMapApiAtUserToAtUser(apiAtUser) {
|
|
6
|
+
return {
|
|
7
|
+
user_id: numToString(apiAtUser?.user_id),
|
|
8
|
+
name: apiAtUser?.name || "",
|
|
9
|
+
avatar: apiAtUser?.avatar || "",
|
|
10
|
+
birthday: apiAtUser?.birthday || "",
|
|
11
|
+
signature: apiAtUser?.signature || ""
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { safeMapApiAtUserToAtUser };
|