@pisell/private-materials 6.11.110 → 6.11.112
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +16 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/components/booking/components/actionButtons/index.less +9 -9
- package/es/components/booking/components/tabPane/index.less +10 -9
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.less +6 -2
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/lib/components/booking/components/actionButtons/index.less +9 -9
- package/lib/components/booking/components/tabPane/index.less +10 -9
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.less +6 -2
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
- package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
- package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
4
|
.booking-info {
|
|
5
|
-
padding-bottom:
|
|
5
|
+
padding-bottom: 0px;
|
|
6
6
|
|
|
7
7
|
.booking-info-client-line {
|
|
8
8
|
display: flex;
|
|
@@ -32,17 +32,21 @@
|
|
|
32
32
|
// background: #069456;
|
|
33
33
|
// }
|
|
34
34
|
}
|
|
35
|
+
|
|
35
36
|
#create-booking-page-info-wrap {
|
|
36
37
|
.pisell-lowcode__booking-tab-pane-footer {
|
|
37
38
|
padding: 12px 16px !important;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
41
|
+
|
|
40
42
|
.create-booking-page-info-wrap-create {
|
|
41
43
|
background: var(--Success-50, #ecfdf3);
|
|
42
44
|
}
|
|
45
|
+
|
|
43
46
|
.create-booking-page-info-wrap {
|
|
44
47
|
position: initial !important;
|
|
45
48
|
padding: 0 10px !important;
|
|
49
|
+
|
|
46
50
|
.booking-info-create-new {
|
|
47
51
|
margin-top: 10px;
|
|
48
52
|
color: var(--Base-Black, #000);
|
|
@@ -50,4 +54,4 @@
|
|
|
50
54
|
font-weight: 600;
|
|
51
55
|
line-height: 32px;
|
|
52
56
|
}
|
|
53
|
-
}
|
|
57
|
+
}
|
|
@@ -216,7 +216,7 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
|
|
|
216
216
|
* @Author: WangHan
|
|
217
217
|
* @Date: 2024-12-24 11:32
|
|
218
218
|
*/
|
|
219
|
-
export declare const updateServicePrice: (state: any) => never[]
|
|
219
|
+
export declare const updateServicePrice: (state: any) => Promise<any> | never[];
|
|
220
220
|
/**
|
|
221
221
|
* @description: 根据_id和sourceProductId来获取主商品已选择的赠品
|
|
222
222
|
* @param {string} productId 主商品_id
|
|
@@ -175,10 +175,10 @@ export declare const getProductTotalPrice: (item: any, options?: {
|
|
|
175
175
|
export declare const getDuration: (duration: number | {
|
|
176
176
|
type: string;
|
|
177
177
|
value: number;
|
|
178
|
-
}) => number | {
|
|
178
|
+
}) => number | "flexible" | {
|
|
179
179
|
type: string;
|
|
180
180
|
value: number;
|
|
181
|
-
}
|
|
181
|
+
};
|
|
182
182
|
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
183
183
|
export declare const getIsEdit: (state: any) => boolean;
|
|
184
184
|
export {};
|
|
@@ -18,7 +18,7 @@ export declare const useWalletPass: (props: {
|
|
|
18
18
|
cardData: any;
|
|
19
19
|
handleSelectWallet: (this: unknown, value: number[]) => void;
|
|
20
20
|
selectedWalletIds: any[];
|
|
21
|
-
expiredWalletIds: any;
|
|
21
|
+
expiredWalletIds: any[];
|
|
22
22
|
expiredWalletData: any;
|
|
23
23
|
disabledWalletData: any[];
|
|
24
24
|
clearAllSelectedWallet: (this: unknown) => void;
|
|
@@ -9,7 +9,7 @@ import { PosProps } from './const';
|
|
|
9
9
|
*/
|
|
10
10
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
11
11
|
className?: string | undefined;
|
|
12
|
-
onChange?: ((status: "
|
|
12
|
+
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
13
13
|
[keys: string]: unknown;
|
|
14
14
|
} | undefined, other?: any) => void) | undefined;
|
|
15
15
|
onClose: () => void;
|
|
@@ -11,7 +11,7 @@ import './device.less';
|
|
|
11
11
|
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
|
|
12
12
|
api: PayProps['api'];
|
|
13
13
|
className?: string | undefined;
|
|
14
|
-
onChange?: ((status: "
|
|
14
|
+
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
15
15
|
[keys: string]: unknown;
|
|
16
16
|
} | undefined, other?: any) => void) | undefined;
|
|
17
17
|
onClose: () => void;
|
|
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
|
|
|
15
15
|
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
16
|
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
17
|
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
-
readonly statusRef: React.MutableRefObject<"
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -176,7 +176,7 @@ export declare const updateCustom: (payload: {
|
|
|
176
176
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
177
177
|
type: EActionTypes;
|
|
178
178
|
payload: {
|
|
179
|
-
status: "
|
|
179
|
+
status: "success" | "warn" | "loading" | "fail" | "question";
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
/**
|
|
@@ -297,20 +297,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
297
297
|
name?: string | undefined;
|
|
298
298
|
symbol?: string | undefined;
|
|
299
299
|
amount?: string | number | undefined;
|
|
300
|
-
mode?: "refund" | "
|
|
300
|
+
mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
|
|
301
301
|
order_id?: string | number | undefined;
|
|
302
|
-
eftpos?: "
|
|
302
|
+
eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu" | undefined;
|
|
303
303
|
action?: "amount" | "deviceList" | "pay" | undefined;
|
|
304
304
|
key?: number | undefined;
|
|
305
305
|
step?: number | undefined;
|
|
306
306
|
title?: string | undefined;
|
|
307
307
|
subTitle?: string | undefined;
|
|
308
|
-
type?: "
|
|
308
|
+
type?: "unset" | "step" | undefined;
|
|
309
309
|
render?: boolean | undefined;
|
|
310
310
|
net?: boolean | undefined;
|
|
311
311
|
component?: string | undefined;
|
|
312
312
|
form?: string | undefined;
|
|
313
|
-
status?: "
|
|
313
|
+
status?: "success" | "warn" | "loading" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
314
314
|
warn?: string | undefined;
|
|
315
315
|
steps?: {
|
|
316
316
|
/** 用于重置当前步骤 */
|
|
@@ -22,7 +22,7 @@ export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
|
22
22
|
order_id: string;
|
|
23
23
|
payment_group_id: number;
|
|
24
24
|
payments: {
|
|
25
|
-
amount: string | number
|
|
25
|
+
amount: string | number;
|
|
26
26
|
wallet_pass_use_value: any;
|
|
27
27
|
voucher_id: any;
|
|
28
28
|
tag: any;
|
|
@@ -48,7 +48,7 @@ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
|
48
48
|
*/
|
|
49
49
|
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
50
50
|
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
51
|
-
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number
|
|
51
|
+
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number;
|
|
52
52
|
export declare const clientPayment: (params: {
|
|
53
53
|
order_id: number;
|
|
54
54
|
type: "aliPay" | "wxPay" | 'google_pay';
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|
|
@@ -6,10 +6,10 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
|
|
|
6
6
|
export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
|
|
7
7
|
export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
|
|
8
8
|
export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
|
|
9
|
-
export declare const getShopFloorPlanByCode:
|
|
10
|
-
export declare const postShopFloorPlan:
|
|
11
|
-
export declare const putShopFloorPlan:
|
|
12
|
-
export declare const unsubscribeShopFloorPlanCodeQuery:
|
|
9
|
+
export declare const getShopFloorPlanByCode: any;
|
|
10
|
+
export declare const postShopFloorPlan: any;
|
|
11
|
+
export declare const putShopFloorPlan: any;
|
|
12
|
+
export declare const unsubscribeShopFloorPlanCodeQuery: any;
|
|
13
13
|
/**
|
|
14
14
|
* 404 时 POST 创建使用预约默认 JSON(`api/create-floor-map.json`)。
|
|
15
15
|
*/
|
|
@@ -21,7 +21,7 @@ export declare function buildDefaultReservationFloorPlanPostBody(code: string):
|
|
|
21
21
|
export declare function shopLayoutToSceneElements(layout: ShopFloorPlanLayoutItem[], options: {
|
|
22
22
|
canvasId: string;
|
|
23
23
|
dataSourceKey: string;
|
|
24
|
-
}):
|
|
24
|
+
}): any;
|
|
25
25
|
export declare function saveViewConfigToShopFloorPlan(id: number, config: import('@pisell/materials').FloorMapViewConfig, options: {
|
|
26
26
|
canvasWidth?: number;
|
|
27
27
|
canvasHeight?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type FloorMapMergedItem, type FloorMapDataSources
|
|
2
|
+
import { type FloorMapMergedItem, type FloorMapDataSources } from '@pisell/materials';
|
|
3
3
|
import type { PisellReservationTableRow } from '../types';
|
|
4
4
|
import './ReservationCards.less';
|
|
5
5
|
export declare function findReservationRow(item: FloorMapMergedItem, dataSources: FloorMapDataSources): PisellReservationTableRow | undefined;
|
|
@@ -7,10 +7,10 @@ export declare function renderReservationTableCard(item: FloorMapMergedItem, dat
|
|
|
7
7
|
export declare function renderReservationPartyCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
8
8
|
export declare function renderReservationBarCard(item: FloorMapMergedItem, dataSources: FloorMapDataSources): React.ReactNode;
|
|
9
9
|
export declare function getReservationRenderItemByKind(dataSources: FloorMapDataSources): {
|
|
10
|
-
|
|
11
|
-
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
12
|
-
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
13
|
-
reservationTable: (item: FloorMapItemBase, _index: number, _options?:
|
|
14
|
-
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?:
|
|
15
|
-
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?:
|
|
10
|
+
[x: number]: (item: FloorMapItemBase, _index: number, _options?: any) => any;
|
|
11
|
+
reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
12
|
+
reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
13
|
+
reservationTable: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
14
|
+
reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
15
|
+
reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: any) => React.ReactNode;
|
|
16
16
|
};
|
|
@@ -43,4 +43,4 @@ export interface UseReservationFloorMapMergedParams {
|
|
|
43
43
|
/** 场控等:HUD 表抽屉开启时视口叠加层锚左下、Dock 默认右下(可由 floorMap 显式覆盖) */
|
|
44
44
|
floorMapHudTableDrawer?: boolean;
|
|
45
45
|
}
|
|
46
|
-
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams):
|
|
46
|
+
export declare function useReservationFloorMapMerged(params: UseReservationFloorMapMergedParams): any;
|
|
@@ -9,5 +9,5 @@ export declare function useReservationFloorPlan(options: {
|
|
|
9
9
|
}): {
|
|
10
10
|
baseFloorConfig: FloorMapViewConfig;
|
|
11
11
|
floorPlanRemoteId: number | null;
|
|
12
|
-
setRemoteFloorPlanView: import("react").Dispatch<
|
|
12
|
+
setRemoteFloorPlanView: import("react").Dispatch<any>;
|
|
13
13
|
};
|
|
@@ -7,10 +7,10 @@ export declare function useReservationScheduleDebounced(options: {
|
|
|
7
7
|
scheduleValueProp: ReservationScheduleBandValue | undefined;
|
|
8
8
|
}): {
|
|
9
9
|
internalSchedule: ReservationScheduleBandValue;
|
|
10
|
-
setInternalSchedule: import("react").Dispatch<
|
|
11
|
-
schedule:
|
|
10
|
+
setInternalSchedule: import("react").Dispatch<any>;
|
|
11
|
+
schedule: any;
|
|
12
12
|
debouncedSchedule: ReservationScheduleBandValue;
|
|
13
|
-
scheduleRef: import("react").MutableRefObject<
|
|
13
|
+
scheduleRef: import("react").MutableRefObject<any>;
|
|
14
14
|
flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
15
15
|
queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
|
|
16
16
|
};
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Capacity: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Capacity;
|
|
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const CardMask: ({ props }: {
|
|
5
5
|
props: SkuStatusOverlayConfig;
|
|
6
|
-
}) => string | number | true | React.
|
|
6
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
7
7
|
export default CardMask;
|
|
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const Countdown: ({ props }: {
|
|
5
5
|
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true | React.
|
|
6
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
7
7
|
export default Countdown;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Duration: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Duration;
|
|
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
|
|
|
3
3
|
import './index.less';
|
|
4
4
|
declare const MemberPrice: ({ props }: {
|
|
5
5
|
props: ProductCardConfig;
|
|
6
|
-
}) => string | number | true | React.
|
|
6
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
7
7
|
export default MemberPrice;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Resource: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Resource;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Stock: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Stock;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { ProductCardConfig } from '../../type';
|
|
3
3
|
declare const Time: ({ props }: {
|
|
4
4
|
props: ProductCardConfig;
|
|
5
|
-
}) => string | number | true | React.
|
|
5
|
+
}) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
6
6
|
export default Time;
|
|
@@ -14,7 +14,7 @@ export declare const getSkuCardConfig: (finalConfig: ProductCardConfig) => {
|
|
|
14
14
|
paddingY: number;
|
|
15
15
|
paddingX: number;
|
|
16
16
|
isBorderVisible: boolean;
|
|
17
|
-
layoutDirection: "
|
|
17
|
+
layoutDirection: "column" | "row";
|
|
18
18
|
};
|
|
19
19
|
skuActionConfig: {
|
|
20
20
|
isOpen: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.112",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"react-resizable": "^3.0.5",
|
|
69
69
|
"styled-components": "^6.0.0-rc.3",
|
|
70
70
|
"@pisell/utils": "3.0.2",
|
|
71
|
-
"@pisell/date-picker": "3.0.8",
|
|
72
71
|
"@pisell/materials": "6.11.26",
|
|
72
|
+
"@pisell/date-picker": "3.0.8",
|
|
73
73
|
"@pisell/icon": "0.0.11"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|