@pisell/private-materials 3.0.47 → 3.0.49

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 (52) 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/render/default/view.js +9 -9
  7. package/build/lowcode/view.js +6 -6
  8. package/es/components/booking/addons/index.d.ts +1 -1
  9. package/es/components/booking/addons/model.d.ts +1 -2
  10. package/es/components/booking/components/footer/index.js +90 -8
  11. package/es/components/booking/deposit/DepositItem/index.d.ts +1 -0
  12. package/es/components/booking/deposit/DepositItem/index.js +8 -8
  13. package/es/components/booking/deposit/index.js +12 -1
  14. package/es/components/booking/forms/forms.d.ts +1 -1
  15. package/es/components/booking/forms/index.d.ts +1 -1
  16. package/es/components/booking/forms/model.d.ts +1 -2
  17. package/es/components/booking/index.d.ts +1 -1
  18. package/es/components/booking/info/index.d.ts +1 -1
  19. package/es/components/booking/info/model.d.ts +1 -2
  20. package/es/components/booking/info/service/addService/index.js +3 -3
  21. package/es/components/booking/locales.d.ts +9 -0
  22. package/es/components/booking/locales.js +12 -3
  23. package/es/components/booking/model.d.ts +1 -2
  24. package/es/components/booking/notes/index.d.ts +1 -1
  25. package/es/components/booking/notes/model.d.ts +1 -2
  26. package/es/components/booking/payments/index.d.ts +1 -1
  27. package/es/components/booking/payments/model.d.ts +1 -2
  28. package/es/components/schedules/index.d.ts +1 -1
  29. package/es/components/schedules/model.d.ts +1 -2
  30. package/lib/components/booking/addons/index.d.ts +1 -1
  31. package/lib/components/booking/addons/model.d.ts +1 -2
  32. package/lib/components/booking/components/footer/index.js +75 -13
  33. package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -0
  34. package/lib/components/booking/deposit/DepositItem/index.js +8 -5
  35. package/lib/components/booking/deposit/index.js +12 -1
  36. package/lib/components/booking/forms/forms.d.ts +1 -1
  37. package/lib/components/booking/forms/index.d.ts +1 -1
  38. package/lib/components/booking/forms/model.d.ts +1 -2
  39. package/lib/components/booking/index.d.ts +1 -1
  40. package/lib/components/booking/info/index.d.ts +1 -1
  41. package/lib/components/booking/info/model.d.ts +1 -2
  42. package/lib/components/booking/info/service/addService/index.js +1 -1
  43. package/lib/components/booking/locales.d.ts +9 -0
  44. package/lib/components/booking/locales.js +12 -3
  45. package/lib/components/booking/model.d.ts +1 -2
  46. package/lib/components/booking/notes/index.d.ts +1 -1
  47. package/lib/components/booking/notes/model.d.ts +1 -2
  48. package/lib/components/booking/payments/index.d.ts +1 -1
  49. package/lib/components/booking/payments/model.d.ts +1 -2
  50. package/lib/components/schedules/index.d.ts +1 -1
  51. package/lib/components/schedules/model.d.ts +1 -2
  52. package/package.json +2 -2
@@ -13,5 +13,5 @@ export interface InfoProps {
13
13
  setGlobalState: any;
14
14
  }
15
15
  export declare const formatProducts: (values: any) => any;
16
- declare const Addons: (props: any) => any;
16
+ declare const Addons: (props: any) => JSX.Element;
17
17
  export default Addons;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
2
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
4
3
  state: FormState;
5
4
  } & {
6
5
  dispatch: (params: {
@@ -17,10 +17,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
17
17
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
18
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
- import React, { useMemo, useState } from "react";
20
+ import React, { useEffect, useMemo, useState } from "react";
21
21
  import ChevronDown from "@pisell/icon/es/ChevronDown";
22
22
  import classNames from "classnames";
23
- import { Skeleton, message } from "antd";
23
+ import { Skeleton, message, Dropdown, Space } from "antd";
24
24
  import { formatAmount, locales } from "@pisell/utils";
25
25
  import { Button } from "antd";
26
26
  import { formatProducts } from "../../addons";
@@ -29,6 +29,7 @@ import { getSumTotal, is_price_include_tax } from "./amount";
29
29
  import FooterMenus from "./FooterMenus";
30
30
  import "./index.less";
31
31
  import useEngineContext from "../../../../hooks/useEngineContext";
32
+ import { DownOutlined } from "@ant-design/icons";
32
33
 
33
34
  /**
34
35
  * @title: 底部
@@ -39,7 +40,7 @@ import useEngineContext from "../../../../hooks/useEngineContext";
39
40
  * @Date: 2024-01-30 16:51
40
41
  */
41
42
  var Footer = function Footer(props) {
42
- var _context$appHelper, _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$addons2, _state$addons4, _state$bookingDetail8;
43
+ var _context$appHelper, _store$getState, _store$getState$call, _store$getState$call$, _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$addons2, _state$addons4, _state$bookingDetail8;
43
44
  var state = props.state,
44
45
  buttons = props.buttons,
45
46
  dispatch = props.dispatch,
@@ -62,7 +63,14 @@ var Footer = function Footer(props) {
62
63
  var context = useEngineContext();
63
64
  var _context$appHelper$ut = (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils,
64
65
  isTerminal = _context$appHelper$ut.isTerminal,
65
- interaction = _context$appHelper$ut.interaction;
66
+ interaction = _context$appHelper$ut.interaction,
67
+ store = _context$appHelper$ut.store;
68
+ var isShowPaymentLink = store === null || store === void 0 ? void 0 : (_store$getState = store.getState) === null || _store$getState === void 0 ? void 0 : (_store$getState$call = _store$getState.call(store)) === null || _store$getState$call === void 0 ? void 0 : (_store$getState$call$ = _store$getState$call.global) === null || _store$getState$call$ === void 0 ? void 0 : _store$getState$call$.paymentLinkBtnShow;
69
+ useEffect(function () {
70
+ store === null || store === void 0 ? void 0 : store.dispatch({
71
+ type: "global/_getPaymentLinkBtnShow"
72
+ });
73
+ }, []);
66
74
 
67
75
  // board 配置
68
76
  var params = useMemo(function () {
@@ -277,11 +285,11 @@ var Footer = function Footer(props) {
277
285
  */
278
286
  var handleSave = /*#__PURE__*/function () {
279
287
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(_ref4) {
280
- var type, _setLoading, editApi, createApi, saveOtherValue, _state$onSave, callbackData, values, api;
288
+ var type, _ref4$messageShow, messageShow, _setLoading, editApi, createApi, saveOtherValue, _state$onSave, callbackData, values, api;
281
289
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
282
290
  while (1) switch (_context4.prev = _context4.next) {
283
291
  case 0:
284
- type = _ref4.type;
292
+ type = _ref4.type, _ref4$messageShow = _ref4.messageShow, messageShow = _ref4$messageShow === void 0 ? true : _ref4$messageShow;
285
293
  // 区分loading, 是点击的checkout 还是save
286
294
  _setLoading = type === "checkout" ? setCheckoutLoading : setLoading;
287
295
  _setLoading(true);
@@ -323,7 +331,9 @@ var Footer = function Footer(props) {
323
331
  return api(values);
324
332
  case 23:
325
333
  callbackData = _context4.sent;
326
- message.success(locales.getText(state.bookingId ? "pisell2.text.appointment-updated" : "pisell2.text.created-successfully"));
334
+ if (messageShow) {
335
+ message.success(locales.getText(state.bookingId ? "pisell2.text.appointment-updated" : "pisell2.text.created-successfully"));
336
+ }
327
337
  case 25:
328
338
  // 回调关闭弹窗
329
339
  state === null || state === void 0 ? void 0 : state.callback(callbackData);
@@ -432,6 +442,71 @@ var Footer = function Footer(props) {
432
442
  disabled: isDisabled
433
443
  }, locales.getText("pisell2.text.checkout"));
434
444
  }, [isEdit, checkoutLoading, isDisabled, state, source]);
445
+ var handleMenuClick = /*#__PURE__*/function () {
446
+ var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(e) {
447
+ var id, res;
448
+ return _regeneratorRuntime().wrap(function _callee6$(_context6) {
449
+ while (1) switch (_context6.prev = _context6.next) {
450
+ case 0:
451
+ id = state.bookingId;
452
+ if (!isEdit) {
453
+ _context6.next = 6;
454
+ break;
455
+ }
456
+ _context6.next = 4;
457
+ return handleSave({
458
+ type: "checkout",
459
+ messageShow: false
460
+ });
461
+ case 4:
462
+ res = _context6.sent;
463
+ id = (res === null || res === void 0 ? void 0 : res.order_id) || state.bookingId;
464
+ case 6:
465
+ if (e.key === 'sendMail') {
466
+ state.action({
467
+ type: 'pisell1.sendPayLinkEmail',
468
+ data: {
469
+ id: id
470
+ },
471
+ callback: function callback() {}
472
+ });
473
+ }
474
+ if (e.key === 'copy') {
475
+ state.action({
476
+ type: 'pisell1.genClientPayLink',
477
+ data: {
478
+ id: id
479
+ },
480
+ callback: function callback() {}
481
+ });
482
+ }
483
+ case 8:
484
+ case "end":
485
+ return _context6.stop();
486
+ }
487
+ }, _callee6);
488
+ }));
489
+ return function handleMenuClick(_x5) {
490
+ return _ref7.apply(this, arguments);
491
+ };
492
+ }();
493
+ var paymentLinkButton = useMemo(function () {
494
+ var items = [{
495
+ label: locales.getText('pisell2.text.send-mail'),
496
+ key: 'sendMail'
497
+ }, {
498
+ label: locales.getText('pisell2.text.copy-to-clipboard'),
499
+ key: 'copy'
500
+ }];
501
+ return /*#__PURE__*/React.createElement(Dropdown, {
502
+ menu: {
503
+ items: items,
504
+ onClick: handleMenuClick
505
+ }
506
+ }, /*#__PURE__*/React.createElement(Button, {
507
+ className: "pisell-lowcode__booking-footer-buttons-item"
508
+ }, /*#__PURE__*/React.createElement(Space, null, locales.getText('pisell2.text.payment-link'), /*#__PURE__*/React.createElement(DownOutlined, null))));
509
+ }, [handleMenuClick]);
435
510
 
436
511
  /**
437
512
  * @title: 保存按钮
@@ -491,7 +566,8 @@ var Footer = function Footer(props) {
491
566
  checkout: checkoutButton,
492
567
  save: saveButton,
493
568
  complete: completeButton,
494
- refund: refundButton
569
+ refund: refundButton,
570
+ paymentLink: paymentLinkButton
495
571
  };
496
572
 
497
573
  /**
@@ -539,6 +615,9 @@ var Footer = function Footer(props) {
539
615
  // payment
540
616
  if (source === "payment") {
541
617
  var _arr2 = [];
618
+ if (state.bookingId && isShowPaymentLink) {
619
+ _arr2.push(buttonMap.paymentLink);
620
+ }
542
621
  // 有已支付金额, 展示退款
543
622
  if (total.paidAmount > 0) {
544
623
  _arr2.push(buttonMap.refund);
@@ -553,6 +632,9 @@ var Footer = function Footer(props) {
553
632
  // info
554
633
  if (source === "info") {
555
634
  var _arr3 = [];
635
+ if (state.bookingId && isShowPaymentLink) {
636
+ _arr3.push(buttonMap.paymentLink);
637
+ }
556
638
  // 有未支付金额 展示checkout
557
639
  if (isCheckout) {
558
640
  _arr3.push(buttonMap.checkout);
@@ -10,6 +10,7 @@ declare type DepositItemProps = {
10
10
  orderNumber: number;
11
11
  handleGoOrderDetail: () => void;
12
12
  generatePaymentLink: (orderId: number) => void;
13
+ sendEmail: (orderId: number) => void;
13
14
  depositAmount: number;
14
15
  amountSymbol: string;
15
16
  createdTime: string;
@@ -26,7 +26,8 @@ var DepositItem = function DepositItem(props) {
26
26
  amountSymbol = props.amountSymbol,
27
27
  createdTime = props.createdTime,
28
28
  isPaid = props.isPaid,
29
- isBookingCancelled = props.isBookingCancelled;
29
+ isBookingCancelled = props.isBookingCancelled,
30
+ sendEmail = props.sendEmail;
30
31
  var statusText = {
31
32
  unpaid: locales.getText("pisell2.text.deposit-item-status-unpaid"),
32
33
  paid: locales.getText("pisell2.text.deposit-item-status-paid")
@@ -35,20 +36,19 @@ var DepositItem = function DepositItem(props) {
35
36
  document.body.id = "body";
36
37
  }, []);
37
38
  var items = [{
39
+ key: "send",
40
+ label: /*#__PURE__*/React.createElement("div", null, locales.getText('pisell2.text.send-mail'))
41
+ }, {
38
42
  key: "1",
39
43
  disabled: isPaid || isBookingCancelled,
40
44
  label: /*#__PURE__*/React.createElement("div", null, locales.getText("pisell2.text.deposit-generate-payment-link"))
41
- }
42
- // {
43
- // key: "2",
44
- // label: <div>发送邮件</div>,
45
- // },
46
- ];
47
-
45
+ }];
48
46
  var onClick = function onClick(_ref) {
49
47
  var key = _ref.key;
50
48
  if (key === '1') {
51
49
  generatePaymentLink === null || generatePaymentLink === void 0 ? void 0 : generatePaymentLink(orderId);
50
+ } else if (key === 'send') {
51
+ sendEmail === null || sendEmail === void 0 ? void 0 : sendEmail(orderId);
52
52
  }
53
53
  };
54
54
  return /*#__PURE__*/React.createElement("div", {
@@ -39,13 +39,23 @@ var Deposit = function Deposit(props) {
39
39
  var context = useEngineContext();
40
40
  var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
41
41
  isTerminal = _ref.isTerminal,
42
- interaction = _ref.interaction;
42
+ interaction = _ref.interaction,
43
+ action = _ref.action;
43
44
  request.setRequest(context.appHelper.utils.request);
44
45
  var bookingDetail = globalState.bookingDetail,
45
46
  bookingId = globalState.bookingId,
46
47
  amountSymbol = globalState.amountSymbol,
47
48
  generatePaymentLink = globalState.generatePaymentLink,
48
49
  locale = globalState.locale;
50
+ var sendEmail = function sendEmail(id) {
51
+ action({
52
+ type: 'pisell1.sendPayLinkEmail',
53
+ data: {
54
+ id: id
55
+ },
56
+ callback: function callback() {}
57
+ });
58
+ };
49
59
  var create = function create() {
50
60
  var _editDepositModalRef$, _editDepositModalRef$2;
51
61
  (_editDepositModalRef$ = editDepositModalRef.current) === null || _editDepositModalRef$ === void 0 ? void 0 : (_editDepositModalRef$2 = _editDepositModalRef$.handleOpen) === null || _editDepositModalRef$2 === void 0 ? void 0 : _editDepositModalRef$2.call(_editDepositModalRef$);
@@ -147,6 +157,7 @@ var Deposit = function Deposit(props) {
147
157
  key: item.status
148
158
  }, item, {
149
159
  generatePaymentLink: generatePaymentLink,
160
+ sendEmail: sendEmail,
150
161
  handleGoOrderDetail: handleGoOrderDetail,
151
162
  onEdit: function onEdit(e) {
152
163
  return handleEdit(e, item);
@@ -21,5 +21,5 @@ export interface InfoProps {
21
21
  * @Author: zhiwei.Wang
22
22
  * @Date: 2024-01-30 17:10
23
23
  */
24
- declare const Forms: (props: any) => any;
24
+ declare const Forms: (props: any) => JSX.Element;
25
25
  export default Forms;
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Forms: (props: any) => any;
8
+ declare const Forms: (props: any) => JSX.Element;
9
9
  export default Forms;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
2
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
4
3
  state: FormState;
5
4
  } & {
6
5
  dispatch: (params: {
@@ -1,2 +1,2 @@
1
- declare const Booking: (props: any) => any;
1
+ declare const Booking: (props: any) => JSX.Element;
2
2
  export default Booking;
@@ -8,5 +8,5 @@ export interface InfoProps {
8
8
  slot: any;
9
9
  setState: any;
10
10
  }
11
- declare const Info: (props: any) => any;
11
+ declare const Info: (props: any) => JSX.Element;
12
12
  export default Info;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
2
  export declare const walkInData: {
4
3
  id: number;
5
4
  nickname: string;
6
5
  };
7
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
6
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
8
7
  state: FormState;
9
8
  } & {
10
9
  dispatch: (params: {
@@ -31,7 +31,7 @@ import { getIsBundleOrCombination } from "../../utils";
31
31
  import { formatProductListByCategory, getProductTotalPrice, request, getCacheParams, deleteCacheParams } from "../../../utils";
32
32
  import { locales, getUniqueId } from "@pisell/utils";
33
33
  import { useUpdateEffect } from "ahooks";
34
- var shopList = [2886, 4422, 5538, 6930];
34
+ var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087];
35
35
  var getCacheResourceId = function getCacheResourceId() {
36
36
  var serviceParams = getCacheParams();
37
37
  var resId = Number(serviceParams === null || serviceParams === void 0 ? void 0 : serviceParams.resource_id);
@@ -313,7 +313,7 @@ var Info = function Info() {
313
313
  return;
314
314
  }
315
315
  // 如果弹窗打开,并且是创建, 则自动打开选择服务的弹窗
316
- if (state.modalOpen && !state.bookingId && state.renderType !== 'eventBooking') {
316
+ if (state.modalOpen && !state.bookingId && state.renderType !== "eventBooking") {
317
317
  handleSelectService();
318
318
  }
319
319
  }, [state.modalOpen, state.bookingId]);
@@ -356,7 +356,7 @@ var Info = function Info() {
356
356
  }
357
357
  });
358
358
  }, [state.renderType, showAddButton, isService, state.service.value, loading]);
359
- console.log(state.service.addModal, 'state.service.addModal');
359
+ console.log(state.service.addModal, "state.service.addModal");
360
360
  return /*#__PURE__*/React.createElement(React.Fragment, null, ((_state$service3 = state.service) === null || _state$service3 === void 0 ? void 0 : (_state$service3$cache = _state$service3.cacheItem) === null || _state$service3$cache === void 0 ? void 0 : _state$service3$cache.autoClose) && /*#__PURE__*/React.createElement(Skeleton, {
361
361
  loading: true,
362
362
  active: true,
@@ -142,6 +142,9 @@ declare const _default: {
142
142
  'pisell2.text.deposit-delete-message': string;
143
143
  'pisell2.text.deposit-paid': string;
144
144
  "pisell2.text.stock": string;
145
+ 'pisell2.text.payment-link': string;
146
+ 'pisell2.text.send-mail': string;
147
+ 'pisell2.text.copy-to-clipboard': string;
145
148
  };
146
149
  'zh-CN': {
147
150
  'pisell2.text.refunded-amount': string;
@@ -286,6 +289,9 @@ declare const _default: {
286
289
  'pisell2.text.deposit-delete-message': string;
287
290
  'pisell2.text.deposit-paid': string;
288
291
  "pisell2.text.stock": string;
292
+ 'pisell2.text.payment-link': string;
293
+ 'pisell2.text.send-mail': string;
294
+ 'pisell2.text.copy-to-clipboard': string;
289
295
  };
290
296
  'zh-HK': {
291
297
  'pisell2.text.refunded-amount': string;
@@ -430,6 +436,9 @@ declare const _default: {
430
436
  'pisell2.text.deposit-delete-message': string;
431
437
  'pisell2.text.deposit-paid': string;
432
438
  "pisell2.text.stock": string;
439
+ 'pisell2.text.payment-link': string;
440
+ 'pisell2.text.send-mail': string;
441
+ 'pisell2.text.copy-to-clipboard': string;
433
442
  };
434
443
  };
435
444
  export default _default;
@@ -156,7 +156,10 @@ export default {
156
156
  'pisell2.text.deposit-delete-message-title': "Prompt",
157
157
  'pisell2.text.deposit-delete-message': "It cannot be restored after deletion. Please confirm the operation.",
158
158
  'pisell2.text.deposit-paid': "Deposit paid",
159
- "pisell2.text.stock": "Stock"
159
+ "pisell2.text.stock": "Stock",
160
+ 'pisell2.text.payment-link': "Payment link",
161
+ 'pisell2.text.send-mail': "Send mail",
162
+ 'pisell2.text.copy-to-clipboard': "Copy to clipboard"
160
163
  },
161
164
  'zh-CN': {
162
165
  'pisell2.text.refunded-amount': '已退金额',
@@ -320,7 +323,10 @@ export default {
320
323
  'pisell2.text.deposit-delete-message-title': "提示",
321
324
  'pisell2.text.deposit-delete-message': "删除后不可恢复,请确认操作",
322
325
  'pisell2.text.deposit-paid': "已付定金",
323
- "pisell2.text.stock": "库存"
326
+ "pisell2.text.stock": "库存",
327
+ 'pisell2.text.payment-link': "付款链接",
328
+ 'pisell2.text.send-mail': "发送邮件",
329
+ 'pisell2.text.copy-to-clipboard': "复制到剪切板"
324
330
  },
325
331
  'zh-HK': {
326
332
  'pisell2.text.refunded-amount': '已退金額',
@@ -484,6 +490,9 @@ export default {
484
490
  'pisell2.text.deposit-delete-message-title': "提示",
485
491
  'pisell2.text.deposit-delete-message': "刪除後不可恢復,請確認操作",
486
492
  'pisell2.text.deposit-paid': "已付定金",
487
- "pisell2.text.stock": "庫存"
493
+ "pisell2.text.stock": "庫存",
494
+ 'pisell2.text.payment-link': "付款鏈接",
495
+ 'pisell2.text.send-mail': "發送郵件",
496
+ 'pisell2.text.copy-to-clipboard': "複製到剪切板"
488
497
  }
489
498
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -89,7 +88,7 @@ export declare const walkInData: {
89
88
  id: number;
90
89
  nickname: string;
91
90
  };
92
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
91
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
93
92
  state: FormState;
94
93
  } & {
95
94
  dispatch: (params: {
@@ -4,5 +4,5 @@ export interface InfoProps {
4
4
  globalState: any;
5
5
  setGlobalState: any;
6
6
  }
7
- declare const Notes: (props: any) => any;
7
+ declare const Notes: (props: any) => JSX.Element;
8
8
  export default Notes;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
2
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
4
3
  state: FormState;
5
4
  } & {
6
5
  dispatch: (params: {
@@ -5,5 +5,5 @@ export interface InfoProps {
5
5
  globalState: any;
6
6
  setGlobalState: any;
7
7
  }
8
- declare const Payments: (props: any) => any;
8
+ declare const Payments: (props: any) => JSX.Element;
9
9
  export default Payments;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
2
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
4
3
  state: FormState;
5
4
  } & {
6
5
  dispatch: (params: {
@@ -1,3 +1,3 @@
1
1
  import "./index.less";
2
- declare const Schedules: (props: any) => any;
2
+ declare const Schedules: (props: any) => JSX.Element;
3
3
  export default Schedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,7 +68,7 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
71
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
73
72
  state: FormState;
74
73
  } & {
75
74
  dispatch: (params: {
@@ -13,5 +13,5 @@ export interface InfoProps {
13
13
  setGlobalState: any;
14
14
  }
15
15
  export declare const formatProducts: (values: any) => any;
16
- declare const Addons: (props: any) => any;
16
+ declare const Addons: (props: any) => JSX.Element;
17
17
  export default Addons;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
2
+ export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
4
3
  state: FormState;
5
4
  } & {
6
5
  dispatch: (params: {