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.
- package/dist/{booking-473Db8Bo.d.mts → booking-BH7HM0D0.d.mts} +1 -0
- package/dist/{booking-473Db8Bo.d.ts → booking-BH7HM0D0.d.ts} +1 -0
- package/dist/{bookingAdminService-DqQ7hEGw.d.ts → bookingAdminService-nr1vOp6I.d.ts} +1 -1
- package/dist/{bookingAdminService-SBX4JA_U.d.mts → bookingAdminService-pvk2MY1r.d.mts} +1 -1
- package/dist/{client-Bkn6mRI7.d.ts → client-UDQ7uMFA.d.ts} +1 -1
- package/dist/{client-exYn2Qla.d.mts → client-jOToHJEx.d.mts} +1 -1
- package/dist/festivalCard/index.js +803 -212
- package/dist/festivalCard/index.js.map +1 -1
- package/dist/festivalCard/index.mjs +784 -193
- package/dist/festivalCard/index.mjs.map +1 -1
- package/dist/festivalCard/miniapp/index.js +162 -21
- package/dist/festivalCard/miniapp/index.js.map +1 -1
- package/dist/festivalCard/miniapp/index.mjs +153 -12
- package/dist/festivalCard/miniapp/index.mjs.map +1 -1
- package/dist/festivalCard/web/index.d.mts +17 -3
- package/dist/festivalCard/web/index.d.ts +17 -3
- package/dist/festivalCard/web/index.js +803 -212
- package/dist/festivalCard/web/index.js.map +1 -1
- package/dist/festivalCard/web/index.mjs +784 -193
- package/dist/festivalCard/web/index.mjs.map +1 -1
- package/dist/{index-z15F7afa.d.mts → index-Bs06cHTn.d.mts} +2 -2
- package/dist/{index-BJpxvH7X.d.ts → index-C-oNM7Gv.d.ts} +1 -1
- package/dist/{index-XTV6IU-M.d.ts → index-CUab5EBV.d.ts} +2 -2
- package/dist/{index-Cum2EknK.d.mts → index-CYDb3AKs.d.mts} +1 -1
- package/dist/{index-DyxLpkmm.d.mts → index-DBB4ad0S.d.mts} +2 -2
- package/dist/{index-CdTIsNsy.d.ts → index-DBHwbXrv.d.ts} +2 -2
- package/dist/index.js +575 -170
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +575 -170
- package/dist/index.mjs.map +1 -1
- package/dist/showmasterpiece/core.d.mts +3 -3
- package/dist/showmasterpiece/core.d.ts +3 -3
- package/dist/showmasterpiece/db.d.mts +2 -0
- package/dist/showmasterpiece/db.d.ts +2 -0
- package/dist/showmasterpiece/db.js +4 -2
- package/dist/showmasterpiece/db.js.map +1 -1
- package/dist/showmasterpiece/db.mjs +4 -2
- package/dist/showmasterpiece/db.mjs.map +1 -1
- package/dist/showmasterpiece/index.js +18 -2
- package/dist/showmasterpiece/index.js.map +1 -1
- package/dist/showmasterpiece/index.mjs +18 -2
- package/dist/showmasterpiece/index.mjs.map +1 -1
- package/dist/showmasterpiece/logic/index.d.mts +2 -2
- package/dist/showmasterpiece/logic/index.d.ts +2 -2
- package/dist/showmasterpiece/server/index.js +4 -2
- package/dist/showmasterpiece/server/index.js.map +1 -1
- package/dist/showmasterpiece/server/index.mjs +4 -2
- package/dist/showmasterpiece/server/index.mjs.map +1 -1
- package/dist/showmasterpiece/service/api/index.d.mts +1 -1
- package/dist/showmasterpiece/service/api/index.d.ts +1 -1
- package/dist/showmasterpiece/service/client-business/index.d.mts +3 -3
- package/dist/showmasterpiece/service/client-business/index.d.ts +3 -3
- package/dist/showmasterpiece/service/index.d.mts +6 -6
- package/dist/showmasterpiece/service/index.d.ts +6 -6
- package/dist/showmasterpiece/service/miniapp/index.d.mts +2 -2
- package/dist/showmasterpiece/service/miniapp/index.d.ts +2 -2
- package/dist/showmasterpiece/service/web/index.d.mts +4 -4
- package/dist/showmasterpiece/service/web/index.d.ts +4 -4
- package/dist/showmasterpiece/ui/miniapp/index.d.mts +2 -2
- package/dist/showmasterpiece/ui/miniapp/index.d.ts +2 -2
- package/dist/showmasterpiece/ui/miniapp/index.js +4 -3
- package/dist/showmasterpiece/ui/miniapp/index.js.map +1 -1
- package/dist/showmasterpiece/ui/miniapp/index.mjs +4 -3
- package/dist/showmasterpiece/ui/miniapp/index.mjs.map +1 -1
- package/dist/showmasterpiece/ui/web/index.js +18 -2
- package/dist/showmasterpiece/ui/web/index.js.map +1 -1
- package/dist/showmasterpiece/ui/web/index.mjs +18 -2
- package/dist/showmasterpiece/ui/web/index.mjs.map +1 -1
- package/dist/showmasterpiece/web/index.js +18 -2
- package/dist/showmasterpiece/web/index.js.map +1 -1
- package/dist/showmasterpiece/web/index.mjs +18 -2
- package/dist/showmasterpiece/web/index.mjs.map +1 -1
- 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-
|
|
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-
|
|
3
|
-
import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-
|
|
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-
|
|
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-
|
|
3
|
-
import { B as BookingAdminData, a as BookingAdminStats, c as BookingAdminQueryParams } from '../bookingAdminService-
|
|
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 = {
|