@pisell/private-materials 3.4.82 → 3.4.83
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 +2 -2
- package/build/lowcode/preview.js +152 -152
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +18 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.js +3 -2
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/eventBooking/components/ErrorTip/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/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/index.d.ts +4 -2
- package/es/index.js +3 -1
- package/es/plus/contactInfo/components/SwipeAction/index.js +1 -1
- package/es/plus/orderList/components/HandleActions.d.ts +1 -0
- package/es/plus/orderList/components/HandleActions.js +5 -2
- package/es/plus/orderList/components/Toolbar.d.ts +1 -0
- package/es/plus/orderList/components/Toolbar.js +4 -2
- package/es/plus/orderList/index.d.ts +1 -0
- package/es/plus/orderList/index.js +7 -2
- package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.js +363 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/es/plus/pisellSalesGrid/PisellSalesGrid.stories.js +559 -0
- package/es/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
- package/es/plus/pisellSalesGrid/hooks/useActions.js +723 -0
- package/es/plus/pisellSalesGrid/index.d.ts +4 -0
- package/es/plus/pisellSalesGrid/index.js +3 -0
- package/es/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/es/plus/pisellSalesGrid/locales.js +8 -0
- package/es/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/es/plus/pisellSalesGrid/serve.js +151 -0
- package/es/plus/pisellSalesGrid/types.d.ts +170 -0
- package/es/plus/pisellSalesGrid/types.js +1 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.js +211 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.js +167 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/es/plus/pisellSalesManagement/components/ResourceSelector.js +102 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/es/plus/pisellSalesManagement/config/booking.js +380 -0
- package/es/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/es/plus/pisellSalesManagement/config/index.js +11 -0
- package/es/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/es/plus/pisellSalesManagement/config/order.js +460 -0
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/es/plus/pisellSalesManagement/hooks/perspectiveUtils.js +66 -0
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.js +651 -0
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.js +656 -0
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
- package/es/plus/pisellSalesManagement/hooks/usePerspectives.js +12 -0
- package/es/plus/pisellSalesManagement/index.d.ts +10 -0
- package/es/plus/pisellSalesManagement/index.js +84 -0
- package/es/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/es/plus/pisellSalesManagement/locales.js +302 -0
- package/es/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/es/plus/pisellSalesManagement/serve.js +222 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passDetail/index.js +2 -26
- package/es/plus/walletPassGallery/components/passList/index.js +8 -1
- package/es/plus/walletPassGallery/index.js +0 -31
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.js +2 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/eventBooking/components/ErrorTip/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/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.js +8 -2
- package/lib/plus/contactInfo/components/SwipeAction/index.js +23 -23
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
- package/lib/plus/orderList/components/HandleActions.js +2 -2
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
- package/lib/plus/orderList/components/Toolbar.js +2 -2
- package/lib/plus/orderList/index.d.ts +1 -0
- package/lib/plus/orderList/index.js +3 -3
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +5 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +339 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.less +16 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.d.ts +14 -0
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.stories.js +455 -0
- package/lib/plus/pisellSalesGrid/hooks/useActions.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/hooks/useActions.js +545 -0
- package/lib/plus/pisellSalesGrid/index.d.ts +4 -0
- package/lib/plus/pisellSalesGrid/index.js +42 -0
- package/lib/plus/pisellSalesGrid/locales.d.ts +9 -0
- package/lib/plus/pisellSalesGrid/locales.js +29 -0
- package/lib/plus/pisellSalesGrid/serve.d.ts +19 -0
- package/lib/plus/pisellSalesGrid/serve.js +142 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +170 -0
- package/lib/plus/pisellSalesGrid/types.js +17 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.js +250 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +19 -0
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.js +193 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +9 -0
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.js +106 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +185 -0
- package/lib/plus/pisellSalesManagement/config/booking.js +500 -0
- package/lib/plus/pisellSalesManagement/config/index.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/config/index.js +43 -0
- package/lib/plus/pisellSalesManagement/config/order.d.ts +172 -0
- package/lib/plus/pisellSalesManagement/config/order.js +492 -0
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.d.ts +15 -0
- package/lib/plus/pisellSalesManagement/hooks/perspectiveUtils.js +113 -0
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.js +699 -0
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +2 -0
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.js +700 -0
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.d.ts +5 -0
- package/lib/plus/pisellSalesManagement/hooks/usePerspectives.js +42 -0
- package/lib/plus/pisellSalesManagement/index.d.ts +10 -0
- package/lib/plus/pisellSalesManagement/index.js +113 -0
- package/lib/plus/pisellSalesManagement/locales.d.ts +303 -0
- package/lib/plus/pisellSalesManagement/locales.js +326 -0
- package/lib/plus/pisellSalesManagement/serve.d.ts +26 -0
- package/lib/plus/pisellSalesManagement/serve.js +120 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passDetail/index.js +1 -16
- package/lib/plus/walletPassGallery/components/passList/index.js +9 -3
- package/lib/plus/walletPassGallery/index.js +0 -29
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/lowcode/pisell-sales-management/meta.ts +88 -0
- package/package.json +4 -4
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.salesManagement.business.online_store': 'Online Store',
|
|
4
|
+
'pisell2.salesManagement.business.ticket_order': 'Ticket Order',
|
|
5
|
+
'pisell2.salesManagement.business.appointment_booking': 'Appointment Booking',
|
|
6
|
+
'pisell2.salesManagement.sort.balanceDue': 'Balance Due',
|
|
7
|
+
'pisell2.salesManagement.sort.oldestFirst': 'Oldest First',
|
|
8
|
+
'pisell2.salesManagement.sort.newestFirst': 'Newest First',
|
|
9
|
+
'pisell2.salesManagement.sort.latestFirst': 'Newest First',
|
|
10
|
+
'pisell2.salesManagement.booking.column.bookingBrief': 'Booking Brief',
|
|
11
|
+
'pisell2.salesManagement.booking.column.serviceTime': 'Service Time',
|
|
12
|
+
'pisell2.salesManagement.booking.column.customer': 'Customer',
|
|
13
|
+
'pisell2.salesManagement.booking.column.contact': 'Contact',
|
|
14
|
+
'pisell2.salesManagement.booking.column.holder': 'Holder',
|
|
15
|
+
'pisell2.salesManagement.booking.column.services': 'Services',
|
|
16
|
+
'pisell2.salesManagement.booking.column.pax': 'Pax',
|
|
17
|
+
'pisell2.salesManagement.booking.column.resource': 'Resource',
|
|
18
|
+
'pisell2.salesManagement.booking.column.forms': 'Forms',
|
|
19
|
+
'pisell2.salesManagement.booking.column.orderInfo': 'Order Info',
|
|
20
|
+
'pisell2.salesManagement.booking.column.bookingId': 'Booking ID',
|
|
21
|
+
'pisell2.salesManagement.booking.column.orderOrigin': 'Order Origin',
|
|
22
|
+
'pisell2.salesManagement.booking.column.updated': 'Updated',
|
|
23
|
+
'pisell2.salesManagement.booking.status.new': 'New',
|
|
24
|
+
'pisell2.salesManagement.booking.status.confirmed': 'Confirmed',
|
|
25
|
+
'pisell2.salesManagement.booking.status.arrived': 'Arrived',
|
|
26
|
+
'pisell2.salesManagement.booking.status.started': 'Started',
|
|
27
|
+
'pisell2.salesManagement.booking.status.cancelled': 'Cancel',
|
|
28
|
+
'pisell2.salesManagement.booking.status.no_show': 'No show',
|
|
29
|
+
'pisell2.salesManagement.booking.status.completed': 'Completed',
|
|
30
|
+
'pisell2.salesManagement.booking.platform.online_store': 'Online Store',
|
|
31
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': 'Wholesale Business',
|
|
32
|
+
'pisell2.salesManagement.booking.platform.table-order': 'Table Order',
|
|
33
|
+
'pisell2.salesManagement.booking.platform.mobile_order': 'Mobile Order',
|
|
34
|
+
'pisell2.salesManagement.booking.platform.kiosk': 'Kiosk',
|
|
35
|
+
'pisell2.salesManagement.booking.platform.pos': 'POS',
|
|
36
|
+
'pisell2.salesManagement.booking.view-more': 'View more',
|
|
37
|
+
'pisell2.salesManagement.booking.common.orderNote': 'Order Note',
|
|
38
|
+
'pisell2.salesManagement.booking.common.internalNote': 'Internal Note',
|
|
39
|
+
'pisell2.salesManagement.booking.common.more': 'more',
|
|
40
|
+
'pisell2.salesManagement.booking.common.createdBy': 'Created by',
|
|
41
|
+
'pisell2.salesManagement.booking.notes.title': 'Notes',
|
|
42
|
+
'pisell2.salesManagement.booking.notes.orderNotes': 'Order notes',
|
|
43
|
+
'pisell2.salesManagement.booking.notes.internalNotes': 'Internal notes',
|
|
44
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': 'Add Order note',
|
|
45
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': 'Add Internal note',
|
|
46
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': 'Visible only to your team members',
|
|
47
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': 'Booking Status',
|
|
48
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': 'Please select booking status',
|
|
49
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': 'Booking Date & Time',
|
|
50
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': 'Please select booking date',
|
|
51
|
+
'pisell2.salesManagement.booking.filter.holder.label': 'Holder',
|
|
52
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': 'Please enter holder',
|
|
53
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': 'Pax Range',
|
|
54
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': 'Please enter pax range',
|
|
55
|
+
'pisell2.salesManagement.booking.filter.resource.label': 'Resource',
|
|
56
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': 'Please select resource',
|
|
57
|
+
'pisell2.salesManagement.booking.filter.resource.none': 'No Resource',
|
|
58
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': 'Sales Channel',
|
|
59
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': 'Please select sales channel',
|
|
60
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': 'Order Amount',
|
|
61
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': 'Please enter order amount',
|
|
62
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': 'Order Status',
|
|
63
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': 'Please select order status',
|
|
64
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': 'Payment Status',
|
|
65
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': 'Please select payment status',
|
|
66
|
+
'pisell2.salesManagement.booking.filter.customer.label': 'Customer',
|
|
67
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': 'Please select customer',
|
|
68
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': 'Include Items',
|
|
69
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': 'Please select items',
|
|
70
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': 'Payment Method',
|
|
71
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': 'Please select payment method',
|
|
72
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': 'Order Date',
|
|
73
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': 'Please select order date',
|
|
74
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': 'Updated Date',
|
|
75
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': 'Please select updated date',
|
|
76
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': 'After Execution Time',
|
|
77
|
+
'pisell2.salesManagement.booking.sort.startAt': 'Start Time',
|
|
78
|
+
'pisell2.salesManagement.booking.sort.endAt': 'End Time',
|
|
79
|
+
'pisell2.salesManagement.booking.sort.createdAt': 'Created Time',
|
|
80
|
+
'pisell2.salesManagement.booking.sort.updatedAt': 'Last Updated',
|
|
81
|
+
'pisell2.salesManagement.booking.sort.totalAmount': 'Total Amount',
|
|
82
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': 'Refunded Amount',
|
|
83
|
+
'pisell2.salesManagement.booking.sort.customerName': 'Customer Name',
|
|
84
|
+
'pisell2.salesManagement.order.column.saleBrief': 'Sale Brief',
|
|
85
|
+
'pisell2.salesManagement.order.column.customer': 'Customer',
|
|
86
|
+
'pisell2.salesManagement.order.column.contact': 'Contact',
|
|
87
|
+
'pisell2.salesManagement.order.column.paymentInfo': 'Payment Info',
|
|
88
|
+
'pisell2.salesManagement.order.column.items': 'Items',
|
|
89
|
+
'pisell2.salesManagement.order.column.paymentStatus': 'Payment Status',
|
|
90
|
+
'pisell2.salesManagement.order.column.orderOrigin': 'Order Origin',
|
|
91
|
+
'pisell2.salesManagement.order.column.shippingMethod': 'Shipping Method',
|
|
92
|
+
'pisell2.salesManagement.order.column.orderStatus': 'Order Status',
|
|
93
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': 'Fulfillment Status',
|
|
94
|
+
'pisell2.salesManagement.order.column.updated': 'Updated',
|
|
95
|
+
'pisell2.salesManagement.order.column.orderId': 'Order ID',
|
|
96
|
+
'pisell2.salesManagement.order.common.orderNote': 'Order Note',
|
|
97
|
+
'pisell2.salesManagement.order.common.internalNote': 'Internal Note',
|
|
98
|
+
'pisell2.salesManagement.order.common.createdBy': 'Created by',
|
|
99
|
+
'pisell2.salesManagement.order.common.guest': 'Guest',
|
|
100
|
+
'pisell2.salesManagement.order.common.walkIn': 'Walk-in'
|
|
101
|
+
},
|
|
102
|
+
'zh-CN': {
|
|
103
|
+
'pisell2.salesManagement.business.online_store': '在线店铺',
|
|
104
|
+
'pisell2.salesManagement.business.ticket_order': '票务订单',
|
|
105
|
+
'pisell2.salesManagement.business.appointment_booking': '预约',
|
|
106
|
+
'pisell2.salesManagement.sort.balanceDue': '待收金额',
|
|
107
|
+
'pisell2.salesManagement.sort.oldestFirst': '最早优先',
|
|
108
|
+
'pisell2.salesManagement.sort.newestFirst': '最新优先',
|
|
109
|
+
'pisell2.salesManagement.sort.latestFirst': '最晚优先',
|
|
110
|
+
'pisell2.salesManagement.booking.column.bookingBrief': '预约摘要',
|
|
111
|
+
'pisell2.salesManagement.booking.column.serviceTime': '服务时间',
|
|
112
|
+
'pisell2.salesManagement.booking.column.customer': '客户',
|
|
113
|
+
'pisell2.salesManagement.booking.column.contact': '联系人',
|
|
114
|
+
'pisell2.salesManagement.booking.column.holder': '持有人',
|
|
115
|
+
'pisell2.salesManagement.booking.column.services': '服务项目',
|
|
116
|
+
'pisell2.salesManagement.booking.column.pax': '参与人数',
|
|
117
|
+
'pisell2.salesManagement.booking.column.resource': '资源',
|
|
118
|
+
'pisell2.salesManagement.booking.column.forms': '表单',
|
|
119
|
+
'pisell2.salesManagement.booking.column.orderInfo': '订单信息',
|
|
120
|
+
'pisell2.salesManagement.booking.column.bookingId': '预约编号',
|
|
121
|
+
'pisell2.salesManagement.booking.column.orderOrigin': '订单来源',
|
|
122
|
+
'pisell2.salesManagement.booking.column.updated': '更新',
|
|
123
|
+
'pisell2.salesManagement.booking.status.new': '新建',
|
|
124
|
+
'pisell2.salesManagement.booking.status.confirmed': '已确认',
|
|
125
|
+
'pisell2.salesManagement.booking.status.arrived': '已到达',
|
|
126
|
+
'pisell2.salesManagement.booking.status.started': '已开始',
|
|
127
|
+
'pisell2.salesManagement.booking.status.cancelled': '已取消',
|
|
128
|
+
'pisell2.salesManagement.booking.status.no_show': '未到场',
|
|
129
|
+
'pisell2.salesManagement.booking.status.completed': '已完成',
|
|
130
|
+
'pisell2.salesManagement.booking.platform.online_store': '在线店铺',
|
|
131
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': '批发业务',
|
|
132
|
+
'pisell2.salesManagement.booking.platform.table-order': '扫码点餐',
|
|
133
|
+
'pisell2.salesManagement.booking.platform.mobile_order': '移动点餐',
|
|
134
|
+
'pisell2.salesManagement.booking.platform.kiosk': 'Kiosk',
|
|
135
|
+
'pisell2.salesManagement.booking.platform.pos': '终端',
|
|
136
|
+
'pisell2.salesManagement.booking.common.orderNote': '订单备注',
|
|
137
|
+
'pisell2.salesManagement.booking.common.internalNote': '内部备注',
|
|
138
|
+
'pisell2.salesManagement.booking.view-more': '查看更多',
|
|
139
|
+
'pisell2.salesManagement.booking.common.more': '更多',
|
|
140
|
+
'pisell2.salesManagement.booking.common.createdBy': '创建人',
|
|
141
|
+
'pisell2.salesManagement.booking.notes.title': '备注',
|
|
142
|
+
'pisell2.salesManagement.booking.notes.orderNotes': '订单备注',
|
|
143
|
+
'pisell2.salesManagement.booking.notes.internalNotes': '内部备注',
|
|
144
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': '添加订单备注',
|
|
145
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': '添加内部备注',
|
|
146
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': '仅团队成员可见',
|
|
147
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': '预约状态',
|
|
148
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': '请选择预约状态',
|
|
149
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': '预约日期&时间',
|
|
150
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': '请选择预约日期',
|
|
151
|
+
'pisell2.salesManagement.booking.filter.holder.label': '持有人',
|
|
152
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': '请输入持有人',
|
|
153
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': '参与人数区间',
|
|
154
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': '请输入参与人数区间',
|
|
155
|
+
'pisell2.salesManagement.booking.filter.resource.label': '资源',
|
|
156
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': '请选择资源',
|
|
157
|
+
'pisell2.salesManagement.booking.filter.resource.none': '无资源',
|
|
158
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': '销售渠道',
|
|
159
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': '请选择销售渠道',
|
|
160
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': '订单金额区间',
|
|
161
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': '请输入订单金额区间',
|
|
162
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': '订单状态',
|
|
163
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': '请选择订单状态',
|
|
164
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': '支付状态',
|
|
165
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': '请选择支付状态',
|
|
166
|
+
'pisell2.salesManagement.booking.filter.customer.label': '客户',
|
|
167
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': '请选择客户',
|
|
168
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': '商品包含',
|
|
169
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': '请选择商品',
|
|
170
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': '支付方式',
|
|
171
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': '请选择支付方式',
|
|
172
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': '下单时间',
|
|
173
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': '请选择下单时间',
|
|
174
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': '更新时间',
|
|
175
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': '请选择更新时间',
|
|
176
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': '现场执行时间',
|
|
177
|
+
'pisell2.salesManagement.booking.sort.startAt': '开始时间',
|
|
178
|
+
'pisell2.salesManagement.booking.sort.endAt': '结束时间',
|
|
179
|
+
'pisell2.salesManagement.booking.sort.createdAt': '创建时间',
|
|
180
|
+
'pisell2.salesManagement.booking.sort.updatedAt': '更新时间',
|
|
181
|
+
'pisell2.salesManagement.booking.sort.totalAmount': '订单金额',
|
|
182
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': '退款金额',
|
|
183
|
+
'pisell2.salesManagement.booking.sort.customerName': '客户名称',
|
|
184
|
+
'pisell2.salesManagement.order.column.saleBrief': '销售摘要',
|
|
185
|
+
'pisell2.salesManagement.order.column.customer': '客户',
|
|
186
|
+
'pisell2.salesManagement.order.column.contact': '联系人',
|
|
187
|
+
'pisell2.salesManagement.order.column.paymentInfo': '支付信息',
|
|
188
|
+
'pisell2.salesManagement.order.column.items': '商品数量',
|
|
189
|
+
'pisell2.salesManagement.order.column.paymentStatus': '支付状态',
|
|
190
|
+
'pisell2.salesManagement.order.column.orderOrigin': '订单来源',
|
|
191
|
+
'pisell2.salesManagement.order.column.shippingMethod': '配送方式',
|
|
192
|
+
'pisell2.salesManagement.order.column.orderStatus': '订单状态',
|
|
193
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': '处理状态',
|
|
194
|
+
'pisell2.salesManagement.order.column.updated': '更新',
|
|
195
|
+
'pisell2.salesManagement.order.column.orderId': '订单ID',
|
|
196
|
+
'pisell2.salesManagement.order.common.orderNote': '订单备注',
|
|
197
|
+
'pisell2.salesManagement.order.common.internalNote': '内部备注',
|
|
198
|
+
'pisell2.salesManagement.order.common.createdBy': '创建人',
|
|
199
|
+
'pisell2.salesManagement.order.common.guest': '匿名客户',
|
|
200
|
+
'pisell2.salesManagement.order.common.walkIn': 'Walk-in'
|
|
201
|
+
},
|
|
202
|
+
'zh-HK': {
|
|
203
|
+
'pisell2.salesManagement.business.online_store': '在線店鋪',
|
|
204
|
+
'pisell2.salesManagement.business.ticket_order': '票務訂單',
|
|
205
|
+
'pisell2.salesManagement.business.appointment_booking': '預約',
|
|
206
|
+
'pisell2.salesManagement.sort.balanceDue': '待收金額',
|
|
207
|
+
'pisell2.salesManagement.sort.oldestFirst': '最早優先',
|
|
208
|
+
'pisell2.salesManagement.sort.newestFirst': '最新優先',
|
|
209
|
+
'pisell2.salesManagement.sort.latestFirst': '最晚優先',
|
|
210
|
+
'pisell2.salesManagement.booking.column.bookingBrief': '預約摘要',
|
|
211
|
+
'pisell2.salesManagement.booking.column.serviceTime': '服務時間',
|
|
212
|
+
'pisell2.salesManagement.booking.column.customer': '客戶',
|
|
213
|
+
'pisell2.salesManagement.booking.column.contact': '聯絡人',
|
|
214
|
+
'pisell2.salesManagement.booking.column.holder': '持有人',
|
|
215
|
+
'pisell2.salesManagement.booking.column.services': '服務項目',
|
|
216
|
+
'pisell2.salesManagement.booking.column.pax': '參與人數',
|
|
217
|
+
'pisell2.salesManagement.booking.column.resource': '資源',
|
|
218
|
+
'pisell2.salesManagement.booking.column.forms': '表單',
|
|
219
|
+
'pisell2.salesManagement.booking.column.orderInfo': '訂單信息',
|
|
220
|
+
'pisell2.salesManagement.booking.column.bookingId': '預約編號',
|
|
221
|
+
'pisell2.salesManagement.booking.column.orderOrigin': '訂單來源',
|
|
222
|
+
'pisell2.salesManagement.booking.column.updated': '更新',
|
|
223
|
+
'pisell2.salesManagement.booking.status.new': '新建',
|
|
224
|
+
'pisell2.salesManagement.booking.status.confirmed': '已確認',
|
|
225
|
+
'pisell2.salesManagement.booking.status.arrived': '已到達',
|
|
226
|
+
'pisell2.salesManagement.booking.status.started': '已開始',
|
|
227
|
+
'pisell2.salesManagement.booking.status.cancelled': '已取消',
|
|
228
|
+
'pisell2.salesManagement.booking.status.no_show': '未到場',
|
|
229
|
+
'pisell2.salesManagement.booking.status.completed': '已完成',
|
|
230
|
+
'pisell2.salesManagement.booking.platform.online_store': '在線店鋪',
|
|
231
|
+
'pisell2.salesManagement.booking.platform.wholesalebusiness': '批發業務',
|
|
232
|
+
'pisell2.salesManagement.booking.platform.table-order': '掃碼點餐',
|
|
233
|
+
'pisell2.salesManagement.booking.platform.mobile_order': '移動點餐',
|
|
234
|
+
'pisell2.salesManagement.booking.platform.kiosk': 'Kiosk',
|
|
235
|
+
'pisell2.salesManagement.booking.platform.pos': '終端',
|
|
236
|
+
'pisell2.salesManagement.booking.common.orderNote': '訂單備註',
|
|
237
|
+
'pisell2.salesManagement.booking.common.internalNote': '內部備註',
|
|
238
|
+
'pisell2.salesManagement.booking.view-more': '查看更多',
|
|
239
|
+
'pisell2.salesManagement.booking.common.more': '更多',
|
|
240
|
+
'pisell2.salesManagement.booking.common.createdBy': '建立人',
|
|
241
|
+
'pisell2.salesManagement.booking.notes.title': '備註',
|
|
242
|
+
'pisell2.salesManagement.booking.notes.orderNotes': '訂單備註',
|
|
243
|
+
'pisell2.salesManagement.booking.notes.internalNotes': '內部備註',
|
|
244
|
+
'pisell2.salesManagement.booking.notes.addOrderNotes': '添加訂單備註',
|
|
245
|
+
'pisell2.salesManagement.booking.notes.addInternalNotes': '添加內部備註',
|
|
246
|
+
'pisell2.salesManagement.booking.notes.internalVisibleOnlyTip': '僅團隊成員可見',
|
|
247
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.label': '預約狀態',
|
|
248
|
+
'pisell2.salesManagement.booking.filter.bookingStatus.placeholder': '請選擇預約狀態',
|
|
249
|
+
'pisell2.salesManagement.booking.filter.bookingDate.label': '預約日期&時間',
|
|
250
|
+
'pisell2.salesManagement.booking.filter.bookingDate.placeholder': '請選擇預約日期',
|
|
251
|
+
'pisell2.salesManagement.booking.filter.holder.label': '持有人',
|
|
252
|
+
'pisell2.salesManagement.booking.filter.holder.placeholder': '請輸入持有人',
|
|
253
|
+
'pisell2.salesManagement.booking.filter.paxRange.label': '參與人數區間',
|
|
254
|
+
'pisell2.salesManagement.booking.filter.paxRange.placeholder': '請輸入參與人數區間',
|
|
255
|
+
'pisell2.salesManagement.booking.filter.resource.label': '資源',
|
|
256
|
+
'pisell2.salesManagement.booking.filter.resource.placeholder': '請選擇資源',
|
|
257
|
+
'pisell2.salesManagement.booking.filter.resource.none': '無資源',
|
|
258
|
+
'pisell2.salesManagement.booking.filter.salesChannel.label': '銷售渠道',
|
|
259
|
+
'pisell2.salesManagement.booking.filter.salesChannel.placeholder': '請選擇銷售渠道',
|
|
260
|
+
'pisell2.salesManagement.booking.filter.orderAmount.label': '訂單金額區間',
|
|
261
|
+
'pisell2.salesManagement.booking.filter.orderAmount.placeholder': '請輸入訂單金額區間',
|
|
262
|
+
'pisell2.salesManagement.booking.filter.orderStatus.label': '訂單狀態',
|
|
263
|
+
'pisell2.salesManagement.booking.filter.orderStatus.placeholder': '請選擇訂單狀態',
|
|
264
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.label': '支付狀態',
|
|
265
|
+
'pisell2.salesManagement.booking.filter.paymentStatus.placeholder': '請選擇支付狀態',
|
|
266
|
+
'pisell2.salesManagement.booking.filter.customer.label': '客戶',
|
|
267
|
+
'pisell2.salesManagement.booking.filter.customer.placeholder': '請選擇客戶',
|
|
268
|
+
'pisell2.salesManagement.booking.filter.includeItems.label': '商品包含',
|
|
269
|
+
'pisell2.salesManagement.booking.filter.includeItems.placeholder': '請選擇商品',
|
|
270
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.label': '支付方式',
|
|
271
|
+
'pisell2.salesManagement.booking.filter.paymentMethod.placeholder': '請選擇支付方式',
|
|
272
|
+
'pisell2.salesManagement.booking.filter.orderDate.label': '下單時間',
|
|
273
|
+
'pisell2.salesManagement.booking.filter.orderDate.placeholder': '請選擇下單時間',
|
|
274
|
+
'pisell2.salesManagement.booking.filter.updatedDate.label': '更新時間',
|
|
275
|
+
'pisell2.salesManagement.booking.filter.updatedDate.placeholder': '請選擇更新時間',
|
|
276
|
+
'pisell2.salesManagement.booking.sort.afterExecutionTime': '現場執行時間',
|
|
277
|
+
'pisell2.salesManagement.booking.sort.startAt': '開始時間',
|
|
278
|
+
'pisell2.salesManagement.booking.sort.endAt': '結束時間',
|
|
279
|
+
'pisell2.salesManagement.booking.sort.createdAt': '創建時間',
|
|
280
|
+
'pisell2.salesManagement.booking.sort.updatedAt': '更新時間',
|
|
281
|
+
'pisell2.salesManagement.booking.sort.totalAmount': '訂單金額',
|
|
282
|
+
'pisell2.salesManagement.booking.sort.refundedAmount': '退款金額',
|
|
283
|
+
'pisell2.salesManagement.booking.sort.customerName': '客戶名稱',
|
|
284
|
+
'pisell2.salesManagement.order.column.saleBrief': '銷售摘要',
|
|
285
|
+
'pisell2.salesManagement.order.column.customer': '客戶',
|
|
286
|
+
'pisell2.salesManagement.order.column.contact': '聯絡人',
|
|
287
|
+
'pisell2.salesManagement.order.column.paymentInfo': '支付信息',
|
|
288
|
+
'pisell2.salesManagement.order.column.items': '商品數量',
|
|
289
|
+
'pisell2.salesManagement.order.column.paymentStatus': '支付狀態',
|
|
290
|
+
'pisell2.salesManagement.order.column.orderOrigin': '訂單來源',
|
|
291
|
+
'pisell2.salesManagement.order.column.shippingMethod': '配送方式',
|
|
292
|
+
'pisell2.salesManagement.order.column.orderStatus': '訂單狀態',
|
|
293
|
+
'pisell2.salesManagement.order.column.fulfillmentStatus': '處理狀態',
|
|
294
|
+
'pisell2.salesManagement.order.column.updated': '更新',
|
|
295
|
+
'pisell2.salesManagement.order.column.orderId': '訂單ID',
|
|
296
|
+
'pisell2.salesManagement.order.common.orderNote': '訂單備註',
|
|
297
|
+
'pisell2.salesManagement.order.common.internalNote': '內部備註',
|
|
298
|
+
'pisell2.salesManagement.order.common.createdBy': '建立人',
|
|
299
|
+
'pisell2.salesManagement.order.common.guest': '匿名客戶',
|
|
300
|
+
'pisell2.salesManagement.order.common.walkIn': 'Walk-in'
|
|
301
|
+
}
|
|
302
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const getRelationTables: (params: any) => Promise<any>;
|
|
2
|
+
export declare const getResourceTypes: (params: any) => Promise<any>;
|
|
3
|
+
export declare const editOrderNote: (orderId: string | number, params: any) => Promise<any>;
|
|
4
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
5
|
+
export declare const removeNoteByOrder: (params: {
|
|
6
|
+
id: string | number;
|
|
7
|
+
}) => Promise<any>;
|
|
8
|
+
export declare const editNoteByOrder: (params: {
|
|
9
|
+
id: string | number;
|
|
10
|
+
content: string;
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
export declare const createNoteApis: (orderId?: string | number) => {
|
|
13
|
+
editOrderNote: (params: any) => Promise<any> | null;
|
|
14
|
+
addNotesByOrder: (params: any) => Promise<any>;
|
|
15
|
+
removeNoteByOrder: (params: {
|
|
16
|
+
id: string | number;
|
|
17
|
+
}) => Promise<any>;
|
|
18
|
+
editNoteByOrder: (params: {
|
|
19
|
+
id: string | number;
|
|
20
|
+
content: string;
|
|
21
|
+
}) => Promise<any>;
|
|
22
|
+
};
|
|
23
|
+
export declare const getRelationRecords: (params: {
|
|
24
|
+
relation_type: string;
|
|
25
|
+
relation_id: number;
|
|
26
|
+
}) => Promise<any>;
|
|
@@ -0,0 +1,222 @@
|
|
|
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 _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 e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import { request } from "../../utils";
|
|
6
|
+
export var getRelationTables = /*#__PURE__*/function () {
|
|
7
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
8
|
+
var _yield$request$getReq, data;
|
|
9
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10
|
+
while (1) switch (_context.prev = _context.next) {
|
|
11
|
+
case 0:
|
|
12
|
+
_context.next = 2;
|
|
13
|
+
return request.getRequest().get('/shop/form/relation/table', params, {
|
|
14
|
+
abort: true,
|
|
15
|
+
fullResult: true,
|
|
16
|
+
isShopApi: true
|
|
17
|
+
});
|
|
18
|
+
case 2:
|
|
19
|
+
_yield$request$getReq = _context.sent;
|
|
20
|
+
data = _yield$request$getReq.data;
|
|
21
|
+
return _context.abrupt("return", data);
|
|
22
|
+
case 5:
|
|
23
|
+
case "end":
|
|
24
|
+
return _context.stop();
|
|
25
|
+
}
|
|
26
|
+
}, _callee);
|
|
27
|
+
}));
|
|
28
|
+
return function getRelationTables(_x) {
|
|
29
|
+
return _ref.apply(this, arguments);
|
|
30
|
+
};
|
|
31
|
+
}();
|
|
32
|
+
|
|
33
|
+
// 资源列表树
|
|
34
|
+
export var getResourceTypes = /*#__PURE__*/function () {
|
|
35
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) {
|
|
36
|
+
var res;
|
|
37
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
38
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
39
|
+
case 0:
|
|
40
|
+
_context2.next = 2;
|
|
41
|
+
return request.getRequest().get("/shop/schedule/resource-types", params, {
|
|
42
|
+
abort: true,
|
|
43
|
+
fullResult: true,
|
|
44
|
+
isShopApi: true
|
|
45
|
+
});
|
|
46
|
+
case 2:
|
|
47
|
+
res = _context2.sent;
|
|
48
|
+
return _context2.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
49
|
+
case 4:
|
|
50
|
+
case "end":
|
|
51
|
+
return _context2.stop();
|
|
52
|
+
}
|
|
53
|
+
}, _callee2);
|
|
54
|
+
}));
|
|
55
|
+
return function getResourceTypes(_x2) {
|
|
56
|
+
return _ref2.apply(this, arguments);
|
|
57
|
+
};
|
|
58
|
+
}();
|
|
59
|
+
var _editOrderNote = /*#__PURE__*/function () {
|
|
60
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(orderId, params) {
|
|
61
|
+
var _yield$request$getReq2, data;
|
|
62
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
63
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
64
|
+
case 0:
|
|
65
|
+
_context3.next = 2;
|
|
66
|
+
return request.getRequest().put("/shop/order/order/".concat(orderId, "/note"), params, {
|
|
67
|
+
abort: true,
|
|
68
|
+
fullResult: true,
|
|
69
|
+
isShopApi: true
|
|
70
|
+
});
|
|
71
|
+
case 2:
|
|
72
|
+
_yield$request$getReq2 = _context3.sent;
|
|
73
|
+
data = _yield$request$getReq2.data;
|
|
74
|
+
return _context3.abrupt("return", data);
|
|
75
|
+
case 5:
|
|
76
|
+
case "end":
|
|
77
|
+
return _context3.stop();
|
|
78
|
+
}
|
|
79
|
+
}, _callee3);
|
|
80
|
+
}));
|
|
81
|
+
return function editOrderNote(_x3, _x4) {
|
|
82
|
+
return _ref3.apply(this, arguments);
|
|
83
|
+
};
|
|
84
|
+
}();
|
|
85
|
+
export { _editOrderNote as editOrderNote };
|
|
86
|
+
export var addNotesByOrder = /*#__PURE__*/function () {
|
|
87
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(params) {
|
|
88
|
+
var _yield$request$getReq3, data;
|
|
89
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
90
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
91
|
+
case 0:
|
|
92
|
+
_context4.next = 2;
|
|
93
|
+
return request.getRequest().post('/shop/schedule/event-note', params, {
|
|
94
|
+
abort: true,
|
|
95
|
+
fullResult: true,
|
|
96
|
+
isShopApi: true
|
|
97
|
+
});
|
|
98
|
+
case 2:
|
|
99
|
+
_yield$request$getReq3 = _context4.sent;
|
|
100
|
+
data = _yield$request$getReq3.data;
|
|
101
|
+
return _context4.abrupt("return", data);
|
|
102
|
+
case 5:
|
|
103
|
+
case "end":
|
|
104
|
+
return _context4.stop();
|
|
105
|
+
}
|
|
106
|
+
}, _callee4);
|
|
107
|
+
}));
|
|
108
|
+
return function addNotesByOrder(_x5) {
|
|
109
|
+
return _ref4.apply(this, arguments);
|
|
110
|
+
};
|
|
111
|
+
}();
|
|
112
|
+
export var removeNoteByOrder = /*#__PURE__*/function () {
|
|
113
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
|
|
114
|
+
var noteId, _yield$request$getReq4, data;
|
|
115
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
116
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
117
|
+
case 0:
|
|
118
|
+
noteId = params === null || params === void 0 ? void 0 : params.id;
|
|
119
|
+
if (!(noteId === undefined || noteId === null)) {
|
|
120
|
+
_context5.next = 3;
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
return _context5.abrupt("return", null);
|
|
124
|
+
case 3:
|
|
125
|
+
_context5.next = 5;
|
|
126
|
+
return request.getRequest().remove("/shop/schedule/event-note/".concat(noteId), params, {
|
|
127
|
+
abort: true,
|
|
128
|
+
fullResult: true,
|
|
129
|
+
isShopApi: true
|
|
130
|
+
});
|
|
131
|
+
case 5:
|
|
132
|
+
_yield$request$getReq4 = _context5.sent;
|
|
133
|
+
data = _yield$request$getReq4.data;
|
|
134
|
+
return _context5.abrupt("return", data);
|
|
135
|
+
case 8:
|
|
136
|
+
case "end":
|
|
137
|
+
return _context5.stop();
|
|
138
|
+
}
|
|
139
|
+
}, _callee5);
|
|
140
|
+
}));
|
|
141
|
+
return function removeNoteByOrder(_x6) {
|
|
142
|
+
return _ref5.apply(this, arguments);
|
|
143
|
+
};
|
|
144
|
+
}();
|
|
145
|
+
export var editNoteByOrder = /*#__PURE__*/function () {
|
|
146
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(params) {
|
|
147
|
+
var noteId, _yield$request$getReq5, data;
|
|
148
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
149
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
150
|
+
case 0:
|
|
151
|
+
noteId = params === null || params === void 0 ? void 0 : params.id;
|
|
152
|
+
if (!(noteId === undefined || noteId === null)) {
|
|
153
|
+
_context6.next = 3;
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
return _context6.abrupt("return", null);
|
|
157
|
+
case 3:
|
|
158
|
+
_context6.next = 5;
|
|
159
|
+
return request.getRequest().put("/shop/schedule/event-note/".concat(noteId), params, {
|
|
160
|
+
abort: true,
|
|
161
|
+
fullResult: true,
|
|
162
|
+
isShopApi: true
|
|
163
|
+
});
|
|
164
|
+
case 5:
|
|
165
|
+
_yield$request$getReq5 = _context6.sent;
|
|
166
|
+
data = _yield$request$getReq5.data;
|
|
167
|
+
return _context6.abrupt("return", data);
|
|
168
|
+
case 8:
|
|
169
|
+
case "end":
|
|
170
|
+
return _context6.stop();
|
|
171
|
+
}
|
|
172
|
+
}, _callee6);
|
|
173
|
+
}));
|
|
174
|
+
return function editNoteByOrder(_x7) {
|
|
175
|
+
return _ref6.apply(this, arguments);
|
|
176
|
+
};
|
|
177
|
+
}();
|
|
178
|
+
export var createNoteApis = function createNoteApis(orderId) {
|
|
179
|
+
return {
|
|
180
|
+
editOrderNote: function editOrderNote(params) {
|
|
181
|
+
if (orderId === undefined || orderId === null) {
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
return _editOrderNote(orderId, params);
|
|
185
|
+
},
|
|
186
|
+
addNotesByOrder: addNotesByOrder,
|
|
187
|
+
removeNoteByOrder: removeNoteByOrder,
|
|
188
|
+
editNoteByOrder: editNoteByOrder
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
// export const getFormDetail = async (id: number) => {
|
|
193
|
+
// let { data } = await request.getRequest().get(`/shop/form/${id}`, {});
|
|
194
|
+
// return data;
|
|
195
|
+
// };
|
|
196
|
+
|
|
197
|
+
export var getRelationRecords = /*#__PURE__*/function () {
|
|
198
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) {
|
|
199
|
+
var _yield$request$getReq6, data;
|
|
200
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
201
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
202
|
+
case 0:
|
|
203
|
+
_context7.next = 2;
|
|
204
|
+
return request.getRequest().get('/shop/form/relation/record', params, {
|
|
205
|
+
abort: true,
|
|
206
|
+
fullResult: true,
|
|
207
|
+
isShopApi: true
|
|
208
|
+
});
|
|
209
|
+
case 2:
|
|
210
|
+
_yield$request$getReq6 = _context7.sent;
|
|
211
|
+
data = _yield$request$getReq6.data;
|
|
212
|
+
return _context7.abrupt("return", data);
|
|
213
|
+
case 5:
|
|
214
|
+
case "end":
|
|
215
|
+
return _context7.stop();
|
|
216
|
+
}
|
|
217
|
+
}, _callee7);
|
|
218
|
+
}));
|
|
219
|
+
return function getRelationRecords(_x8) {
|
|
220
|
+
return _ref7.apply(this, arguments);
|
|
221
|
+
};
|
|
222
|
+
}();
|
|
@@ -3,6 +3,6 @@ export interface ImageUploadProps {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (val: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const getBaseTime: (size: number) =>
|
|
6
|
+
export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
|
|
7
7
|
declare const ImageUpload: React.FC<ImageUploadProps>;
|
|
8
8
|
export default ImageUpload;
|
|
@@ -5,7 +5,6 @@ interface PassDetailProps {
|
|
|
5
5
|
platform?: 'pc' | 'h5';
|
|
6
6
|
buttonGroupList?: any[][];
|
|
7
7
|
showTimeLine?: boolean;
|
|
8
|
-
onDetailRefresh?: (passId: number | string, patch: any) => void;
|
|
9
8
|
onListRefresh?: () => void;
|
|
10
9
|
}
|
|
11
10
|
declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
|