@pisell/private-materials 3.0.126 → 3.0.127
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/es/components/booking/info/header/index.js +2 -2
- package/es/components/booking/locales.d.ts +6 -6
- package/es/components/booking/locales.js +6 -6
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/booking/info/header/index.js +1 -1
- package/lib/components/booking/locales.d.ts +6 -6
- package/lib/components/booking/locales.js +6 -6
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/package.json +3 -3
|
@@ -370,9 +370,9 @@ var header = function header(_ref) {
|
|
|
370
370
|
className: "go-payments-modal-content"
|
|
371
371
|
}, /*#__PURE__*/React.createElement("div", {
|
|
372
372
|
className: "go-payments-modal-content-title"
|
|
373
|
-
}, locales.getText('page.booking.text.unconfirmed-
|
|
373
|
+
}, locales.getText('page.booking.text.unconfirmed-payments')), /*#__PURE__*/React.createElement("div", {
|
|
374
374
|
className: "go-payments-modal-content-desc"
|
|
375
|
-
}, locales.getText('page.booking.text.unconfirmed-
|
|
375
|
+
}, locales.getText('page.booking.text.unconfirmed-payments.msg')), /*#__PURE__*/React.createElement("div", {
|
|
376
376
|
className: "go-payments-footer"
|
|
377
377
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
378
378
|
className: "go-payments-footer-btn",
|
|
@@ -179,8 +179,8 @@ declare const _default: {
|
|
|
179
179
|
list: any[];
|
|
180
180
|
}) => string;
|
|
181
181
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
182
|
-
'page.booking.text.unconfirmed-
|
|
183
|
-
'page.booking.text.unconfirmed-
|
|
182
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
183
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
184
184
|
'page.booking.text.go-to-payments': string;
|
|
185
185
|
'page.booking.text.cancel-only': string;
|
|
186
186
|
'page.booking.text.refund': string;
|
|
@@ -374,8 +374,8 @@ declare const _default: {
|
|
|
374
374
|
list: any[];
|
|
375
375
|
}) => string;
|
|
376
376
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
377
|
-
'page.booking.text.unconfirmed-
|
|
378
|
-
'page.booking.text.unconfirmed-
|
|
377
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
378
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
379
379
|
'page.booking.text.go-to-payments': string;
|
|
380
380
|
'page.booking.text.cancel-only': string;
|
|
381
381
|
'page.booking.text.refund': string;
|
|
@@ -569,8 +569,8 @@ declare const _default: {
|
|
|
569
569
|
list: any[];
|
|
570
570
|
}) => string;
|
|
571
571
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
572
|
-
'page.booking.text.unconfirmed-
|
|
573
|
-
'page.booking.text.unconfirmed-
|
|
572
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
573
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
574
574
|
'page.booking.text.go-to-payments': string;
|
|
575
575
|
'page.booking.text.cancel-only': string;
|
|
576
576
|
'page.booking.text.refund': string;
|
|
@@ -206,8 +206,8 @@ export default {
|
|
|
206
206
|
return "".concat(customerName || '', " has already enrolled in the ").concat(title, " ").concat(listStr.join(','), ", Are you sure you want to enroll again\uFF1F");
|
|
207
207
|
},
|
|
208
208
|
'page.event.booking.text.duplicate-enrollment-confirm': 'Confirm',
|
|
209
|
-
'page.booking.text.unconfirmed-
|
|
210
|
-
'page.booking.text.unconfirmed-
|
|
209
|
+
'page.booking.text.unconfirmed-payments': 'Unconfirmed payments',
|
|
210
|
+
'page.booking.text.unconfirmed-payments.msg': 'There are unconfirmed payments, please confirm or void the payments first.',
|
|
211
211
|
'page.booking.text.go-to-payments': 'Go to payments',
|
|
212
212
|
'page.booking.text.cancel-only': 'Cancel only',
|
|
213
213
|
'page.booking.text.refund': 'Refund',
|
|
@@ -434,8 +434,8 @@ export default {
|
|
|
434
434
|
return "".concat(customerName || '', "\u5DF2\u62A5\u540D").concat(title, " ").concat(listStr.join(','), ", \u786E\u5B9A\u8981\u518D\u6B21\u62A5\u540D\u5417\uFF1F");
|
|
435
435
|
},
|
|
436
436
|
'page.event.booking.text.duplicate-enrollment-confirm': '确认',
|
|
437
|
-
'page.booking.text.unconfirmed-
|
|
438
|
-
'page.booking.text.unconfirmed-
|
|
437
|
+
'page.booking.text.unconfirmed-payments': '未确认的付款',
|
|
438
|
+
'page.booking.text.unconfirmed-payments.msg': '存在未确认的付款,请先确认收款或作废。',
|
|
439
439
|
'page.booking.text.go-to-payments': '前往收款界面',
|
|
440
440
|
'page.booking.text.cancel-only': '仅取消',
|
|
441
441
|
'page.booking.text.refund': '退款',
|
|
@@ -662,8 +662,8 @@ export default {
|
|
|
662
662
|
return "".concat(customerName || '', "\u5DF2\u5831\u540D").concat(title, " ").concat(listStr.join(','), ", \u78BA\u5B9A\u8981\u518D\u6B21\u5831\u540D\u55CE\uFF1F");
|
|
663
663
|
},
|
|
664
664
|
'page.event.booking.text.duplicate-enrollment-confirm': '確認',
|
|
665
|
-
'page.booking.text.unconfirmed-
|
|
666
|
-
'page.booking.text.unconfirmed-
|
|
665
|
+
'page.booking.text.unconfirmed-payments': '未確認的付款',
|
|
666
|
+
'page.booking.text.unconfirmed-payments.msg': '存在未確認的付款,請先確認收款或作廢。',
|
|
667
667
|
'page.booking.text.go-to-payments': '前往收款界面',
|
|
668
668
|
'page.booking.text.cancel-only': '僅取消',
|
|
669
669
|
'page.booking.text.refund': '退款',
|
|
@@ -121,7 +121,7 @@ export declare const updateCustom: (payload: {
|
|
|
121
121
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
122
122
|
type: EActionTypes;
|
|
123
123
|
payload: {
|
|
124
|
-
status: "
|
|
124
|
+
status: "success" | "warn" | "loading" | "fail" | "question";
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
export declare const updateWarn: (warn: ReactNode) => {
|
|
@@ -199,7 +199,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
199
199
|
render?: boolean | undefined;
|
|
200
200
|
component?: string | undefined;
|
|
201
201
|
lastComponent?: string | undefined;
|
|
202
|
-
status?: "
|
|
202
|
+
status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
203
203
|
warn?: ReactNode;
|
|
204
204
|
steps?: {
|
|
205
205
|
/** 用于重置当前步骤 */
|
|
@@ -208,7 +208,7 @@ var header = ({ state, dispatch }) => {
|
|
|
208
208
|
onCancel: () => {
|
|
209
209
|
setModalContentState({ open: false });
|
|
210
210
|
},
|
|
211
|
-
children: /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-modal-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-modal-content-title" }, import_utils.locales.getText("page.booking.text.unconfirmed-
|
|
211
|
+
children: /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-modal-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-modal-content-title" }, import_utils.locales.getText("page.booking.text.unconfirmed-payments")), /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-modal-content-desc" }, import_utils.locales.getText("page.booking.text.unconfirmed-payments.msg")), /* @__PURE__ */ import_react.default.createElement("div", { className: "go-payments-footer" }, /* @__PURE__ */ import_react.default.createElement(
|
|
212
212
|
import_antd.Button,
|
|
213
213
|
{
|
|
214
214
|
className: "go-payments-footer-btn",
|
|
@@ -179,8 +179,8 @@ declare const _default: {
|
|
|
179
179
|
list: any[];
|
|
180
180
|
}) => string;
|
|
181
181
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
182
|
-
'page.booking.text.unconfirmed-
|
|
183
|
-
'page.booking.text.unconfirmed-
|
|
182
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
183
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
184
184
|
'page.booking.text.go-to-payments': string;
|
|
185
185
|
'page.booking.text.cancel-only': string;
|
|
186
186
|
'page.booking.text.refund': string;
|
|
@@ -374,8 +374,8 @@ declare const _default: {
|
|
|
374
374
|
list: any[];
|
|
375
375
|
}) => string;
|
|
376
376
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
377
|
-
'page.booking.text.unconfirmed-
|
|
378
|
-
'page.booking.text.unconfirmed-
|
|
377
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
378
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
379
379
|
'page.booking.text.go-to-payments': string;
|
|
380
380
|
'page.booking.text.cancel-only': string;
|
|
381
381
|
'page.booking.text.refund': string;
|
|
@@ -569,8 +569,8 @@ declare const _default: {
|
|
|
569
569
|
list: any[];
|
|
570
570
|
}) => string;
|
|
571
571
|
'page.event.booking.text.duplicate-enrollment-confirm': string;
|
|
572
|
-
'page.booking.text.unconfirmed-
|
|
573
|
-
'page.booking.text.unconfirmed-
|
|
572
|
+
'page.booking.text.unconfirmed-payments': string;
|
|
573
|
+
'page.booking.text.unconfirmed-payments.msg': string;
|
|
574
574
|
'page.booking.text.go-to-payments': string;
|
|
575
575
|
'page.booking.text.cancel-only': string;
|
|
576
576
|
'page.booking.text.refund': string;
|
|
@@ -235,8 +235,8 @@ var locales_default = {
|
|
|
235
235
|
return `${customerName || ""} has already enrolled in the ${title} ${listStr.join(",")}, Are you sure you want to enroll again?`;
|
|
236
236
|
},
|
|
237
237
|
"page.event.booking.text.duplicate-enrollment-confirm": "Confirm",
|
|
238
|
-
"page.booking.text.unconfirmed-
|
|
239
|
-
"page.booking.text.unconfirmed-
|
|
238
|
+
"page.booking.text.unconfirmed-payments": "Unconfirmed payments",
|
|
239
|
+
"page.booking.text.unconfirmed-payments.msg": "There are unconfirmed payments, please confirm or void the payments first.",
|
|
240
240
|
"page.booking.text.go-to-payments": "Go to payments",
|
|
241
241
|
"page.booking.text.cancel-only": "Cancel only",
|
|
242
242
|
"page.booking.text.refund": "Refund",
|
|
@@ -456,8 +456,8 @@ var locales_default = {
|
|
|
456
456
|
return `${customerName || ""}已报名${title} ${listStr.join(",")}, 确定要再次报名吗?`;
|
|
457
457
|
},
|
|
458
458
|
"page.event.booking.text.duplicate-enrollment-confirm": "确认",
|
|
459
|
-
"page.booking.text.unconfirmed-
|
|
460
|
-
"page.booking.text.unconfirmed-
|
|
459
|
+
"page.booking.text.unconfirmed-payments": "未确认的付款",
|
|
460
|
+
"page.booking.text.unconfirmed-payments.msg": "存在未确认的付款,请先确认收款或作废。",
|
|
461
461
|
"page.booking.text.go-to-payments": "前往收款界面",
|
|
462
462
|
"page.booking.text.cancel-only": "仅取消",
|
|
463
463
|
"page.booking.text.refund": "退款",
|
|
@@ -677,8 +677,8 @@ var locales_default = {
|
|
|
677
677
|
return `${customerName || ""}已報名${title} ${listStr.join(",")}, 確定要再次報名嗎?`;
|
|
678
678
|
},
|
|
679
679
|
"page.event.booking.text.duplicate-enrollment-confirm": "確認",
|
|
680
|
-
"page.booking.text.unconfirmed-
|
|
681
|
-
"page.booking.text.unconfirmed-
|
|
680
|
+
"page.booking.text.unconfirmed-payments": "未確認的付款",
|
|
681
|
+
"page.booking.text.unconfirmed-payments.msg": "存在未確認的付款,請先確認收款或作廢。",
|
|
682
682
|
"page.booking.text.go-to-payments": "前往收款界面",
|
|
683
683
|
"page.booking.text.cancel-only": "僅取消",
|
|
684
684
|
"page.booking.text.refund": "退款",
|
|
@@ -121,7 +121,7 @@ export declare const updateCustom: (payload: {
|
|
|
121
121
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
122
122
|
type: EActionTypes;
|
|
123
123
|
payload: {
|
|
124
|
-
status: "
|
|
124
|
+
status: "success" | "warn" | "loading" | "fail" | "question";
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
export declare const updateWarn: (warn: ReactNode) => {
|
|
@@ -199,7 +199,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
199
199
|
render?: boolean | undefined;
|
|
200
200
|
component?: string | undefined;
|
|
201
201
|
lastComponent?: string | undefined;
|
|
202
|
-
status?: "
|
|
202
|
+
status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
203
203
|
warn?: ReactNode;
|
|
204
204
|
steps?: {
|
|
205
205
|
/** 用于重置当前步骤 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.127",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.29",
|
|
63
|
+
"@pisell/materials": "3.0.42",
|
|
63
64
|
"@pisell/icon": "0.0.11",
|
|
64
|
-
"@pisell/
|
|
65
|
-
"@pisell/date-picker": "1.0.98"
|
|
65
|
+
"@pisell/date-picker": "1.0.99"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.0.0",
|