@pisell/private-materials 3.4.7 → 3.4.9
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/preview.js +8 -8
- package/build/lowcode/render/default/view.js +4 -4
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/tabs/index.js +1 -5
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/customSelect/index.js +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/editBookingModal/index.js +58 -29
- package/es/components/booking/editBookingModal/serve.d.ts +1 -0
- package/es/components/booking/editBookingModal/serve.js +19 -11
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/hooks/useClearCart.js +11 -8
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.js +1 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.js +3 -2
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.js +16 -9
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/Lists.js +36 -26
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.js +20 -21
- package/es/components/booking/info2/index.js +1 -0
- package/es/components/booking/info2/service/addService/utils.js +7 -4
- package/es/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/es/components/booking/info2/service/editService/Resources/index.js +5 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.js +1 -1
- package/es/components/booking/info2/service/editService/index.js +266 -170
- package/es/components/booking/info2/service/index.js +19 -15
- package/es/components/booking/materiels/duration/index.js +9 -2
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.js +48 -41
- package/es/components/shoppingCart/components/Cart/index.js +21 -18
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +249 -158
- package/es/components/ticketBooking/components/timeBar/index.js +78 -71
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/ticketBooking/utils/index.js +18 -1
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/hooks/useComponents.js +1 -1
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/customSelect/index.js +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/editBookingModal/index.js +56 -21
- package/lib/components/booking/editBookingModal/serve.d.ts +1 -0
- package/lib/components/booking/editBookingModal/serve.js +12 -6
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/hooks/useClearCart.js +16 -13
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.js +1 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.js +5 -4
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.js +10 -9
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/Lists.js +35 -23
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.js +17 -17
- package/lib/components/booking/info2/service/addService/utils.js +5 -3
- package/lib/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/lib/components/booking/info2/service/editService/Resources/index.js +2 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +1 -1
- package/lib/components/booking/info2/service/editService/index.js +139 -74
- package/lib/components/booking/info2/service/index.js +13 -9
- package/lib/components/booking/materiels/duration/index.js +7 -2
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- 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/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.js +31 -21
- package/lib/components/shoppingCart/components/Cart/index.js +18 -15
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +196 -127
- package/lib/components/ticketBooking/components/timeBar/index.js +95 -88
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/ticketBooking/utils/index.js +22 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -35,115 +35,122 @@ module.exports = __toCommonJS(timeBar_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_icons = require("@ant-design/icons");
|
|
37
37
|
var import_materials = require("@pisell/materials");
|
|
38
|
+
var import_ahooks = require("ahooks");
|
|
38
39
|
var import_antd = require("antd");
|
|
39
40
|
var import_classnames = __toESM(require("classnames"));
|
|
40
41
|
var import_utils = require("@pisell/utils");
|
|
41
42
|
var import_index = require("./index.less");
|
|
42
43
|
var TimeBar = (props) => {
|
|
43
|
-
var _a, _b
|
|
44
|
+
var _a, _b;
|
|
44
45
|
const { globalState: state, setGlobalState, locale } = props;
|
|
45
|
-
const _onClickNext = () => {
|
|
46
|
-
var _a2, _b2,
|
|
46
|
+
const _onClickNext = (0, import_ahooks.useMemoizedFn)(() => {
|
|
47
|
+
var _a2, _b2, _c, _d;
|
|
47
48
|
const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
|
|
48
49
|
const newTime = currentTime["add"](1, "day");
|
|
49
|
-
(
|
|
50
|
-
(
|
|
51
|
-
};
|
|
52
|
-
const _onClickPre = () => {
|
|
53
|
-
var _a2, _b2,
|
|
50
|
+
(_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
|
|
51
|
+
(_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
|
|
52
|
+
});
|
|
53
|
+
const _onClickPre = (0, import_ahooks.useMemoizedFn)(() => {
|
|
54
|
+
var _a2, _b2, _c, _d;
|
|
54
55
|
const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
|
|
55
56
|
const newTime = currentTime["subtract"](1, "day");
|
|
56
|
-
(
|
|
57
|
-
(
|
|
58
|
-
};
|
|
59
|
-
const _onClickToday = () => {
|
|
60
|
-
var _a2;
|
|
61
|
-
(_a2 =
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
(_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
|
|
58
|
+
(_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
|
|
59
|
+
});
|
|
60
|
+
const _onClickToday = (0, import_ahooks.useMemoizedFn)(() => {
|
|
61
|
+
var _a2, _b2, _c, _d;
|
|
62
|
+
const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
|
|
63
|
+
const newTime = currentTime["subtract"](1, "day");
|
|
64
|
+
(_c = props.onDateChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
|
|
65
|
+
(_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
|
|
66
|
+
});
|
|
67
|
+
const _onClickNow = (0, import_ahooks.useMemoizedFn)(() => {
|
|
64
68
|
var _a2;
|
|
65
69
|
(_a2 = props.setIntervalTime) == null ? void 0 : _a2.call(props, true);
|
|
66
|
-
};
|
|
67
|
-
const _onDateTimeChange = (timeString) => {
|
|
68
|
-
var _a2, _b2,
|
|
70
|
+
});
|
|
71
|
+
const _onDateTimeChange = (0, import_ahooks.useMemoizedFn)((timeString) => {
|
|
72
|
+
var _a2, _b2, _c, _d;
|
|
69
73
|
const currentTime = (_b2 = (_a2 = state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value;
|
|
70
74
|
const [hours, minutes] = timeString.split(":").map(Number);
|
|
71
75
|
const newTime = currentTime.hour(hours).minute(minutes).second(0);
|
|
72
|
-
(
|
|
76
|
+
(_c = props.onDateTimeChange) == null ? void 0 : _c.call(props, newTime, newTime.format("YYYY-MM-DD HH:mm:ss"));
|
|
73
77
|
setGlobalState({
|
|
74
78
|
isTimeChange: true
|
|
75
79
|
});
|
|
76
|
-
(
|
|
77
|
-
};
|
|
78
|
-
return
|
|
79
|
-
|
|
80
|
-
{
|
|
81
|
-
|
|
82
|
-
onClick: _onClickPre,
|
|
83
|
-
size: "large"
|
|
84
|
-
}
|
|
85
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
86
|
-
import_antd.Button,
|
|
87
|
-
{
|
|
88
|
-
onClick: _onClickToday,
|
|
89
|
-
size: "large",
|
|
90
|
-
style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
|
|
91
|
-
},
|
|
92
|
-
import_utils.locales.getText("pisell2.ticket-booking.today")
|
|
93
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
className: (0, import_classnames.default)({
|
|
97
|
-
"booking-page-date-picker-select": state.isDateChange
|
|
98
|
-
}),
|
|
99
|
-
style: { width: 200, flexShrink: 0 }
|
|
100
|
-
},
|
|
101
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
102
|
-
import_materials.DatePicker,
|
|
80
|
+
(_d = props.setIntervalTime) == null ? void 0 : _d.call(props, false);
|
|
81
|
+
});
|
|
82
|
+
return (0, import_react.useMemo)(() => {
|
|
83
|
+
var _a2, _b2, _c, _d;
|
|
84
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-time-bar" }, /* @__PURE__ */ import_react.default.createElement(
|
|
85
|
+
import_antd.Button,
|
|
103
86
|
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
onChange: props == null ? void 0 : props.onDateChange,
|
|
108
|
-
size: "large",
|
|
109
|
-
style: { width: "100%" }
|
|
87
|
+
icon: /* @__PURE__ */ import_react.default.createElement(import_icons.LeftOutlined, null),
|
|
88
|
+
onClick: _onClickPre,
|
|
89
|
+
size: "large"
|
|
110
90
|
}
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
import_antd.Button,
|
|
114
|
-
{
|
|
115
|
-
icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
|
|
116
|
-
onClick: _onClickNext,
|
|
117
|
-
size: "large"
|
|
118
|
-
}
|
|
119
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
120
|
-
"div",
|
|
121
|
-
{
|
|
122
|
-
className: (0, import_classnames.default)({
|
|
123
|
-
"booking-page-date-picker-select": state.isTimeChange
|
|
124
|
-
})
|
|
125
|
-
},
|
|
126
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
127
|
-
import_materials.SelectTime,
|
|
91
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
92
|
+
import_antd.Button,
|
|
128
93
|
{
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
94
|
+
onClick: _onClickToday,
|
|
95
|
+
size: "large",
|
|
96
|
+
style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
|
|
97
|
+
},
|
|
98
|
+
import_utils.locales.getText("pisell2.ticket-booking.today")
|
|
99
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
className: (0, import_classnames.default)({
|
|
103
|
+
"booking-page-date-picker-select": state.isDateChange
|
|
104
|
+
}),
|
|
105
|
+
style: { width: 200, flexShrink: 0 }
|
|
106
|
+
},
|
|
107
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
108
|
+
import_materials.DatePicker,
|
|
109
|
+
{
|
|
110
|
+
inputReadOnly: true,
|
|
111
|
+
value: (_b2 = (_a2 = state == null ? void 0 : state.modalState) == null ? void 0 : _a2.date) == null ? void 0 : _b2.value,
|
|
112
|
+
format: locale === "en" ? "dddd, DD MMM YYYY" : "YYYY年MM月DD日",
|
|
113
|
+
onChange: props == null ? void 0 : props.onDateChange,
|
|
114
|
+
size: "large",
|
|
115
|
+
style: { width: "100%" }
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
119
|
+
import_antd.Button,
|
|
120
|
+
{
|
|
121
|
+
icon: /* @__PURE__ */ import_react.default.createElement(import_icons.RightOutlined, null),
|
|
122
|
+
onClick: _onClickNext,
|
|
123
|
+
size: "large"
|
|
137
124
|
}
|
|
138
|
-
)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
125
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
126
|
+
"div",
|
|
127
|
+
{
|
|
128
|
+
className: (0, import_classnames.default)({
|
|
129
|
+
"booking-page-date-picker-select": state.isTimeChange
|
|
130
|
+
})
|
|
131
|
+
},
|
|
132
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
133
|
+
import_materials.SelectTime,
|
|
134
|
+
{
|
|
135
|
+
value: (_d = (_c = state == null ? void 0 : state.modalState) == null ? void 0 : _c.date) == null ? void 0 : _d.value.format("HH:mm"),
|
|
136
|
+
onChange: _onDateTimeChange,
|
|
137
|
+
popoverProps: {
|
|
138
|
+
style: { zoom: 0.8 }
|
|
139
|
+
},
|
|
140
|
+
timePickerProps: {},
|
|
141
|
+
timeProps: {},
|
|
142
|
+
slice: 5
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
146
|
+
import_antd.Button,
|
|
147
|
+
{
|
|
148
|
+
onClick: _onClickNow,
|
|
149
|
+
size: "large",
|
|
150
|
+
style: state.intervalSetTime ? { background: "#000", color: "#fff" } : void 0
|
|
151
|
+
},
|
|
152
|
+
import_utils.locales.getText("pisell2.ticket-booking.now")
|
|
153
|
+
));
|
|
154
|
+
}, [(_b = (_a = state.modalState) == null ? void 0 : _a.date) == null ? void 0 : _b.value, state.intervalSetTime, state.isTimeChange, state.isDateChange, locale]);
|
|
148
155
|
};
|
|
149
156
|
var timeBar_default = TimeBar;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.forms': string;
|
|
6
|
+
'pisell2.ticket-booking.sales': string;
|
|
7
|
+
'pisell2.ticket-booking.payment': string;
|
|
8
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
9
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
10
|
+
'pisell2.ticket-booking.go-back': string;
|
|
11
|
+
'pisell2.ticket-booking.exit': string;
|
|
12
|
+
'pisell2.ticket-booking.deposit': string;
|
|
13
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
14
|
+
'pisell2.ticket-booking.no-data': string;
|
|
15
|
+
'pisell2.ticket-booking.authorized': string;
|
|
16
|
+
'pisell2.ticket-booking.paid': string;
|
|
17
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
19
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
20
|
+
'pisell2.ticket-booking.refunded': string;
|
|
21
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
22
|
+
'pisell2.ticket-booking.voided': string;
|
|
23
|
+
'pisell2.ticket-booking.pending': string;
|
|
24
|
+
'pisell2.ticket-booking.all': string;
|
|
25
|
+
'pisell2.ticket-booking.not-started': string;
|
|
26
|
+
'pisell2.ticket-booking.started': string;
|
|
27
|
+
'pisell2.ticket-booking.finished': string;
|
|
28
|
+
'pisell2.ticket-booking.canceled': string;
|
|
29
|
+
'pisell2.ticket-booking.inform': string;
|
|
30
|
+
'pisell2.ticket-booking.check-management': string;
|
|
31
|
+
'pisell2.ticket-booking.confirm': string;
|
|
32
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
33
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
34
|
+
'pisell2.ticket-booking.full-data': string;
|
|
35
|
+
'pisell2.ticket-booking.today': string;
|
|
36
|
+
'pisell2.ticket-booking.now': string;
|
|
37
|
+
'pisell2.ticket-booking.start-time': string;
|
|
38
|
+
'pisell2.ticket-booking.create-time': string;
|
|
39
|
+
'pisell2.ticket-booking.customer': string;
|
|
40
|
+
'pisell2.ticket-booking.total': string;
|
|
41
|
+
'pisell2.ticket-booking.search': string;
|
|
42
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
43
|
+
'pisell2.ticket-booking.loading': string;
|
|
44
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
45
|
+
'pisell2.ticket-booking.scan': string;
|
|
46
|
+
'pisell2.ticket-booking.create-new': string;
|
|
47
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
48
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
50
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
51
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.subtotal': string;
|
|
53
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
54
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
55
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
|
58
|
+
};
|
|
59
|
+
'zh-CN': {
|
|
60
|
+
'pisell2.ticket-booking.info': string;
|
|
61
|
+
'pisell2.ticket-booking.notes': string;
|
|
62
|
+
'pisell2.ticket-booking.forms': string;
|
|
63
|
+
'pisell2.ticket-booking.sales': string;
|
|
64
|
+
'pisell2.ticket-booking.payment': string;
|
|
65
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
66
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
67
|
+
'pisell2.ticket-booking.go-back': string;
|
|
68
|
+
'pisell2.ticket-booking.exit': string;
|
|
69
|
+
'pisell2.ticket-booking.deposit': string;
|
|
70
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
71
|
+
'pisell2.ticket-booking.no-data': string;
|
|
72
|
+
'pisell2.ticket-booking.authorized': string;
|
|
73
|
+
'pisell2.ticket-booking.paid': string;
|
|
74
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
75
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
76
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
77
|
+
'pisell2.ticket-booking.refunded': string;
|
|
78
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
79
|
+
'pisell2.ticket-booking.voided': string;
|
|
80
|
+
'pisell2.ticket-booking.pending': string;
|
|
81
|
+
'pisell2.ticket-booking.all': string;
|
|
82
|
+
'pisell2.ticket-booking.not-started': string;
|
|
83
|
+
'pisell2.ticket-booking.started': string;
|
|
84
|
+
'pisell2.ticket-booking.finished': string;
|
|
85
|
+
'pisell2.ticket-booking.canceled': string;
|
|
86
|
+
'pisell2.ticket-booking.inform': string;
|
|
87
|
+
'pisell2.ticket-booking.check-management': string;
|
|
88
|
+
'pisell2.ticket-booking.confirm': string;
|
|
89
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
90
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
91
|
+
'pisell2.ticket-booking.full-data': string;
|
|
92
|
+
'pisell2.ticket-booking.today': string;
|
|
93
|
+
'pisell2.ticket-booking.now': string;
|
|
94
|
+
'pisell2.ticket-booking.start-time': string;
|
|
95
|
+
'pisell2.ticket-booking.create-time': string;
|
|
96
|
+
'pisell2.ticket-booking.customer': string;
|
|
97
|
+
'pisell2.ticket-booking.total': string;
|
|
98
|
+
'pisell2.ticket-booking.search': string;
|
|
99
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
100
|
+
'pisell2.ticket-booking.loading': string;
|
|
101
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
102
|
+
'pisell2.ticket-booking.scan': string;
|
|
103
|
+
'pisell2.ticket-booking.create-new': string;
|
|
104
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
105
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
106
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
107
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
108
|
+
'pisell2.product.card.subtotal': string;
|
|
109
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
110
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
|
115
|
+
};
|
|
116
|
+
'zh-HK': {
|
|
117
|
+
'pisell2.ticket-booking.info': string;
|
|
118
|
+
'pisell2.ticket-booking.notes': string;
|
|
119
|
+
'pisell2.ticket-booking.forms': string;
|
|
120
|
+
'pisell2.ticket-booking.sales': string;
|
|
121
|
+
'pisell2.ticket-booking.payment': string;
|
|
122
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
123
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
124
|
+
'pisell2.ticket-booking.go-back': string;
|
|
125
|
+
'pisell2.ticket-booking.exit': string;
|
|
126
|
+
'pisell2.ticket-booking.deposit': string;
|
|
127
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
128
|
+
'pisell2.ticket-booking.no-data': string;
|
|
129
|
+
'pisell2.ticket-booking.authorized': string;
|
|
130
|
+
'pisell2.ticket-booking.paid': string;
|
|
131
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
132
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
133
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
134
|
+
'pisell2.ticket-booking.refunded': string;
|
|
135
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
136
|
+
'pisell2.ticket-booking.voided': string;
|
|
137
|
+
'pisell2.ticket-booking.pending': string;
|
|
138
|
+
'pisell2.ticket-booking.all': string;
|
|
139
|
+
'pisell2.ticket-booking.not-started': string;
|
|
140
|
+
'pisell2.ticket-booking.started': string;
|
|
141
|
+
'pisell2.ticket-booking.finished': string;
|
|
142
|
+
'pisell2.ticket-booking.canceled': string;
|
|
143
|
+
'pisell2.ticket-booking.inform': string;
|
|
144
|
+
'pisell2.ticket-booking.check-management': string;
|
|
145
|
+
'pisell2.ticket-booking.confirm': string;
|
|
146
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
147
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
148
|
+
'pisell2.ticket-booking.full-data': string;
|
|
149
|
+
'pisell2.ticket-booking.today': string;
|
|
150
|
+
'pisell2.ticket-booking.now': string;
|
|
151
|
+
'pisell2.ticket-booking.start-time': string;
|
|
152
|
+
'pisell2.ticket-booking.create-time': string;
|
|
153
|
+
'pisell2.ticket-booking.customer': string;
|
|
154
|
+
'pisell2.ticket-booking.total': string;
|
|
155
|
+
'pisell2.ticket-booking.search': string;
|
|
156
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
157
|
+
'pisell2.ticket-booking.loading': string;
|
|
158
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
159
|
+
'pisell2.ticket-booking.scan': string;
|
|
160
|
+
'pisell2.ticket-booking.create-new': string;
|
|
161
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
162
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
163
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
164
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
165
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
166
|
+
'pisell2.product.card.subtotal': string;
|
|
167
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
168
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
169
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
170
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
export default _default;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取客户列表
|
|
3
|
+
* @description: 获取客户列表
|
|
4
|
+
* @param {any} params
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: cong.shao
|
|
7
|
+
* @Date: 2025-04-24 16:28
|
|
8
|
+
*/
|
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取服务列表
|
|
12
|
+
* @description: 查询服务列表
|
|
13
|
+
* @param {any} params
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: cong.shao
|
|
16
|
+
* @Date: 2025-04-24 16:28
|
|
17
|
+
*/
|
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取资源列表
|
|
21
|
+
* @description: 资源列表
|
|
22
|
+
* @param {any} params
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: cong.shao
|
|
25
|
+
* @Date: 2025-04-24 16:28
|
|
26
|
+
*/
|
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取产品列表
|
|
30
|
+
* @description: 查询产品列表
|
|
31
|
+
* @param {any} params
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: cong.shao
|
|
34
|
+
* @Date: 2025-04-24 16:28
|
|
35
|
+
*/
|
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 获取表单列表
|
|
39
|
+
* @description: 获取关联记录表单列表
|
|
40
|
+
* @param {any} params
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: cong.shao
|
|
43
|
+
* @Date: 2025-04-24 16:28
|
|
44
|
+
*/
|
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @title: 获取预约配置
|
|
48
|
+
* @description: 获取预约相关配置信息
|
|
49
|
+
* @param {any} params
|
|
50
|
+
* @return {*}
|
|
51
|
+
* @Author: cong.shao
|
|
52
|
+
* @Date: 2025-04-24 16:28
|
|
53
|
+
*/
|
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
|
55
|
+
/**
|
|
56
|
+
* @title: 获取宠物信息
|
|
57
|
+
* @description: 根据ID获取宠物信息
|
|
58
|
+
* @param {string} formId
|
|
59
|
+
* @param {any} params
|
|
60
|
+
* @return {*}
|
|
61
|
+
* @Author: cong.shao
|
|
62
|
+
* @Date: 2025-04-24 16:28
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取宠物数据
|
|
67
|
+
* @description: 获取宠物数据
|
|
68
|
+
* @param {any} params
|
|
69
|
+
* @return {*}
|
|
70
|
+
* @Author: cong.shao
|
|
71
|
+
* @Date: 2025-04-24 16:28
|
|
72
|
+
*/
|
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* @title: 创建预约
|
|
76
|
+
* @description: 创建新的预约记录
|
|
77
|
+
* @param {any} params
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: cong.shao
|
|
80
|
+
* @Date: 2025-04-24 16:28
|
|
81
|
+
*/
|
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* @title: 获取预约附加服务
|
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
|
86
|
+
* @param {string} bookingId
|
|
87
|
+
* @param {any} params
|
|
88
|
+
* @return {*}
|
|
89
|
+
* @Author: cong.shao
|
|
90
|
+
* @Date: 2025-04-24 16:28
|
|
91
|
+
*/
|
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* @title: 保存预约附加服务
|
|
95
|
+
* @description: 保存预约的附加服务信息
|
|
96
|
+
* @param {string} bookingId
|
|
97
|
+
* @param {any} params
|
|
98
|
+
* @return {*}
|
|
99
|
+
* @Author: cong.shao
|
|
100
|
+
* @Date: 2025-04-24 16:28
|
|
101
|
+
*/
|
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* @title: 获取预约详情
|
|
105
|
+
* @description: 获取预约详细信息
|
|
106
|
+
* @param {number} bookingId
|
|
107
|
+
* @param {any} params
|
|
108
|
+
* @return {*}
|
|
109
|
+
* @Author: cong.shao
|
|
110
|
+
* @Date: 2025-04-24 16:28
|
|
111
|
+
*/
|
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* @title: 编辑预约状态
|
|
115
|
+
* @description: 更新预约状态
|
|
116
|
+
* @param {string} bookingId
|
|
117
|
+
* @param {any} params
|
|
118
|
+
* @return {*}
|
|
119
|
+
* @Author: cong.shao
|
|
120
|
+
* @Date: 2025-04-24 16:28
|
|
121
|
+
*/
|
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* @title: 编辑预约信息
|
|
125
|
+
* @description: 更新预约信息
|
|
126
|
+
* @param {string} bookingId
|
|
127
|
+
* @param {any} params
|
|
128
|
+
* @return {*}
|
|
129
|
+
* @Author: cong.shao
|
|
130
|
+
* @Date: 2025-04-24 16:28
|
|
131
|
+
*/
|
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @title: 获取预约备注
|
|
135
|
+
* @description: 获取预约相关备注信息
|
|
136
|
+
* @param {any} params
|
|
137
|
+
* @return {*}
|
|
138
|
+
* @Author: cong.shao
|
|
139
|
+
* @Date: 2025-04-24 16:28
|
|
140
|
+
*/
|
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* @title: 添加预约备注
|
|
144
|
+
* @description: 添加预约相关备注
|
|
145
|
+
* @param {any} params
|
|
146
|
+
* @return {*}
|
|
147
|
+
* @Author: cong.shao
|
|
148
|
+
* @Date: 2025-04-24 16:28
|
|
149
|
+
*/
|
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
151
|
+
/**
|
|
152
|
+
* @title: 编辑预约备注
|
|
153
|
+
* @description: 更新预约备注信息
|
|
154
|
+
* @param {string} bookingId
|
|
155
|
+
* @param {any} params
|
|
156
|
+
* @return {*}
|
|
157
|
+
* @Author: cong.shao
|
|
158
|
+
* @Date: 2025-04-24 16:28
|
|
159
|
+
*/
|
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
161
|
+
/**
|
|
162
|
+
* @title: 删除预约备注
|
|
163
|
+
* @description: 删除预约相关备注
|
|
164
|
+
* @param {string} bookingId
|
|
165
|
+
* @param {any} params
|
|
166
|
+
* @return {*}
|
|
167
|
+
* @Author: cong.shao
|
|
168
|
+
* @Date: 2025-04-24 16:28
|
|
169
|
+
*/
|
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
171
|
+
/**
|
|
172
|
+
* @title: 保存预约表单数据
|
|
173
|
+
* @description: 保存预约相关的表单数据
|
|
174
|
+
* @param {any} params
|
|
175
|
+
* @return {*}
|
|
176
|
+
* @Author: cong.shao
|
|
177
|
+
* @Date: 2025-04-24 16:28
|
|
178
|
+
*/
|
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
|
180
|
+
/**
|
|
181
|
+
* @title: 获取支付列表
|
|
182
|
+
* @description: 获取支付相关列表数据
|
|
183
|
+
* @param {any} params
|
|
184
|
+
* @return {*}
|
|
185
|
+
* @Author: cong.shao
|
|
186
|
+
* @Date: 2025-04-24 16:28
|
|
187
|
+
*/
|
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* @title: 编辑订单备注
|
|
191
|
+
* @description: 更新订单备注信息
|
|
192
|
+
* @param {string} bookingId
|
|
193
|
+
* @param {any} params
|
|
194
|
+
* @return {*}
|
|
195
|
+
* @Author: cong.shao
|
|
196
|
+
* @Date: 2025-04-24 16:28
|
|
197
|
+
*/
|
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
|
199
|
+
/**
|
|
200
|
+
* @title: 获取退款信息
|
|
201
|
+
* @description: 获取退款相关信息
|
|
202
|
+
* @param {string} bookingId
|
|
203
|
+
* @param {any} params
|
|
204
|
+
* @return {*}
|
|
205
|
+
* @Author: cong.shao
|
|
206
|
+
* @Date: 2025-04-24 16:28
|
|
207
|
+
*/
|
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* @title: 创建活动预约
|
|
211
|
+
* @description: 创建新的活动预约记录
|
|
212
|
+
* @param {any} params
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @Author: cong.shao
|
|
215
|
+
* @Date: 2025-04-24 16:28
|
|
216
|
+
*/
|
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* @title: 获取活动预约详情
|
|
220
|
+
* @description: 获取活动预约详细信息
|
|
221
|
+
* @param {number} bookingId
|
|
222
|
+
* @param {any} params
|
|
223
|
+
* @return {*}
|
|
224
|
+
* @Author: cong.shao
|
|
225
|
+
* @Date: 2025-04-24 16:28
|
|
226
|
+
*/
|
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
228
|
+
/**
|
|
229
|
+
* @title: 编辑活动预约
|
|
230
|
+
* @description: 更新活动预约信息
|
|
231
|
+
* @param {string} bookingId
|
|
232
|
+
* @param {any} params
|
|
233
|
+
* @return {*}
|
|
234
|
+
* @Author: cong.shao
|
|
235
|
+
* @Date: 2025-04-24 16:28
|
|
236
|
+
*/
|
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @title: 获取定金显示配置
|
|
240
|
+
* @description: 获取定金相关显示配置
|
|
241
|
+
* @param {any} params
|
|
242
|
+
* @return {*}
|
|
243
|
+
* @Author: cong.shao
|
|
244
|
+
* @Date: 2025-04-24 16:28
|
|
245
|
+
*/
|
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
|
247
|
+
/**
|
|
248
|
+
* @title: 获取表单记录
|
|
249
|
+
* @description: 获取表单记录数据
|
|
250
|
+
* @param {any} params
|
|
251
|
+
* @return {*}
|
|
252
|
+
* @Author: cong.shao
|
|
253
|
+
* @Date: 2025-04-24 16:28
|
|
254
|
+
*/
|
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
|
256
|
+
/**
|
|
257
|
+
* @title: 获取预约列表
|
|
258
|
+
* @description: 获取预约列表数据
|
|
259
|
+
* @param {any} params
|
|
260
|
+
* @return {*}
|
|
261
|
+
* @Author: cong.shao
|
|
262
|
+
* @Date: 2025-04-24 16:28
|
|
263
|
+
*/
|
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
|
265
|
+
/**
|
|
266
|
+
* @title: 获取订单信息
|
|
267
|
+
* @description: 根据机器码获取订单信息
|
|
268
|
+
* @param {any} params
|
|
269
|
+
* @return {*}
|
|
270
|
+
* @Author: cong.shao
|
|
271
|
+
* @Date: 2025-04-24 16:28
|
|
272
|
+
*/
|
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
274
|
+
/**
|
|
275
|
+
* @title: 获取ES客户数据
|
|
276
|
+
* @description: 从ES获取客户数据
|
|
277
|
+
* @param {any} params
|
|
278
|
+
* @return {*}
|
|
279
|
+
* @Author: cong.shao
|
|
280
|
+
* @Date: 2025-04-24 16:28
|
|
281
|
+
*/
|
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|