delta-comic-core 0.3.3 → 0.3.4

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/bundle.js CHANGED
@@ -4965,6 +4965,11 @@ var Ce = ["data-index"], U = /* @__PURE__ */ defineComponent({
4965
4965
  this.categories.set(e, (this.categories.get(e) ?? []).concat(n));
4966
4966
  }
4967
4967
  static contentPage = useGlobalVar(SourcedKeyMap.create(), "uni/contentPage/contentPage");
4968
+ static barcode = useGlobalVar(shallowReactive(/* @__PURE__ */ new Map()), "uni/contentPage/barcode");
4969
+ static addBarcode(e, n) {
4970
+ let r = this.barcode.get(e) ?? [];
4971
+ return r.push(n), this.barcode.set(e, r), e;
4972
+ }
4968
4973
  static levelboard = useGlobalVar(shallowReactive(/* @__PURE__ */ new Map()), "uni/contentPage/levelboard");
4969
4974
  static addLevelboard(e, n) {
4970
4975
  let r = this.levelboard.get(e) ?? [];
@@ -5383,6 +5388,7 @@ const appConfig = new ConfigPointer("core", {
5383
5388
  for (let e of o.hotPage.levelBoard ?? []) ContentPage.addLevelboard(r, e);
5384
5389
  for (let e of o.hotPage.topButton ?? []) ContentPage.addTopButton(r, e);
5385
5390
  }
5391
+ if (o.barcode) for (let e of o.barcode ?? []) ContentPage.addBarcode(r, e);
5386
5392
  }
5387
5393
  if (s) {
5388
5394
  if (s.edit && User.userEditorBase.set(r, s.edit), s.authorActions) for (let [e, n] of Object.entries(s.authorActions)) User.authorActions.set([r, e], n);
@@ -5416,7 +5422,7 @@ const appConfig = new ConfigPointer("core", {
5416
5422
  }), declareDependType = (e) => Symbol.for(`expose:${e}`), requireDepend = (e) => _pluginExposes.get(e), _pluginExposes = /* @__PURE__ */ new Map(), coreModule = declareDependType("core"), _ = void 0;
5417
5423
  var package_default = {
5418
5424
  name: "delta-comic-core",
5419
- version: "0.3.3",
5425
+ version: "0.3.4",
5420
5426
  description: "我曾亲眼见证神的熟视无睹.",
5421
5427
  homepage: "https://github.com/wenxig/delta-comic-core",
5422
5428
  repository: {