@pisell/private-materials 6.11.110 → 6.11.111

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 (68) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +16 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +11 -11
  10. package/es/components/booking/components/actionButtons/index.less +9 -9
  11. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  12. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  13. package/es/components/booking/info/index.less +6 -2
  14. package/es/components/booking/info/service2/utils.d.ts +1 -1
  15. package/es/components/booking/utils.d.ts +2 -2
  16. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  17. package/es/components/eftposPay/amount.d.ts +1 -1
  18. package/es/components/eftposPay/device.d.ts +1 -1
  19. package/es/components/eftposPay/hooks.d.ts +2 -2
  20. package/es/components/eftposPay/store/index.d.ts +5 -5
  21. package/es/components/pay/toC/utils.d.ts +2 -2
  22. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  23. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  24. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  25. package/es/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  26. package/es/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  27. package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  28. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  29. package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  30. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  31. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  32. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  33. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  34. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  35. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  36. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  37. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  38. package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
  39. package/lib/components/booking/components/actionButtons/index.less +9 -9
  40. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
  41. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  42. package/lib/components/booking/info/index.less +6 -2
  43. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  44. package/lib/components/booking/utils.d.ts +2 -2
  45. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  46. package/lib/components/eftposPay/amount.d.ts +1 -1
  47. package/lib/components/eftposPay/device.d.ts +1 -1
  48. package/lib/components/eftposPay/hooks.d.ts +2 -2
  49. package/lib/components/eftposPay/store/index.d.ts +5 -5
  50. package/lib/components/pay/toC/utils.d.ts +2 -2
  51. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  52. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  53. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +5 -5
  54. package/lib/plus/pisellReservation/floorMap/reservationCards.d.ts +7 -7
  55. package/lib/plus/pisellReservation/floorMap/useReservationFloorMapMerged.d.ts +1 -1
  56. package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -1
  57. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +3 -3
  58. package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  59. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  60. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  61. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  62. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  63. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  64. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  65. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  66. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  67. package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
  68. package/package.json +3 -3
@@ -3,14 +3,14 @@
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
5
  gap: 6px;
6
- margin-top: 8px;
6
+ margin-top: 0px;
7
7
  padding: 0;
8
8
 
9
9
  .action-button-wrapper {
10
10
  position: relative;
11
11
  flex: 1.4;
12
12
  display: flex;
13
-
13
+
14
14
  .voucher-badge {
15
15
  position: absolute;
16
16
  top: -8px;
@@ -81,7 +81,7 @@
81
81
  background: #2C2C2C;
82
82
  border-color: #2C2C2C;
83
83
  color: white;
84
-
84
+
85
85
  &:hover {
86
86
  background: #2C2C2C !important;
87
87
  border-color: #2C2C2C !important;
@@ -95,7 +95,7 @@
95
95
  width: 44px;
96
96
  flex: none;
97
97
  border-color: #FF4D4F;
98
-
98
+
99
99
  &:hover:not(:disabled) {
100
100
  border-color: #FF7875;
101
101
  }
@@ -107,7 +107,7 @@
107
107
  border-color: #CC8E50;
108
108
  align-items: center;
109
109
  padding: 0 4px;
110
-
110
+
111
111
  &:hover:not(:disabled) {
112
112
  border-color: #CC8E50;
113
113
  }
@@ -132,7 +132,7 @@
132
132
  &.customise-button {
133
133
  flex: 1;
134
134
  border-color: #8157D5;
135
-
135
+
136
136
  &:hover:not(:disabled) {
137
137
  border-color: #8157D5;
138
138
  }
@@ -151,7 +151,7 @@
151
151
  &.goodpass-button {
152
152
  flex: 1.4;
153
153
  border-color: #CC8E50;
154
-
154
+
155
155
  &:hover:not(:disabled) {
156
156
  border-color: #CC8E50;
157
157
  }
@@ -170,7 +170,7 @@
170
170
  text-align: center;
171
171
  font-weight: 600;
172
172
  }
173
-
173
+
174
174
  .pisell-lowcode-btn-icon {
175
175
  margin-right: 0;
176
176
  font-size: 22px;
@@ -184,4 +184,4 @@
184
184
  font-size: 14px !important;
185
185
  font-weight: 400 !important;
186
186
  color: inherit !important;
187
- }
187
+ }
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
4
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
5
  handleOpen: () => void;
6
6
  handleValuesChange: (val: any) => void;
7
- handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
7
+ handleOk: (values: SendModalValues) => Promise<any>;
8
8
  };
9
9
  export default useSendModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -2,7 +2,7 @@
2
2
  position: relative;
3
3
 
4
4
  .booking-info {
5
- padding-bottom: 16px;
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[] | Promise<any>;
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
- } | "flexible";
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: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
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: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
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<"loading" | "success" | "warn" | "fail" | "init" | "pedding" | "resove" | "reject" | "question">;
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<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu">;
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: "loading" | "success" | "warn" | "fail" | "question";
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" | "fullPay" | "pay" | "query" | undefined;
300
+ mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
301
301
  order_id?: string | number | undefined;
302
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu" | undefined;
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?: "step" | "unset" | undefined;
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?: "loading" | "success" | "warn" | "fail" | "init" | "pedding" | "resove" | "reject" | "question" | undefined;
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 | undefined;
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 | undefined;
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';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => import("react").JSX.Element;
4
3
  export default Empty;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
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: (code: string, subscribe?: any) => Promise<any>;
10
- export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<any>;
11
- export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
12
- export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
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
- }): import("@pisell/materials").FloorMapSceneElement[];
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, type FloorMapItemBase, type FloorMapRenderOptions } from '@pisell/materials';
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
- floorMapImage: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
11
- reservationBoundTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
12
- reservationBoundRoundTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
13
- reservationTable: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
14
- reservationPartyBench: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
15
- reservationBarSeat: (item: FloorMapItemBase, _index: number, _options?: FloorMapRenderOptions) => React.ReactNode;
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): Partial<import("@pisell/materials").PisellFloorMapLayoutProps<import("@pisell/materials").FloorMapItemBase>>;
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<import("react").SetStateAction<Partial<FloorMapViewConfig> | null>>;
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<import("react").SetStateAction<ReservationScheduleBandValue>>;
11
- schedule: ReservationScheduleBandValue;
10
+ setInternalSchedule: import("react").Dispatch<any>;
11
+ schedule: any;
12
12
  debouncedSchedule: ReservationScheduleBandValue;
13
- scheduleRef: import("react").MutableRefObject<ReservationScheduleBandValue>;
13
+ scheduleRef: import("react").MutableRefObject<any>;
14
14
  flushCommittedSchedule: (next: ReservationScheduleBandValue) => void;
15
15
  queueCommittedSchedule: (next: ReservationScheduleBandValue) => void;
16
16
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const getBookingStatusMap: () => Record<string, string>;
3
2
  export declare const BOOKING_STATUS_COLOR_MAP: Record<string, string>;
4
3
  export declare const getBookingPlatformMap: () => Record<string, string>;
@@ -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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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.JSX.Element | Iterable<React.ReactNode> | null;
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: "row" | "column";
17
+ layoutDirection: "column" | "row";
18
18
  };
19
19
  skuActionConfig: {
20
20
  isOpen: boolean;
@@ -3,14 +3,14 @@
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
5
  gap: 6px;
6
- margin-top: 8px;
6
+ margin-top: 0px;
7
7
  padding: 0;
8
8
 
9
9
  .action-button-wrapper {
10
10
  position: relative;
11
11
  flex: 1.4;
12
12
  display: flex;
13
-
13
+
14
14
  .voucher-badge {
15
15
  position: absolute;
16
16
  top: -8px;
@@ -81,7 +81,7 @@
81
81
  background: #2C2C2C;
82
82
  border-color: #2C2C2C;
83
83
  color: white;
84
-
84
+
85
85
  &:hover {
86
86
  background: #2C2C2C !important;
87
87
  border-color: #2C2C2C !important;
@@ -95,7 +95,7 @@
95
95
  width: 44px;
96
96
  flex: none;
97
97
  border-color: #FF4D4F;
98
-
98
+
99
99
  &:hover:not(:disabled) {
100
100
  border-color: #FF7875;
101
101
  }
@@ -107,7 +107,7 @@
107
107
  border-color: #CC8E50;
108
108
  align-items: center;
109
109
  padding: 0 4px;
110
-
110
+
111
111
  &:hover:not(:disabled) {
112
112
  border-color: #CC8E50;
113
113
  }
@@ -132,7 +132,7 @@
132
132
  &.customise-button {
133
133
  flex: 1;
134
134
  border-color: #8157D5;
135
-
135
+
136
136
  &:hover:not(:disabled) {
137
137
  border-color: #8157D5;
138
138
  }
@@ -151,7 +151,7 @@
151
151
  &.goodpass-button {
152
152
  flex: 1.4;
153
153
  border-color: #CC8E50;
154
-
154
+
155
155
  &:hover:not(:disabled) {
156
156
  border-color: #CC8E50;
157
157
  }
@@ -170,7 +170,7 @@
170
170
  text-align: center;
171
171
  font-weight: 600;
172
172
  }
173
-
173
+
174
174
  .pisell-lowcode-btn-icon {
175
175
  margin-right: 0;
176
176
  font-size: 22px;
@@ -184,4 +184,4 @@
184
184
  font-size: 14px !important;
185
185
  font-weight: 400 !important;
186
186
  color: inherit !important;
187
- }
187
+ }
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
4
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
5
  handleOpen: () => void;
6
6
  handleValuesChange: (val: any) => void;
7
- handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
7
+ handleOk: (values: SendModalValues) => Promise<any>;
8
8
  };
9
9
  export default useSendModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -2,7 +2,7 @@
2
2
  position: relative;
3
3
 
4
4
  .booking-info {
5
- padding-bottom: 16px;
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[] | Promise<any>;
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
- } | "flexible";
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: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
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: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
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<"loading" | "success" | "warn" | "fail" | "init" | "pedding" | "resove" | "reject" | "question">;
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<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu">;
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
  };