@pisell/private-materials 3.0.151-gray → 3.0.151

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 (93) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +12 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +12 -12
  11. package/es/components/booking/addons/model.d.ts +1 -2
  12. package/es/components/booking/components/footer/index.js +3 -3
  13. package/es/components/booking/forms/forms.d.ts +0 -1
  14. package/es/components/booking/forms/forms.js +2 -4
  15. package/es/components/booking/forms/model.d.ts +1 -2
  16. package/es/components/booking/forms/single/index.d.ts +1 -1
  17. package/es/components/booking/forms/single/index.js +3 -4
  18. package/es/components/booking/info/index.js +1 -2
  19. package/es/components/booking/info/index.less +0 -9
  20. package/es/components/booking/info/pet/index.js +1 -1
  21. package/es/components/booking/info/service/addService/index.d.ts +2 -8
  22. package/es/components/booking/info/service/addService/index.js +36 -82
  23. package/es/components/booking/info/service/addService/index.less +1 -27
  24. package/es/components/booking/info/service/editService/index.js +9 -7
  25. package/es/components/booking/locales.d.ts +0 -48
  26. package/es/components/booking/locales.js +3 -51
  27. package/es/components/booking/model.d.ts +0 -2
  28. package/es/components/booking/notes/index.d.ts +1 -1
  29. package/es/components/booking/notes/model.d.ts +1 -2
  30. package/es/components/booking/payments/model.d.ts +1 -2
  31. package/es/components/booking/utils.d.ts +1 -1
  32. package/es/components/booking/utils.js +51 -54
  33. package/es/components/eftposPay/index.js +2 -0
  34. package/es/components/eftposPay/tyro/index.js +11 -8
  35. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +2 -1
  36. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +5 -4
  37. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +2 -1
  38. package/es/components/pay/toC/utils.d.ts +11 -0
  39. package/es/components/pay/toC/utils.js +27 -0
  40. package/es/components/schedules/index.d.ts +1 -1
  41. package/es/components/schedules/model.d.ts +1 -2
  42. package/es/index.d.ts +0 -2
  43. package/es/index.js +1 -3
  44. package/lib/components/booking/addons/model.d.ts +1 -2
  45. package/lib/components/booking/components/footer/index.js +3 -3
  46. package/lib/components/booking/forms/forms.d.ts +0 -1
  47. package/lib/components/booking/forms/forms.js +2 -5
  48. package/lib/components/booking/forms/model.d.ts +1 -2
  49. package/lib/components/booking/forms/single/index.d.ts +1 -1
  50. package/lib/components/booking/forms/single/index.js +2 -4
  51. package/lib/components/booking/info/client/index.js +8 -1
  52. package/lib/components/booking/info/index.js +1 -4
  53. package/lib/components/booking/info/index.less +0 -9
  54. package/lib/components/booking/info/pet/index.js +1 -2
  55. package/lib/components/booking/info/service/addService/index.d.ts +2 -8
  56. package/lib/components/booking/info/service/addService/index.js +29 -67
  57. package/lib/components/booking/info/service/addService/index.less +1 -27
  58. package/lib/components/booking/info/service/editService/index.js +3 -6
  59. package/lib/components/booking/locales.d.ts +0 -48
  60. package/lib/components/booking/locales.js +3 -51
  61. package/lib/components/booking/model.d.ts +0 -2
  62. package/lib/components/booking/notes/index.d.ts +1 -1
  63. package/lib/components/booking/notes/model.d.ts +1 -2
  64. package/lib/components/booking/payments/model.d.ts +1 -2
  65. package/lib/components/booking/utils.d.ts +1 -1
  66. package/lib/components/booking/utils.js +22 -57
  67. package/lib/components/eftposPay/index.js +2 -0
  68. package/lib/components/eftposPay/tyro/index.js +7 -6
  69. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +5 -1
  70. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +6 -3
  71. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +5 -1
  72. package/lib/components/pay/toC/utils.d.ts +11 -0
  73. package/lib/components/pay/toC/utils.js +26 -2
  74. package/lib/components/schedules/index.d.ts +1 -1
  75. package/lib/components/schedules/model.d.ts +1 -2
  76. package/lib/index.d.ts +0 -2
  77. package/lib/index.js +0 -6
  78. package/package.json +4 -4
  79. package/es/components/booking/dashboard/index.d.ts +0 -10
  80. package/es/components/booking/dashboard/index.js +0 -242
  81. package/es/components/booking/dashboard/serve.d.ts +0 -1
  82. package/es/components/booking/dashboard/serve.js +0 -27
  83. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
  84. package/es/components/booking/info/addServiceVariant/index.js +0 -33
  85. package/lib/components/booking/dashboard/index.d.ts +0 -10
  86. package/lib/components/booking/dashboard/index.js +0 -225
  87. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  88. package/lib/components/booking/dashboard/serve.js +0 -33
  89. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
  90. package/lib/components/booking/info/addServiceVariant/index.js +0 -58
  91. package/lowcode/booking-dashboard/meta.ts +0 -130
  92. package/lowcode/booking-vertical-add-service/meta.ts +0 -124
  93. package/lowcode/vertical-add-service/meta.ts +0 -71
@@ -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: {
@@ -891,7 +891,7 @@ var Footer = function Footer(props) {
891
891
  }
892
892
  if (transaction_habit_selection.button_rows == 1) {
893
893
  if (state.appointment_status !== 'cancelled') {
894
- if (!state.disabledEdit && !state.isBookingCreatePage) {
894
+ if (!state.disabledEdit) {
895
895
  arr.push(actionMap.sale);
896
896
  }
897
897
  }
@@ -1032,7 +1032,7 @@ var Footer = function Footer(props) {
1032
1032
  if (!state.bookingDetail) {
1033
1033
  return true;
1034
1034
  }
1035
- if (!((_state$addons3 = state.addons) !== null && _state$addons3 !== void 0 && _state$addons3.load) && state.renderType !== 'eventBooking' && !state.isBookingCreatePage) {
1035
+ if (!((_state$addons3 = state.addons) !== null && _state$addons3 !== void 0 && _state$addons3.load) && state.renderType !== 'eventBooking') {
1036
1036
  return true;
1037
1037
  }
1038
1038
  }
@@ -1182,7 +1182,7 @@ var Footer = function Footer(props) {
1182
1182
  style: {
1183
1183
  marginTop: 12
1184
1184
  }
1185
- }, state.appointment_status !== 'cancelled' && !state.isBookingCreatePage ? /*#__PURE__*/React.createElement(Button, {
1185
+ }, state.appointment_status !== 'cancelled' ? /*#__PURE__*/React.createElement(Button, {
1186
1186
  onClick: function onClick() {
1187
1187
  return handleSale();
1188
1188
  },
@@ -12,7 +12,6 @@ export interface InfoProps {
12
12
  client: any;
13
13
  loading?: boolean;
14
14
  addButtonProps?: any;
15
- drawerProps?: any;
16
15
  }
17
16
  /**
18
17
  * @title: 表单模块
@@ -43,8 +43,7 @@ var Forms = Provider(function (props) {
43
43
  addCallback = props.addCallback,
44
44
  client = props.client,
45
45
  loading = props.loading,
46
- addButtonProps = props.addButtonProps,
47
- drawerProps = props.drawerProps;
46
+ addButtonProps = props.addButtonProps;
48
47
 
49
48
  // 新增数据
50
49
  var onAction = useMemoizedFn( /*#__PURE__*/function () {
@@ -172,7 +171,6 @@ var Forms = Provider(function (props) {
172
171
  onChange: function onChange(val) {
173
172
  onValueChange(d, val);
174
173
  },
175
- drawerProps: drawerProps,
176
174
  onAdd: function onAdd() {
177
175
  onAction(d, true);
178
176
  },
@@ -196,6 +194,6 @@ var Forms = Provider(function (props) {
196
194
  optionRender: optionRender
197
195
  })));
198
196
  }));
199
- }, [forms, hideTitle, modalOpen, value, loading, client === null || client === void 0 ? void 0 : client.id, addButtonProps, customSelectProps, optionRender, drawerProps]);
197
+ }, [forms, hideTitle, modalOpen, value, loading, client === null || client === void 0 ? void 0 : client.id, addButtonProps, customSelectProps, optionRender]);
200
198
  });
201
199
  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: {
@@ -7,5 +7,5 @@ import "./index.less";
7
7
  * @Author: zhiwei.Wang
8
8
  * @Date: 2024-01-30 17:06
9
9
  */
10
- declare const Single: ({ value, onChange, form, mode, optionRender, loading, customSelectProps, onAdd, addButtonProps, modalOpen, watch, drawerProps, }: any) => React.JSX.Element;
10
+ declare const Single: ({ value, onChange, form, mode, optionRender, loading, customSelectProps, onAdd, addButtonProps, modalOpen, watch, }: any) => React.JSX.Element;
11
11
  export default Single;
@@ -41,8 +41,7 @@ var Single = function Single(_ref) {
41
41
  onAdd = _ref.onAdd,
42
42
  addButtonProps = _ref.addButtonProps,
43
43
  modalOpen = _ref.modalOpen,
44
- watch = _ref.watch,
45
- drawerProps = _ref.drawerProps;
44
+ watch = _ref.watch;
46
45
  // const primaryField = useMemo(() => {
47
46
  // return field.field[0]?.key || "";
48
47
  // }, [field]);
@@ -235,10 +234,10 @@ var Single = function Single(_ref) {
235
234
  },
236
235
  name: ((_form$form3 = form.form) === null || _form$form3 === void 0 ? void 0 : _form$form3.title) || "-",
237
236
  addButtonProps: _addButtonProps,
238
- drawerProps: _objectSpread({
237
+ drawerProps: {
239
238
  title: "".concat(locales.getText("pisell2.text.select"), " ").concat(((_form$form4 = form.form) === null || _form$form4 === void 0 ? void 0 : _form$form4.title) || "-"),
240
239
  destroyOnClose: true
241
- }, drawerProps || {}),
240
+ },
242
241
  optionRender: _optionRender,
243
242
  rowKey: "form_record_id"
244
243
  }, customSelectProps || {})));
@@ -21,7 +21,6 @@ import { updateServiceDate } from "./date";
21
21
  import useEngineContext from "../../../hooks/useEngineContext";
22
22
  import Notes from "./notes";
23
23
  import "./index.less";
24
- import classNames from "classnames";
25
24
  var defaultModules = {
26
25
  client: 1,
27
26
  date: 1,
@@ -118,7 +117,7 @@ var Info = Provider(function (props) {
118
117
  })
119
118
  }, _defineProperty(_React$createElement, "style", {
120
119
  height: context !== null && context !== void 0 && (_context$appHelper4 = context.appHelper) !== null && _context$appHelper4 !== void 0 && (_context$appHelper4$u = _context$appHelper4.utils) !== null && _context$appHelper4$u !== void 0 && _context$appHelper4$u.isMobile ? "100%" : "100vh"
121
- }), _defineProperty(_React$createElement, "bodyClassName", classNames('booking-info-warp', _defineProperty({}, 'create-booking-page-info-wrap', modal.state.isBookingCreatePage))), _React$createElement), /*#__PURE__*/React.createElement("div", {
120
+ }), _defineProperty(_React$createElement, "bodyClassName", "booking-info-warp"), _React$createElement), /*#__PURE__*/React.createElement("div", {
122
121
  className: "booking-info"
123
122
  }, modules.client ? /*#__PURE__*/React.createElement(Client, null) : null, modules.holder && !((_modal$state5 = modal.state) !== null && _modal$state5 !== void 0 && _modal$state5.disabledEdit) ? /*#__PURE__*/React.createElement(React.Fragment, null, params.type === "form" ? /*#__PURE__*/React.createElement(Pet, null) : null) : null, modules.date ? /*#__PURE__*/React.createElement(DateCom, null) : null, modules.service ? /*#__PURE__*/React.createElement(React.Fragment, null, modal.state.date.value ? /*#__PURE__*/React.createElement(Service, null) : null) : null, notes, slot ? slot : null)) : null);
124
123
  });
@@ -15,13 +15,4 @@
15
15
  // height: 42px;
16
16
  // background: #069456;
17
17
  // }
18
- }
19
- #create-booking-page-info-wrap {
20
- .pisell-lowcode__booking-tab-pane-footer {
21
- padding: 12px 16px !important;
22
- }
23
- }
24
- .create-booking-page-info-wrap {
25
- position: initial !important;
26
- padding: 0 16px !important;
27
18
  }
@@ -527,6 +527,6 @@ var Pet = function Pet(props) {
527
527
  }()
528
528
  }, addButtonProps)
529
529
  })));
530
- }, [valueLoading, hideTitle, state.pet.value, state.pet.formData, state.action, state.modalOpen, state.pet.value, (_state$client11 = state.client) === null || _state$client11 === void 0 ? void 0 : _state$client11.value, loading, state.disabledEdit, state.isTerminal, state.disableEventBookingEdit, params.search, loadMore, addButtonProps, state.isBookingCreatePage]);
530
+ }, [valueLoading, hideTitle, state.pet.value, state.pet.formData, state.action, state.modalOpen, state.pet.value, (_state$client11 = state.client) === null || _state$client11 === void 0 ? void 0 : _state$client11.value, loading, state.disabledEdit, state.isTerminal, state.disableEventBookingEdit, params.search, loadMore, addButtonProps]);
531
531
  };
532
532
  export default Pet;
@@ -1,12 +1,6 @@
1
1
  import React from 'react';
2
- import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
- interface AddServiceProps {
3
+ declare const Info: ({ onEdit }: {
5
4
  onEdit: any;
6
- dispatch?: any;
7
- state?: any;
8
- drawerProps?: PisellDrawerProps;
9
- renderMode?: 'current' | 'drawer';
10
- }
11
- declare const Info: (props: AddServiceProps) => React.JSX.Element;
5
+ }) => React.JSX.Element;
12
6
  export default Info;
@@ -1,5 +1,4 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
2
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
4
3
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
4
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -34,11 +33,9 @@ import { formatProductListByCategory, getProductTotalPrice, request } from "../.
34
33
  import { locales, getUniqueId } from '@pisell/utils';
35
34
  import { useMemoizedFn, useUpdateEffect } from 'ahooks';
36
35
  var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087, 6303, 6080, 6978, 7386, 6848, 6305];
37
- var Info = function Info(props) {
36
+ var Info = function Info(_ref) {
38
37
  var _state$service3, _state$service5, _state$service7, _state$service7$cache;
39
- var onEdit = props.onEdit,
40
- drawerProps = props.drawerProps,
41
- renderMode = props.renderMode;
38
+ var onEdit = _ref.onEdit;
42
39
  var _useState = useState(''),
43
40
  _useState2 = _slicedToArray(_useState, 2),
44
41
  search = _useState2[0],
@@ -52,8 +49,6 @@ var Info = function Info(props) {
52
49
  setLoading = _useState4[1];
53
50
  var searchRef = useRef();
54
51
  var context = useEngineContext();
55
- state = state || (props === null || props === void 0 ? void 0 : props.state);
56
- dispatch = dispatch || (props === null || props === void 0 ? void 0 : props.dispatch);
57
52
  request.setRequest(context.appHelper.utils.request);
58
53
 
59
54
  /**
@@ -65,7 +60,7 @@ var Info = function Info(props) {
65
60
  * @Date: 2024-05-14 13:55
66
61
  */
67
62
  var setDefaultService = /*#__PURE__*/function () {
68
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(list) {
63
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(list) {
69
64
  var _list, product, detail, isBundleOrCombination, _item;
70
65
  return _regeneratorRuntime().wrap(function _callee$(_context) {
71
66
  while (1) switch (_context.prev = _context.next) {
@@ -145,11 +140,11 @@ var Info = function Info(props) {
145
140
  }, _callee);
146
141
  }));
147
142
  return function setDefaultService(_x2) {
148
- return _ref.apply(this, arguments);
143
+ return _ref2.apply(this, arguments);
149
144
  };
150
145
  }();
151
146
  var getServices = /*#__PURE__*/function () {
152
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) {
147
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
153
148
  var _state$eventOtherPara;
154
149
  var data;
155
150
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
@@ -157,7 +152,7 @@ var Info = function Info(props) {
157
152
  case 0:
158
153
  setLoading(true);
159
154
  _context2.next = 3;
160
- return state.apis.getServices(_objectSpread({
155
+ return state.apis.getServices({
161
156
  skip: 1,
162
157
  num: 500,
163
158
  extension_type: state.renderType === 'eventBooking' ? undefined : ['product_appointment', 'appointment_ticket'],
@@ -167,14 +162,11 @@ var Info = function Info(props) {
167
162
  with_schedule: 1,
168
163
  with_count: ['bundleGroup', 'optionGroup'],
169
164
  order_by_string: 'sort:desc',
170
- status: 'published'
171
- }, state.isBookingCreatePage ? {
172
- schedule_date: params === null || params === void 0 ? void 0 : params.schedule_date
173
- } : {
165
+ status: 'published',
174
166
  _config: {
175
167
  useCache: true
176
168
  }
177
- }));
169
+ });
178
170
  case 3:
179
171
  data = _context2.sent;
180
172
  setLoading(false);
@@ -195,8 +187,8 @@ var Info = function Info(props) {
195
187
  }
196
188
  }, _callee2);
197
189
  }));
198
- return function getServices(_x3) {
199
- return _ref2.apply(this, arguments);
190
+ return function getServices() {
191
+ return _ref3.apply(this, arguments);
200
192
  };
201
193
  }();
202
194
  var handleSelectService = function handleSelectService() {
@@ -265,11 +257,6 @@ var Info = function Info(props) {
265
257
  cacheItem._id = (_state$service$cacheI = state.service.cacheItem) === null || _state$service$cacheI === void 0 ? void 0 : _state$service$cacheI._id;
266
258
  cacheItem.new = 0;
267
259
  }
268
- // 渲染到当前位置模式时,默认无资源 时间默认取顶部设置的时间
269
- if (renderMode === 'current') {
270
- cacheItem._extend.resource = 0;
271
- cacheItem.currentDefaultTime = state.date.value.format('HH:mm');
272
- }
273
260
  cacheItem._extend = getProductExtend({
274
261
  cacheItem: cacheItem,
275
262
  state: state
@@ -330,30 +317,12 @@ var Info = function Info(props) {
330
317
  setSearch('');
331
318
  }
332
319
  }, [state.service.addModal]);
333
- var currentDate = useMemo(function () {
334
- return state.date.value.format('YYYY-MM-DD');
335
- }, [state.date.value]);
336
- console.log(currentDate, 'currentDate');
337
- useEffect(function () {
338
- if (renderMode === 'current') {
339
- getServices({
340
- schedule_date: currentDate
341
- });
342
- }
343
- }, [renderMode, currentDate]);
344
320
  useEffect(function () {
345
321
  if (state.renderType === 'eventBooking' && state.modalOpen) {
346
322
  getServices();
347
323
  }
348
324
  }, [state.renderType, state.modalOpen]);
349
325
  var addButton = useMemo(function () {
350
- if (state.isBookingCreatePage) {
351
- return /*#__PURE__*/React.createElement("div", {
352
- style: {
353
- height: 20
354
- }
355
- });
356
- }
357
326
  if (state.renderType === 'eventBooking') {
358
327
  return isService ? /*#__PURE__*/React.createElement("div", {
359
328
  style: {
@@ -378,51 +347,14 @@ var Info = function Info(props) {
378
347
  }
379
348
  });
380
349
  }, [state.renderType, showAddButton, isService, state.service.value, loading]);
381
- var isRenderCurrent = useMemo(function () {
382
- return renderMode === 'current';
383
- }, [renderMode]);
384
350
  return useMemo(function () {
385
351
  var _state$service6, _state$service6$cache;
386
- var header = /*#__PURE__*/React.createElement("div", {
387
- className: 'pisell-lowcode__booking-service-header'
388
- }, /*#__PURE__*/React.createElement(Input, {
389
- ref: searchRef,
390
- prefix: /*#__PURE__*/React.createElement(SearchLg, null),
391
- style: {
392
- marginTop: 16,
393
- height: 44
394
- },
395
- placeholder: locales.getText('pisell2.text.search'),
396
- allowClear: true,
397
- value: search,
398
- onChange: function onChange(e) {
399
- setSearch(e.target.value);
400
- }
401
- }));
402
- var content = /*#__PURE__*/React.createElement("div", {
403
- className: 'pisell-lowcode__booking-service-body'
404
- }, /*#__PURE__*/React.createElement(TabProduct, {
405
- list: renderList,
406
- amountSymbol: state.amountSymbol,
407
- onChange: handleSelectProduct,
408
- scrollDom: isRenderCurrent ? '.pisell-lowcode__booking-vertical-add-service-wrap' : '.booking-server-wrap .pisell-lowcode-drawer-body '
409
- }));
410
- if (renderMode === 'current') {
411
- return /*#__PURE__*/React.createElement("div", {
412
- className: "pisell-lowcode__booking-vertical-add-service-wrap",
413
- style: {
414
- width: '100%',
415
- height: '100%',
416
- overflow: 'auto'
417
- }
418
- }, header, content);
419
- }
420
352
  return /*#__PURE__*/React.createElement(React.Fragment, null, ((_state$service6 = state.service) === null || _state$service6 === void 0 ? void 0 : (_state$service6$cache = _state$service6.cacheItem) === null || _state$service6$cache === void 0 ? void 0 : _state$service6$cache.autoClose) && /*#__PURE__*/React.createElement(Skeleton, {
421
353
  loading: true,
422
354
  active: true,
423
355
  round: true
424
- }), addButton, /*#__PURE__*/React.createElement(Drawer, _extends({
425
- open: state.service.addModal && !state.isBookingCreatePage,
356
+ }), addButton, /*#__PURE__*/React.createElement(Drawer, {
357
+ open: state.service.addModal,
426
358
  title: locales.getText('pisell2.text.select-service'),
427
359
  rootClassName: "booking-server-wrap",
428
360
  onClose: function onClose() {
@@ -434,8 +366,30 @@ var Info = function Info(props) {
434
366
  }
435
367
  });
436
368
  },
437
- header: header
438
- }, drawerProps || {}), content));
369
+ header: /*#__PURE__*/React.createElement("div", {
370
+ className: "pisell-lowcode__booking-service-header"
371
+ }, /*#__PURE__*/React.createElement(Input, {
372
+ ref: searchRef,
373
+ prefix: /*#__PURE__*/React.createElement(SearchLg, null),
374
+ style: {
375
+ marginTop: 16,
376
+ height: 44
377
+ },
378
+ placeholder: locales.getText('pisell2.text.search'),
379
+ allowClear: true,
380
+ value: search,
381
+ onChange: function onChange(e) {
382
+ setSearch(e.target.value);
383
+ }
384
+ }))
385
+ }, /*#__PURE__*/React.createElement("div", {
386
+ className: "pisell-lowcode__booking-service-body"
387
+ }, /*#__PURE__*/React.createElement(TabProduct, {
388
+ list: renderList,
389
+ amountSymbol: state.amountSymbol,
390
+ onChange: handleSelectProduct,
391
+ scrollDom: ".booking-server-wrap .pisell-lowcode-drawer-body"
392
+ }))));
439
393
  }, [(_state$service7 = state.service) === null || _state$service7 === void 0 ? void 0 : (_state$service7$cache = _state$service7.cacheItem) === null || _state$service7$cache === void 0 ? void 0 : _state$service7$cache.autoClose, addButton, state.service.addModal, locales, search, renderList, state.amountSymbol]);
440
394
  };
441
395
  export default Info;
@@ -3,33 +3,7 @@
3
3
  // border-bottom: 1px solid var(--gray-300, #D0D5DD);
4
4
  }
5
5
 
6
+
6
7
  .pisell-lowcode__booking-service-body {
7
8
  background: var(--gray-50, #F9FAFB);
8
- }
9
-
10
- .pisell-lowcode__booking-vertical-add-service-wrap {
11
- &::-webkit-scrollbar {
12
- display: none !important;
13
- }
14
- .pisell-lowcode__booking-service-header {
15
- background-color: #fff;
16
- top: 0;
17
- position: sticky;
18
- z-index: 2;
19
- padding: 16px !important;
20
- margin: 0;
21
- .pisell-lowcode-input-affix-wrapper {
22
- margin: 0 !important;
23
- }
24
- }
25
- .booking-category-list {
26
- padding: 0 16px !important;
27
- }
28
- .pisell-lowcode__booking-service-body {
29
- .booking-tab-product {
30
- .booking-tabs-wrap {
31
- top: 76px !important;
32
- }
33
- }
34
- }
35
9
  }
@@ -407,7 +407,7 @@ var Info = function Info(_, ref) {
407
407
  form.setFieldsValue(values);
408
408
  if (state.renderType !== 'eventBooking') {
409
409
  // 获取资源列表
410
- getResources(cacheItem);
410
+ getResources(_cacheItem);
411
411
  }
412
412
  });
413
413
 
@@ -456,11 +456,13 @@ var Info = function Info(_, ref) {
456
456
  }
457
457
  }, [useStartTime, useDuration, state.renderType, state.service.resourcesOrigin, (_state$service$cacheI7 = state.service.cacheItem) === null || _state$service$cacheI7 === void 0 ? void 0 : _state$service$cacheI7.autoClose]);
458
458
  useEffect(function () {
459
- // 预约创建页面并且打开了编辑弹窗
460
- if (state.isBookingCreatePage && state.service.editModal) {
461
- setEditData();
462
- }
463
- }, [state.service.editModal, state.isBookingCreatePage]);
459
+ // if (!state.service.editModal) {
460
+ // setTimeout(() => {
461
+ // setSelectOpen(undefined);
462
+ // form.resetFields();
463
+ // }, 200);
464
+ // }
465
+ }, [state.service.editModal]);
464
466
 
465
467
  /**
466
468
  * @title: 资源 时间 发生变化时, 重新计算错误信息
@@ -700,7 +702,7 @@ var Info = function Info(_, ref) {
700
702
  className: "current-service-info-name"
701
703
  }, ((_state$service6 = state.service) === null || _state$service6 === void 0 ? void 0 : (_state$service6$cache = _state$service6.cacheItem) === null || _state$service6$cache === void 0 ? void 0 : (_state$service6$cache2 = _state$service6$cache._extend) === null || _state$service6$cache2 === void 0 ? void 0 : _state$service6$cache2.product_name) || '-'), /*#__PURE__*/React.createElement(Button, {
702
704
  onClick: handleEdit
703
- }, locales.getText('pisell2.text.edit')), !state.isBookingCreatePage && /*#__PURE__*/React.createElement(Button, {
705
+ }, locales.getText('pisell2.text.edit')), /*#__PURE__*/React.createElement(Button, {
704
706
  onClick: handleChange
705
707
  }, locales.getText('pisell2.text.change'))), /*#__PURE__*/React.createElement(CollapsibleList, {
706
708
  style: {
@@ -194,22 +194,6 @@ declare const _default: {
194
194
  'page.booking.text.please-choose-an-option': string;
195
195
  'page.booking.text.please-choose-an-option-1': string;
196
196
  'page.booking.text.please-choose-an-option-2': string;
197
- 'pisell2.booking.dashboard.groups-on-site-now': string;
198
- 'pisell2.booking.dashboard.groups-on-site-now-tip': string;
199
- 'pisell2.booking.dashboard.people-on-site-now': string;
200
- 'pisell2.booking.dashboard.people-on-site-now-tip': string;
201
- 'pisell2.booking.dashboard.total-visitors-today': string;
202
- 'pisell2.booking.dashboard.total-visitors-today-tip': string;
203
- 'pisell2.booking.dashboard.ongoing-visitors': string;
204
- 'pisell2.booking.dashboard.ongoing-visitors-tip': string;
205
- 'pisell2.booking.dashboard.upcoming-visitors': string;
206
- 'pisell2.booking.dashboard.upcoming-visitors-tip': string;
207
- 'pisell2.booking.dashboard.overdue-visitors': string;
208
- 'pisell2.booking.dashboard.overdue-visitors-tip': string;
209
- 'pisell2.booking.dashboard.completed-visitors': string;
210
- 'pisell2.booking.dashboard.completed-visitors-tip': string;
211
- 'pisell2.booking.dashboard.departed-visitors': string;
212
- 'pisell2.booking.dashboard.departed-visitors-tip': string;
213
197
  };
214
198
  'zh-CN': {
215
199
  'pisell2.text.refunded-amount': string;
@@ -406,22 +390,6 @@ declare const _default: {
406
390
  'page.booking.text.please-choose-an-option': string;
407
391
  'page.booking.text.please-choose-an-option-1': string;
408
392
  'page.booking.text.please-choose-an-option-2': string;
409
- 'pisell2.booking.dashboard.groups-on-site-now': string;
410
- 'pisell2.booking.dashboard.groups-on-site-now-tip': string;
411
- 'pisell2.booking.dashboard.people-on-site-now': string;
412
- 'pisell2.booking.dashboard.people-on-site-now-tip': string;
413
- 'pisell2.booking.dashboard.total-visitors-today': string;
414
- 'pisell2.booking.dashboard.total-visitors-today-tip': string;
415
- 'pisell2.booking.dashboard.ongoing-visitors': string;
416
- 'pisell2.booking.dashboard.ongoing-visitors-tip': string;
417
- 'pisell2.booking.dashboard.upcoming-visitors': string;
418
- 'pisell2.booking.dashboard.upcoming-visitors-tip': string;
419
- 'pisell2.booking.dashboard.overdue-visitors': string;
420
- 'pisell2.booking.dashboard.overdue-visitors-tip': string;
421
- 'pisell2.booking.dashboard.completed-visitors': string;
422
- 'pisell2.booking.dashboard.completed-visitors-tip': string;
423
- 'pisell2.booking.dashboard.departed-visitors': string;
424
- 'pisell2.booking.dashboard.departed-visitors-tip': string;
425
393
  };
426
394
  'zh-HK': {
427
395
  'pisell2.text.refunded-amount': string;
@@ -618,22 +586,6 @@ declare const _default: {
618
586
  'page.booking.text.please-choose-an-option': string;
619
587
  'page.booking.text.please-choose-an-option-1': string;
620
588
  'page.booking.text.please-choose-an-option-2': string;
621
- 'pisell2.booking.dashboard.groups-on-site-now': string;
622
- 'pisell2.booking.dashboard.groups-on-site-now-tip': string;
623
- 'pisell2.booking.dashboard.people-on-site-now': string;
624
- 'pisell2.booking.dashboard.people-on-site-now-tip': string;
625
- 'pisell2.booking.dashboard.total-visitors-today': string;
626
- 'pisell2.booking.dashboard.total-visitors-today-tip': string;
627
- 'pisell2.booking.dashboard.ongoing-visitors': string;
628
- 'pisell2.booking.dashboard.ongoing-visitors-tip': string;
629
- 'pisell2.booking.dashboard.upcoming-visitors': string;
630
- 'pisell2.booking.dashboard.upcoming-visitors-tip': string;
631
- 'pisell2.booking.dashboard.overdue-visitors': string;
632
- 'pisell2.booking.dashboard.overdue-visitors-tip': string;
633
- 'pisell2.booking.dashboard.completed-visitors': string;
634
- 'pisell2.booking.dashboard.completed-visitors-tip': string;
635
- 'pisell2.booking.dashboard.departed-visitors': string;
636
- 'pisell2.booking.dashboard.departed-visitors-tip': string;
637
589
  };
638
590
  };
639
591
  export default _default;
@@ -222,23 +222,7 @@ export default {
222
222
  },
223
223
  'page.booking.text.please-choose-an-option': "Please choose an option:",
224
224
  'page.booking.text.please-choose-an-option-1': "Refund: Cancel the appointment and process a refund.",
225
- 'page.booking.text.please-choose-an-option-2': "Cancel only: Cancel the appointment without processing a refund. (You can still process a refund after cancellation if needed)",
226
- 'pisell2.booking.dashboard.groups-on-site-now': "Groups on-site now",
227
- 'pisell2.booking.dashboard.groups-on-site-now-tip': "Tip: Total number of groups who have checked in and are currently on-site",
228
- 'pisell2.booking.dashboard.people-on-site-now': "People on-site now",
229
- 'pisell2.booking.dashboard.people-on-site-now-tip': "Tip: Total number of people who have checked in and are currently on-site",
230
- 'pisell2.booking.dashboard.total-visitors-today': "Total visitors today",
231
- 'pisell2.booking.dashboard.total-visitors-today-tip': "Tip: Total number of visitors today, regardless of check-in status",
232
- 'pisell2.booking.dashboard.ongoing-visitors': "Ongoing visitors",
233
- 'pisell2.booking.dashboard.ongoing-visitors-tip': "Tip: Total number of visitors who have passed the start time, regardless of check-in status",
234
- 'pisell2.booking.dashboard.upcoming-visitors': "Upcoming visitors",
235
- 'pisell2.booking.dashboard.upcoming-visitors-tip': "Tip: Total number of visitors expected to arrive in the near future",
236
- 'pisell2.booking.dashboard.overdue-visitors': "Overdue visitors",
237
- 'pisell2.booking.dashboard.overdue-visitors-tip': "Tip: Total number of visitors whose playtime has expired but have not yet left the venue",
238
- 'pisell2.booking.dashboard.completed-visitors': "Completed visitors",
239
- 'pisell2.booking.dashboard.completed-visitors-tip': "Tip: Total number of visitors whose playtime has ended, regardless of whether they have left the venue",
240
- 'pisell2.booking.dashboard.departed-visitors': "Departed visitors",
241
- 'pisell2.booking.dashboard.departed-visitors-tip': "Tip: Total number of visitors who checked in and have left the venue today"
225
+ 'page.booking.text.please-choose-an-option-2': "Cancel only: Cancel the appointment without processing a refund. (You can still process a refund after cancellation if needed)"
242
226
  },
243
227
  'zh-CN': {
244
228
  'pisell2.text.refunded-amount': '已退金额',
@@ -467,23 +451,7 @@ export default {
467
451
  },
468
452
  'page.booking.text.please-choose-an-option': "请选择:",
469
453
  'page.booking.text.please-choose-an-option-1': "退款:取消预约,同时处理退款。",
470
- 'page.booking.text.please-choose-an-option-2': "仅取消:仅取消预约,但不进行退款处理。(您仍然可以在取消后再进行退款操作)",
471
- 'pisell2.booking.dashboard.groups-on-site-now': "当前在场团体",
472
- 'pisell2.booking.dashboard.groups-on-site-now-tip': "提示:已检票并在场内的团体总数",
473
- 'pisell2.booking.dashboard.people-on-site-now': "当前在场人数",
474
- 'pisell2.booking.dashboard.people-on-site-now-tip': "提示:已检票并在场内的总人数",
475
- 'pisell2.booking.dashboard.total-visitors-today': "今日游客总数",
476
- 'pisell2.booking.dashboard.total-visitors-today-tip': "提示:今日的游客总人数,无论是否检票入场",
477
- 'pisell2.booking.dashboard.ongoing-visitors': "进行中的游客",
478
- 'pisell2.booking.dashboard.ongoing-visitors-tip': "提示:已过开始时间的游客总数,无论是否检票",
479
- 'pisell2.booking.dashboard.upcoming-visitors': "即将到达的游客",
480
- 'pisell2.booking.dashboard.upcoming-visitors-tip': "提示:预计将在未来到场的游客总人数",
481
- 'pisell2.booking.dashboard.overdue-visitors': "超时的游客",
482
- 'pisell2.booking.dashboard.overdue-visitors-tip': "提示:游玩时间已过,但尚未离场的游客总人数",
483
- 'pisell2.booking.dashboard.completed-visitors': "已完成的游客",
484
- 'pisell2.booking.dashboard.completed-visitors-tip': "提示:游玩时长已结束的游客总人数,无论是否离场",
485
- 'pisell2.booking.dashboard.departed-visitors': "已离场的游客",
486
- 'pisell2.booking.dashboard.departed-visitors-tip': "提示:今日已检票并离场的游客总人数"
454
+ 'page.booking.text.please-choose-an-option-2': "仅取消:仅取消预约,但不进行退款处理。(您仍然可以在取消后再进行退款操作)"
487
455
  },
488
456
  'zh-HK': {
489
457
  'pisell2.text.refunded-amount': '已退金額',
@@ -712,22 +680,6 @@ export default {
712
680
  },
713
681
  'page.booking.text.please-choose-an-option': '請選擇:',
714
682
  'page.booking.text.please-choose-an-option-1': '退款:取消預約,同時處理退款。',
715
- 'page.booking.text.please-choose-an-option-2': '僅取消:僅取消預約,但不進行退款處理。(您仍然可以在取消後再進行退款操作)',
716
- 'pisell2.booking.dashboard.groups-on-site-now': "當前在場團體",
717
- 'pisell2.booking.dashboard.groups-on-site-now-tip': "提示:已檢票並在場內的團體總數",
718
- 'pisell2.booking.dashboard.people-on-site-now': "當前在場人數",
719
- 'pisell2.booking.dashboard.people-on-site-now-tip': "提示:已檢票並在場內的總人數",
720
- 'pisell2.booking.dashboard.total-visitors-today': "今日遊客總數",
721
- 'pisell2.booking.dashboard.total-visitors-today-tip': "提示:今日的遊客總人數,無論是否檢票入場",
722
- 'pisell2.booking.dashboard.ongoing-visitors': "進行中的遊客",
723
- 'pisell2.booking.dashboard.ongoing-visitors-tip': "提示:已過開始時間的遊客總數,無論是否檢票",
724
- 'pisell2.booking.dashboard.upcoming-visitors': "即將到達的遊客",
725
- 'pisell2.booking.dashboard.upcoming-visitors-tip': "提示:預計將在未來到場的遊客總人數",
726
- 'pisell2.booking.dashboard.overdue-visitors': "超時的遊客",
727
- 'pisell2.booking.dashboard.overdue-visitors-tip': "提示:遊玩時間已過,但尚未離場的遊客總人數",
728
- 'pisell2.booking.dashboard.completed-visitors': "已完成的遊客",
729
- 'pisell2.booking.dashboard.completed-visitors-tip': "提示:遊玩時長已結束的遊客總人數,無論是否離場",
730
- 'pisell2.booking.dashboard.departed-visitors': "已離場的遊客",
731
- 'pisell2.booking.dashboard.departed-visitors-tip': "提示:今日已檢票並離場的遊客總人數"
683
+ 'page.booking.text.please-choose-an-option-2': '僅取消:僅取消預約,但不進行退款處理。(您仍然可以在取消後再進行退款操作)'
732
684
  }
733
685
  };
@@ -92,8 +92,6 @@ export interface FormState {
92
92
  disableEventBookingEdit?: boolean;
93
93
  /** 关闭自动打开选择服务弹窗 */
94
94
  closeAutoOpenService?: boolean;
95
- /** 是否terminal创建booking页面 */
96
- isBookingCreatePage?: boolean;
97
95
  }
98
96
  export declare const walkInData: {
99
97
  id: number;