@pisell/private-materials 3.3.39 → 3.3.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +4 -4
- package/build/lowcode/view.js +4 -4
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +3 -2
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +32 -24
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Resource/index.js +1 -0
- package/es/components/appointmentBooking/components/Services/index.js +13 -8
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/hooks.js +4 -2
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/appointmentBooking/utils.d.ts +1 -1
- package/es/components/appointmentBooking/utils.js +3 -1
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/addons/model.js +5 -5
- package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +1 -9
- 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 +1 -10
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +9 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/eventBooking/utils.js +8 -8
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -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/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- 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.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 +1 -9
- 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/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/schedules/utils.js +1 -1
- 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 +0 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useComponents.js +1 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +2 -2
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +10 -7
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +1 -0
- package/lib/components/appointmentBooking/components/Services/index.js +11 -7
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/hooks.js +3 -3
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/appointmentBooking/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/utils.js +2 -1
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/eventBooking/utils.js +5 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/schedules/utils.js +1 -1
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/package.json +4 -4
|
@@ -25,7 +25,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
|
25
25
|
* @return {*}
|
|
26
26
|
* @Author: xiangfeng.xue
|
|
27
27
|
*/
|
|
28
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) =>
|
|
28
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
|
|
29
29
|
/**
|
|
30
30
|
* 计算所有价格明细
|
|
31
31
|
* @param items - 购物车商品数组
|
|
@@ -32,7 +32,7 @@ var ContinueButton = function ContinueButton(_ref) {
|
|
|
32
32
|
isLastStep = _ref2.isLastStep;
|
|
33
33
|
var _useAppointmentBookin3 = useAppointmentBookingSetting(),
|
|
34
34
|
isFormSubject = _useAppointmentBookin3.isFormSubject,
|
|
35
|
-
|
|
35
|
+
isRetailTemplate = _useAppointmentBookin3.isRetailTemplate;
|
|
36
36
|
var stepList = useMemo(function () {
|
|
37
37
|
var _appointmentBooking$s;
|
|
38
38
|
return appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$s = appointmentBooking.store) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.step) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.store) === null || _appointmentBooking$s === void 0 ? void 0 : _appointmentBooking$s.stepList;
|
|
@@ -46,7 +46,8 @@ var ContinueButton = function ContinueButton(_ref) {
|
|
|
46
46
|
* @Date: 2025-04-28 11:41
|
|
47
47
|
*/
|
|
48
48
|
var handleCheckAccount = function handleCheckAccount() {
|
|
49
|
-
|
|
49
|
+
// 如果是零售订单,则不需要验证holder
|
|
50
|
+
if (isRetailTemplate) return false;
|
|
50
51
|
var result = checkHolder({
|
|
51
52
|
isFormSubject: isFormSubject,
|
|
52
53
|
checkAccount: checkAccount,
|
|
@@ -94,15 +94,21 @@ var ConfirmInformation = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
94
94
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
95
95
|
while (1) switch (_context.prev = _context.next) {
|
|
96
96
|
case 0:
|
|
97
|
-
|
|
97
|
+
if (!((e === null || e === void 0 ? void 0 : e.type) !== 'close')) {
|
|
98
|
+
_context.next = 5;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
_context.next = 3;
|
|
98
102
|
return appointmentBooking.updateCart({
|
|
99
103
|
_id: carts === null || carts === void 0 || (_carts$ = carts[0]) === null || _carts$ === void 0 ? void 0 : _carts$._id,
|
|
100
104
|
relationForms: e
|
|
101
105
|
});
|
|
102
|
-
case
|
|
106
|
+
case 3:
|
|
103
107
|
appointmentBooking.setOtherData(key, true);
|
|
104
108
|
_callback();
|
|
105
|
-
case
|
|
109
|
+
case 5:
|
|
110
|
+
setLoading(false);
|
|
111
|
+
case 6:
|
|
106
112
|
case "end":
|
|
107
113
|
return _context.stop();
|
|
108
114
|
}
|
|
@@ -146,16 +152,19 @@ var ConfirmInformation = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
146
152
|
}
|
|
147
153
|
return _context3.abrupt("return", Toast(locales.getText('pisell2.appointment.deposit.agree.policy')));
|
|
148
154
|
case 3:
|
|
155
|
+
setLoading(true);
|
|
156
|
+
|
|
157
|
+
// 零售模版
|
|
149
158
|
if (!isRetailTemplate) {
|
|
150
|
-
_context3.next =
|
|
159
|
+
_context3.next = 7;
|
|
151
160
|
break;
|
|
152
161
|
}
|
|
153
162
|
handleForm(true);
|
|
154
163
|
return _context3.abrupt("return");
|
|
155
|
-
case
|
|
164
|
+
case 7:
|
|
156
165
|
// 预约下单
|
|
157
166
|
onCheckout();
|
|
158
|
-
case
|
|
167
|
+
case 8:
|
|
159
168
|
case "end":
|
|
160
169
|
return _context3.stop();
|
|
161
170
|
}
|
|
@@ -179,18 +188,17 @@ var ConfirmInformation = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
179
188
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
180
189
|
while (1) switch (_context4.prev = _context4.next) {
|
|
181
190
|
case 0:
|
|
182
|
-
|
|
183
|
-
_context4.prev = 1;
|
|
191
|
+
_context4.prev = 0;
|
|
184
192
|
deposit = summary.deposit;
|
|
185
|
-
_context4.next =
|
|
193
|
+
_context4.next = 4;
|
|
186
194
|
return appointmentBooking.submitOrder();
|
|
187
|
-
case
|
|
195
|
+
case 4:
|
|
188
196
|
_yield$appointmentBoo = _context4.sent;
|
|
189
197
|
data = _yield$appointmentBoo.data;
|
|
190
198
|
_ref5 = data || {}, is_deposit = _ref5.is_deposit, deposit_amount = _ref5.deposit_amount, total_amount = _ref5.total_amount, order_id = _ref5.order_id; // 如果有定金,则支付定金金额,否则订单金额
|
|
191
199
|
_total = is_deposit ? deposit_amount : total_amount;
|
|
192
200
|
if (!(_total > 0)) {
|
|
193
|
-
_context4.next =
|
|
201
|
+
_context4.next = 13;
|
|
194
202
|
break;
|
|
195
203
|
}
|
|
196
204
|
// 拉起支付弹窗
|
|
@@ -204,19 +212,19 @@ var ConfirmInformation = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
204
212
|
setTimeout(function () {
|
|
205
213
|
setLoading(false);
|
|
206
214
|
}, 200);
|
|
207
|
-
_context4.next =
|
|
215
|
+
_context4.next = 21;
|
|
208
216
|
break;
|
|
209
|
-
case
|
|
217
|
+
case 13:
|
|
210
218
|
if (!(deposit !== null && deposit !== void 0 && deposit.hasDeposit)) {
|
|
211
|
-
_context4.next =
|
|
219
|
+
_context4.next = 16;
|
|
212
220
|
break;
|
|
213
221
|
}
|
|
214
222
|
goPaymentFinish(order_id, _total);
|
|
215
223
|
return _context4.abrupt("return");
|
|
216
|
-
case
|
|
217
|
-
_context4.next =
|
|
224
|
+
case 16:
|
|
225
|
+
_context4.next = 18;
|
|
218
226
|
return appointmentBooking.getFreeProduct(order_id);
|
|
219
|
-
case
|
|
227
|
+
case 18:
|
|
220
228
|
freeResult = _context4.sent;
|
|
221
229
|
console.log(freeResult, 'freeResult');
|
|
222
230
|
if (freeResult !== null && freeResult !== void 0 && freeResult.status) {
|
|
@@ -224,21 +232,21 @@ var ConfirmInformation = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
224
232
|
} else {
|
|
225
233
|
Toast(freeResult === null || freeResult === void 0 ? void 0 : freeResult.message);
|
|
226
234
|
}
|
|
227
|
-
case
|
|
228
|
-
_context4.next =
|
|
235
|
+
case 21:
|
|
236
|
+
_context4.next = 27;
|
|
229
237
|
break;
|
|
230
|
-
case
|
|
231
|
-
_context4.prev =
|
|
232
|
-
_context4.t0 = _context4["catch"](
|
|
238
|
+
case 23:
|
|
239
|
+
_context4.prev = 23;
|
|
240
|
+
_context4.t0 = _context4["catch"](0);
|
|
233
241
|
Toast((_context4.t0 === null || _context4.t0 === void 0 ? void 0 : _context4.t0.message) || '');
|
|
234
242
|
setTimeout(function () {
|
|
235
243
|
setLoading(false);
|
|
236
244
|
}, 50);
|
|
237
|
-
case
|
|
245
|
+
case 27:
|
|
238
246
|
case "end":
|
|
239
247
|
return _context4.stop();
|
|
240
248
|
}
|
|
241
|
-
}, _callee4, null, [[
|
|
249
|
+
}, _callee4, null, [[0, 23]]);
|
|
242
250
|
}));
|
|
243
251
|
return function onCheckout() {
|
|
244
252
|
return _ref4.apply(this, arguments);
|
|
@@ -90,6 +90,7 @@ var Resource = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
90
90
|
case 10:
|
|
91
91
|
accountLists = _context.sent;
|
|
92
92
|
checkResult = checkHasFormStep({
|
|
93
|
+
setIsErrorHolder: setIsErrorHolder,
|
|
93
94
|
nextStep: nextStep,
|
|
94
95
|
hasResourceFormId: (resultCarts === null || resultCarts === void 0 ? void 0 : resultCarts.length) > 0,
|
|
95
96
|
currentStep: currentStep,
|
|
@@ -37,30 +37,35 @@ var Services = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
37
37
|
removeStep = _useAppointmentBookin3.removeStep,
|
|
38
38
|
nextStep = _useAppointmentBookin3.nextStep;
|
|
39
39
|
var _ref2 = useAppointmentBookingContext(),
|
|
40
|
-
currentStep = _ref2.currentStep
|
|
40
|
+
currentStep = _ref2.currentStep,
|
|
41
|
+
setLoading = _ref2.setLoading;
|
|
41
42
|
var _useState = useState(null),
|
|
42
43
|
_useState2 = _slicedToArray(_useState, 2),
|
|
43
44
|
products = _useState2[0],
|
|
44
45
|
setProducts = _useState2[1];
|
|
45
46
|
var _useState3 = useState(false),
|
|
46
47
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
productLoading = _useState4[0],
|
|
49
|
+
setProductLoading = _useState4[1];
|
|
49
50
|
useImperativeHandle(ref, function () {
|
|
50
51
|
return {
|
|
51
52
|
next: function next() {
|
|
52
|
-
|
|
53
|
+
setLoading(true);
|
|
54
|
+
setTimeout(function () {
|
|
55
|
+
nextStep();
|
|
56
|
+
setLoading(false);
|
|
57
|
+
}, 200);
|
|
53
58
|
}
|
|
54
59
|
};
|
|
55
60
|
});
|
|
56
61
|
useEffect(function () {
|
|
57
|
-
|
|
62
|
+
setProductLoading(true);
|
|
58
63
|
getProducts().then(function (res) {
|
|
59
64
|
setProducts(res || []);
|
|
60
|
-
|
|
65
|
+
setProductLoading(false);
|
|
61
66
|
}).catch(function () {
|
|
62
67
|
setProducts([]);
|
|
63
|
-
|
|
68
|
+
setProductLoading(false);
|
|
64
69
|
});
|
|
65
70
|
}, [isDateSelectedFirst]);
|
|
66
71
|
var handleSelectProduct = /*#__PURE__*/function () {
|
|
@@ -216,7 +221,7 @@ var Services = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
216
221
|
dataSource: products,
|
|
217
222
|
onChange: handleSelectProduct,
|
|
218
223
|
scrollDom: isMobile() ? '.parallel-content-wrap' : '.parallel-booking-wrap',
|
|
219
|
-
loading:
|
|
224
|
+
loading: productLoading,
|
|
220
225
|
emptyDescription: locales.getText('pisell2.appointment.booking.empty.service'),
|
|
221
226
|
token: {
|
|
222
227
|
colorPrimary: 'var(--theme-color)',
|
|
@@ -132,7 +132,7 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
132
132
|
var stepList = (appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$s2 = appointmentBooking.store) === null || _appointmentBooking$s2 === void 0 || (_appointmentBooking$s2 = _appointmentBooking$s2.step) === null || _appointmentBooking$s2 === void 0 || (_appointmentBooking$s2 = _appointmentBooking$s2.store) === null || _appointmentBooking$s2 === void 0 ? void 0 : _appointmentBooking$s2.stepList) || [];
|
|
133
133
|
|
|
134
134
|
// 倒数第二步
|
|
135
|
-
if ((currentStep === null || currentStep === void 0 ? void 0 : currentStep.index) + 2
|
|
135
|
+
if ((currentStep === null || currentStep === void 0 ? void 0 : currentStep.index) + 2 >= (stepList === null || stepList === void 0 ? void 0 : stepList.length)) {
|
|
136
136
|
var _policyIdsRef$current;
|
|
137
137
|
// 如果没有同意资源上挂接的协议,则打开协议弹窗
|
|
138
138
|
if (policyIdsRef !== null && policyIdsRef !== void 0 && (_policyIdsRef$current = policyIdsRef.current) !== null && _policyIdsRef$current !== void 0 && _policyIdsRef$current.length) {
|
|
@@ -619,7 +619,8 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
|
619
619
|
var _useAppointmentBookin5 = useAppointmentBookingContext(),
|
|
620
620
|
currentStep = _useAppointmentBookin5.currentStep,
|
|
621
621
|
setCarts = _useAppointmentBookin5.setCarts,
|
|
622
|
-
setPolicyIds = _useAppointmentBookin5.setPolicyIds
|
|
622
|
+
setPolicyIds = _useAppointmentBookin5.setPolicyIds,
|
|
623
|
+
setIsErrorHolder = _useAppointmentBookin5.setIsErrorHolder;
|
|
623
624
|
var _useAppointmentBookin6 = useAppointmentBookingResource(),
|
|
624
625
|
getResourceList = _useAppointmentBookin6.getResourceList,
|
|
625
626
|
autoSelectAllProductResources = _useAppointmentBookin6.autoSelectAllProductResources;
|
|
@@ -667,6 +668,7 @@ export var useIsSkipResourceStep = function useIsSkipResourceStep() {
|
|
|
667
668
|
if (!isSkipUpdateFormStep) {
|
|
668
669
|
resultCarts = formatCartsResources(carts, resources, setPolicyIds); // 如果当前资源有表单,则添加表单步骤,否则删除表单步骤
|
|
669
670
|
checkHasFormStep({
|
|
671
|
+
setIsErrorHolder: setIsErrorHolder,
|
|
670
672
|
nextStep: nextStep,
|
|
671
673
|
isSkip: true,
|
|
672
674
|
openLoginModal: openLoginModal,
|
|
@@ -111,4 +111,4 @@ export declare const Toast: (text: string) => void;
|
|
|
111
111
|
* @Author: WangHan
|
|
112
112
|
* @Date: 2025-05-06 21:51
|
|
113
113
|
*/
|
|
114
|
-
export declare const checkHasFormStep: ({ nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => true | undefined;
|
|
114
|
+
export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => true | undefined;
|
|
@@ -376,7 +376,8 @@ export var Toast = function Toast(text) {
|
|
|
376
376
|
*/
|
|
377
377
|
export var checkHasFormStep = function checkHasFormStep(_ref2) {
|
|
378
378
|
var _appointmentBooking$s;
|
|
379
|
-
var
|
|
379
|
+
var setIsErrorHolder = _ref2.setIsErrorHolder,
|
|
380
|
+
nextStep = _ref2.nextStep,
|
|
380
381
|
isSkip = _ref2.isSkip,
|
|
381
382
|
checkHolder = _ref2.checkHolder,
|
|
382
383
|
checkAccount = _ref2.checkAccount,
|
|
@@ -426,6 +427,7 @@ export var checkHasFormStep = function checkHasFormStep(_ref2) {
|
|
|
426
427
|
if (result) {
|
|
427
428
|
setCarts(result);
|
|
428
429
|
}
|
|
430
|
+
setIsErrorHolder(!!result);
|
|
429
431
|
if (!!result) return true;
|
|
430
432
|
};
|
|
431
433
|
if (!isLogin) {
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { miniRedux } from "@pisell/utils";
|
|
8
8
|
var defaultState = {};
|
|
9
9
|
var _miniRedux = miniRedux({
|
|
@@ -6,7 +6,7 @@ import CollapsibleList from "../../collapsibleList";
|
|
|
6
6
|
import { renderBundles } from "../../collapsibleList/utils";
|
|
7
7
|
import "./index.less";
|
|
8
8
|
var SelectProductItem = function SelectProductItem(_ref) {
|
|
9
|
-
var _item$_extend, _item$
|
|
9
|
+
var _item$_extend, _item$_extend2;
|
|
10
10
|
var item = _ref.item,
|
|
11
11
|
_onClick = _ref.onClick,
|
|
12
12
|
onChangeQuantity = _ref.onChangeQuantity,
|
|
@@ -28,7 +28,7 @@ var SelectProductItem = function SelectProductItem(_ref) {
|
|
|
28
28
|
style: style,
|
|
29
29
|
className: classNames("server-select-product", className),
|
|
30
30
|
onClick: function onClick() {
|
|
31
|
-
_onClick === null || _onClick === void 0
|
|
31
|
+
_onClick === null || _onClick === void 0 || _onClick(item);
|
|
32
32
|
}
|
|
33
33
|
}, item.cover ? /*#__PURE__*/React.createElement("img", {
|
|
34
34
|
src: image.ali(item.cover, 100),
|
|
@@ -39,11 +39,11 @@ var SelectProductItem = function SelectProductItem(_ref) {
|
|
|
39
39
|
className: "server-select-product-title"
|
|
40
40
|
}, item.title), /*#__PURE__*/React.createElement("div", {
|
|
41
41
|
className: "server-select-product-subtitle"
|
|
42
|
-
}, item.subtitle || ""), (((_item$_extend = item._extend) === null || _item$_extend === void 0
|
|
42
|
+
}, item.subtitle || ""), (((_item$_extend = item._extend) === null || _item$_extend === void 0 || (_item$_extend = _item$_extend.other) === null || _item$_extend === void 0 ? void 0 : _item$_extend.bundle) || []).length ? /*#__PURE__*/React.createElement(CollapsibleList, {
|
|
43
43
|
style: {
|
|
44
44
|
width: "100%"
|
|
45
45
|
},
|
|
46
|
-
list: ((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0
|
|
46
|
+
list: ((_item$_extend2 = item._extend) === null || _item$_extend2 === void 0 || (_item$_extend2 = _item$_extend2.other) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.bundle) || [],
|
|
47
47
|
renderItem: function renderItem(item) {
|
|
48
48
|
return renderBundles(item, amountSymbol);
|
|
49
49
|
}
|
|
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
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; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useMemo, useState, useEffect, forwardRef, useImperativeHandle } from "react";
|
|
8
8
|
import classNames from "classnames";
|
|
@@ -13,6 +13,10 @@ import "./index.less";
|
|
|
13
13
|
|
|
14
14
|
// tabs 子组件定义
|
|
15
15
|
|
|
16
|
+
// 定义主键类型
|
|
17
|
+
|
|
18
|
+
// Tabs 可传递的参数
|
|
19
|
+
|
|
16
20
|
var Tabs = function Tabs(_ref, ref) {
|
|
17
21
|
var renderTab = _ref.renderTab,
|
|
18
22
|
rowKey = _ref.rowKey,
|
|
@@ -29,7 +29,7 @@ var BrowserSelect = function BrowserSelect(props) {
|
|
|
29
29
|
onChange: function onChange(e) {
|
|
30
30
|
var _resetProps$onChange;
|
|
31
31
|
e.persist();
|
|
32
|
-
(_resetProps$onChange = resetProps.onChange) === null || _resetProps$onChange === void 0
|
|
32
|
+
(_resetProps$onChange = resetProps.onChange) === null || _resetProps$onChange === void 0 || _resetProps$onChange.call(resetProps, e);
|
|
33
33
|
}
|
|
34
34
|
}), _options);
|
|
35
35
|
};
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { miniRedux } from "@pisell/utils";
|
|
8
8
|
var defaultState = {};
|
|
9
9
|
var _miniRedux = miniRedux({
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormState } from '../model';
|
|
3
1
|
export declare const walkInData: {
|
|
4
2
|
id: number;
|
|
5
3
|
nickname: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const Provider:
|
|
8
|
-
state: FormState;
|
|
9
|
-
} & {
|
|
10
|
-
dispatch: (params: {
|
|
11
|
-
type: string;
|
|
12
|
-
payload: any;
|
|
13
|
-
}) => void;
|
|
14
|
-
}>;
|
|
5
|
+
export declare const Provider: any, Context: any;
|
|
@@ -19,7 +19,7 @@ var Like = function Like(_ref) {
|
|
|
19
19
|
}
|
|
20
20
|
e.preventDefault();
|
|
21
21
|
e.stopPropagation();
|
|
22
|
-
onChange === null || onChange === void 0
|
|
22
|
+
onChange === null || onChange === void 0 || onChange(status === "like" ? "common" : "like");
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
};
|
|
@@ -25,7 +25,7 @@ var StartTime = function StartTime(props) {
|
|
|
25
25
|
return sliceDayIntoFiveMinutes(slice, locale);
|
|
26
26
|
}, [slice, locale]);
|
|
27
27
|
useEffect(function () {
|
|
28
|
-
timeObjChange === null || timeObjChange === void 0
|
|
28
|
+
timeObjChange === null || timeObjChange === void 0 || timeObjChange(timeObj);
|
|
29
29
|
}, [timeObj]);
|
|
30
30
|
var renderOptions = useCallback(function (array) {
|
|
31
31
|
var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "value";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
amountSymbol: string;
|
|
4
3
|
apis: {
|
|
@@ -105,11 +104,4 @@ export declare const walkInData: {
|
|
|
105
104
|
id: number;
|
|
106
105
|
nickname: string;
|
|
107
106
|
};
|
|
108
|
-
export declare const Provider:
|
|
109
|
-
state: FormState;
|
|
110
|
-
} & {
|
|
111
|
-
dispatch: (params: {
|
|
112
|
-
type: string;
|
|
113
|
-
payload: any;
|
|
114
|
-
}) => void;
|
|
115
|
-
}>;
|
|
107
|
+
export declare const Provider: any, Context: any;
|