@pisell/private-materials 6.6.13 → 6.6.15
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/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/index.js +3 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/index.js +4 -2
- package/es/components/booking/locales.js +2 -2
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/checkout/components/PaymentDetailModal/index.less +427 -429
- 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/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +5 -4
- package/es/components/ticketBooking/components/ticketBooking/index.js +1 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/plus/clinetSearch/index.d.ts +1 -0
- package/es/plus/clinetSearch/index.js +11 -3
- package/es/plus/clinetSearch/locales.d.ts +3 -0
- package/es/plus/clinetSearch/locales.js +6 -3
- 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/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/index.js +3 -2
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/index.js +4 -2
- package/lib/components/booking/locales.js +2 -2
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/checkout/components/PaymentDetailModal/index.less +427 -429
- 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/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +5 -5
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/plus/clinetSearch/index.d.ts +1 -0
- package/lib/plus/clinetSearch/index.js +16 -6
- package/lib/plus/clinetSearch/locales.d.ts +3 -0
- package/lib/plus/clinetSearch/locales.js +6 -3
- 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/pro/comprehensiveSearch/components/searchSection/locales.js +3 -3
- package/package.json +3 -3
|
@@ -17,7 +17,7 @@ export declare const useWalletPass: (props: {
|
|
|
17
17
|
cardData: any;
|
|
18
18
|
handleSelectWallet: (value: number[]) => void;
|
|
19
19
|
selectedWalletIds: any[];
|
|
20
|
-
expiredWalletIds: any
|
|
20
|
+
expiredWalletIds: any;
|
|
21
21
|
expiredWalletData: any;
|
|
22
22
|
disabledWalletData: any[];
|
|
23
23
|
clearAllSelectedWallet: () => void;
|
|
@@ -8,7 +8,7 @@ import { PosProps } from './const';
|
|
|
8
8
|
*/
|
|
9
9
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
|
-
onChange?: ((status: "
|
|
11
|
+
onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
12
12
|
[keys: string]: unknown;
|
|
13
13
|
} | undefined, other?: any) => void) | undefined;
|
|
14
14
|
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: "page" | "success" | "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<"loading" | "success" | "warn" | "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">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
|
|
|
174
174
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
175
175
|
type: EActionTypes;
|
|
176
176
|
payload: {
|
|
177
|
-
status: "
|
|
177
|
+
status: "loading" | "success" | "warn" | "fail" | "question";
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
/**
|
|
@@ -295,10 +295,10 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
295
295
|
name?: string | undefined;
|
|
296
296
|
symbol?: string | undefined;
|
|
297
297
|
amount?: string | number | undefined;
|
|
298
|
-
mode?: "pay" | "
|
|
298
|
+
mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
|
|
299
299
|
order_id?: string | number | undefined;
|
|
300
|
-
eftpos?: "
|
|
301
|
-
action?: "
|
|
300
|
+
eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
|
|
301
|
+
action?: "pay" | "amount" | "deviceList" | undefined;
|
|
302
302
|
key?: number | undefined;
|
|
303
303
|
step?: number | undefined;
|
|
304
304
|
title?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
308
308
|
net?: boolean | undefined;
|
|
309
309
|
component?: string | undefined;
|
|
310
310
|
form?: string | undefined;
|
|
311
|
-
status?: "
|
|
311
|
+
status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
312
312
|
warn?: string | undefined;
|
|
313
313
|
steps?: {
|
|
314
314
|
/** 用于重置当前步骤 */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
3
4
|
order: any;
|
|
@@ -29,4 +30,11 @@ export interface PayGroup {
|
|
|
29
30
|
_order: any;
|
|
30
31
|
front_order_uuid?: string;
|
|
31
32
|
}
|
|
32
|
-
export declare const Provider: any, Context:
|
|
33
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
34
|
+
state: FormState;
|
|
35
|
+
} & {
|
|
36
|
+
dispatch: (params: {
|
|
37
|
+
type: string;
|
|
38
|
+
payload: any;
|
|
39
|
+
}) => void;
|
|
40
|
+
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,4 +69,11 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: any, Context:
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
73
|
+
state: FormState;
|
|
74
|
+
} & {
|
|
75
|
+
dispatch: (params: {
|
|
76
|
+
type: string;
|
|
77
|
+
payload: any;
|
|
78
|
+
}) => void;
|
|
79
|
+
}>;
|
|
@@ -202,7 +202,7 @@ var AddSerivce = (props) => {
|
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
204
|
const processAddService = (0, import_ahooks.useMemoizedFn)(async (item, _detail, e, notShowToast, startDate, endDate) => {
|
|
205
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m, _n, _o, _p;
|
|
205
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
206
206
|
const other = JSON.parse(JSON.stringify(e));
|
|
207
207
|
other.session = e.session;
|
|
208
208
|
let cacheItem = {
|
|
@@ -250,12 +250,12 @@ var AddSerivce = (props) => {
|
|
|
250
250
|
cacheItem = (0, import_utils8.concatBookings)(cacheItem);
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
-
if (!(0, import_utils4.isNormalProductByDurationSchedule)(cacheItem) && (!cacheItem._extend.holder_id || !cacheItem._extend.holder_id.length) && !(0, import_utils2.isWalkIn)((_c2 = (_b2 = state.client) == null ? void 0 : _b2.value) == null ? void 0 : _c2.id) && ((_g2 = (_f2 = (_e2 = (_d2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _d2.config) == null ? void 0 : _e2.basic) == null ? void 0 : _f2.appointment_subject) == null ? void 0 : _g2.show_hold_on_add_cart) !== 0) {
|
|
253
|
+
if (!(0, import_utils4.isNormalProductByDurationSchedule)(cacheItem) && (!cacheItem._extend.holder_id || !cacheItem._extend.holder_id.length) && !(0, import_utils2.isWalkIn)((_c2 = (_b2 = state.client) == null ? void 0 : _b2.value) == null ? void 0 : _c2.id) && ((_g2 = (_f2 = (_e2 = (_d2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _d2.config) == null ? void 0 : _e2.basic) == null ? void 0 : _f2.appointment_subject) == null ? void 0 : _g2.type) === "form" && ((_k2 = (_j2 = (_i2 = (_h2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _h2.config) == null ? void 0 : _i2.basic) == null ? void 0 : _j2.appointment_subject) == null ? void 0 : _k2.show_hold_on_add_cart) !== 0) {
|
|
254
254
|
const res = await handleAddHolder(cacheItem);
|
|
255
255
|
if (res && res.length > 0) {
|
|
256
256
|
cacheItem._extend.holder_id = res;
|
|
257
257
|
} else {
|
|
258
|
-
if (((
|
|
258
|
+
if (((_n = (_m = (_l2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _l2.config) == null ? void 0 : _m.basic) == null ? void 0 : _n.subject_require) === "require") {
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
@@ -287,7 +287,7 @@ var AddSerivce = (props) => {
|
|
|
287
287
|
})
|
|
288
288
|
);
|
|
289
289
|
try {
|
|
290
|
-
if (((
|
|
290
|
+
if (((_s = (_r = (_q = (_p = (_o = context.appHelper.utils.store) == null ? void 0 : _o.getState) == null ? void 0 : _p.call(_o)) == null ? void 0 : _q.global) == null ? void 0 : _r.globalConfig) == null ? void 0 : _s.id) === 2155) {
|
|
291
291
|
const val = _list == null ? void 0 : _list.map((s) => {
|
|
292
292
|
return {
|
|
293
293
|
product_id: s == null ? void 0 : s.product_id,
|
|
@@ -332,7 +332,7 @@ var AddSerivce = (props) => {
|
|
|
332
332
|
}
|
|
333
333
|
});
|
|
334
334
|
} else {
|
|
335
|
-
(
|
|
335
|
+
(_t = window.openBookingEditModal) == null ? void 0 : _t.call(window);
|
|
336
336
|
if (isMultiDay) {
|
|
337
337
|
await getMultiDayCacheItem(true);
|
|
338
338
|
}
|
|
@@ -1131,6 +1131,7 @@ var TicketBooking = (props) => {
|
|
|
1131
1131
|
drawerMask: true,
|
|
1132
1132
|
isBookingTicket2: true,
|
|
1133
1133
|
isParallelResourcesBooking: state.isParallelResourcesBooking,
|
|
1134
|
+
setIntervalTime: _setIntervalTime,
|
|
1134
1135
|
onQrCodeClick: () => {
|
|
1135
1136
|
console.log("onQrCodeClick");
|
|
1136
1137
|
bookingTicket == null ? void 0 : bookingTicket.activateCamera();
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|
|
@@ -9,6 +9,7 @@ interface ClientSearchProps extends Omit<ComprehensiveSearchProps, 'resultDispla
|
|
|
9
9
|
resultProps?: TableProps<ClientData>;
|
|
10
10
|
hasMore?: boolean;
|
|
11
11
|
onLoadMore?: () => void;
|
|
12
|
+
state?: any;
|
|
12
13
|
}
|
|
13
14
|
export declare type ClientSearchRef = {
|
|
14
15
|
resetScrollPosition: () => void;
|
|
@@ -45,8 +45,16 @@ var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
|
45
45
|
var import_useTranslationOriginal = __toESM(require("../../hooks/useTranslationOriginal"));
|
|
46
46
|
var import_index = require("./index.less");
|
|
47
47
|
var ClientSearch = (0, import_react.forwardRef)(
|
|
48
|
-
({
|
|
49
|
-
|
|
48
|
+
({
|
|
49
|
+
onRowClick,
|
|
50
|
+
resultProps,
|
|
51
|
+
onAddClient,
|
|
52
|
+
hasMore,
|
|
53
|
+
onLoadMore,
|
|
54
|
+
state,
|
|
55
|
+
...props
|
|
56
|
+
}, ref) => {
|
|
57
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
50
58
|
const [modalVisible, setModalVisible] = (0, import_react.useState)(false);
|
|
51
59
|
const comprehensiveSearchRef = (0, import_react.useRef)(null);
|
|
52
60
|
const addClientRef = (0, import_react.useRef)(null);
|
|
@@ -57,6 +65,8 @@ var ClientSearch = (0, import_react.forwardRef)(
|
|
|
57
65
|
import_locales.default,
|
|
58
66
|
((_c = (_b = (_a = context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.storage) == null ? void 0 : _c.get("umi_locale")) || "en"
|
|
59
67
|
);
|
|
68
|
+
const appointmentSubject = ((_f = (_e = (_d = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _d.config) == null ? void 0 : _e.basic) == null ? void 0 : _f.appointment_subject) || {};
|
|
69
|
+
const translation = (_h = (_g = context == null ? void 0 : context.appHelper) == null ? void 0 : _g.utils) == null ? void 0 : _h.translationShop;
|
|
60
70
|
const handleAdd = () => {
|
|
61
71
|
setModalVisible(true);
|
|
62
72
|
};
|
|
@@ -66,7 +76,7 @@ var ClientSearch = (0, import_react.forwardRef)(
|
|
|
66
76
|
(_a2 = addClientRef.current) == null ? void 0 : _a2.reset();
|
|
67
77
|
};
|
|
68
78
|
const renderListHeader = () => {
|
|
69
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "client-search-list-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.name")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 110 } }, import_utils.locales.getText("pisell2.text.client-search.register-time")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 125 } }, import_utils.locales.getText("pisell2.text.client-search.membership")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.contact-info")));
|
|
79
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "client-search-list-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.name")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 110 } }, import_utils.locales.getText("pisell2.text.client-search.register-time")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 125 } }, import_utils.locales.getText("pisell2.text.client-search.membership")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 180 } }, import_utils.locales.getText("pisell2.text.client-search.contact-info")), /* @__PURE__ */ import_react.default.createElement("div", { className: "header-item", style: { width: 200 } }, translation(appointmentSubject == null ? void 0 : appointmentSubject.form_name) || import_utils.locales.getText("pisell2.text.client-search.holder")));
|
|
70
80
|
};
|
|
71
81
|
const renderResults = (searchResults) => {
|
|
72
82
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, (searchResults == null ? void 0 : searchResults.length) ? renderListHeader() : null, /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -111,7 +121,7 @@ var ClientSearch = (0, import_react.forwardRef)(
|
|
|
111
121
|
{
|
|
112
122
|
dataSource: searchResults,
|
|
113
123
|
renderItem: (item, index) => {
|
|
114
|
-
var _a2, _b2, _c2,
|
|
124
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
|
|
115
125
|
const membershipText = (_b2 = (_a2 = item.latest_wallet_detail) == null ? void 0 : _a2.wallet) == null ? void 0 : _b2.name;
|
|
116
126
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
117
127
|
import_antd.List.Item,
|
|
@@ -155,7 +165,7 @@ var ClientSearch = (0, import_react.forwardRef)(
|
|
|
155
165
|
},
|
|
156
166
|
translationOriginal == null ? void 0 : translationOriginal(membershipText)
|
|
157
167
|
) : "-"),
|
|
158
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 180 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: (_c2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c2.value }), ((
|
|
168
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 180 } }, /* @__PURE__ */ import_react.default.createElement(import_clientName.default, { dataSource: (_c2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _c2.value }), ((_f2 = (_e2 = (_d2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _d2.value) == null ? void 0 : _e2.phone) == null ? void 0 : _f2.phone) || "-", /* @__PURE__ */ import_react.default.createElement(
|
|
159
169
|
"div",
|
|
160
170
|
{
|
|
161
171
|
style: {
|
|
@@ -164,7 +174,7 @@ var ClientSearch = (0, import_react.forwardRef)(
|
|
|
164
174
|
whiteSpace: "nowrap"
|
|
165
175
|
}
|
|
166
176
|
},
|
|
167
|
-
((
|
|
177
|
+
((_h2 = (_g2 = item == null ? void 0 : item.contacts_info) == null ? void 0 : _g2.value) == null ? void 0 : _h2.email) || "-"
|
|
168
178
|
)),
|
|
169
179
|
/* @__PURE__ */ import_react.default.createElement("div", { className: "item-cell", style: { width: 200 } }, ((_i = item == null ? void 0 : item.form_record) == null ? void 0 : _i.length) > 0 ? (_j = item == null ? void 0 : item.form_record) == null ? void 0 : _j.map((itemForm) => {
|
|
170
180
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -32,6 +32,7 @@ declare const _default: {
|
|
|
32
32
|
'pisell2.text.client-search.email': string;
|
|
33
33
|
'pisell2.text.client-search.membership': string;
|
|
34
34
|
'pisell2.text.client-search.contact-info': string;
|
|
35
|
+
'pisell2.text.client-search.holder': string;
|
|
35
36
|
};
|
|
36
37
|
'zh-CN': {
|
|
37
38
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -66,6 +67,7 @@ declare const _default: {
|
|
|
66
67
|
'pisell2.text.client-search.email': string;
|
|
67
68
|
'pisell2.text.client-search.membership': string;
|
|
68
69
|
'pisell2.text.client-search.contact-info': string;
|
|
70
|
+
'pisell2.text.client-search.holder': string;
|
|
69
71
|
};
|
|
70
72
|
'zh-HK': {
|
|
71
73
|
'pisell2.text.leave-empty-for-walk-in': string;
|
|
@@ -100,6 +102,7 @@ declare const _default: {
|
|
|
100
102
|
'pisell2.text.client-search.email': string;
|
|
101
103
|
'pisell2.text.client-search.membership': string;
|
|
102
104
|
'pisell2.text.client-search.contact-info': string;
|
|
105
|
+
'pisell2.text.client-search.holder': string;
|
|
103
106
|
};
|
|
104
107
|
};
|
|
105
108
|
export default _default;
|
|
@@ -55,7 +55,8 @@ var locales_default = {
|
|
|
55
55
|
"pisell2.text.client-search.phone": "Phone Number",
|
|
56
56
|
"pisell2.text.client-search.email": "Email Address",
|
|
57
57
|
"pisell2.text.client-search.membership": "Membership",
|
|
58
|
-
"pisell2.text.client-search.contact-info": "Contact info"
|
|
58
|
+
"pisell2.text.client-search.contact-info": "Contact info",
|
|
59
|
+
"pisell2.text.client-search.holder": "Holder"
|
|
59
60
|
},
|
|
60
61
|
"zh-CN": {
|
|
61
62
|
"pisell2.text.leave-empty-for-walk-in": "如未注册游客则留空",
|
|
@@ -89,7 +90,8 @@ var locales_default = {
|
|
|
89
90
|
"pisell2.text.client-search.phone": "电话号码",
|
|
90
91
|
"pisell2.text.client-search.email": "邮箱",
|
|
91
92
|
"pisell2.text.client-search.membership": "会员",
|
|
92
|
-
"pisell2.text.client-search.contact-info": "联系信息"
|
|
93
|
+
"pisell2.text.client-search.contact-info": "联系信息",
|
|
94
|
+
"pisell2.text.client-search.holder": "持有人"
|
|
93
95
|
},
|
|
94
96
|
"zh-HK": {
|
|
95
97
|
"pisell2.text.leave-empty-for-walk-in": "如未註冊遊客則留空",
|
|
@@ -123,6 +125,7 @@ var locales_default = {
|
|
|
123
125
|
"pisell2.text.client-search.phone": "電話號碼",
|
|
124
126
|
"pisell2.text.client-search.email": "電郵地址",
|
|
125
127
|
"pisell2.text.client-search.membership": "會員",
|
|
126
|
-
"pisell2.text.client-search.contact-info": "聯繫信息"
|
|
128
|
+
"pisell2.text.client-search.contact-info": "聯繫信息",
|
|
129
|
+
"pisell2.text.client-search.holder": "持有人"
|
|
127
130
|
}
|
|
128
131
|
};
|
|
@@ -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 |
|
|
5
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
6
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
6
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
5
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
6
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
5
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
5
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | 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 |
|
|
5
|
+
}) => string | number | true | JSX.Element | React.ReactFragment | null;
|
|
6
6
|
export default Time;
|
|
@@ -24,15 +24,15 @@ __export(locales_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(locales_exports);
|
|
25
25
|
var locales_default = {
|
|
26
26
|
en: {
|
|
27
|
-
"pisell2.comprehensive-search.placeholder": "WalletPass Code / Name / Mobile / Email / Contact info",
|
|
27
|
+
"pisell2.comprehensive-search.placeholder": "WalletPass Code / Name / Mobile / Email / Contact info / Holder",
|
|
28
28
|
"pisell2.text.search": "Search"
|
|
29
29
|
},
|
|
30
30
|
"zh-CN": {
|
|
31
|
-
"pisell2.comprehensive-search.placeholder": "钱包码 / 姓名 / 电话 / 电子邮箱 / 联系信息",
|
|
31
|
+
"pisell2.comprehensive-search.placeholder": "钱包码 / 姓名 / 电话 / 电子邮箱 / 联系信息 / 持有人",
|
|
32
32
|
"pisell2.text.search": "搜索"
|
|
33
33
|
},
|
|
34
34
|
"zh-HK": {
|
|
35
|
-
"pisell2.comprehensive-search.placeholder": "錢包碼 / 姓名 / 電話 / 電子郵箱 / 聯繫信息",
|
|
35
|
+
"pisell2.comprehensive-search.placeholder": "錢包碼 / 姓名 / 電話 / 電子郵箱 / 聯繫信息 / 持有人",
|
|
36
36
|
"pisell2.text.search": "搜索"
|
|
37
37
|
}
|
|
38
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.15",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
64
|
"@pisell/utils": "3.0.2",
|
|
65
65
|
"@pisell/materials": "6.6.4",
|
|
66
|
-
"@pisell/
|
|
67
|
-
"@pisell/
|
|
66
|
+
"@pisell/date-picker": "3.0.7",
|
|
67
|
+
"@pisell/icon": "0.0.11"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|