@delta-comic/model 0.0.1 → 0.0.2
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/index.js +1 -9
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/lib/model/content.d.ts +0 -11
- package/dist/pack.tgz +0 -0
- package/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -904,11 +904,7 @@ var Struct = class e {
|
|
|
904
904
|
let e = (e) => /(^|[\((\[\s【])ai[】\))\]\s]?/gi.test(e);
|
|
905
905
|
return this.customIsAI || e(this.title) || this.author.some((t) => e(`${t.label}\u1145${t.description}`));
|
|
906
906
|
}
|
|
907
|
-
}, content_exports = /* @__PURE__ */ __exportAll({
|
|
908
|
-
ContentImagePage: () => ContentImagePage,
|
|
909
|
-
ContentPage: () => ContentPage,
|
|
910
|
-
ContentVideoPage: () => ContentVideoPage
|
|
911
|
-
}), ContentPage = class {
|
|
907
|
+
}, content_exports = /* @__PURE__ */ __exportAll({ ContentPage: () => ContentPage }), ContentPage = class {
|
|
912
908
|
static viewLayout = useGlobalVar(SourcedKeyMap.create(), "uni/contentPage/viewLayout");
|
|
913
909
|
static contentPage = useGlobalVar(SourcedKeyMap.create(), "uni/contentPage/contentPage");
|
|
914
910
|
constructor(e, t, n) {
|
|
@@ -920,10 +916,6 @@ var Struct = class e {
|
|
|
920
916
|
union = computed(() => this.detail.content.data.value ?? this.preload.value);
|
|
921
917
|
recommends = PromiseContent.withResolvers();
|
|
922
918
|
eps = PromiseContent.withResolvers();
|
|
923
|
-
}, ContentImagePage = class extends ContentPage {
|
|
924
|
-
images = PromiseContent.withResolvers();
|
|
925
|
-
}, ContentVideoPage = class extends ContentPage {
|
|
926
|
-
videos = PromiseContent.withResolvers();
|
|
927
919
|
}, download_exports = /* @__PURE__ */ __exportAll({ Downloader: () => Downloader }), Downloader = class {}, user_exports = /* @__PURE__ */ __exportAll({ User: () => User }), User = class {
|
|
928
920
|
static userBase = shallowReactive(/* @__PURE__ */ new Map());
|
|
929
921
|
static userEditorBase = shallowReactive(/* @__PURE__ */ new Map());
|