@funhub/platform 0.2.31 → 0.2.32
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 +1 -18
- package/dist/assets/icons/channel-list/channel-active-indicator.mjs +1 -31
- package/dist/assets/icons/clear.mjs +1 -17
- package/dist/assets/icons/close-icon.mjs +1 -18
- package/dist/assets/icons/close.mjs +1 -14
- package/dist/assets/icons/common/collect_nor.mjs +1 -21
- package/dist/assets/icons/common/collect_sel.mjs +1 -21
- package/dist/assets/icons/common/follow_sel.mjs +1 -17
- package/dist/assets/icons/common/follow_user.mjs +1 -17
- package/dist/assets/icons/common/full_screen.mjs +1 -17
- package/dist/assets/icons/common/god_comment.mjs +1 -17
- package/dist/assets/icons/common/header-menu.mjs +1 -29
- package/dist/assets/icons/common/header-search-icon.mjs +1 -17
- package/dist/assets/icons/common/heart-like.mjs +1 -31
- package/dist/assets/icons/common/heart-unlike.mjs +1 -18
- package/dist/assets/icons/common/qq.mjs +1 -32
- package/dist/assets/icons/common/right_arrow.mjs +1 -14
- package/dist/assets/icons/common/right_arrow_thin.mjs +1 -17
- package/dist/assets/icons/common/share.mjs +1 -17
- package/dist/assets/icons/common/solid-arrow.mjs +1 -17
- package/dist/assets/icons/common/video_play.mjs +1 -18
- package/dist/assets/icons/common/wechat-friends.mjs +1 -40
- package/dist/assets/icons/common/wechat.mjs +1 -39
- package/dist/assets/icons/detail/check-ok.mjs +1 -17
- package/dist/assets/icons/detail/comment.mjs +1 -19
- package/dist/assets/icons/detail/commet_at.mjs +1 -53
- package/dist/assets/icons/detail/give_like.mjs +1 -20
- package/dist/assets/icons/detail/give_like_sel.mjs +1 -27
- package/dist/assets/icons/detail/min-collection.mjs +1 -38
- package/dist/assets/icons/detail/publish_pic.mjs +1 -27
- package/dist/assets/icons/detail/publish_video.mjs +1 -30
- package/dist/assets/icons/detail/un_like.mjs +1 -20
- package/dist/assets/icons/detail/un_like_sel.mjs +1 -27
- package/dist/assets/icons/detail/video_flag.mjs +1 -17
- package/dist/assets/icons/detail/video_play.mjs +1 -18
- package/dist/assets/icons/dislike.mjs +1 -20
- package/dist/assets/icons/dislike_sel.mjs +1 -27
- package/dist/assets/icons/empty/img-empty-adduser.mjs +1 -463
- package/dist/assets/icons/empty/img-empty-nodata.mjs +1 -194
- package/dist/assets/icons/eye-icon.mjs +1 -21
- package/dist/assets/icons/eye-off-icon.mjs +1 -24
- package/dist/assets/icons/filter_dark.mjs +1 -17
- package/dist/assets/icons/follow_nor.mjs +1 -44
- package/dist/assets/icons/follow_sel.mjs +1 -31
- package/dist/assets/icons/left-arrow-icon.mjs +1 -18
- package/dist/assets/icons/left_arrow.mjs +1 -14
- package/dist/assets/icons/like.mjs +1 -20
- package/dist/assets/icons/like_sel.mjs +1 -27
- package/dist/assets/icons/marquee-close.mjs +1 -29
- package/dist/assets/icons/marquee-enter.mjs +1 -17
- package/dist/assets/icons/marquee-speaker.mjs +1 -22
- package/dist/assets/icons/publish/publish_add.mjs +1 -17
- package/dist/assets/icons/publish/publish_at.mjs +1 -53
- package/dist/assets/icons/publish/publish_collection.mjs +1 -28
- package/dist/assets/icons/publish/publish_pic.mjs +1 -27
- package/dist/assets/icons/publish/publish_video.mjs +1 -30
- package/dist/assets/icons/refresh.mjs +1 -18
- package/dist/assets/icons/search/filter.mjs +1 -17
- package/dist/assets/icons/search.mjs +1 -23
- package/dist/assets/icons/share/share-link.mjs +1 -39
- package/dist/assets/icons/tabs/follow.mjs +1 -20
- package/dist/assets/icons/tabs/follow_active.mjs +1 -17
- package/dist/assets/icons/tabs/home.mjs +1 -17
- package/dist/assets/icons/tabs/home_active.mjs +1 -17
- package/dist/assets/icons/tabs/mine.mjs +1 -26
- package/dist/assets/icons/tabs/mine_active.mjs +1 -17
- package/dist/assets/icons/view.mjs +1 -17
- package/dist/assets/images/add.mjs +1 -5
- package/dist/assets/images/default_avatar.mjs +1 -5
- package/dist/assets/images/default_collection_cover.mjs +1 -5
- package/dist/assets/images/empty/img_empty_adduser.mjs +1 -463
- package/dist/assets/images/empty/img_empty_message.mjs +1 -408
- package/dist/assets/images/empty/img_empty_network.mjs +1 -168
- package/dist/assets/images/empty/img_empty_nodata.mjs +1 -194
- package/dist/assets/images/empty/img_empty_picture.mjs +1 -59
- package/dist/assets/images/empty/img_empty_search.mjs +1 -250
- package/dist/assets/images/frame.mjs +1 -5
- package/dist/assets/images/less.mjs +1 -5
- package/dist/assets/images/logo.mjs +1 -5
- package/dist/assets/images/shortcut-grid/shortcut-grid-card-bg-primary.mjs +1 -29
- package/dist/assets/images/subscript.mjs +1 -5
- package/dist/assets/images/user/default_avatar.mjs +1 -5
- package/dist/biz.mjs +1 -169
- package/dist/cli/init/create-client.mjs +1 -12
- package/dist/cli/init/create-sdk.mjs +1 -12
- package/dist/cli/init/shared/command.mjs +1 -31
- package/dist/cli/init/shared/constants.mjs +1 -24
- package/dist/cli/init/shared/create-project.mjs +2 -58
- package/dist/cli/init/shared/file.mjs +1 -21
- package/dist/cli/init/shared/package-manager.mjs +1 -42
- package/dist/cli/init/shared/prompts.mjs +1 -107
- package/dist/cli/init/shared/template.mjs +1 -66
- package/dist/cli.mjs +2 -128
- package/dist/common.mjs +1 -51
- package/dist/components/biz/basics/card-item/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/card-item/runtime/client.mjs +1 -83
- package/dist/components/biz/basics/card-item/runtime/corners.mjs +1 -33
- package/dist/components/biz/basics/card-item/schema/component.mjs +1 -14
- package/dist/components/biz/basics/card-item/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/card-item/schema/event.schema.mjs +1 -8
- package/dist/components/biz/basics/card-item/schema/index.mjs +1 -17
- package/dist/components/biz/basics/card-item/schema/props.schema.mjs +1 -18
- package/dist/components/biz/basics/card-item/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/card-layout/defaults/default-props.mjs +1 -13
- package/dist/components/biz/basics/card-layout/runtime/client.mjs +1 -38
- package/dist/components/biz/basics/card-layout/schema/component.mjs +1 -14
- package/dist/components/biz/basics/card-layout/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/card-layout/schema/event.schema.mjs +1 -5
- package/dist/components/biz/basics/card-layout/schema/index.mjs +1 -17
- package/dist/components/biz/basics/card-layout/schema/props.schema.mjs +1 -28
- package/dist/components/biz/basics/card-layout/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/fullscreen-feed/basic-fullscreen.mjs +1 -268
- package/dist/components/biz/basics/fullscreen-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/basics/fullscreen-feed/index.mjs +1 -12
- package/dist/components/biz/basics/fullscreen-feed/runtime/adapters.mjs +1 -97
- package/dist/components/biz/basics/fullscreen-feed/runtime/bottom-info.mjs +1 -125
- package/dist/components/biz/basics/fullscreen-feed/runtime/client.mjs +1 -390
- package/dist/components/biz/basics/fullscreen-feed/runtime/comment-modal.mjs +1 -107
- package/dist/components/biz/basics/fullscreen-feed/runtime/interaction-sync.mjs +1 -134
- package/dist/components/biz/basics/fullscreen-feed/runtime/post-slide.mjs +1 -232
- package/dist/components/biz/basics/fullscreen-feed/runtime/styles.module.mjs +152 -25
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-mixed-feed-controller.mjs +1 -193
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-series-feed-controller.mjs +1 -212
- package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +1 -270
- package/dist/components/biz/basics/fullscreen-feed/runtime/video-slide.mjs +1 -376
- package/dist/components/biz/basics/fullscreen-feed/schema/component.mjs +1 -14
- package/dist/components/biz/basics/fullscreen-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/basics/fullscreen-feed/schema/event.schema.mjs +1 -13
- package/dist/components/biz/basics/fullscreen-feed/schema/index.mjs +1 -17
- package/dist/components/biz/basics/fullscreen-feed/schema/props.schema.mjs +1 -20
- package/dist/components/biz/basics/fullscreen-feed/schema/style.schema.mjs +1 -5
- package/dist/components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs +1 -19
- package/dist/components/biz/basics/logo/variants/basic-logo/index.mjs +1 -9
- package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +1 -171
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/component.mjs +1 -14
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/data.schema.mjs +1 -9
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/event.schema.mjs +1 -23
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/index.mjs +1 -17
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/props.schema.mjs +1 -78
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/shared/components/search-box.mjs +1 -56
- package/dist/components/biz/basics/search/shared/config/default-data.mjs +1 -15
- package/dist/components/biz/basics/search/shared/config/schema.mjs +1 -50
- package/dist/components/biz/basics/search/variants/basic-search/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/search/variants/basic-search/index.mjs +1 -12
- package/dist/components/biz/basics/search/variants/basic-search/runtime/client.mjs +1 -33
- package/dist/components/biz/basics/search/variants/basic-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/basic-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/basic-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/basic-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/basic-search/schema/props.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/basic-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/filter-search/defaults/default-props.mjs +1 -14
- package/dist/components/biz/basics/search/variants/filter-search/index.mjs +1 -12
- package/dist/components/biz/basics/search/variants/filter-search/runtime/client.mjs +1 -63
- package/dist/components/biz/basics/search/variants/filter-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/filter-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/filter-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/filter-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/filter-search/schema/props.schema.mjs +1 -22
- package/dist/components/biz/basics/search/variants/filter-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/search/variants/simple-search/index.mjs +1 -9
- package/dist/components/biz/basics/search/variants/simple-search/runtime/client.mjs +1 -37
- package/dist/components/biz/basics/search/variants/simple-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/simple-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/simple-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/simple-search/schema/props.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/tag-search/defaults/default-props.mjs +1 -18
- package/dist/components/biz/basics/search/variants/tag-search/index.mjs +1 -9
- package/dist/components/biz/basics/search/variants/tag-search/runtime/client.mjs +1 -67
- package/dist/components/biz/basics/search/variants/tag-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/tag-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/tag-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/tag-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/tag-search/schema/props.schema.mjs +1 -37
- package/dist/components/biz/basics/search/variants/tag-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/advertisement/ad-match.mjs +1 -142
- package/dist/components/biz/business/advertisement/ad-provider.mjs +1 -50
- package/dist/components/biz/business/advertisement/ad-query.mjs +1 -39
- package/dist/components/biz/business/advertisement/ad-runtime-provider.mjs +1 -21
- package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -274
- package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -55
- package/dist/components/biz/business/advertisement/banner-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/feed-ad/index.mjs +1 -36
- package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -109
- package/dist/components/biz/business/advertisement/floating-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/floating-ad/schema.mjs +1 -11
- package/dist/components/biz/business/advertisement/floating-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -187
- package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -42
- package/dist/components/biz/business/advertisement/icon-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/popup-ad/client.mjs +2 -203
- package/dist/components/biz/business/advertisement/popup-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -48
- package/dist/components/biz/business/advertisement/popup-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -370
- package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/text-ad/schema.mjs +1 -34
- package/dist/components/biz/business/advertisement/text-ad/server.mjs +1 -24
- package/dist/components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/banner/variants/basic-banner/index.mjs +1 -12
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -62
- package/dist/components/biz/business/banner/variants/basic-banner/material.mjs +1 -21
- package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +1 -140
- package/dist/components/biz/business/banner/variants/basic-banner/schema/component.mjs +1 -14
- package/dist/components/biz/business/banner/variants/basic-banner/schema/data.schema.mjs +1 -53
- package/dist/components/biz/business/banner/variants/basic-banner/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/banner/variants/basic-banner/schema/index.mjs +1 -17
- package/dist/components/biz/business/banner/variants/basic-banner/schema/props.schema.mjs +1 -40
- package/dist/components/biz/business/banner/variants/basic-banner/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/banner/variants/basic-banner/server.mjs +1 -25
- package/dist/components/biz/business/banner-carousel/client.mjs +1 -133
- package/dist/components/biz/business/banner-carousel/default-props.mjs +1 -15
- package/dist/components/biz/business/banner-carousel/material.mjs +1 -22
- package/dist/components/biz/business/banner-carousel/schema.mjs +1 -94
- package/dist/components/biz/business/banner-carousel/server.mjs +1 -87
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/runtime/client.mjs +1 -106
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/runtime/client.mjs +1 -106
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/channel-list/channel-filter-dialog.mjs +1 -190
- package/dist/components/biz/business/channel-list/client.mjs +1 -157
- package/dist/components/biz/business/channel-list/default-props.mjs +1 -13
- package/dist/components/biz/business/channel-list/material.mjs +1 -21
- package/dist/components/biz/business/channel-list/schema.mjs +1 -40
- package/dist/components/biz/business/comment/comment-input.mjs +5 -772
- package/dist/components/biz/business/comment/comment-item.mjs +1 -182
- package/dist/components/biz/business/comment/comment-list.mjs +1 -722
- package/dist/components/biz/business/comment/comment-media.mjs +1 -57
- package/dist/components/biz/business/comment/comment-rich-text.mjs +1 -69
- package/dist/components/biz/business/comment/reply-detail.mjs +1 -969
- package/dist/components/biz/business/comment/time-display.mjs +1 -20
- package/dist/components/biz/business/comment/use-keyboard-handler.mjs +1 -142
- package/dist/components/biz/business/contact/contact-item.mjs +1 -45
- package/dist/components/biz/business/contact/contact-list.mjs +1 -212
- package/dist/components/biz/business/contact/contact-search.mjs +1 -128
- package/dist/components/biz/business/detail/shared/detail-follow-action.mjs +1 -114
- package/dist/components/biz/business/detail/shared/detail-info-tags.mjs +1 -33
- package/dist/components/biz/business/detail/shared/detail-info-title.mjs +1 -84
- package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -432
- package/dist/components/biz/business/detail/shared/detail-structured-data.mjs +1 -63
- package/dist/components/biz/business/detail/shared/editor-preview.mjs +1 -67
- package/dist/components/biz/business/detail/shared/material-route-context.mjs +1 -44
- package/dist/components/biz/business/detail/shared/metadata-utils.mjs +1 -21
- package/dist/components/biz/business/detail/shared/post-recommend-list.mjs +1 -184
- package/dist/components/biz/business/detail/shared/registry.mjs +1 -55
- package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -225
- package/dist/components/biz/business/detail/shared/seo-config.mjs +1 -28
- package/dist/components/biz/business/detail/shared/use-video-detail-webview-bridge.mjs +1 -320
- package/dist/components/biz/business/detail/shared/video-detail-server-data.mjs +1 -46
- package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -902
- package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -97
- package/dist/components/biz/business/detail/video-detail-actions/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -11
- package/dist/components/biz/business/detail/video-detail-actions/server.mjs +1 -47
- package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -201
- package/dist/components/biz/business/detail/video-detail-info/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -14
- package/dist/components/biz/business/detail/video-detail-info/server.mjs +1 -45
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.mjs +1 -51
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -14
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.mjs +1 -45
- package/dist/components/biz/business/detail/video-detail-player/client.mjs +1 -136
- package/dist/components/biz/business/detail/video-detail-player/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -11
- package/dist/components/biz/business/detail/video-detail-player/server.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/client.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/schema.mjs +1 -13
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/server.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -89
- package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -35
- package/dist/components/biz/business/detail/video-detail-recommend/server.mjs +1 -35
- package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +1 -548
- package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +1 -60
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs +1 -12
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs +1 -9
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/runtime/client.mjs +1 -66
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/component.mjs +1 -14
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/data.schema.mjs +1 -43
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs +1 -17
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/props.schema.mjs +1 -32
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/floating-ball/client.mjs +1 -31
- package/dist/components/biz/business/floating-ball/material.mjs +1 -18
- package/dist/components/biz/business/floating-ball/schema.mjs +1 -20
- package/dist/components/biz/business/floating-ball/server.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs +1 -9
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/runtime/client.mjs +1 -71
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/component.mjs +1 -14
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs +1 -9
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/runtime/client.mjs +1 -64
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/component.mjs +1 -14
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/shared/runtime-compat.mjs +1 -522
- package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -21
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -11
- package/dist/components/biz/business/header-search/header-avatar-icon/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -142
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -23
- package/dist/components/biz/business/header-search/header-avatar-logo-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -38
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -20
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -32
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -22
- package/dist/components/biz/business/header-search/header-logo-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-search/client.mjs +1 -19
- package/dist/components/biz/business/header-search/header-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -11
- package/dist/components/biz/business/header-search/header-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -53
- package/dist/components/biz/business/header-search/shared/header-action.mjs +1 -29
- package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +1 -26
- package/dist/components/biz/business/header-search/shared/header-shell.mjs +1 -21
- package/dist/components/biz/business/header-search/shared/logo.mjs +1 -25
- package/dist/components/biz/business/header-search/shared/search.mjs +1 -47
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.mjs +1 -48
- package/dist/components/biz/business/home-recommend/home-recommend-grid/index.mjs +1 -14
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -229
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.mjs +1 -18
- package/dist/components/biz/business/home-recommend/home-recommend-grid/schema.mjs +1 -24
- package/dist/components/biz/business/home-recommend/home-recommend-grid/server.mjs +1 -48
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +1 -47
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.mjs +1 -14
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -211
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +1 -18
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs +1 -24
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/server.mjs +1 -42
- package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -890
- package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +1 -24
- package/dist/components/biz/business/home-recommend/shared/home-recommend-play-count.mjs +1 -31
- package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -178
- package/dist/components/biz/business/home-recommend/shared/home-recommend-runtime-props.mjs +1 -47
- package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -336
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-layout.mjs +1 -73
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-tag.mjs +1 -21
- package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +1 -73
- package/dist/components/biz/business/image-text-recommend/client.mjs +1 -436
- package/dist/components/biz/business/image-text-recommend/material.mjs +1 -21
- package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -79
- package/dist/components/biz/business/image-text-recommend/server.mjs +1 -53
- package/dist/components/biz/business/image-text-recommend/shared/query.mjs +1 -33
- package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -106
- package/dist/components/biz/business/large-feature-grid/client.mjs +1 -256
- package/dist/components/biz/business/large-feature-grid/material.mjs +1 -21
- package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -127
- package/dist/components/biz/business/large-feature-grid/server.mjs +1 -16
- package/dist/components/biz/business/marquee/client.mjs +1 -303
- package/dist/components/biz/business/marquee/material.mjs +1 -21
- package/dist/components/biz/business/marquee/schema.mjs +1 -86
- package/dist/components/biz/business/marquee/server.mjs +1 -17
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs +1 -21
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs +1 -9
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/channel-filter-dialog.mjs +1 -180
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -159
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/event.schema.mjs +1 -27
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/props.schema.mjs +1 -92
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/post-card/variants/basic-post-card/index.mjs +1 -9
- package/dist/components/biz/business/post-card/variants/basic-post-card/runtime/client.mjs +1 -119
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/component.mjs +1 -14
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/index.mjs +1 -17
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/props.schema.mjs +1 -5
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/profile/profile-header/client.mjs +1 -343
- package/dist/components/biz/business/profile/profile-header/material.mjs +1 -59
- package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -11
- package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -262
- package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -182
- package/dist/components/biz/business/profile/profile-main/client.mjs +1 -235
- package/dist/components/biz/business/profile/profile-main/empty-state.mjs +1 -43
- package/dist/components/biz/business/profile/profile-main/material.mjs +1 -18
- package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -11
- package/dist/components/biz/business/profile/profile-main/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -275
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -747
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +1 -178
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -259
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -258
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +1 -149
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -266
- package/dist/components/biz/business/profile/profile-main/variants.mjs +1 -40
- package/dist/components/biz/business/profile/tracking.mjs +1 -19
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs +1 -9
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/client.mjs +1 -168
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/recommended-users-skeleton.mjs +1 -119
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/component.mjs +1 -14
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/event.schema.mjs +1 -17
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs +1 -17
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/props.schema.mjs +1 -54
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/runtime/client.mjs +1 -54
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/props.schema.mjs +1 -117
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs +1 -22
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/runtime/client.mjs +1 -53
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/props.schema.mjs +1 -117
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/runtime/client.mjs +1 -52
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/event.schema.mjs +1 -25
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/props.schema.mjs +1 -128
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/index.mjs +1 -12
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/runtime/client.mjs +1 -58
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/event.schema.mjs +1 -38
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/props.schema.mjs +1 -144
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-history/client.mjs +1 -182
- package/dist/components/biz/business/search-history/material.mjs +1 -18
- package/dist/components/biz/business/search-history/schema.mjs +1 -16
- package/dist/components/biz/business/search-history/server.mjs +1 -17
- package/dist/components/biz/business/search-input/client.mjs +1 -115
- package/dist/components/biz/business/search-input/material.mjs +1 -18
- package/dist/components/biz/business/search-input/schema.mjs +1 -11
- package/dist/components/biz/business/search-input/server.mjs +1 -17
- package/dist/components/biz/business/shortcut-grid/client.mjs +1 -86
- package/dist/components/biz/business/shortcut-grid/material.mjs +1 -18
- package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -65
- package/dist/components/biz/business/shortcut-grid/server.mjs +1 -17
- package/dist/components/biz/business/tab-bar/client.mjs +1 -157
- package/dist/components/biz/business/tab-bar/material.mjs +1 -21
- package/dist/components/biz/business/tab-bar/schema.mjs +1 -11
- package/dist/components/biz/business/tab-bar/server.mjs +1 -17
- package/dist/components/biz/business/text-recommend/client.mjs +1 -104
- package/dist/components/biz/business/text-recommend/material.mjs +1 -18
- package/dist/components/biz/business/text-recommend/schema.mjs +1 -25
- package/dist/components/biz/business/text-recommend/server.mjs +1 -18
- package/dist/components/biz/example/button/client.mjs +1 -43
- package/dist/components/biz/example/button/material.mjs +1 -18
- package/dist/components/biz/example/button/schema.mjs +1 -44
- package/dist/components/biz/example/button/server.mjs +1 -32
- package/dist/components/biz/example/button/variants.mjs +1 -22
- package/dist/components/biz/renderer/renderer.mjs +1 -73
- package/dist/components/biz/utils/constants/card-spec.mjs +1 -48
- package/dist/components/biz/utils/helpers/get-channel-list.mjs +1 -14
- package/dist/components/biz/utils/helpers/url.mjs +1 -16
- package/dist/components/biz/utils/schema/data.mjs +1 -22
- package/dist/components/biz/utils/styles/helpers.mjs +1 -84
- package/dist/components/biz/utils/styles/schema.mjs +1 -306
- package/dist/components/biz/utils/transformers/card-grid.mjs +1 -67
- package/dist/components/biz/utils/transformers/data.mjs +1 -171
- package/dist/components/common/analytics-init/analytics-init.mjs +1 -75
- package/dist/components/common/analytics-init/page-lifecycle-tracker.mjs +1 -248
- package/dist/components/common/analytics-init/sensor-init.mjs +1 -126
- package/dist/components/common/at-element/index.mjs +1 -47
- package/dist/components/common/background-preview-modal/background-preview-modal.mjs +1 -73
- package/dist/components/common/blocked-dialog/blocked-dialog.mjs +1 -54
- package/dist/components/common/cards/mini-three-card.mjs +1 -55
- package/dist/components/common/cards/style.module.mjs +24 -12
- package/dist/components/common/collection-popup/create-collection-sheet.mjs +1 -271
- package/dist/components/common/collection-popup/index.mjs +1 -293
- package/dist/components/common/debug-locale-switcher/index.mjs +1 -59
- package/dist/components/common/delete-confirm-dialog/delete-confirm-dialog.mjs +1 -66
- package/dist/components/common/empty/index.mjs +1 -51
- package/dist/components/common/follow-button/index.mjs +1 -133
- package/dist/components/common/follow-button/unfollow-confirm-dialog.mjs +1 -23
- package/dist/components/common/funhub-provider/funhub-provider.mjs +1 -50
- package/dist/components/common/header-nav/client.mjs +1 -51
- package/dist/components/common/icons/add.mjs +1 -21
- package/dist/components/common/icons/comment.mjs +1 -30
- package/dist/components/common/icons/delete.mjs +1 -32
- package/dist/components/common/icons/left-arrow.mjs +1 -15
- package/dist/components/common/icons/more.mjs +1 -30
- package/dist/components/common/icons/right-arrow.mjs +1 -19
- package/dist/components/common/icons/setting.mjs +1 -27
- package/dist/components/common/icons/share.mjs +1 -20
- package/dist/components/common/icons/video.mjs +1 -22
- package/dist/components/common/image-crop-modal/image-crop-modal.mjs +2 -128
- package/dist/components/common/info-card/card-header.mjs +1 -71
- package/dist/components/common/info-card/card-text.mjs +1 -49
- package/dist/components/common/interaction-animations.module.mjs +84 -14
- package/dist/components/common/intl-provider/intl-provider.mjs +1 -21
- package/dist/components/common/keep-scroll-position/index.mjs +1 -39
- package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -139
- package/dist/components/common/list/collection-list/collection-list.mjs +1 -27
- package/dist/components/common/list/collection-list/collection-select-icon.mjs +1 -53
- package/dist/components/common/list/post-list/post-list-item.mjs +1 -54
- package/dist/components/common/list/post-list/post-list.mjs +1 -143
- package/dist/components/common/list/user-activity-list/user-activity-list-actions.mjs +1 -269
- package/dist/components/common/list/user-activity-list/user-activity-list-item.mjs +1 -469
- package/dist/components/common/list/user-activity-list/user-activity-list.mjs +1 -143
- package/dist/components/common/list/video-list/video-list-item.mjs +1 -100
- package/dist/components/common/list/video-list/video-list.mjs +1 -152
- package/dist/components/common/list/waterfall-recommend/recommend-badge-style.mjs +1 -18
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend-display.mjs +1 -26
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +1 -183
- package/dist/components/common/locale-sync/locale-sync.mjs +1 -62
- package/dist/components/common/login-dialog/login-dialog.mjs +1 -46
- package/dist/components/common/media-preview/index.mjs +1 -162
- package/dist/components/common/media-preview/video-play.mjs +1 -237
- package/dist/components/common/page-loading/index.mjs +1 -20
- package/dist/components/common/page-skeleton/page-skeleton.mjs +1 -7
- package/dist/components/common/photo-grid/common-photo-grid.mjs +1 -321
- package/dist/components/common/photo-grid/index.mjs +1 -226
- package/dist/components/common/photo-preview/common-photo-preview.mjs +1 -97
- package/dist/components/common/photo-preview/decrypt-loading.mjs +2 -66
- package/dist/components/common/photo-preview/index.mjs +1 -64
- package/dist/components/common/photo-preview/style.mjs +19 -7
- package/dist/components/common/picker/gender-picker/gender-picker.mjs +1 -66
- package/dist/components/common/picker/picker-drawer/picker-drawer.mjs +1 -78
- package/dist/components/common/popup-video/index.mjs +1 -98
- package/dist/components/common/popup-video/popup-video.module.mjs +16 -7
- package/dist/components/common/series-episodes/index.mjs +1 -826
- package/dist/components/common/share-popup/share-content.mjs +1 -155
- package/dist/components/common/share-popup/share-drawer.mjs +1 -100
- package/dist/components/common/share-popup/share-popup.mjs +1 -326
- package/dist/components/common/skeleton/post-list-item-skeleton.mjs +1 -99
- package/dist/components/common/skeleton/user-activity-list-item-skeleton.mjs +1 -146
- package/dist/components/common/skeleton/video-list-item-skeleton.mjs +1 -110
- package/dist/components/common/tab-bar/index.mjs +1 -150
- package/dist/components/common/theme-sync/index.mjs +1 -22
- package/dist/components/common/top-nav-bar/client.mjs +1 -70
- package/dist/components/common/top-nav-bar/fullscreen.mjs +1 -27
- package/dist/components/common/top-nav-bar/index.mjs +1 -29
- package/dist/components/common/top-nav-bar/normal.mjs +1 -20
- package/dist/components/common/user-info-initializer/index.mjs +1 -37
- package/dist/components/common/video-player/create-video.mjs +2 -27
- package/dist/components/common/video-player/index.mjs +5 -700
- package/dist/components/common/video-player/playing-videos.mjs +1 -73
- package/dist/components/common/video-player/preroll-skip-button-content.mjs +1 -20
- package/dist/components/common/video-player/process-m3u8-cache.mjs +1 -281
- package/dist/components/common/video-player/style.module.mjs +260 -7
- package/dist/components/common/video-player/video-blind-ad-overlay.mjs +1 -155
- package/dist/components/common/video-player/video-player-ref-context.mjs +1 -18
- package/dist/components/common/video-player/video-preroll-ad-overlay.mjs +1 -167
- package/dist/components/common/video-player/video-preroll-ad.mjs +1 -187
- package/dist/components/common/wait-loading.mjs +1 -119
- package/dist/components/pages/(follow)/_components/follow-button/index.mjs +1 -80
- package/dist/components/pages/(follow)/_components/header-nav/index.mjs +1 -13
- package/dist/components/pages/(follow)/_components/interaction-tabs/index.mjs +1 -44
- package/dist/components/pages/(follow)/_components/user-list/index.mjs +1 -139
- package/dist/components/pages/(follow)/_components/user-list/user-list-item.mjs +1 -46
- package/dist/components/pages/(follow)/fans/index.mjs +1 -10
- package/dist/components/pages/(follow)/fans/page.mjs +1 -95
- package/dist/components/pages/(follow)/followed/index.mjs +1 -10
- package/dist/components/pages/(follow)/followed/page.mjs +1 -95
- package/dist/components/pages/collection-add/index.mjs +1 -10
- package/dist/components/pages/collection-add/page.mjs +1 -164
- package/dist/components/pages/collection-create/form.mjs +1 -164
- package/dist/components/pages/collection-create/index.mjs +1 -10
- package/dist/components/pages/collection-create/page.mjs +1 -28
- package/dist/components/pages/collection-detail/_components/collection-detail-card.mjs +1 -183
- package/dist/components/pages/collection-detail/_components/collection-detail-video-card.mjs +1 -135
- package/dist/components/pages/collection-detail/detail.mjs +1 -539
- package/dist/components/pages/collection-detail/index.mjs +1 -10
- package/dist/components/pages/collection-detail/page.mjs +1 -18
- package/dist/components/pages/edit/index.mjs +1 -10
- package/dist/components/pages/edit/page.mjs +1 -683
- package/dist/components/pages/feed-series/feed-series-client.mjs +1 -383
- package/dist/components/pages/feed-series/page.mjs +1 -97
- package/dist/components/pages/feedback/_components/feedback-form.mjs +1 -271
- package/dist/components/pages/feedback/index.mjs +1 -10
- package/dist/components/pages/feedback/page.mjs +1 -10
- package/dist/components/pages/fullscreen-feed/index.mjs +1 -10
- package/dist/components/pages/fullscreen-feed/page.mjs +1 -105
- package/dist/components/pages/home/channel-matcher.mjs +1 -30
- package/dist/components/pages/home/client.mjs +1 -149
- package/dist/components/pages/home/index.mjs +1 -59
- package/dist/components/pages/login/agreement-dialog.mjs +1 -104
- package/dist/components/pages/login/auth-guard.mjs +1 -37
- package/dist/components/pages/login/auth-page-styles.mjs +2 -17
- package/dist/components/pages/login/forgot.mjs +1 -136
- package/dist/components/pages/login/index.mjs +1 -107
- package/dist/components/pages/login/login-client.mjs +1 -233
- package/dist/components/pages/login/password.mjs +1 -186
- package/dist/components/pages/login/register.mjs +1 -204
- package/dist/components/pages/login/reset-password.mjs +1 -193
- package/dist/components/pages/login/tracking.mjs +1 -32
- package/dist/components/pages/login/verify.mjs +1 -243
- package/dist/components/pages/post-detail/page.mjs +1 -28
- package/dist/components/pages/post-detail/post-detail-client.mjs +1 -516
- package/dist/components/pages/profile/index.mjs +1 -10
- package/dist/components/pages/profile/page.mjs +1 -28
- package/dist/components/pages/publish/components/collection-card.mjs +1 -49
- package/dist/components/pages/publish/components/collection-popup.mjs +1 -81
- package/dist/components/pages/publish/components/collection.mjs +1 -97
- package/dist/components/pages/publish/components/cover-item.mjs +1 -46
- package/dist/components/pages/publish/components/editor.mjs +1 -208
- package/dist/components/pages/publish/components/header.mjs +1 -31
- package/dist/components/pages/publish/components/material-grid.mjs +1 -52
- package/dist/components/pages/publish/components/material-item.mjs +1 -68
- package/dist/components/pages/publish/components/toolbar.mjs +1 -39
- package/dist/components/pages/publish/components/upload-progress.mjs +1 -53
- package/dist/components/pages/publish/components/video-item.mjs +1 -36
- package/dist/components/pages/publish/constants.mjs +1 -8
- package/dist/components/pages/publish/hooks/use-file-upload.mjs +1 -162
- package/dist/components/pages/publish/page-client.mjs +1 -345
- package/dist/components/pages/publish/page.mjs +1 -11
- package/dist/components/pages/publish/utils/file-upload.mjs +1 -155
- package/dist/components/pages/publish/utils/publish-utils.mjs +1 -11
- package/dist/components/pages/search/hot-recommend.mjs +1 -192
- package/dist/components/pages/search/hot-search.mjs +1 -70
- package/dist/components/pages/search/index.mjs +1 -17
- package/dist/components/pages/search/page-client.mjs +1 -211
- package/dist/components/pages/search/search-result/index.mjs +1 -31
- package/dist/components/pages/search/search-result/search-all.mjs +1 -167
- package/dist/components/pages/search/search-result/search-user.mjs +1 -306
- package/dist/components/pages/search/search-result/search-video-info.mjs +1 -134
- package/dist/components/pages/search/search-result/shared.mjs +1 -114
- package/dist/components/pages/search/style.module.mjs +85 -12
- package/dist/components/pages/search/top-header.mjs +1 -131
- package/dist/components/pages/search/tracking.mjs +1 -51
- package/dist/components/pages/search-result/page-client.mjs +1 -130
- package/dist/components/pages/search-result/search-all.mjs +1 -180
- package/dist/components/pages/search-result/search-empty.mjs +1 -52
- package/dist/components/pages/search-result/search-tab.mjs +1 -95
- package/dist/components/pages/search-result/search-user.mjs +1 -315
- package/dist/components/pages/search-result/search-video-info.mjs +1 -195
- package/dist/components/pages/search-result/shared.mjs +1 -46
- package/dist/components/pages/search-result/top-header.mjs +1 -105
- package/dist/components/pages/search-result/tracking.mjs +1 -39
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +1 -381
- package/dist/components/pages/settings/_components/settings.mjs +1 -192
- package/dist/components/pages/settings/index.mjs +1 -10
- package/dist/components/pages/settings/page.mjs +1 -13
- package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -34
- package/dist/components/pages/user-follow/_components/follow-top-header.mjs +1 -25
- package/dist/components/pages/user-follow/_components/post-tab.mjs +1 -96
- package/dist/components/pages/user-follow/index.mjs +1 -10
- package/dist/components/pages/user-follow/page.mjs +1 -106
- package/dist/components/pages/user-follow/skeleton.mjs +1 -62
- package/dist/components/pages/video-detail/page.mjs +1 -47
- package/dist/components/pages/video-detail/video-detail-client.mjs +1 -395
- package/dist/components/pages/video-list/index.mjs +1 -61
- package/dist/components/pages/video-list/types.mjs +1 -16
- package/dist/components/pages/video-list/video-list-client.mjs +1 -144
- package/dist/components/pages/video-list/video-list-recommend-item.mjs +1 -94
- package/dist/components/pages/video-list/video-list-skeleton.mjs +1 -91
- package/dist/components/ui/accordion.mjs +1 -62
- package/dist/components/ui/alert-dialog.mjs +1 -114
- package/dist/components/ui/alert.mjs +1 -50
- package/dist/components/ui/aspect-ratio.mjs +1 -17
- package/dist/components/ui/avatar.mjs +1 -107
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/badge.mjs +1 -38
- package/dist/components/ui/box.mjs +1 -17
- package/dist/components/ui/breadcrumb.mjs +1 -84
- package/dist/components/ui/button-group.mjs +1 -49
- package/dist/components/ui/button.d.mts +1 -1
- package/dist/components/ui/button.mjs +1 -50
- package/dist/components/ui/card.mjs +1 -65
- package/dist/components/ui/carousel.mjs +1 -142
- package/dist/components/ui/checkbox.mjs +1 -25
- package/dist/components/ui/collapsible.mjs +1 -31
- package/dist/components/ui/combobox.mjs +1 -185
- package/dist/components/ui/context-menu.mjs +1 -150
- package/dist/components/ui/dialog.mjs +1 -109
- package/dist/components/ui/drawer.mjs +1 -91
- package/dist/components/ui/dropdown-menu.mjs +1 -154
- package/dist/components/ui/empty-icons.mjs +7 -96
- package/dist/components/ui/empty.mjs +1 -95
- package/dist/components/ui/field.mjs +1 -131
- package/dist/components/ui/hover-card.mjs +1 -43
- package/dist/components/ui/image.mjs +1 -257
- package/dist/components/ui/infinite-scroll.mjs +1 -168
- package/dist/components/ui/input-group.mjs +1 -90
- package/dist/components/ui/input.mjs +1 -19
- package/dist/components/ui/item.mjs +1 -137
- package/dist/components/ui/kbd.mjs +1 -24
- package/dist/components/ui/label.mjs +1 -18
- package/dist/components/ui/legacy/badge.mjs +1 -80
- package/dist/components/ui/legacy/button.mjs +1 -55
- package/dist/components/ui/legacy/input.mjs +1 -22
- package/dist/components/ui/legacy/popover.mjs +1 -69
- package/dist/components/ui/link.mjs +1 -52
- package/dist/components/ui/list.mjs +5 -221
- package/dist/components/ui/loading.mjs +1 -44
- package/dist/components/ui/mask.mjs +1 -17
- package/dist/components/ui/menubar.mjs +1 -154
- package/dist/components/ui/native-select.mjs +1 -43
- package/dist/components/ui/pagination.mjs +1 -90
- package/dist/components/ui/popover.mjs +1 -73
- package/dist/components/ui/popup.mjs +1 -44
- package/dist/components/ui/progress.mjs +1 -53
- package/dist/components/ui/radio-group.mjs +1 -34
- package/dist/components/ui/rate.mjs +1 -69
- package/dist/components/ui/scroll-area.mjs +1 -43
- package/dist/components/ui/select.mjs +1 -113
- package/dist/components/ui/separator.mjs +1 -20
- package/dist/components/ui/sheet.mjs +1 -109
- package/dist/components/ui/skeleton.mjs +1 -16
- package/dist/components/ui/slider.mjs +1 -46
- package/dist/components/ui/sonner.mjs +1 -34
- package/dist/components/ui/spinner.mjs +1 -18
- package/dist/components/ui/switch.mjs +1 -65
- package/dist/components/ui/table.mjs +1 -78
- package/dist/components/ui/tabs.mjs +1 -54
- package/dist/components/ui/text.mjs +1 -20
- package/dist/components/ui/textarea.mjs +1 -16
- package/dist/components/ui/time.mjs +1 -91
- package/dist/components/ui/toggle-group.mjs +1 -59
- package/dist/components/ui/toggle.mjs +1 -41
- package/dist/components/ui/tooltip.mjs +1 -49
- package/dist/components/ui/wheel-picker.mjs +1 -28
- package/dist/constants/event-key.mjs +1 -18
- package/dist/constants/query-key.mjs +1 -32
- package/dist/constants/revalidate.mjs +1 -9
- package/dist/constants/site.mjs +1 -11
- package/dist/constants/url-prefix.mjs +1 -11
- package/dist/hooks/image-text-recommend.mjs +1 -71
- package/dist/hooks/query/hydration-boundary.mjs +1 -34
- package/dist/hooks/query/use-query.mjs +1 -114
- package/dist/hooks/use-auth.mjs +1 -198
- package/dist/hooks/use-browse-report.mjs +1 -489
- package/dist/hooks/use-card-decoration.mjs +1 -96
- package/dist/hooks/use-content-operate.mjs +1 -526
- package/dist/hooks/use-first-row-height.mjs +1 -105
- package/dist/hooks/use-follow.mjs +1 -69
- package/dist/hooks/use-fullscreen-gestures.mjs +1 -144
- package/dist/hooks/use-interaction-animation.mjs +1 -26
- package/dist/hooks/use-is-client.mjs +1 -20
- package/dist/hooks/use-keyboard-open.mjs +1 -56
- package/dist/hooks/use-like-dislike.mjs +1 -40
- package/dist/hooks/use-min-duration-loading.mjs +1 -63
- package/dist/hooks/use-search-history.mjs +1 -53
- package/dist/hooks/use-sticky.mjs +1 -50
- package/dist/hooks.mjs +1 -17
- package/dist/i18n/locales/en.mjs +3 -836
- package/dist/i18n/locales/zh-CN.mjs +3 -836
- package/dist/i18n/messages.mjs +1 -20
- package/dist/i18n/translator.mjs +1 -38
- package/dist/i18n.mjs +1 -165
- package/dist/materials.mjs +1 -73
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +1 -17
- package/dist/pages.mjs +1 -23
- package/dist/seo/build-metadata.mjs +1 -163
- package/dist/seo/config/index.mjs +1 -22
- package/dist/seo/config/page.mjs +6 -301
- package/dist/seo/config/site.mjs +1 -25
- package/dist/seo/constants.mjs +1 -31
- package/dist/seo/helpers.mjs +1 -120
- package/dist/seo/resource-hints.mjs +1 -60
- package/dist/seo/robots.mjs +1 -36
- package/dist/seo/sitemap.mjs +1 -44
- package/dist/seo/structured-data/article.mjs +1 -51
- package/dist/seo/structured-data/common.mjs +1 -60
- package/dist/seo/structured-data/video.mjs +1 -41
- package/dist/seo/viewport.mjs +1 -31
- package/dist/seo.mjs +1 -15
- package/dist/service/advertisement.mjs +1 -88
- package/dist/service/generated/client.mjs +1 -1281
- package/dist/service/generated/tanstack.mjs +1 -1179
- package/dist/service/register-by-verify-email-code.mjs +1 -17
- package/dist/service.mjs +1 -6
- package/dist/store/create-store.mjs +1 -25
- package/dist/store/modules/app-config-store.mjs +1 -28
- package/dist/store/modules/blind-spot-ad-store.mjs +1 -95
- package/dist/store/modules/blocked-modal-store.mjs +1 -30
- package/dist/store/modules/follow-ids-store.mjs +1 -12
- package/dist/store/modules/login-modal-store.mjs +1 -155
- package/dist/store/modules/media-preview-store.mjs +1 -54
- package/dist/store/modules/publish-store.mjs +1 -31
- package/dist/store/modules/use-demo-store.mjs +1 -17
- package/dist/store/modules/user-store.mjs +1 -133
- package/dist/store/modules/video-player-ref-store.mjs +1 -13
- package/dist/store.mjs +1 -12
- package/dist/theme-tokens.mjs +1 -82
- package/dist/types/safe-at-user.mjs +1 -15
- package/dist/types/safe-comment.mjs +1 -30
- package/dist/types/safe-grid.mjs +1 -36
- package/dist/types/safe-replay.mjs +1 -43
- package/dist/types/share.mjs +1 -16
- package/dist/ui.mjs +1 -58
- package/dist/utils/api-collect.mjs +1 -14
- package/dist/utils/browser-fingerprint.mjs +1 -53
- package/dist/utils/channel-storage.mjs +1 -57
- package/dist/utils/cn.mjs +1 -15
- package/dist/utils/common.mjs +1 -311
- package/dist/utils/db.mjs +1 -80
- package/dist/utils/decrypt-image-client.mjs +1 -325
- package/dist/utils/decrypt.worker.mjs +2 -20
- package/dist/utils/device-id.mjs +1 -20
- package/dist/utils/email-validator.mjs +1 -108
- package/dist/utils/event-bus.mjs +1 -33
- package/dist/utils/follow-service.mjs +1 -87
- package/dist/utils/get-res-url.mjs +1 -94
- package/dist/utils/helper.mjs +1 -33
- package/dist/utils/http.mjs +1 -202
- package/dist/utils/image-compression.mjs +1 -59
- package/dist/utils/image-crop.mjs +1 -63
- package/dist/utils/loaders.mjs +1 -51
- package/dist/utils/login-modal-bridge.mjs +1 -65
- package/dist/utils/media.mjs +1 -128
- package/dist/utils/password-validator.mjs +1 -86
- package/dist/utils/request-user-id.mjs +1 -16
- package/dist/utils/s3-uploader.mjs +1 -40
- package/dist/utils/schema/material.mjs +1 -24
- package/dist/utils/schema/schema.mjs +1 -207
- package/dist/utils/schema/utils.mjs +1 -27
- package/dist/utils/share-manager.mjs +1 -183
- package/dist/utils/tools.mjs +1 -92
- package/dist/utils/tracking.mjs +1 -183
- package/dist/utils/uint8.mjs +1 -46
- package/dist/utils/upload-file.mjs +1 -429
- package/dist/utils/use-compatible-router.mjs +1 -84
- package/dist/utils.mjs +1 -27
- package/package.json +1 -1
- package/theme.css +1 -1
|
@@ -1,18 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import e from"../utils/http.mjs";async function t(t,n){return e.request({...n??{},url:`/api/user/registerByVerifyEmailCode`,method:`POST`,data:t})}export{t as pUserRegisterByVerifyEmailCodeCompat};
|
package/dist/service.mjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
|
|
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 };
|
|
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};
|
|
@@ -1,26 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
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 };
|
|
2
|
+
import{create as e}from"zustand";import{devtools as t,persist as n,subscribeWithSelector as r}from"zustand/middleware";import{immer as i}from"zustand/middleware/immer";function a(a,o={}){let{name:s,persist:c,version:l=1,partialize:u}=o,d=s??`zustand-store`,f={name:d,version:l,...typeof u==`function`?{partialize:u}:{}},p=r(t(i(c?n(a,f):a),{name:d}));return e()(p)}export{a as createStore};
|
|
@@ -1,29 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";let t=function(e){return e[e.COS=0]=`COS`,e[e.AWS=2]=`AWS`,e}({});const n=e((e,n)=>({config:null,async getConfig(){return n().config||{storage_type:t.COS}},async getStorageType(){return(await n().getConfig()).storage_type??t.COS},async getCaptchaApiKey(){return(await n().getConfig()).captcha_api_key??``}}),{persist:!0,name:`app-config-store`});export{t as StorageType,n as useAppConfigStore};
|
|
@@ -1,96 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{isClient as e}from"../../utils/common.mjs";import{createStore as t}from"../create-store.mjs";function n(){return`session_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}const r=t((t,r)=>({sessionId:``,triggeredVideoIds:new Set,currentVideoId:void 0,currentTime:0,isOverlayVisible:!1,adConfig:null,adResponseData:null,initSession:()=>{t({sessionId:n(),triggeredVideoIds:new Set})},setCurrentVideo:e=>{t({currentVideoId:e,currentTime:0})},updateCurrentTime:e=>{t({currentTime:e})},markVideoTriggered:n=>{let{triggeredVideoIds:i}=r(),a=new Set(i);if(a.add(n),t({triggeredVideoIds:a}),e())try{let e=Array.from(a);sessionStorage.setItem(`blind_spot_ad_triggered_videos`,JSON.stringify(e))}catch(e){console.warn(`Failed to save triggered videos to sessionStorage:`,e)}},isVideoTriggered:e=>{let{triggeredVideoIds:t}=r();return t.has(e)},showOverlay:()=>{t({isOverlayVisible:!0})},hideOverlay:()=>{t({isOverlayVisible:!1})},setAdConfig:e=>{t({adConfig:e})},setAdResponseData:e=>{t({adResponseData:e})},shouldTriggerAd:()=>{let{currentVideoId:e,currentTime:t,adConfig:n,isOverlayVisible:i}=r();return!(i||!e||!n||!n.enabled||r().isVideoTriggered(e)||t<n.triggerTimeMinutes*60||!n.jumpUrl)},reset:()=>{t({currentVideoId:void 0,currentTime:0,isOverlayVisible:!1})}}),{name:`blind-spot-ad-store`,persist:!1});export{r as useBlindSpotAdStore};
|
|
@@ -1,31 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";const t=e(e=>({isOpen:!1,blockedRemark:``,blockedEndTime:0,open:t=>e(e=>({...e,isOpen:!0,...t})),setOpen:t=>e(e=>({...e,isOpen:t})),close:()=>e(e=>({...e,isOpen:!1}))}),{name:`blocked-modal-store`,persist:!1});export{t as useBlockedModalStore};
|
|
@@ -1,13 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{create as e}from"zustand";const t=e()(e=>({followIds:[],setFollowIds:t=>{e({followIds:t})}}));export{t as useFollowIdsState};
|
|
@@ -1,156 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";import{notifyBridgeLoginModalClosed as t,notifyBridgeLoginModalOpened as n,notifyBridgeLoginSuccessClosed as r}from"../../utils/login-modal-bridge.mjs";let i=null;function a(){if(typeof document>`u`||i)return;let e=Array.from(document.querySelectorAll(`video`));i=e.map(e=>({el:e,display:e.style.display})),e.forEach(e=>{try{e.pause()}catch(e){console.warn(`暂停 video 元素失败:`,e)}e.style.display=`none`})}function o(){typeof document>`u`||(i&&=(i.forEach(({el:e,display:t})=>{e.style.display=t}),null))}const s=e((e,i)=>{let s=null,c=0;function l(e){if(!s)return;let t=s;s=null,t(e)}return{isOpen:!1,verifyStep:null,entryStep:null,open:()=>{a(),n(),e(e=>({...e,isOpen:!0}))},openWithStep:t=>{a(),n(),e(e=>({...e,isOpen:!0,entryStep:t}))},openAsync:()=>{l(!1),c+=1;let t=c;return a(),n(),e(e=>({...e,isOpen:!0})),new Promise(e=>{s=n=>{t===c&&e(n)}})},resolveLogin:(n=!0)=>{l(n);let{isOpen:a}=i();a&&(e(e=>({...e,isOpen:!1,entryStep:null})),o(),t(),n&&r())},close:()=>{l(!1),e(e=>({...e,isOpen:!1,entryStep:null})),o(),t()},toggle:()=>{let{isOpen:r}=i();if(r){l(!1),e(e=>({...e,isOpen:!e.isOpen,entryStep:r?null:e.entryStep})),o(),t();return}a(),n(),e(e=>({...e,isOpen:!e.isOpen,entryStep:r?null:e.entryStep}))},setOpen:r=>{let{isOpen:s}=i();s&&!r&&l(!1),!s&&r&&(a(),n()),e(e=>({...e,isOpen:r,entryStep:r?e.entryStep:null})),s&&!r&&(o(),t())},setEntryStep:t=>e(e=>({...e,entryStep:t})),setVerifyStep:t=>e(e=>({...e,verifyStep:t}))}},{name:`login-modal-store`,persist:!1});export{s as useLoginModalStore};
|
|
@@ -1,55 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";const t=e(e=>({isOpen:!1,mediaList:[],startIndex:0,openWithMediaList:(t,n=0)=>{let r=Math.min(Math.max(n,0),Math.max(t.length-1,0));e(e=>({...e,isOpen:!0,mediaList:t,startIndex:r}))},close:()=>{e(e=>({...e,isOpen:!1,mediaList:[],startIndex:0}))},setOpen:t=>{e(e=>({...e,isOpen:t,mediaList:t?e.mediaList:[],startIndex:t?e.startIndex:0}))},setMediaList:t=>{e(e=>({...e,mediaList:t}))},setStartIndex:t=>{e(e=>({...e,startIndex:t}))}}),{name:`media-preview-store`,persist:!1});export{t as useMediaPreviewStore};
|
|
@@ -1,32 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";const t=e(e=>({materialList:[],videoUrl:``,coverUrl:``,content:``,atUsers:[],setPubState:t=>e(e=>({...e,materialList:t.materialList??e.materialList,videoUrl:t.videoUrl??e.videoUrl,coverUrl:t.coverUrl??e.coverUrl,content:t.content??e.content,atUsers:t.atUsers??e.atUsers})),init:()=>e(()=>({materialList:[],videoUrl:``,coverUrl:``,content:``,atUsers:[]}))}),{persist:!0,name:`publish-store`});export{t as usePublishStore};
|
|
@@ -1,18 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
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 };
|
|
2
|
+
import{createStore as e}from"../create-store.mjs";const t=e(e=>({demo:`demo`,setDemo:t=>e(e=>({...e,demo:t}))}),{name:`demo-store`,persist:!0,partialize:e=>({demo:e.demo})});export{t as useDemoStore};
|