dsh-folia 4.26.0-pre.43 → 4.26.0-pre.44
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/lib/client.js +4 -32
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -17685,36 +17685,7 @@ window.__ModuleLoader__.load({
|
|
|
17685
17685
|
React.createElement("option", { value: "local" }, weT("本机 Wallpaper Engine({n})", { n: (sourceCounts && sourceCounts.local) || 0 })),
|
|
17686
17686
|
React.createElement("option", { value: "site" }, weT("站点壁纸({n})", { n: (sourceCounts && sourceCounts.site) || 0 })),
|
|
17687
17687
|
),
|
|
17688
|
-
|
|
17689
|
-
React.createElement("select", {
|
|
17690
|
-
className: "we-picker__playlist-select",
|
|
17691
|
-
value: sel.contentRatingFilter,
|
|
17692
|
-
onChange: onRatingFilterChange,
|
|
17693
|
-
"aria-label": weT("内容分级"),
|
|
17694
|
-
title: weT("对应 Wallpaper Engine 的内容分级(project.json contentrating)"),
|
|
17695
|
-
},
|
|
17696
|
-
React.createElement("option", { value: "all" }, weT("全部({n})", { n: basePlayable.length })),
|
|
17697
|
-
React.createElement("option", { value: "everyone" }, weT("Everyone / G({n})", { n: ratingCounts.everyone })),
|
|
17698
|
-
React.createElement("option", { value: "pg13" }, weT("PG13({n})", { n: ratingCounts.pg13 })),
|
|
17699
|
-
React.createElement("option", { value: "mature" }, weT("Mature / R({n})", { n: ratingCounts.mature })),
|
|
17700
|
-
React.createElement("option", { value: "unrated" }, weT("未分级({n})", { n: ratingCounts.unrated })),
|
|
17701
|
-
),
|
|
17702
|
-
React.createElement("span", { className: "we-picker__hint we-picker__label" }, weT("类型")),
|
|
17703
|
-
React.createElement("select", {
|
|
17704
|
-
className: "we-picker__playlist-select",
|
|
17705
|
-
value: sel.typeFilter,
|
|
17706
|
-
onChange: onTypeFilterChange,
|
|
17707
|
-
"aria-label": weT("类型"),
|
|
17708
|
-
title: weT("按壁纸类型过滤(只筛列表与轮播候选,不打断正在应用的壁纸)"),
|
|
17709
|
-
},
|
|
17710
|
-
React.createElement("option", { value: "all" }, weT("全部({n})", { n: basePlayable.length })),
|
|
17711
|
-
React.createElement("option", { value: "video" }, weT("视频({n})", { n: typeCounts.video || 0 })),
|
|
17712
|
-
React.createElement("option", { value: "web" }, weT("网页({n})", { n: typeCounts.web || 0 })),
|
|
17713
|
-
React.createElement("option", { value: "image" }, weT("图片({n})", { n: typeCounts.image || 0 })),
|
|
17714
|
-
React.createElement("option", { value: "scene" }, weT("场景({n})", { n: typeCounts.scene || 0 })),
|
|
17715
|
-
),
|
|
17716
|
-
renderTagSelect({ tagOptions, tagPicked, onTagFilterChange }),
|
|
17717
|
-
);
|
|
17688
|
+
);
|
|
17718
17689
|
}
|
|
17719
17690
|
|
|
17720
17691
|
/**
|
|
@@ -39920,8 +39891,9 @@ window.__ModuleLoader__.load({
|
|
|
39920
39891
|
wallpapers: list,
|
|
39921
39892
|
hiddenIds: selection.hiddenIds,
|
|
39922
39893
|
search: sel.search,
|
|
39923
|
-
|
|
39924
|
-
|
|
39894
|
+
// 分级/类型下拉已移除 ⇒ 列表恒按 all 计算(旧持久化值不许在后台偷偷过滤)
|
|
39895
|
+
ratingFilter: "all",
|
|
39896
|
+
typeFilter: "all",
|
|
39925
39897
|
sourceFilter: sel.sourceFilter,
|
|
39926
39898
|
cacheFilter: readPickerCacheFilter(),
|
|
39927
39899
|
subtagFilter: readPickerSubtagFilter(),
|