@funhub/platform 0.2.29 → 0.2.31
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/channel-list/channel-active-indicator.mjs +31 -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/header-menu.mjs +29 -1
- package/dist/assets/icons/common/header-search-icon.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/right_arrow_thin.mjs +17 -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/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/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 +24 -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/marquee-close.mjs +29 -1
- package/dist/assets/icons/marquee-enter.mjs +17 -1
- package/dist/assets/icons/marquee-speaker.mjs +22 -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/search/filter.mjs +17 -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/shortcut-grid/shortcut-grid-card-bg-primary.mjs +29 -1
- package/dist/assets/images/subscript.mjs +5 -1
- package/dist/assets/images/user/default_avatar.mjs +5 -1
- package/dist/biz.mjs +169 -1
- package/dist/cli/init/create-client.mjs +12 -1
- package/dist/cli/init/create-sdk.mjs +12 -1
- package/dist/cli/init/shared/command.mjs +31 -1
- package/dist/cli/init/shared/constants.mjs +24 -1
- package/dist/cli/init/shared/create-project.mjs +58 -2
- package/dist/cli/init/shared/file.mjs +21 -1
- package/dist/cli/init/shared/package-manager.mjs +42 -1
- package/dist/cli/init/shared/prompts.mjs +107 -1
- package/dist/cli/init/shared/template.mjs +66 -1
- package/dist/cli.mjs +128 -2
- package/dist/common.mjs +51 -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 +270 -1
- package/dist/components/biz/basics/fullscreen-feed/runtime/video-slide.mjs +376 -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 +171 -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 +56 -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 +33 -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/advertisement/ad-match.mjs +142 -1
- package/dist/components/biz/business/advertisement/ad-provider.mjs +50 -1
- package/dist/components/biz/business/advertisement/ad-query.mjs +39 -1
- package/dist/components/biz/business/advertisement/ad-runtime-provider.mjs +21 -1
- package/dist/components/biz/business/advertisement/banner-ad/client.mjs +274 -1
- package/dist/components/biz/business/advertisement/banner-ad/material.mjs +21 -1
- package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +55 -1
- package/dist/components/biz/business/advertisement/banner-ad/server.mjs +24 -1
- package/dist/components/biz/business/advertisement/feed-ad/index.mjs +36 -1
- package/dist/components/biz/business/advertisement/floating-ad/client.mjs +109 -1
- package/dist/components/biz/business/advertisement/floating-ad/material.mjs +21 -1
- package/dist/components/biz/business/advertisement/floating-ad/schema.mjs +11 -1
- package/dist/components/biz/business/advertisement/floating-ad/server.mjs +24 -1
- package/dist/components/biz/business/advertisement/icon-ad/client.mjs +187 -1
- package/dist/components/biz/business/advertisement/icon-ad/material.mjs +21 -1
- package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +42 -1
- package/dist/components/biz/business/advertisement/icon-ad/server.mjs +24 -1
- package/dist/components/biz/business/advertisement/popup-ad/client.mjs +203 -2
- package/dist/components/biz/business/advertisement/popup-ad/material.mjs +21 -1
- package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +48 -1
- package/dist/components/biz/business/advertisement/popup-ad/server.mjs +24 -1
- package/dist/components/biz/business/advertisement/text-ad/client.mjs +370 -1
- package/dist/components/biz/business/advertisement/text-ad/material.mjs +21 -1
- package/dist/components/biz/business/advertisement/text-ad/schema.mjs +34 -1
- package/dist/components/biz/business/advertisement/text-ad/server.mjs +24 -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 +62 -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 +140 -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 +133 -1
- package/dist/components/biz/business/banner-carousel/default-props.mjs +15 -1
- package/dist/components/biz/business/banner-carousel/material.mjs +22 -1
- package/dist/components/biz/business/banner-carousel/schema.mjs +94 -1
- package/dist/components/biz/business/banner-carousel/server.mjs +87 -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 +157 -1
- package/dist/components/biz/business/channel-list/default-props.mjs +13 -1
- package/dist/components/biz/business/channel-list/material.mjs +21 -1
- package/dist/components/biz/business/channel-list/schema.mjs +40 -1
- package/dist/components/biz/business/comment/comment-input.mjs +772 -5
- package/dist/components/biz/business/comment/comment-item.mjs +182 -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 +969 -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 +114 -1
- package/dist/components/biz/business/detail/shared/detail-info-tags.mjs +33 -1
- package/dist/components/biz/business/detail/shared/detail-info-title.mjs +84 -1
- package/dist/components/biz/business/detail/shared/detail-operate.mjs +432 -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.d.mts +7 -2
- package/dist/components/biz/business/detail/shared/registry.mjs +55 -1
- package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +225 -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 +320 -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 +902 -1
- package/dist/components/biz/business/detail/video-detail-actions/client.mjs +97 -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 +201 -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 +14 -1
- package/dist/components/biz/business/detail/video-detail-info/server.mjs +45 -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 +14 -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 +136 -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-player-bridge-only/client.mjs +17 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/schema.mjs +13 -1
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/server.mjs +17 -1
- package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +10 -2
- package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +89 -1
- package/dist/components/biz/business/detail/video-detail-recommend/index.d.mts +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +7 -2
- package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +18 -1
- package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +7 -2
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +35 -1
- package/dist/components/biz/business/detail/video-detail-recommend/server.d.mts +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/server.mjs +35 -1
- package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +548 -1
- package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +60 -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 +20 -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 +21 -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 +142 -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 +23 -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 +38 -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 +20 -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 +32 -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 +22 -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 +19 -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 +53 -1
- package/dist/components/biz/business/header-search/shared/header-action.mjs +29 -1
- package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +26 -1
- package/dist/components/biz/business/header-search/shared/header-shell.mjs +21 -1
- package/dist/components/biz/business/header-search/shared/logo.mjs +25 -1
- package/dist/components/biz/business/header-search/shared/search.mjs +47 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.d.mts +1 -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 +229 -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 +48 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.d.mts +3 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +47 -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 +211 -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 +42 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +890 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +24 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-play-count.mjs +31 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +178 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-runtime-props.mjs +47 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +336 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-layout.mjs +73 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-tag.mjs +21 -1
- package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +73 -1
- package/dist/components/biz/business/image-text-recommend/client.mjs +436 -1
- package/dist/components/biz/business/image-text-recommend/material.mjs +21 -1
- package/dist/components/biz/business/image-text-recommend/schema.mjs +79 -1
- package/dist/components/biz/business/image-text-recommend/server.mjs +53 -1
- package/dist/components/biz/business/image-text-recommend/shared/query.mjs +33 -1
- package/dist/components/biz/business/large-feature-grid/card-item.mjs +106 -1
- package/dist/components/biz/business/large-feature-grid/client.mjs +256 -1
- package/dist/components/biz/business/large-feature-grid/material.mjs +21 -1
- package/dist/components/biz/business/large-feature-grid/schema.mjs +127 -1
- package/dist/components/biz/business/large-feature-grid/server.mjs +16 -1
- package/dist/components/biz/business/marquee/client.mjs +303 -1
- package/dist/components/biz/business/marquee/material.mjs +21 -1
- package/dist/components/biz/business/marquee/schema.mjs +86 -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 +159 -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 +343 -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 +262 -1
- package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +182 -1
- package/dist/components/biz/business/profile/profile-main/client.mjs +235 -1
- package/dist/components/biz/business/profile/profile-main/empty-state.mjs +43 -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 +275 -1
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +747 -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/collect-tab/video-waterfall.mjs +178 -1
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +259 -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 +258 -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 +266 -1
- package/dist/components/biz/business/profile/profile-main/variants.mjs +40 -1
- package/dist/components/biz/business/profile/tracking.mjs +19 -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 +54 -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 +182 -1
- package/dist/components/biz/business/search-history/material.mjs +18 -1
- package/dist/components/biz/business/search-history/schema.mjs +16 -1
- package/dist/components/biz/business/search-history/server.mjs +17 -1
- package/dist/components/biz/business/search-input/client.mjs +115 -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 +86 -1
- package/dist/components/biz/business/shortcut-grid/material.mjs +18 -1
- package/dist/components/biz/business/shortcut-grid/schema.mjs +65 -1
- package/dist/components/biz/business/shortcut-grid/server.mjs +17 -1
- package/dist/components/biz/business/tab-bar/client.mjs +157 -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 +104 -1
- package/dist/components/biz/business/text-recommend/material.mjs +18 -1
- package/dist/components/biz/business/text-recommend/schema.mjs +25 -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 +44 -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 +67 -1
- package/dist/components/biz/utils/transformers/data.mjs +171 -1
- package/dist/components/common/analytics-init/analytics-init.mjs +75 -1
- package/dist/components/common/analytics-init/page-lifecycle-tracker.mjs +248 -1
- package/dist/components/common/analytics-init/sensor-init.mjs +126 -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/create-collection-sheet.mjs +271 -1
- package/dist/components/common/collection-popup/index.mjs +293 -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 +50 -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 +27 -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-modal/image-crop-modal.mjs +128 -2
- package/dist/components/common/info-card/card-header.mjs +71 -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 +139 -1
- package/dist/components/common/list/collection-list/collection-list.mjs +27 -1
- package/dist/components/common/list/collection-list/collection-select-icon.mjs +53 -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 +469 -1
- package/dist/components/common/list/user-activity-list/user-activity-list.mjs +143 -1
- package/dist/components/common/list/video-list/video-list-item.mjs +100 -1
- package/dist/components/common/list/video-list/video-list.mjs +152 -1
- package/dist/components/common/list/waterfall-recommend/recommend-badge-style.mjs +18 -1
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend-display.mjs +26 -1
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +183 -1
- package/dist/components/common/locale-sync/locale-sync.mjs +62 -1
- package/dist/components/common/login-dialog/login-dialog.mjs +46 -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.mjs +321 -1
- package/dist/components/common/photo-grid/index.mjs +226 -1
- package/dist/components/common/photo-preview/common-photo-preview.mjs +97 -1
- package/dist/components/common/photo-preview/decrypt-loading.mjs +66 -2
- package/dist/components/common/photo-preview/index.mjs +64 -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 +98 -1
- package/dist/components/common/popup-video/popup-video.module.mjs +7 -16
- package/dist/components/common/series-episodes/index.mjs +826 -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 +150 -1
- package/dist/components/common/theme-sync/index.mjs +22 -1
- package/dist/components/common/top-nav-bar/client.mjs +70 -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/user-info-initializer/index.mjs +37 -1
- package/dist/components/common/video-player/create-video.mjs +27 -2
- package/dist/components/common/video-player/index.mjs +700 -5
- package/dist/components/common/video-player/playing-videos.mjs +73 -1
- package/dist/components/common/video-player/preroll-skip-button-content.mjs +20 -1
- package/dist/components/common/video-player/process-m3u8-cache.mjs +281 -1
- package/dist/components/common/video-player/style.module.mjs +7 -260
- package/dist/components/common/video-player/video-blind-ad-overlay.mjs +155 -1
- package/dist/components/common/video-player/video-player-ref-context.mjs +18 -1
- package/dist/components/common/video-player/video-preroll-ad-overlay.mjs +167 -1
- package/dist/components/common/video-player/video-preroll-ad.mjs +187 -1
- 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 +44 -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 +164 -1
- package/dist/components/pages/collection-create/form.mjs +164 -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/_components/collection-detail-video-card.mjs +135 -1
- package/dist/components/pages/collection-detail/detail.mjs +539 -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 +683 -1
- package/dist/components/pages/feed-series/feed-series-client.mjs +383 -1
- package/dist/components/pages/feed-series/page.mjs +97 -1
- package/dist/components/pages/feedback/_components/feedback-form.mjs +271 -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 +105 -1
- package/dist/components/pages/home/channel-matcher.mjs +30 -1
- package/dist/components/pages/home/client.mjs +149 -1
- package/dist/components/pages/home/index.mjs +59 -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/auth-page-styles.mjs +17 -2
- package/dist/components/pages/login/forgot.mjs +136 -1
- package/dist/components/pages/login/index.mjs +107 -1
- package/dist/components/pages/login/login-client.mjs +233 -1
- package/dist/components/pages/login/password.mjs +186 -1
- package/dist/components/pages/login/register.mjs +204 -1
- package/dist/components/pages/login/reset-password.mjs +193 -1
- package/dist/components/pages/login/tracking.mjs +32 -1
- package/dist/components/pages/login/verify.mjs +243 -1
- 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 +192 -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 +211 -1
- package/dist/components/pages/search/search-result/index.mjs +31 -1
- package/dist/components/pages/search/search-result/search-all.mjs +167 -1
- package/dist/components/pages/search/search-result/search-user.mjs +306 -1
- package/dist/components/pages/search/search-result/search-video-info.mjs +134 -1
- package/dist/components/pages/search/search-result/shared.mjs +114 -1
- package/dist/components/pages/search/style.module.mjs +12 -85
- package/dist/components/pages/search/top-header.mjs +131 -1
- package/dist/components/pages/search/tracking.mjs +51 -1
- package/dist/components/pages/search-result/page-client.mjs +130 -1
- package/dist/components/pages/search-result/search-all.mjs +180 -1
- package/dist/components/pages/search-result/search-empty.mjs +52 -1
- package/dist/components/pages/search-result/search-tab.mjs +95 -1
- package/dist/components/pages/search-result/search-user.mjs +315 -1
- package/dist/components/pages/search-result/search-video-info.mjs +195 -1
- package/dist/components/pages/search-result/shared.mjs +46 -1
- package/dist/components/pages/search-result/top-header.mjs +105 -1
- package/dist/components/pages/search-result/tracking.mjs +39 -1
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +381 -1
- package/dist/components/pages/settings/_components/settings.mjs +192 -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 +395 -1
- package/dist/components/pages/video-list/index.mjs +61 -1
- package/dist/components/pages/video-list/types.mjs +16 -1
- package/dist/components/pages/video-list/video-list-client.mjs +144 -1
- package/dist/components/pages/video-list/video-list-recommend-item.mjs +94 -1
- package/dist/components/pages/video-list/video-list-skeleton.mjs +91 -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 +107 -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.mjs +49 -1
- 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.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 +52 -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 +489 -1
- package/dist/hooks/use-card-decoration.mjs +96 -1
- package/dist/hooks/use-content-operate.mjs +526 -1
- package/dist/hooks/use-first-row-height.mjs +105 -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-is-client.mjs +20 -1
- package/dist/hooks/use-keyboard-open.mjs +56 -1
- package/dist/hooks/use-like-dislike.mjs +40 -1
- package/dist/hooks/use-min-duration-loading.mjs +63 -1
- package/dist/hooks/use-search-history.mjs +53 -1
- package/dist/hooks/use-sticky.mjs +50 -1
- package/dist/hooks.mjs +17 -1
- package/dist/i18n/locales/en.mjs +836 -3
- package/dist/i18n/locales/zh-CN.mjs +836 -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 +73 -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/advertisement.mjs +88 -1
- package/dist/service/generated/client.mjs +1281 -1
- package/dist/service/generated/tanstack.mjs +1179 -1
- package/dist/service/register-by-verify-email-code.mjs +17 -1
- package/dist/service.mjs +6 -1
- package/dist/store/create-store.mjs +25 -1
- package/dist/store/modules/app-config-store.mjs +28 -1
- package/dist/store/modules/blind-spot-ad-store.mjs +95 -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 +133 -1
- package/dist/store/modules/video-player-ref-store.mjs +13 -1
- package/dist/store.mjs +12 -1
- package/dist/theme-tokens.mjs +82 -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 +58 -1
- package/dist/utils/api-collect.mjs +14 -1
- package/dist/utils/browser-fingerprint.mjs +53 -1
- package/dist/utils/channel-storage.mjs +57 -1
- package/dist/utils/cn.mjs +15 -1
- package/dist/utils/common.mjs +311 -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/device-id.mjs +20 -1
- package/dist/utils/email-validator.mjs +108 -1
- 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 +202 -1
- package/dist/utils/image-compression.mjs +59 -1
- package/dist/utils/image-crop.mjs +63 -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/request-user-id.mjs +16 -1
- package/dist/utils/s3-uploader.mjs +40 -1
- package/dist/utils/schema/material.mjs +24 -1
- package/dist/utils/schema/schema.mjs +207 -1
- package/dist/utils/schema/utils.mjs +27 -1
- package/dist/utils/share-manager.mjs +183 -1
- package/dist/utils/tools.mjs +92 -1
- package/dist/utils/tracking.mjs +183 -1
- package/dist/utils/uint8.mjs +46 -1
- package/dist/utils/upload-file.mjs +429 -1
- package/dist/utils/use-compatible-router.mjs +84 -1
- package/dist/utils.mjs +27 -1
- package/package.json +1 -1
|
@@ -1,2 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import httpClient from "../utils/http.mjs";
|
|
3
|
+
|
|
4
|
+
//#region service/register-by-verify-email-code.ts
|
|
5
|
+
/**
|
|
6
|
+
* 注册验证码校验并进入下一步。
|
|
7
|
+
*/
|
|
8
|
+
async function pUserRegisterByVerifyEmailCodeCompat(data, config) {
|
|
9
|
+
return httpClient.request({
|
|
10
|
+
...config ?? {},
|
|
11
|
+
url: "/api/user/registerByVerifyEmailCode",
|
|
12
|
+
method: "POST",
|
|
13
|
+
data
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { pUserRegisterByVerifyEmailCodeCompat };
|
package/dist/service.mjs
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import{pContentAdsMatch as e,pContentAdsMatchKey as t}from"./service/advertisement.mjs";import{gCommerceQueryOrderResult as n,gCommunityGetCollectionInfo as r,gCommunityGetComments as i,gCommunityGetContentInfo as a,gCommunityGetContentList as o,gCommunityGetHotContentList as s,gCommunityGetSubscribedCollections as c,gCommunityGetUserCollections as l,gContentGetAdvertiseByCode as u,gContentGetAppChannelBlock as d,gContentGetAppChannelBlockData as f,gContentGetAppChannels as p,gContentGetAppComponent as m,gContentGetGuessYouLikeVideos as h,gContentGetHotVideoList as g,gContentGetRecommendSearchList as _,gContentGetRecommendVideoList as v,gContentGetSeoConfig as y,gContentGetVideoDetail as b,gContentGetVideoDetailByApi as x,gContentListVisibleFloatingBall as S,gContentProcessM3u8 as C,gInteractionCheckMutualFollow as w,gInteractionGetBrowseList as T,gInteractionGetContentDislikeList as E,gInteractionGetContentLikeList as D,gInteractionGetDislikeList as O,gInteractionGetFolder as k,gInteractionGetFolderStats as A,gInteractionGetFollowStats as j,gInteractionGetFollowerList as M,gInteractionGetFollowingContentList as N,gInteractionGetFollowingList as P,gInteractionGetFollowingUserUpdates as F,gInteractionGetLikeList as I,gInteractionListCollects as L,gInteractionListFolders as R,gUserGetGuestIdentity as z,gUserGetUserEditInfo as B,gUserGetUserInfo as V,gUserGetUserPrivacySettings as H,gUserGetVisitorPermissionConfig as U,gUserViewUserInfo as W,pCommerceCreatePayment as G,pCommerceGetPaymentMethods as K,pCommercePaymentSuccessCallback as q,pCommerceRefundCallback as J,pCommunityAddContentToCollection as Y,pCommunityBatchDeleteCollection as X,pCommunityCreateCollection as Z,pCommunityCreateComment as Q,pCommunityDeleteCollection as $,pCommunityDeleteComment as ee,pCommunityDeleteContent as te,pCommunityDislikeComment as ne,pCommunityGetUploadPresignedURL as re,pCommunityLikeComment as ie,pCommunityMoveCollectionContent as ae,pCommunityPublishContent as oe,pCommunityRemoveContentFromCollection as se,pCommunitySearchCurAccountFollowingUsersInfo as ce,pCommunityShareContent as le,pCommunitySubscribeCollection as ue,pCommunityUpdateCollection as de,pCommunityUpdateContent as fe,pCommunityUploadMedia as pe,pContentBatchGetVideoDetail as me,pContentGetMostPlayedVideoList as he,pContentGetNewstVideoList as ge,pContentGetPopularVideoList as _e,pContentGetTopRatedVideoList as ve,pContentMatchAds as ye,pInteractionAddCollect as be,pInteractionBatchClearBrowse as xe,pInteractionBatchDeleteCollects as Se,pInteractionBatchDeleteFolders as Ce,pInteractionBatchGetCommentLikeStatus as we,pInteractionBatchGetFollowStats as Te,pInteractionBatchGetLikeStatus as Ee,pInteractionBatchQueryContentInteractions as De,pInteractionBrowse as Oe,pInteractionCancelDislike as ke,pInteractionCancelLike as Ae,pInteractionCheckCollect as je,pInteractionCheckFollow as Me,pInteractionClearBrowseHistory as Ne,pInteractionCreateFolder as Pe,pInteractionDeleteBrowseRecord as Fe,pInteractionDeleteFolder as Ie,pInteractionDislike as Le,pInteractionDislikeComment as Re,pInteractionFollow as ze,pInteractionLike as Be,pInteractionLikeComment as Ve,pInteractionMoveCollects as He,pInteractionRemoveCollect as Ue,pInteractionTrackEventsBatch as We,pInteractionUnfollow as Ge,pInteractionUnifiedBatchLikeDislike as Ke,pInteractionUpdateFolder as qe,pInteractionUpdateFollowingContentUpdateTime as Je,pUserEditUserInfo as Ye,pUserLogin as Xe,pUserRegister as Ze,pUserRegisterByVerifyEmailCode as Qe,pUserResetForgetPassword as $e,pUserResetPassword as et,pUserSendEmailCode as tt,pUserSendForgetEmailCode as nt,pUserSendResetPasswordEmailCode as rt,pUserUploadUserBgImage as it,pUserUserFeedback as at,pUserUserPrivacySettings as ot,pUserVerifyEmailCode as st,pUserVerifyForgetEmailCode as ct,pUserVerifyResetPasswordEmailCode as lt}from"./service/generated/client.mjs";import{createQueryKey as ut,gCommerceQueryOrderResultKey as dt,gCommunityGetCollectionInfoKey as ft,gCommunityGetCommentsKey as pt,gCommunityGetContentInfoKey as mt,gCommunityGetContentListKey as ht,gCommunityGetHotContentListKey as gt,gCommunityGetSubscribedCollectionsKey as _t,gCommunityGetUserCollectionsKey as vt,gContentGetAdvertiseByCodeKey as yt,gContentGetAppChannelBlockDataKey as bt,gContentGetAppChannelBlockKey as xt,gContentGetAppChannelsKey as St,gContentGetAppComponentKey as Ct,gContentGetGuessYouLikeVideosKey as wt,gContentGetHotVideoListKey as Tt,gContentGetRecommendSearchListKey as Et,gContentGetRecommendVideoListKey as Dt,gContentGetSeoConfigKey as Ot,gContentGetVideoDetailByApiKey as kt,gContentGetVideoDetailKey as At,gContentListVisibleFloatingBallKey as jt,gContentProcessM3u8Key as Mt,gInteractionCheckMutualFollowKey as Nt,gInteractionGetBrowseListKey as Pt,gInteractionGetContentDislikeListKey as Ft,gInteractionGetContentLikeListKey as It,gInteractionGetDislikeListKey as Lt,gInteractionGetFolderKey as Rt,gInteractionGetFolderStatsKey as zt,gInteractionGetFollowStatsKey as Bt,gInteractionGetFollowerListKey as Vt,gInteractionGetFollowingContentListKey as Ht,gInteractionGetFollowingListKey as Ut,gInteractionGetFollowingUserUpdatesKey as Wt,gInteractionGetLikeListKey as Gt,gInteractionListCollectsKey as Kt,gInteractionListFoldersKey as qt,gUserGetGuestIdentityKey as Jt,gUserGetUserEditInfoKey as Yt,gUserGetUserInfoKey as Xt,gUserGetUserPrivacySettingsKey as Zt,gUserGetVisitorPermissionConfigKey as Qt,gUserViewUserInfoKey as $t,pCommerceCreatePaymentKey as en,pCommerceGetPaymentMethodsKey as tn,pCommercePaymentSuccessCallbackKey as nn,pCommerceRefundCallbackKey as rn,pCommunityAddContentToCollectionKey as an,pCommunityBatchDeleteCollectionKey as on,pCommunityCreateCollectionKey as sn,pCommunityCreateCommentKey as cn,pCommunityDeleteCollectionKey as ln,pCommunityDeleteCommentKey as un,pCommunityDeleteContentKey as dn,pCommunityDislikeCommentKey as fn,pCommunityGetUploadPresignedURLKey as pn,pCommunityLikeCommentKey as mn,pCommunityMoveCollectionContentKey as hn,pCommunityPublishContentKey as gn,pCommunityRemoveContentFromCollectionKey as _n,pCommunitySearchCurAccountFollowingUsersInfoKey as vn,pCommunityShareContentKey as yn,pCommunitySubscribeCollectionKey as bn,pCommunityUpdateCollectionKey as xn,pCommunityUpdateContentKey as Sn,pCommunityUploadMediaKey as Cn,pContentBatchGetVideoDetailKey as wn,pContentGetMostPlayedVideoListKey as Tn,pContentGetNewstVideoListKey as En,pContentGetPopularVideoListKey as Dn,pContentGetTopRatedVideoListKey as On,pContentMatchAdsKey as kn,pInteractionAddCollectKey as An,pInteractionBatchClearBrowseKey as jn,pInteractionBatchDeleteCollectsKey as Mn,pInteractionBatchDeleteFoldersKey as Nn,pInteractionBatchGetCommentLikeStatusKey as Pn,pInteractionBatchGetFollowStatsKey as Fn,pInteractionBatchGetLikeStatusKey as In,pInteractionBatchQueryContentInteractionsKey as Ln,pInteractionBrowseKey as Rn,pInteractionCancelDislikeKey as zn,pInteractionCancelLikeKey as Bn,pInteractionCheckCollectKey as Vn,pInteractionCheckFollowKey as Hn,pInteractionClearBrowseHistoryKey as Un,pInteractionCreateFolderKey as Wn,pInteractionDeleteBrowseRecordKey as Gn,pInteractionDeleteFolderKey as Kn,pInteractionDislikeCommentKey as qn,pInteractionDislikeKey as Jn,pInteractionFollowKey as Yn,pInteractionLikeCommentKey as Xn,pInteractionLikeKey as Zn,pInteractionMoveCollectsKey as Qn,pInteractionRemoveCollectKey as $n,pInteractionTrackEventsBatchKey as er,pInteractionUnfollowKey as tr,pInteractionUnifiedBatchLikeDislikeKey as nr,pInteractionUpdateFolderKey as rr,pInteractionUpdateFollowingContentUpdateTimeKey as ir,pUserEditUserInfoKey as ar,pUserLoginKey as or,pUserRegisterByVerifyEmailCodeKey as sr,pUserRegisterKey as cr,pUserResetForgetPasswordKey as lr,pUserResetPasswordKey as ur,pUserSendEmailCodeKey as dr,pUserSendForgetEmailCodeKey as fr,pUserSendResetPasswordEmailCodeKey as pr,pUserUploadUserBgImageKey as mr,pUserUserFeedbackKey as hr,pUserUserPrivacySettingsKey as gr,pUserVerifyEmailCodeKey as _r,pUserVerifyForgetEmailCodeKey as vr,pUserVerifyResetPasswordEmailCodeKey as yr}from"./service/generated/tanstack.mjs";import{pUserRegisterByVerifyEmailCodeCompat as br}from"./service/register-by-verify-email-code.mjs";export{ut as createQueryKey,n as gCommerceQueryOrderResult,dt as gCommerceQueryOrderResultKey,r as gCommunityGetCollectionInfo,ft as gCommunityGetCollectionInfoKey,i as gCommunityGetComments,pt as gCommunityGetCommentsKey,a as gCommunityGetContentInfo,mt as gCommunityGetContentInfoKey,o as gCommunityGetContentList,ht as gCommunityGetContentListKey,s as gCommunityGetHotContentList,gt as gCommunityGetHotContentListKey,c as gCommunityGetSubscribedCollections,_t as gCommunityGetSubscribedCollectionsKey,l as gCommunityGetUserCollections,vt as gCommunityGetUserCollectionsKey,u as gContentGetAdvertiseByCode,yt as gContentGetAdvertiseByCodeKey,d as gContentGetAppChannelBlock,f as gContentGetAppChannelBlockData,bt as gContentGetAppChannelBlockDataKey,xt as gContentGetAppChannelBlockKey,p as gContentGetAppChannels,St as gContentGetAppChannelsKey,m as gContentGetAppComponent,Ct as gContentGetAppComponentKey,h as gContentGetGuessYouLikeVideos,wt as gContentGetGuessYouLikeVideosKey,g as gContentGetHotVideoList,Tt as gContentGetHotVideoListKey,_ as gContentGetRecommendSearchList,Et as gContentGetRecommendSearchListKey,v as gContentGetRecommendVideoList,Dt as gContentGetRecommendVideoListKey,y as gContentGetSeoConfig,Ot as gContentGetSeoConfigKey,b as gContentGetVideoDetail,x as gContentGetVideoDetailByApi,kt as gContentGetVideoDetailByApiKey,At as gContentGetVideoDetailKey,S as gContentListVisibleFloatingBall,jt as gContentListVisibleFloatingBallKey,C as gContentProcessM3u8,Mt as gContentProcessM3u8Key,w as gInteractionCheckMutualFollow,Nt as gInteractionCheckMutualFollowKey,T as gInteractionGetBrowseList,Pt as gInteractionGetBrowseListKey,E as gInteractionGetContentDislikeList,Ft as gInteractionGetContentDislikeListKey,D as gInteractionGetContentLikeList,It as gInteractionGetContentLikeListKey,O as gInteractionGetDislikeList,Lt as gInteractionGetDislikeListKey,k as gInteractionGetFolder,Rt as gInteractionGetFolderKey,A as gInteractionGetFolderStats,zt as gInteractionGetFolderStatsKey,j as gInteractionGetFollowStats,Bt as gInteractionGetFollowStatsKey,M as gInteractionGetFollowerList,Vt as gInteractionGetFollowerListKey,N as gInteractionGetFollowingContentList,Ht as gInteractionGetFollowingContentListKey,P as gInteractionGetFollowingList,Ut as gInteractionGetFollowingListKey,F as gInteractionGetFollowingUserUpdates,Wt as gInteractionGetFollowingUserUpdatesKey,I as gInteractionGetLikeList,Gt as gInteractionGetLikeListKey,L as gInteractionListCollects,Kt as gInteractionListCollectsKey,R as gInteractionListFolders,qt as gInteractionListFoldersKey,z as gUserGetGuestIdentity,Jt as gUserGetGuestIdentityKey,B as gUserGetUserEditInfo,Yt as gUserGetUserEditInfoKey,V as gUserGetUserInfo,Xt as gUserGetUserInfoKey,H as gUserGetUserPrivacySettings,Zt as gUserGetUserPrivacySettingsKey,U as gUserGetVisitorPermissionConfig,Qt as gUserGetVisitorPermissionConfigKey,W as gUserViewUserInfo,$t as gUserViewUserInfoKey,G as pCommerceCreatePayment,en as pCommerceCreatePaymentKey,K as pCommerceGetPaymentMethods,tn as pCommerceGetPaymentMethodsKey,q as pCommercePaymentSuccessCallback,nn as pCommercePaymentSuccessCallbackKey,J as pCommerceRefundCallback,rn as pCommerceRefundCallbackKey,Y as pCommunityAddContentToCollection,an as pCommunityAddContentToCollectionKey,X as pCommunityBatchDeleteCollection,on as pCommunityBatchDeleteCollectionKey,Z as pCommunityCreateCollection,sn as pCommunityCreateCollectionKey,Q as pCommunityCreateComment,cn as pCommunityCreateCommentKey,$ as pCommunityDeleteCollection,ln as pCommunityDeleteCollectionKey,ee as pCommunityDeleteComment,un as pCommunityDeleteCommentKey,te as pCommunityDeleteContent,dn as pCommunityDeleteContentKey,ne as pCommunityDislikeComment,fn as pCommunityDislikeCommentKey,re as pCommunityGetUploadPresignedURL,pn as pCommunityGetUploadPresignedURLKey,ie as pCommunityLikeComment,mn as pCommunityLikeCommentKey,ae as pCommunityMoveCollectionContent,hn as pCommunityMoveCollectionContentKey,oe as pCommunityPublishContent,gn as pCommunityPublishContentKey,se as pCommunityRemoveContentFromCollection,_n as pCommunityRemoveContentFromCollectionKey,ce as pCommunitySearchCurAccountFollowingUsersInfo,vn as pCommunitySearchCurAccountFollowingUsersInfoKey,le as pCommunityShareContent,yn as pCommunityShareContentKey,ue as pCommunitySubscribeCollection,bn as pCommunitySubscribeCollectionKey,de as pCommunityUpdateCollection,xn as pCommunityUpdateCollectionKey,fe as pCommunityUpdateContent,Sn as pCommunityUpdateContentKey,pe as pCommunityUploadMedia,Cn as pCommunityUploadMediaKey,e as pContentAdsMatch,t as pContentAdsMatchKey,me as pContentBatchGetVideoDetail,wn as pContentBatchGetVideoDetailKey,he as pContentGetMostPlayedVideoList,Tn as pContentGetMostPlayedVideoListKey,ge as pContentGetNewstVideoList,En as pContentGetNewstVideoListKey,_e as pContentGetPopularVideoList,Dn as pContentGetPopularVideoListKey,ve as pContentGetTopRatedVideoList,On as pContentGetTopRatedVideoListKey,ye as pContentMatchAds,kn as pContentMatchAdsKey,be as pInteractionAddCollect,An as pInteractionAddCollectKey,xe as pInteractionBatchClearBrowse,jn as pInteractionBatchClearBrowseKey,Se as pInteractionBatchDeleteCollects,Mn as pInteractionBatchDeleteCollectsKey,Ce as pInteractionBatchDeleteFolders,Nn as pInteractionBatchDeleteFoldersKey,we as pInteractionBatchGetCommentLikeStatus,Pn as pInteractionBatchGetCommentLikeStatusKey,Te as pInteractionBatchGetFollowStats,Fn as pInteractionBatchGetFollowStatsKey,Ee as pInteractionBatchGetLikeStatus,In as pInteractionBatchGetLikeStatusKey,De as pInteractionBatchQueryContentInteractions,Ln as pInteractionBatchQueryContentInteractionsKey,Oe as pInteractionBrowse,Rn as pInteractionBrowseKey,ke as pInteractionCancelDislike,zn as pInteractionCancelDislikeKey,Ae as pInteractionCancelLike,Bn as pInteractionCancelLikeKey,je as pInteractionCheckCollect,Vn as pInteractionCheckCollectKey,Me as pInteractionCheckFollow,Hn as pInteractionCheckFollowKey,Ne as pInteractionClearBrowseHistory,Un as pInteractionClearBrowseHistoryKey,Pe as pInteractionCreateFolder,Wn as pInteractionCreateFolderKey,Fe as pInteractionDeleteBrowseRecord,Gn as pInteractionDeleteBrowseRecordKey,Ie as pInteractionDeleteFolder,Kn as pInteractionDeleteFolderKey,Le as pInteractionDislike,Re as pInteractionDislikeComment,qn as pInteractionDislikeCommentKey,Jn as pInteractionDislikeKey,ze as pInteractionFollow,Yn as pInteractionFollowKey,Be as pInteractionLike,Ve as pInteractionLikeComment,Xn as pInteractionLikeCommentKey,Zn as pInteractionLikeKey,He as pInteractionMoveCollects,Qn as pInteractionMoveCollectsKey,Ue as pInteractionRemoveCollect,$n as pInteractionRemoveCollectKey,We as pInteractionTrackEventsBatch,er as pInteractionTrackEventsBatchKey,Ge as pInteractionUnfollow,tr as pInteractionUnfollowKey,Ke as pInteractionUnifiedBatchLikeDislike,nr as pInteractionUnifiedBatchLikeDislikeKey,qe as pInteractionUpdateFolder,rr as pInteractionUpdateFolderKey,Je as pInteractionUpdateFollowingContentUpdateTime,ir as pInteractionUpdateFollowingContentUpdateTimeKey,Ye as pUserEditUserInfo,ar as pUserEditUserInfoKey,Xe as pUserLogin,or as pUserLoginKey,Ze as pUserRegister,Qe as pUserRegisterByVerifyEmailCode,br as pUserRegisterByVerifyEmailCodeCompat,sr as pUserRegisterByVerifyEmailCodeKey,cr as pUserRegisterKey,$e as pUserResetForgetPassword,lr as pUserResetForgetPasswordKey,et as pUserResetPassword,ur as pUserResetPasswordKey,tt as pUserSendEmailCode,dr as pUserSendEmailCodeKey,nt as pUserSendForgetEmailCode,fr as pUserSendForgetEmailCodeKey,rt as pUserSendResetPasswordEmailCode,pr as pUserSendResetPasswordEmailCodeKey,it as pUserUploadUserBgImage,mr as pUserUploadUserBgImageKey,at as pUserUserFeedback,hr as pUserUserFeedbackKey,ot as pUserUserPrivacySettings,gr as pUserUserPrivacySettingsKey,st as pUserVerifyEmailCode,_r as pUserVerifyEmailCodeKey,ct as pUserVerifyForgetEmailCode,vr as pUserVerifyForgetEmailCodeKey,lt as pUserVerifyResetPasswordEmailCode,yr as pUserVerifyResetPasswordEmailCodeKey};
|
|
2
|
+
import { pContentAdsMatch, pContentAdsMatchKey } from "./service/advertisement.mjs";
|
|
3
|
+
import { gCommerceQueryOrderResult, gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetSeoConfig, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserGetVisitorPermissionConfig, gUserViewUserInfo, pCommerceCreatePayment, pCommerceGetPaymentMethods, pCommercePaymentSuccessCallback, pCommerceRefundCallback, pCommunityAddContentToCollection, pCommunityBatchDeleteCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetMostPlayedVideoList, pContentGetNewstVideoList, pContentGetPopularVideoList, pContentGetTopRatedVideoList, pContentMatchAds, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchDeleteFolders, 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, pUserRegisterByVerifyEmailCode, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode } from "./service/generated/client.mjs";
|
|
4
|
+
import { createQueryKey, gCommerceQueryOrderResultKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetSeoConfigKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserGetVisitorPermissionConfigKey, gUserViewUserInfoKey, pCommerceCreatePaymentKey, pCommerceGetPaymentMethodsKey, pCommercePaymentSuccessCallbackKey, pCommerceRefundCallbackKey, pCommunityAddContentToCollectionKey, pCommunityBatchDeleteCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetMostPlayedVideoListKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pContentGetTopRatedVideoListKey, pContentMatchAdsKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchDeleteFoldersKey, 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, pUserRegisterByVerifyEmailCodeKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey } from "./service/generated/tanstack.mjs";
|
|
5
|
+
import { pUserRegisterByVerifyEmailCodeCompat } from "./service/register-by-verify-email-code.mjs";
|
|
6
|
+
|
|
7
|
+
export { createQueryKey, gCommerceQueryOrderResult, gCommerceQueryOrderResultKey, 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, gContentGetSeoConfig, gContentGetSeoConfigKey, 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, gUserGetVisitorPermissionConfig, gUserGetVisitorPermissionConfigKey, gUserViewUserInfo, gUserViewUserInfoKey, pCommerceCreatePayment, pCommerceCreatePaymentKey, pCommerceGetPaymentMethods, pCommerceGetPaymentMethodsKey, pCommercePaymentSuccessCallback, pCommercePaymentSuccessCallbackKey, pCommerceRefundCallback, pCommerceRefundCallbackKey, pCommunityAddContentToCollection, pCommunityAddContentToCollectionKey, pCommunityBatchDeleteCollection, pCommunityBatchDeleteCollectionKey, 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, pContentAdsMatch, pContentAdsMatchKey, pContentBatchGetVideoDetail, pContentBatchGetVideoDetailKey, pContentGetMostPlayedVideoList, pContentGetMostPlayedVideoListKey, pContentGetNewstVideoList, pContentGetNewstVideoListKey, pContentGetPopularVideoList, pContentGetPopularVideoListKey, pContentGetTopRatedVideoList, pContentGetTopRatedVideoListKey, pContentMatchAds, pContentMatchAdsKey, pInteractionAddCollect, pInteractionAddCollectKey, pInteractionBatchClearBrowse, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollects, pInteractionBatchDeleteCollectsKey, pInteractionBatchDeleteFolders, pInteractionBatchDeleteFoldersKey, 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, pUserRegisterByVerifyEmailCodeCompat, pUserRegisterByVerifyEmailCodeKey, 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,96 @@
|
|
|
1
1
|
|
|
2
|
-
import{isClient
|
|
2
|
+
import { isClient } from "../../utils/common.mjs";
|
|
3
|
+
import { createStore } from "../create-store.mjs";
|
|
4
|
+
|
|
5
|
+
//#region store/modules/blind-spot-ad-store.ts
|
|
6
|
+
/**
|
|
7
|
+
* 生成会话ID
|
|
8
|
+
*/
|
|
9
|
+
function generateSessionId() {
|
|
10
|
+
return `session_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 盲点广告 Store
|
|
14
|
+
*
|
|
15
|
+
* 管理盲点广告的全局状态,包括:
|
|
16
|
+
* - 会话管理
|
|
17
|
+
* - 已触发视频记录
|
|
18
|
+
* - 播放进度跟踪
|
|
19
|
+
* - 蒙层显示状态
|
|
20
|
+
* - 广告配置
|
|
21
|
+
*/
|
|
22
|
+
const useBlindSpotAdStore = createStore((set, get) => ({
|
|
23
|
+
sessionId: "",
|
|
24
|
+
triggeredVideoIds: /* @__PURE__ */ new Set(),
|
|
25
|
+
currentVideoId: void 0,
|
|
26
|
+
currentTime: 0,
|
|
27
|
+
isOverlayVisible: false,
|
|
28
|
+
adConfig: null,
|
|
29
|
+
adResponseData: null,
|
|
30
|
+
initSession: () => {
|
|
31
|
+
set({
|
|
32
|
+
sessionId: generateSessionId(),
|
|
33
|
+
triggeredVideoIds: /* @__PURE__ */ new Set()
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
setCurrentVideo: (videoId) => {
|
|
37
|
+
set({
|
|
38
|
+
currentVideoId: videoId,
|
|
39
|
+
currentTime: 0
|
|
40
|
+
});
|
|
41
|
+
},
|
|
42
|
+
updateCurrentTime: (time) => {
|
|
43
|
+
set({ currentTime: time });
|
|
44
|
+
},
|
|
45
|
+
markVideoTriggered: (videoId) => {
|
|
46
|
+
const { triggeredVideoIds } = get();
|
|
47
|
+
const newSet = new Set(triggeredVideoIds);
|
|
48
|
+
newSet.add(videoId);
|
|
49
|
+
set({ triggeredVideoIds: newSet });
|
|
50
|
+
if (isClient()) try {
|
|
51
|
+
const triggered = Array.from(newSet);
|
|
52
|
+
sessionStorage.setItem("blind_spot_ad_triggered_videos", JSON.stringify(triggered));
|
|
53
|
+
} catch (error) {
|
|
54
|
+
console.warn("Failed to save triggered videos to sessionStorage:", error);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
isVideoTriggered: (videoId) => {
|
|
58
|
+
const { triggeredVideoIds } = get();
|
|
59
|
+
return triggeredVideoIds.has(videoId);
|
|
60
|
+
},
|
|
61
|
+
showOverlay: () => {
|
|
62
|
+
set({ isOverlayVisible: true });
|
|
63
|
+
},
|
|
64
|
+
hideOverlay: () => {
|
|
65
|
+
set({ isOverlayVisible: false });
|
|
66
|
+
},
|
|
67
|
+
setAdConfig: (config) => {
|
|
68
|
+
set({ adConfig: config });
|
|
69
|
+
},
|
|
70
|
+
setAdResponseData: (data) => {
|
|
71
|
+
set({ adResponseData: data });
|
|
72
|
+
},
|
|
73
|
+
shouldTriggerAd: () => {
|
|
74
|
+
const { currentVideoId, currentTime, adConfig, isOverlayVisible } = get();
|
|
75
|
+
if (isOverlayVisible) return false;
|
|
76
|
+
if (!currentVideoId) return false;
|
|
77
|
+
if (!adConfig || !adConfig.enabled) return false;
|
|
78
|
+
if (get().isVideoTriggered(currentVideoId)) return false;
|
|
79
|
+
if (currentTime < adConfig.triggerTimeMinutes * 60) return false;
|
|
80
|
+
if (!adConfig.jumpUrl) return false;
|
|
81
|
+
return true;
|
|
82
|
+
},
|
|
83
|
+
reset: () => {
|
|
84
|
+
set({
|
|
85
|
+
currentVideoId: void 0,
|
|
86
|
+
currentTime: 0,
|
|
87
|
+
isOverlayVisible: false
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}), {
|
|
91
|
+
name: "blind-spot-ad-store",
|
|
92
|
+
persist: false
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
//#endregion
|
|
96
|
+
export { useBlindSpotAdStore };
|
|
@@ -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 };
|