sa2kit 1.6.89 → 1.6.91

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.
Files changed (73) hide show
  1. package/dist/{booking-473Db8Bo.d.mts → booking-BH7HM0D0.d.mts} +1 -0
  2. package/dist/{booking-473Db8Bo.d.ts → booking-BH7HM0D0.d.ts} +1 -0
  3. package/dist/{bookingAdminService-DqQ7hEGw.d.ts → bookingAdminService-nr1vOp6I.d.ts} +1 -1
  4. package/dist/{bookingAdminService-SBX4JA_U.d.mts → bookingAdminService-pvk2MY1r.d.mts} +1 -1
  5. package/dist/{client-Bkn6mRI7.d.ts → client-UDQ7uMFA.d.ts} +1 -1
  6. package/dist/{client-exYn2Qla.d.mts → client-jOToHJEx.d.mts} +1 -1
  7. package/dist/festivalCard/index.js +803 -212
  8. package/dist/festivalCard/index.js.map +1 -1
  9. package/dist/festivalCard/index.mjs +784 -193
  10. package/dist/festivalCard/index.mjs.map +1 -1
  11. package/dist/festivalCard/miniapp/index.js +162 -21
  12. package/dist/festivalCard/miniapp/index.js.map +1 -1
  13. package/dist/festivalCard/miniapp/index.mjs +153 -12
  14. package/dist/festivalCard/miniapp/index.mjs.map +1 -1
  15. package/dist/festivalCard/web/index.d.mts +17 -3
  16. package/dist/festivalCard/web/index.d.ts +17 -3
  17. package/dist/festivalCard/web/index.js +803 -212
  18. package/dist/festivalCard/web/index.js.map +1 -1
  19. package/dist/festivalCard/web/index.mjs +784 -193
  20. package/dist/festivalCard/web/index.mjs.map +1 -1
  21. package/dist/{index-z15F7afa.d.mts → index-Bs06cHTn.d.mts} +2 -2
  22. package/dist/{index-BJpxvH7X.d.ts → index-C-oNM7Gv.d.ts} +1 -1
  23. package/dist/{index-XTV6IU-M.d.ts → index-CUab5EBV.d.ts} +2 -2
  24. package/dist/{index-Cum2EknK.d.mts → index-CYDb3AKs.d.mts} +1 -1
  25. package/dist/{index-DyxLpkmm.d.mts → index-DBB4ad0S.d.mts} +2 -2
  26. package/dist/{index-CdTIsNsy.d.ts → index-DBHwbXrv.d.ts} +2 -2
  27. package/dist/index.js +575 -170
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +575 -170
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/showmasterpiece/core.d.mts +3 -3
  32. package/dist/showmasterpiece/core.d.ts +3 -3
  33. package/dist/showmasterpiece/db.d.mts +2 -0
  34. package/dist/showmasterpiece/db.d.ts +2 -0
  35. package/dist/showmasterpiece/db.js +4 -2
  36. package/dist/showmasterpiece/db.js.map +1 -1
  37. package/dist/showmasterpiece/db.mjs +4 -2
  38. package/dist/showmasterpiece/db.mjs.map +1 -1
  39. package/dist/showmasterpiece/index.js +18 -2
  40. package/dist/showmasterpiece/index.js.map +1 -1
  41. package/dist/showmasterpiece/index.mjs +18 -2
  42. package/dist/showmasterpiece/index.mjs.map +1 -1
  43. package/dist/showmasterpiece/logic/index.d.mts +2 -2
  44. package/dist/showmasterpiece/logic/index.d.ts +2 -2
  45. package/dist/showmasterpiece/server/index.js +4 -2
  46. package/dist/showmasterpiece/server/index.js.map +1 -1
  47. package/dist/showmasterpiece/server/index.mjs +4 -2
  48. package/dist/showmasterpiece/server/index.mjs.map +1 -1
  49. package/dist/showmasterpiece/service/api/index.d.mts +1 -1
  50. package/dist/showmasterpiece/service/api/index.d.ts +1 -1
  51. package/dist/showmasterpiece/service/client-business/index.d.mts +3 -3
  52. package/dist/showmasterpiece/service/client-business/index.d.ts +3 -3
  53. package/dist/showmasterpiece/service/index.d.mts +6 -6
  54. package/dist/showmasterpiece/service/index.d.ts +6 -6
  55. package/dist/showmasterpiece/service/miniapp/index.d.mts +2 -2
  56. package/dist/showmasterpiece/service/miniapp/index.d.ts +2 -2
  57. package/dist/showmasterpiece/service/web/index.d.mts +4 -4
  58. package/dist/showmasterpiece/service/web/index.d.ts +4 -4
  59. package/dist/showmasterpiece/ui/miniapp/index.d.mts +2 -2
  60. package/dist/showmasterpiece/ui/miniapp/index.d.ts +2 -2
  61. package/dist/showmasterpiece/ui/miniapp/index.js +4 -3
  62. package/dist/showmasterpiece/ui/miniapp/index.js.map +1 -1
  63. package/dist/showmasterpiece/ui/miniapp/index.mjs +4 -3
  64. package/dist/showmasterpiece/ui/miniapp/index.mjs.map +1 -1
  65. package/dist/showmasterpiece/ui/web/index.js +18 -2
  66. package/dist/showmasterpiece/ui/web/index.js.map +1 -1
  67. package/dist/showmasterpiece/ui/web/index.mjs +18 -2
  68. package/dist/showmasterpiece/ui/web/index.mjs.map +1 -1
  69. package/dist/showmasterpiece/web/index.js +18 -2
  70. package/dist/showmasterpiece/web/index.js.map +1 -1
  71. package/dist/showmasterpiece/web/index.mjs +18 -2
  72. package/dist/showmasterpiece/web/index.mjs.map +1 -1
  73. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { k as Cart, l as AddToCartRequest, U as UpdateCartItemRequest, R as RemoveFromCartRequest, d as BatchBookingRequest, e as BatchBookingResponse, A as ArtCollection, j as ArtworkPage, M as MasterpiecesConfig, C as CategoryOption, h as CollectionFormData, i as ArtworkFormData, a as CollectionSummary, r as BookingFormData, B as BookingStatus, p as CollectionCategoryType } from '../booking-473Db8Bo.mjs';
2
- export { w as CartAction, q as CartItem, x as CartState, v as ClearCartRequest, s as CollectionCategory, t as getAvailableCategories, u as isValidCategory } from '../booking-473Db8Bo.mjs';
3
- import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-SBX4JA_U.mjs';
1
+ import { k as Cart, l as AddToCartRequest, U as UpdateCartItemRequest, R as RemoveFromCartRequest, d as BatchBookingRequest, e as BatchBookingResponse, A as ArtCollection, j as ArtworkPage, M as MasterpiecesConfig, C as CategoryOption, h as CollectionFormData, i as ArtworkFormData, a as CollectionSummary, r as BookingFormData, B as BookingStatus, p as CollectionCategoryType } from '../booking-BH7HM0D0.mjs';
2
+ export { w as CartAction, q as CartItem, x as CartState, v as ClearCartRequest, s as CollectionCategory, t as getAvailableCategories, u as isValidCategory } from '../booking-BH7HM0D0.mjs';
3
+ import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-pvk2MY1r.mjs';
4
4
  import { P as PopupConfig } from '../popup-ClCAZtzk.mjs';
5
5
  import * as React from 'react';
6
6
  import { ReactNode } from 'react';
@@ -1,6 +1,6 @@
1
- import { k as Cart, l as AddToCartRequest, U as UpdateCartItemRequest, R as RemoveFromCartRequest, d as BatchBookingRequest, e as BatchBookingResponse, A as ArtCollection, j as ArtworkPage, M as MasterpiecesConfig, C as CategoryOption, h as CollectionFormData, i as ArtworkFormData, a as CollectionSummary, r as BookingFormData, B as BookingStatus, p as CollectionCategoryType } from '../booking-473Db8Bo.js';
2
- export { w as CartAction, q as CartItem, x as CartState, v as ClearCartRequest, s as CollectionCategory, t as getAvailableCategories, u as isValidCategory } from '../booking-473Db8Bo.js';
3
- import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-DqQ7hEGw.js';
1
+ import { k as Cart, l as AddToCartRequest, U as UpdateCartItemRequest, R as RemoveFromCartRequest, d as BatchBookingRequest, e as BatchBookingResponse, A as ArtCollection, j as ArtworkPage, M as MasterpiecesConfig, C as CategoryOption, h as CollectionFormData, i as ArtworkFormData, a as CollectionSummary, r as BookingFormData, B as BookingStatus, p as CollectionCategoryType } from '../booking-BH7HM0D0.js';
2
+ export { w as CartAction, q as CartItem, x as CartState, v as ClearCartRequest, s as CollectionCategory, t as getAvailableCategories, u as isValidCategory } from '../booking-BH7HM0D0.js';
3
+ import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-nr1vOp6I.js';
4
4
  import { P as PopupConfig } from '../popup-ClCAZtzk.js';
5
5
  import * as React from 'react';
6
6
  import { ReactNode } from 'react';
@@ -2782,6 +2782,7 @@ interface MasterpiecesConfig$1 {
2782
2782
  miniappFloatingButtons: {
2783
2783
  showCart: boolean;
2784
2784
  showHistory: boolean;
2785
+ showAddToCart: boolean;
2785
2786
  };
2786
2787
  defaultCategory: string;
2787
2788
  theme: 'light' | 'dark' | 'auto';
@@ -2828,6 +2829,7 @@ interface MasterpiecesConfig {
2828
2829
  miniappFloatingButtons: {
2829
2830
  showCart: boolean;
2830
2831
  showHistory: boolean;
2832
+ showAddToCart: boolean;
2831
2833
  };
2832
2834
  defaultCategory: string;
2833
2835
  theme: 'light' | 'dark' | 'auto';
@@ -2782,6 +2782,7 @@ interface MasterpiecesConfig$1 {
2782
2782
  miniappFloatingButtons: {
2783
2783
  showCart: boolean;
2784
2784
  showHistory: boolean;
2785
+ showAddToCart: boolean;
2785
2786
  };
2786
2787
  defaultCategory: string;
2787
2788
  theme: 'light' | 'dark' | 'auto';
@@ -2828,6 +2829,7 @@ interface MasterpiecesConfig {
2828
2829
  miniappFloatingButtons: {
2829
2830
  showCart: boolean;
2830
2831
  showHistory: boolean;
2832
+ showAddToCart: boolean;
2831
2833
  };
2832
2834
  defaultCategory: string;
2833
2835
  theme: 'light' | 'dark' | 'auto';
@@ -2053,7 +2053,8 @@ var comicUniverseConfigs = pgCore.pgTable("comic_universe_configs", {
2053
2053
  /** 小程序悬浮按钮显示配置 */
2054
2054
  miniappFloatingButtons: pgCore.json("miniapp_floating_buttons").default({
2055
2055
  showCart: true,
2056
- showHistory: true
2056
+ showHistory: true,
2057
+ showAddToCart: true
2057
2058
  }),
2058
2059
  /** 默认分类('all'表示显示所有分类) */
2059
2060
  defaultCategory: pgCore.varchar("default_category", { length: 100 }).notNull().default("all"),
@@ -2952,7 +2953,8 @@ function normalizeHomeTabConfig(input) {
2952
2953
  function normalizeMiniappFloatingButtonsConfig(input) {
2953
2954
  return {
2954
2955
  showCart: input?.showCart ?? true,
2955
- showHistory: input?.showHistory ?? true
2956
+ showHistory: input?.showHistory ?? true,
2957
+ showAddToCart: input?.showAddToCart ?? true
2956
2958
  };
2957
2959
  }
2958
2960
  var categories = {