@pisell/private-materials 6.3.83 → 6.3.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/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/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/es/components/ecocup/cupList/const.d.ts +1 -1
- package/es/components/ecocup/cupList/const.js +3 -3
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- 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/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/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/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/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/shoppingCart/index.d.ts +0 -1
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/plus/clientName/index.d.ts +0 -1
- package/es/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/es/plus/orderList/components/BatchActionBar.js +861 -0
- package/es/plus/orderList/components/FilterList.d.ts +8 -0
- package/es/plus/orderList/components/FilterList.js +78 -0
- package/es/plus/orderList/components/HandleActions.d.ts +4 -0
- package/es/plus/orderList/components/HandleActions.js +24 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +4 -0
- package/es/plus/orderList/components/QuickFilter.js +14 -0
- package/es/plus/orderList/components/Reset.d.ts +6 -0
- package/es/plus/orderList/components/Reset.js +23 -0
- package/es/plus/orderList/components/Toolbar.d.ts +5 -0
- package/es/plus/orderList/components/Toolbar.js +57 -0
- package/es/plus/orderList/config.d.ts +154 -0
- package/es/plus/orderList/config.js +786 -0
- package/es/plus/orderList/index.d.ts +9 -0
- package/es/plus/orderList/index.js +128 -0
- package/es/plus/orderList/index.less +125 -0
- package/es/plus/orderList/locales.d.ts +372 -0
- package/es/plus/orderList/locales.js +459 -0
- package/es/plus/orderList/serve.d.ts +42 -0
- package/es/plus/orderList/serve.js +351 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/es/plus/saasRegister/components/Header.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/pisellPaymentList/example.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/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/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/const.d.ts +1 -1
- package/lib/components/ecocup/cupList/const.js +3 -3
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- 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/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/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/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/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/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/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/shoppingCart/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/plus/clientName/index.d.ts +0 -1
- package/lib/plus/orderList/components/BatchActionBar.d.ts +9 -0
- package/lib/plus/orderList/components/BatchActionBar.js +584 -0
- package/lib/plus/orderList/components/FilterList.d.ts +8 -0
- package/lib/plus/orderList/components/FilterList.js +121 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +4 -0
- package/lib/plus/orderList/components/HandleActions.js +52 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +4 -0
- package/lib/plus/orderList/components/QuickFilter.js +43 -0
- package/lib/plus/orderList/components/Reset.d.ts +6 -0
- package/lib/plus/orderList/components/Reset.js +58 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +5 -0
- package/lib/plus/orderList/components/Toolbar.js +68 -0
- package/lib/plus/orderList/config.d.ts +154 -0
- package/lib/plus/orderList/config.js +764 -0
- package/lib/plus/orderList/index.d.ts +9 -0
- package/lib/plus/orderList/index.js +132 -0
- package/lib/plus/orderList/index.less +125 -0
- package/lib/plus/orderList/locales.d.ts +372 -0
- package/lib/plus/orderList/locales.js +471 -0
- package/lib/plus/orderList/serve.d.ts +42 -0
- package/lib/plus/orderList/serve.js +177 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
- package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
- package/lib/plus/saasRegister/components/Header.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/pisellPaymentList/example.d.ts +0 -1
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/lowcode/order-list/meta.ts +87 -0
- package/package.json +4 -4
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
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
|
+
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
|
+
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(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
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { Tooltip } from 'antd';
|
|
9
|
+
import { PisellTags } from '@pisell/materials';
|
|
10
|
+
import { getCustomerSelectOptions, getChannelSelectOptions, getPaymentSelectOptions, getLogisticsSelectOptions, getLocationSelectOptions, getTagSelectOptions } from "./serve";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 获取配送方式映射
|
|
14
|
+
* @param locales - 多语言对象
|
|
15
|
+
*/
|
|
16
|
+
var getDeliveryTypeMap = function getDeliveryTypeMap(locales) {
|
|
17
|
+
return {
|
|
18
|
+
nil: locales.getText('pisell2.orderList.deliveryType.nil'),
|
|
19
|
+
shipping: locales.getText('pisell2.orderList.deliveryType.shipping'),
|
|
20
|
+
local_delivery: locales.getText('pisell2.orderList.deliveryType.local_delivery'),
|
|
21
|
+
pickup: locales.getText('pisell2.orderList.deliveryType.pickup'),
|
|
22
|
+
shop_service: locales.getText('pisell2.orderList.deliveryType.shop_service')
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 获取到店服务类型映射
|
|
28
|
+
* @param locales - 多语言对象
|
|
29
|
+
*/
|
|
30
|
+
var getShopServiceTypeMap = function getShopServiceTypeMap(locales) {
|
|
31
|
+
return {
|
|
32
|
+
'dine-in': locales.getText('pisell2.orderList.shopServiceType.dine-in'),
|
|
33
|
+
takeaway: locales.getText('pisell2.orderList.shopServiceType.takeaway')
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// 下单渠道
|
|
38
|
+
var PLATFORM_MAP = {
|
|
39
|
+
online_store: '在线店铺',
|
|
40
|
+
wholesalebusiness: '批发业务',
|
|
41
|
+
'table-order': '扫码点餐',
|
|
42
|
+
mobile_order: '移动点餐',
|
|
43
|
+
kiosk: 'Kiosk',
|
|
44
|
+
pos: '终端'
|
|
45
|
+
};
|
|
46
|
+
// 获取下单渠道映射
|
|
47
|
+
var getPlatformMap = function getPlatformMap(locales) {
|
|
48
|
+
return {
|
|
49
|
+
online_store: locales.getText('pisell2.orderList.platform.online_store'),
|
|
50
|
+
wholesalebusiness: locales.getText('pisell2.orderList.platform.wholesalebusiness'),
|
|
51
|
+
'table-order': locales.getText('pisell2.orderList.platform.table-order'),
|
|
52
|
+
mobile_order: locales.getText('pisell2.orderList.platform.mobile_order'),
|
|
53
|
+
kiosk: locales.getText('pisell2.orderList.platform.kiosk'),
|
|
54
|
+
pos: locales.getText('pisell2.orderList.platform.pos')
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* 获取订单状态映射
|
|
59
|
+
* @param locales - 多语言对象
|
|
60
|
+
*/
|
|
61
|
+
var getOrderStatusMap = function getOrderStatusMap(locales) {
|
|
62
|
+
return {
|
|
63
|
+
open: locales.getText('pisell2.orderList.orderStatus.open'),
|
|
64
|
+
completed: locales.getText('pisell2.orderList.orderStatus.completed'),
|
|
65
|
+
cancelled: locales.getText('pisell2.orderList.orderStatus.cancelled')
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
// 订单状态颜色映射(来自 Figma 设计稿 - 带边框样式)
|
|
70
|
+
var ORDER_STATUS_COLOR_MAP = {
|
|
71
|
+
open: {
|
|
72
|
+
borderColor: '#1570EF',
|
|
73
|
+
// Blue/600
|
|
74
|
+
textColor: '#175CD3' // Blue/700
|
|
75
|
+
},
|
|
76
|
+
completed: {
|
|
77
|
+
borderColor: '#079455',
|
|
78
|
+
// Success/600
|
|
79
|
+
textColor: '#067647' // Success/700
|
|
80
|
+
},
|
|
81
|
+
cancelled: {
|
|
82
|
+
borderColor: '#D92D20',
|
|
83
|
+
// Error/600
|
|
84
|
+
textColor: '#B42318' // Error/700
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 获取处理状态映射
|
|
90
|
+
* @param locales - 多语言对象
|
|
91
|
+
*/
|
|
92
|
+
var getShippingStatusMap = function getShippingStatusMap(locales) {
|
|
93
|
+
return {
|
|
94
|
+
fulfilled: locales.getText('pisell2.orderList.shippingStatus.falseulfilled'),
|
|
95
|
+
unfulfilled: locales.getText('pisell2.orderList.shippingStatus.unfulfilled'),
|
|
96
|
+
fulfilling: locales.getText('pisell2.orderList.shippingStatus.fulfilling'),
|
|
97
|
+
partial_fulfilled: locales.getText('pisell2.orderList.shippingStatus.partial_fulfilled')
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
// 处理状态颜色映射(来自 Figma 设计稿 - 带边框样式,排除"未处理")
|
|
102
|
+
var SHIPPING_STATUS_COLOR_MAP = {
|
|
103
|
+
fulfilling: {
|
|
104
|
+
borderColor: '#DC6803',
|
|
105
|
+
// Warning/600 - 处理中
|
|
106
|
+
textColor: '#B54708' // Warning/700
|
|
107
|
+
},
|
|
108
|
+
unfulfilled: {
|
|
109
|
+
borderColor: '#DC6803',
|
|
110
|
+
// Success/600 --未处理
|
|
111
|
+
textColor: '#B54708' // Success/700
|
|
112
|
+
},
|
|
113
|
+
partial_fulfilled: {
|
|
114
|
+
borderColor: '#088AB2',
|
|
115
|
+
// Cyan/600 - 部分处理
|
|
116
|
+
textColor: '#0E7090' // Cyan/700
|
|
117
|
+
},
|
|
118
|
+
fulfilled: {
|
|
119
|
+
borderColor: '#475467',
|
|
120
|
+
// Gray/600 - 已处理
|
|
121
|
+
textColor: '#344054' // Gray/700
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 获取支付状态映射
|
|
127
|
+
* @param locales - 多语言对象
|
|
128
|
+
*/
|
|
129
|
+
var getPaymentStatusMap = function getPaymentStatusMap(locales) {
|
|
130
|
+
return {
|
|
131
|
+
authorized: locales.getText('pisell2.orderList.paymentStatus.authorized'),
|
|
132
|
+
paid: locales.getText('pisell2.orderList.paymentStatus.paid'),
|
|
133
|
+
partially_paid: locales.getText('pisell2.orderList.paymentStatus.partially_paid'),
|
|
134
|
+
partially_refunded: locales.getText('pisell2.orderList.paymentStatus.partially_refunded'),
|
|
135
|
+
payment_pending: locales.getText('pisell2.orderList.paymentStatus.payment_pending'),
|
|
136
|
+
refunded: locales.getText('pisell2.orderList.paymentStatus.refunded'),
|
|
137
|
+
unpaid: locales.getText('pisell2.orderList.paymentStatus.unpaid'),
|
|
138
|
+
voided: locales.getText('pisell2.orderList.paymentStatus.voided'),
|
|
139
|
+
payment_processing: locales.getText('pisell2.orderList.paymentStatus.payment_processing')
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
// 支付状态颜色映射(来自 Figma 设计稿)
|
|
144
|
+
var PAYMENT_STATUS_COLOR_MAP = {
|
|
145
|
+
unpaid: '#B2DDFF',
|
|
146
|
+
// 未付款 - Blue/200
|
|
147
|
+
payment_processing: '#FEDF89',
|
|
148
|
+
// 待支付 - Warning/200
|
|
149
|
+
payment_pending: '#FEDF89',
|
|
150
|
+
// 等待付款 - Warning/200
|
|
151
|
+
authorized: '#ABEFC6',
|
|
152
|
+
// 已授权 - Success/200
|
|
153
|
+
paid: '#ABEFC6',
|
|
154
|
+
// 已付款 - Success/200
|
|
155
|
+
partially_paid: '#CEEAB0',
|
|
156
|
+
// 部分付款 - Moss/200
|
|
157
|
+
refunded: '#FECDCA',
|
|
158
|
+
// 已退款 - Error/200
|
|
159
|
+
partially_refunded: '#FCCEEE',
|
|
160
|
+
// 部分退款 - Pink/200
|
|
161
|
+
voided: '#D0D5DD' // 已作废 - Gray/300
|
|
162
|
+
};
|
|
163
|
+
var renderMapValue = function renderMapValue(value, map) {
|
|
164
|
+
return map[value] || '';
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* 获取表格列配置(支持多语言)
|
|
169
|
+
* @param locales - 多语言对象
|
|
170
|
+
* @returns 表格列配置数组
|
|
171
|
+
*/
|
|
172
|
+
export var getTableColumns = function getTableColumns(locales) {
|
|
173
|
+
return [{
|
|
174
|
+
title: locales.getText('pisell2.orderList.column.orderNumber'),
|
|
175
|
+
dataIndex: 'shop_full_order_number',
|
|
176
|
+
key: 'shop_full_order_number',
|
|
177
|
+
width: 100,
|
|
178
|
+
render: function render(value, record) {
|
|
179
|
+
var _ref = record || {},
|
|
180
|
+
note = _ref.note;
|
|
181
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
182
|
+
className: "order-id-cell"
|
|
183
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
184
|
+
className: "order-id-link"
|
|
185
|
+
}, value), note && /*#__PURE__*/React.createElement(Tooltip, {
|
|
186
|
+
title: /*#__PURE__*/React.createElement("div", {
|
|
187
|
+
style: {
|
|
188
|
+
whiteSpace: 'pre-wrap'
|
|
189
|
+
}
|
|
190
|
+
}, note)
|
|
191
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
192
|
+
className: "order-id-link-badge cursor-pointer"
|
|
193
|
+
}, locales.getText('pisell2.orderList.common.note'))));
|
|
194
|
+
}
|
|
195
|
+
}, {
|
|
196
|
+
title: locales.getText('pisell2.orderList.column.customerInfo'),
|
|
197
|
+
dataIndex: 'customer',
|
|
198
|
+
key: 'customer',
|
|
199
|
+
width: 200,
|
|
200
|
+
render: function render(value, record) {
|
|
201
|
+
var _ref2 = value || {},
|
|
202
|
+
email = _ref2.email,
|
|
203
|
+
phone = _ref2.phone;
|
|
204
|
+
var customer_name = (value === null || value === void 0 ? void 0 : value.customer_name) || (record === null || record === void 0 ? void 0 : record.customer_name);
|
|
205
|
+
var guest_code = value === null || value === void 0 ? void 0 : value.guest_code;
|
|
206
|
+
if (guest_code) {
|
|
207
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
208
|
+
className: "compound-cell"
|
|
209
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
210
|
+
className: "title"
|
|
211
|
+
}, locales.getText('pisell2.orderList.common.guest')));
|
|
212
|
+
}
|
|
213
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
214
|
+
className: "compound-cell"
|
|
215
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
216
|
+
className: "title"
|
|
217
|
+
}, customer_name || '-'), /*#__PURE__*/React.createElement("div", {
|
|
218
|
+
className: "subtitle"
|
|
219
|
+
}, phone || '-'), /*#__PURE__*/React.createElement("div", {
|
|
220
|
+
className: "subtitle"
|
|
221
|
+
}, email || '-'));
|
|
222
|
+
}
|
|
223
|
+
}, {
|
|
224
|
+
title: locales.getText('pisell2.orderList.column.contactInfo'),
|
|
225
|
+
dataIndex: 'contacts_info',
|
|
226
|
+
key: 'contacts_info',
|
|
227
|
+
width: 200,
|
|
228
|
+
render: function render(value, record) {
|
|
229
|
+
var _value = (value === null || value === void 0 ? void 0 : value.value) || {};
|
|
230
|
+
var _ref3 = _value || {},
|
|
231
|
+
first_name = _ref3.first_name,
|
|
232
|
+
last_name = _ref3.last_name,
|
|
233
|
+
display_name = _ref3.display_name,
|
|
234
|
+
phoneInfo = _ref3.phone,
|
|
235
|
+
email = _ref3.email;
|
|
236
|
+
var _ref4 = phoneInfo || {},
|
|
237
|
+
country_calling_code = _ref4.country_calling_code,
|
|
238
|
+
country_code = _ref4.country_code,
|
|
239
|
+
phone = _ref4.phone;
|
|
240
|
+
var _name = display_name || "".concat(first_name || '', " ").concat(last_name || '');
|
|
241
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
242
|
+
className: "compound-cell"
|
|
243
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
244
|
+
className: "title"
|
|
245
|
+
}, "".concat(_name || '-')), /*#__PURE__*/React.createElement("div", {
|
|
246
|
+
className: "subtitle"
|
|
247
|
+
}, phone || '-'), /*#__PURE__*/React.createElement("div", {
|
|
248
|
+
className: "subtitle"
|
|
249
|
+
}, email || '-'));
|
|
250
|
+
}
|
|
251
|
+
}, {
|
|
252
|
+
title: locales.getText('pisell2.orderList.column.tags'),
|
|
253
|
+
dataIndex: 'tag',
|
|
254
|
+
key: 'tag',
|
|
255
|
+
width: 200,
|
|
256
|
+
render: function render(value) {
|
|
257
|
+
if (Array.isArray(value)) {
|
|
258
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
259
|
+
className: "tags-container"
|
|
260
|
+
}, value.map(function (item, index) {
|
|
261
|
+
return /*#__PURE__*/React.createElement(PisellTags, {
|
|
262
|
+
key: index
|
|
263
|
+
}, item.name);
|
|
264
|
+
}));
|
|
265
|
+
}
|
|
266
|
+
return '-';
|
|
267
|
+
}
|
|
268
|
+
}, {
|
|
269
|
+
title: locales.getText('pisell2.orderList.column.deliveryMethod'),
|
|
270
|
+
dataIndex: 'delivery_type',
|
|
271
|
+
key: 'delivery_type',
|
|
272
|
+
width: 160,
|
|
273
|
+
render: function render(value, record) {
|
|
274
|
+
var _ref5 = record.metadata || {},
|
|
275
|
+
shop_service_type = _ref5.shop_service_type;
|
|
276
|
+
var SHOP_SERVICE_TYPE_MAP = getShopServiceTypeMap(locales);
|
|
277
|
+
var DELIVERY_TYPE_MAP = getDeliveryTypeMap(locales);
|
|
278
|
+
var node = null;
|
|
279
|
+
// 如果是店内服务,根据服务类型返回对应文本
|
|
280
|
+
if (value === 'shop_service') {
|
|
281
|
+
node = renderMapValue(shop_service_type === null || shop_service_type === void 0 ? void 0 : shop_service_type.server_type, SHOP_SERVICE_TYPE_MAP);
|
|
282
|
+
}
|
|
283
|
+
node = renderMapValue(value, DELIVERY_TYPE_MAP);
|
|
284
|
+
return node ? /*#__PURE__*/React.createElement(PisellTags, {
|
|
285
|
+
style: {
|
|
286
|
+
whiteSpace: 'nowrap'
|
|
287
|
+
}
|
|
288
|
+
}, node) : '-';
|
|
289
|
+
}
|
|
290
|
+
}, {
|
|
291
|
+
title: locales.getText('pisell2.orderList.column.paymentInfo'),
|
|
292
|
+
dataIndex: 'payment_status',
|
|
293
|
+
key: 'payment_status',
|
|
294
|
+
width: 140,
|
|
295
|
+
render: function render(value, record) {
|
|
296
|
+
var PAYMENT_STATUS_MAP = getPaymentStatusMap(locales);
|
|
297
|
+
var total_amount = Number(record.total_amount || 0);
|
|
298
|
+
var paid_amount = Number(record.paid_amount || 0);
|
|
299
|
+
var total_refund_amount = Number(record.total_refund_amount || 0);
|
|
300
|
+
var unpaid = Number(total_amount - paid_amount).toFixed(2);
|
|
301
|
+
|
|
302
|
+
// 根据支付状态生成 tooltip 内容
|
|
303
|
+
var tooltipContent = '';
|
|
304
|
+
|
|
305
|
+
// 1. 等待付款/待支付/未付款 → 显示「Total + Unpaid」
|
|
306
|
+
if (['payment_pending', 'payment_processing', 'unpaid'].includes(value)) {
|
|
307
|
+
tooltipContent = "".concat(locales.getText('pisell2.orderList.common.totalAmount'), ": $").concat(total_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.unpaidAmount'), ": $").concat(unpaid);
|
|
308
|
+
}
|
|
309
|
+
// 2. 部分付款 → 显示「Total + Paid + Due」
|
|
310
|
+
else if (value === 'partially_paid') {
|
|
311
|
+
tooltipContent = "".concat(locales.getText('pisell2.orderList.common.totalAmount'), ": $").concat(total_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.paidAmount'), ": $").concat(paid_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.dueAmount'), ": $").concat(unpaid);
|
|
312
|
+
}
|
|
313
|
+
// 3. 已付款 → 显示「Total + Paid」
|
|
314
|
+
else if (value === 'paid') {
|
|
315
|
+
tooltipContent = "".concat(locales.getText('pisell2.orderList.common.totalAmount'), ": $").concat(total_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.paidAmount'), ": $").concat(paid_amount.toFixed(2));
|
|
316
|
+
}
|
|
317
|
+
// 4. 部分退款/已退款 → 显示「Total + Paid + Refunded」
|
|
318
|
+
else if (['partially_refunded', 'refunded'].includes(value)) {
|
|
319
|
+
tooltipContent = "".concat(locales.getText('pisell2.orderList.common.totalAmount'), ": $").concat(total_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.paidAmount'), ": $").concat(paid_amount.toFixed(2), "\n").concat(locales.getText('pisell2.orderList.common.refundedAmount'), ": $").concat(total_refund_amount.toFixed(2));
|
|
320
|
+
}
|
|
321
|
+
var color = PAYMENT_STATUS_COLOR_MAP[value] || '';
|
|
322
|
+
if (['voided', 'authorized'].includes(value)) {
|
|
323
|
+
return /*#__PURE__*/React.createElement(PisellTags, {
|
|
324
|
+
className: "cursor-pointer",
|
|
325
|
+
style: {
|
|
326
|
+
backgroundColor: color,
|
|
327
|
+
whiteSpace: 'nowrap'
|
|
328
|
+
}
|
|
329
|
+
}, renderMapValue(value, PAYMENT_STATUS_MAP) || '-');
|
|
330
|
+
}
|
|
331
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
332
|
+
title: /*#__PURE__*/React.createElement("div", {
|
|
333
|
+
style: {
|
|
334
|
+
whiteSpace: 'pre-wrap'
|
|
335
|
+
}
|
|
336
|
+
}, tooltipContent)
|
|
337
|
+
}, /*#__PURE__*/React.createElement(PisellTags, {
|
|
338
|
+
className: "cursor-pointer",
|
|
339
|
+
style: {
|
|
340
|
+
backgroundColor: color,
|
|
341
|
+
whiteSpace: 'nowrap'
|
|
342
|
+
}
|
|
343
|
+
}, renderMapValue(value, PAYMENT_STATUS_MAP)));
|
|
344
|
+
}
|
|
345
|
+
}, {
|
|
346
|
+
title: locales.getText('pisell2.orderList.column.orderChannel'),
|
|
347
|
+
dataIndex: 'order_sales_channel',
|
|
348
|
+
key: 'order_sales_channel',
|
|
349
|
+
width: 160,
|
|
350
|
+
render: function render(value) {
|
|
351
|
+
var PLATFORM_MAP = getPlatformMap(locales);
|
|
352
|
+
return renderMapValue(value, PLATFORM_MAP) || '-';
|
|
353
|
+
}
|
|
354
|
+
}, {
|
|
355
|
+
title: locales.getText('pisell2.orderList.column.productQuantity'),
|
|
356
|
+
dataIndex: 'product_quantity',
|
|
357
|
+
key: 'product_quantity',
|
|
358
|
+
width: 180,
|
|
359
|
+
isShow: false,
|
|
360
|
+
render: function render(value) {
|
|
361
|
+
return "".concat(Number(value || 0)).concat(locales.getText('pisell2.orderList.common.itemsCount'));
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
// {
|
|
365
|
+
// title: locales.getText('pisell2.orderList.column.business'),
|
|
366
|
+
// dataIndex: 'business_code',
|
|
367
|
+
// key: 'business_code',
|
|
368
|
+
// isShow: false,
|
|
369
|
+
// render: (value: any) => {
|
|
370
|
+
// return value;
|
|
371
|
+
// },
|
|
372
|
+
// },
|
|
373
|
+
{
|
|
374
|
+
title: locales.getText('pisell2.orderList.column.orderStatus'),
|
|
375
|
+
dataIndex: 'status',
|
|
376
|
+
key: 'status',
|
|
377
|
+
width: 140,
|
|
378
|
+
isShow: false,
|
|
379
|
+
render: function render(value) {
|
|
380
|
+
var ORDER_STATUS_MAP = getOrderStatusMap(locales);
|
|
381
|
+
var color = ORDER_STATUS_COLOR_MAP[value];
|
|
382
|
+
var style = {};
|
|
383
|
+
if (color) {
|
|
384
|
+
style = {
|
|
385
|
+
borderColor: color.borderColor,
|
|
386
|
+
color: color.textColor,
|
|
387
|
+
whiteSpace: 'nowrap'
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
return /*#__PURE__*/React.createElement(PisellTags, {
|
|
391
|
+
className: "cursor-pointer",
|
|
392
|
+
style: style
|
|
393
|
+
}, renderMapValue(value, ORDER_STATUS_MAP) || '-');
|
|
394
|
+
}
|
|
395
|
+
}, {
|
|
396
|
+
title: locales.getText('pisell2.orderList.column.processStatus'),
|
|
397
|
+
dataIndex: 'shipping_status',
|
|
398
|
+
key: 'shipping_status',
|
|
399
|
+
width: 140,
|
|
400
|
+
isShow: false,
|
|
401
|
+
render: function render(value) {
|
|
402
|
+
var SHIPPING_STATUS_MAP = getShippingStatusMap(locales);
|
|
403
|
+
var color = SHIPPING_STATUS_COLOR_MAP[value];
|
|
404
|
+
var style = {};
|
|
405
|
+
if (color) {
|
|
406
|
+
style = {
|
|
407
|
+
borderColor: color.borderColor,
|
|
408
|
+
color: color.textColor,
|
|
409
|
+
whiteSpace: 'nowrap'
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
return /*#__PURE__*/React.createElement(PisellTags, {
|
|
413
|
+
className: "cursor-pointer",
|
|
414
|
+
style: style
|
|
415
|
+
}, renderMapValue(value, SHIPPING_STATUS_MAP) || '-');
|
|
416
|
+
}
|
|
417
|
+
}, {
|
|
418
|
+
title: locales.getText('pisell2.orderList.column.createInfo'),
|
|
419
|
+
dataIndex: 'create_account',
|
|
420
|
+
key: 'create_account',
|
|
421
|
+
isShow: false,
|
|
422
|
+
width: 180,
|
|
423
|
+
render: function render(value, record) {
|
|
424
|
+
var _ref6 = record || {},
|
|
425
|
+
created_at = _ref6.created_at,
|
|
426
|
+
create_account_id = _ref6.create_account_id;
|
|
427
|
+
var _ref7 = value || {},
|
|
428
|
+
first_name = _ref7.first_name,
|
|
429
|
+
last_name = _ref7.last_name;
|
|
430
|
+
var display_name = "".concat(first_name || '', " ").concat(last_name || '');
|
|
431
|
+
if (Number(create_account_id) > 0) {
|
|
432
|
+
display_name = locales.getText('pisell2.orderList.filter.customer.label');
|
|
433
|
+
}
|
|
434
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
435
|
+
className: "compound-cell"
|
|
436
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
437
|
+
className: "title"
|
|
438
|
+
}, "".concat(display_name || '-')), /*#__PURE__*/React.createElement("div", {
|
|
439
|
+
className: "subtitle"
|
|
440
|
+
}, created_at || '-'));
|
|
441
|
+
}
|
|
442
|
+
}, {
|
|
443
|
+
title: locales.getText('pisell2.orderList.column.moreInfo'),
|
|
444
|
+
dataIndex: 'last_edit_account',
|
|
445
|
+
key: 'last_edit_account',
|
|
446
|
+
isShow: false,
|
|
447
|
+
width: 180,
|
|
448
|
+
render: function render(value) {
|
|
449
|
+
if (value) {
|
|
450
|
+
var _ref8 = value || {},
|
|
451
|
+
account = _ref8.account,
|
|
452
|
+
created_at = _ref8.created_at;
|
|
453
|
+
var _ref9 = account || {},
|
|
454
|
+
display_name = _ref9.display_name;
|
|
455
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
456
|
+
className: "compound-cell"
|
|
457
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
458
|
+
className: "title"
|
|
459
|
+
}, "".concat(display_name || '-')), /*#__PURE__*/React.createElement("div", {
|
|
460
|
+
className: "subtitle"
|
|
461
|
+
}, created_at || '-'));
|
|
462
|
+
}
|
|
463
|
+
return '-';
|
|
464
|
+
}
|
|
465
|
+
}];
|
|
466
|
+
};
|
|
467
|
+
export var getQuickFilterList = function getQuickFilterList(locales) {
|
|
468
|
+
return [{
|
|
469
|
+
name: 'orderDate',
|
|
470
|
+
//end_time 分两个字段
|
|
471
|
+
type: 'rangePicker',
|
|
472
|
+
key: 'orderDate',
|
|
473
|
+
label: locales.getText('pisell2.orderList.quickFilter.orderDate.label'),
|
|
474
|
+
other: {
|
|
475
|
+
placeholder: locales.getText('pisell2.orderList.quickFilter.orderDate.placeholder')
|
|
476
|
+
}
|
|
477
|
+
}, {
|
|
478
|
+
name: 'keyword',
|
|
479
|
+
type: 'search',
|
|
480
|
+
key: 'keyword',
|
|
481
|
+
other: {
|
|
482
|
+
allowClear: true,
|
|
483
|
+
placeholder: locales.getText('pisell2.orderList.quickFilter.keyword.placeholder'),
|
|
484
|
+
trigger: ['onChange'],
|
|
485
|
+
style: {
|
|
486
|
+
width: '400px'
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}];
|
|
490
|
+
};
|
|
491
|
+
export var getFilterButtonList = function getFilterButtonList(locales) {
|
|
492
|
+
var ORDER_STATUS_MAP = getOrderStatusMap(locales);
|
|
493
|
+
var PAYMENT_STATUS_MAP = getPaymentStatusMap(locales);
|
|
494
|
+
var SHIPPING_STATUS_MAP = getShippingStatusMap(locales);
|
|
495
|
+
var DELIVERY_TYPE_MAP = getDeliveryTypeMap(locales);
|
|
496
|
+
return [{
|
|
497
|
+
name: 'status',
|
|
498
|
+
type: 'select',
|
|
499
|
+
key: 'status',
|
|
500
|
+
label: locales.getText('pisell2.orderList.filter.orderStatus.label'),
|
|
501
|
+
other: {
|
|
502
|
+
allowClear: true,
|
|
503
|
+
mode: 'multiple',
|
|
504
|
+
placeholder: locales.getText('pisell2.orderList.filter.orderStatus.placeholder'),
|
|
505
|
+
options: Object.entries(ORDER_STATUS_MAP).map(function (_ref10) {
|
|
506
|
+
var _ref11 = _slicedToArray(_ref10, 2),
|
|
507
|
+
key = _ref11[0],
|
|
508
|
+
value = _ref11[1];
|
|
509
|
+
return {
|
|
510
|
+
label: value,
|
|
511
|
+
value: key
|
|
512
|
+
};
|
|
513
|
+
})
|
|
514
|
+
}
|
|
515
|
+
}, {
|
|
516
|
+
name: 'payment_status',
|
|
517
|
+
type: 'select',
|
|
518
|
+
key: 'payment_status',
|
|
519
|
+
label: locales.getText('pisell2.orderList.filter.paymentStatus.label'),
|
|
520
|
+
other: {
|
|
521
|
+
allowClear: true,
|
|
522
|
+
mode: 'multiple',
|
|
523
|
+
placeholder: locales.getText('pisell2.orderList.filter.paymentStatus.placeholder'),
|
|
524
|
+
options: Object.entries(PAYMENT_STATUS_MAP).map(function (_ref12) {
|
|
525
|
+
var _ref13 = _slicedToArray(_ref12, 2),
|
|
526
|
+
key = _ref13[0],
|
|
527
|
+
value = _ref13[1];
|
|
528
|
+
return {
|
|
529
|
+
label: value,
|
|
530
|
+
value: key
|
|
531
|
+
};
|
|
532
|
+
})
|
|
533
|
+
}
|
|
534
|
+
}, {
|
|
535
|
+
name: 'shipping_status',
|
|
536
|
+
type: 'select',
|
|
537
|
+
key: 'shipping_status',
|
|
538
|
+
label: locales.getText('pisell2.orderList.filter.shippingStatus.label'),
|
|
539
|
+
other: {
|
|
540
|
+
allowClear: true,
|
|
541
|
+
mode: 'multiple',
|
|
542
|
+
placeholder: locales.getText('pisell2.orderList.filter.shippingStatus.placeholder'),
|
|
543
|
+
options: Object.entries(SHIPPING_STATUS_MAP).map(function (_ref14) {
|
|
544
|
+
var _ref15 = _slicedToArray(_ref14, 2),
|
|
545
|
+
key = _ref15[0],
|
|
546
|
+
value = _ref15[1];
|
|
547
|
+
return {
|
|
548
|
+
label: value,
|
|
549
|
+
value: key
|
|
550
|
+
};
|
|
551
|
+
})
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
// {
|
|
555
|
+
// name: 'updatedDate', //end_time 分两个字段
|
|
556
|
+
// type: 'rangePicker',
|
|
557
|
+
// key: 'updatedDate',
|
|
558
|
+
// label: '更新时间',
|
|
559
|
+
// other: {
|
|
560
|
+
// placeholder: '请选择更新时间',
|
|
561
|
+
// },
|
|
562
|
+
// },
|
|
563
|
+
{
|
|
564
|
+
name: 'customer_id',
|
|
565
|
+
type: 'select',
|
|
566
|
+
key: 'customer_id',
|
|
567
|
+
label: locales.getText('pisell2.orderList.filter.customer.label'),
|
|
568
|
+
other: {
|
|
569
|
+
allowClear: true,
|
|
570
|
+
isSearchServer: true,
|
|
571
|
+
showSearch: true,
|
|
572
|
+
placeholder: locales.getText('pisell2.orderList.filter.customer.placeholder'),
|
|
573
|
+
options: function options(params) {
|
|
574
|
+
return getCustomerSelectOptions(params).then(function (res) {
|
|
575
|
+
return res.map(function (item) {
|
|
576
|
+
return {
|
|
577
|
+
label: item.display_name,
|
|
578
|
+
value: item.id
|
|
579
|
+
};
|
|
580
|
+
});
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}, {
|
|
585
|
+
name: 'order_sales_channel',
|
|
586
|
+
type: 'select',
|
|
587
|
+
key: 'order_sales_channel',
|
|
588
|
+
label: locales.getText('pisell2.orderList.filter.salesChannel.label'),
|
|
589
|
+
other: {
|
|
590
|
+
allowClear: true,
|
|
591
|
+
mode: 'multiple',
|
|
592
|
+
placeholder: locales.getText('pisell2.orderList.filter.salesChannel.placeholder'),
|
|
593
|
+
options: function options() {
|
|
594
|
+
return getChannelSelectOptions().then(function (res) {
|
|
595
|
+
return res.map(function (item) {
|
|
596
|
+
return {
|
|
597
|
+
label: item.name,
|
|
598
|
+
value: item.code
|
|
599
|
+
};
|
|
600
|
+
});
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}, {
|
|
605
|
+
name: 'payment_methods',
|
|
606
|
+
type: 'select',
|
|
607
|
+
key: 'payment_methods',
|
|
608
|
+
label: locales.getText('pisell2.orderList.filter.paymentMethod.label'),
|
|
609
|
+
other: {
|
|
610
|
+
allowClear: true,
|
|
611
|
+
mode: 'multiple',
|
|
612
|
+
placeholder: locales.getText('pisell2.orderList.filter.paymentMethod.placeholder'),
|
|
613
|
+
options: function options() {
|
|
614
|
+
return getPaymentSelectOptions().then(function (res) {
|
|
615
|
+
var map = new Map(res.map(function (item) {
|
|
616
|
+
return [item.code, {
|
|
617
|
+
label: item.name,
|
|
618
|
+
value: item.code
|
|
619
|
+
}];
|
|
620
|
+
}));
|
|
621
|
+
return Array.from(map.values());
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}, {
|
|
626
|
+
name: 'total_amount',
|
|
627
|
+
//max_total_amount 分两个字段
|
|
628
|
+
type: 'numberRange',
|
|
629
|
+
key: 'total_amount',
|
|
630
|
+
label: locales.getText('pisell2.orderList.filter.totalAmount.label'),
|
|
631
|
+
other: {
|
|
632
|
+
placeholder: locales.getText('pisell2.orderList.filter.totalAmount.placeholder')
|
|
633
|
+
}
|
|
634
|
+
}, {
|
|
635
|
+
name: 'tag_ids',
|
|
636
|
+
type: 'select',
|
|
637
|
+
key: 'tag_ids',
|
|
638
|
+
label: locales.getText('pisell2.orderList.filter.tags.label'),
|
|
639
|
+
other: {
|
|
640
|
+
allowClear: true,
|
|
641
|
+
mode: 'multiple',
|
|
642
|
+
isSearchServer: true,
|
|
643
|
+
showSearch: true,
|
|
644
|
+
placeholder: locales.getText('pisell2.orderList.filter.tags.placeholder'),
|
|
645
|
+
options: function options(params) {
|
|
646
|
+
return getTagSelectOptions(params).then(function (res) {
|
|
647
|
+
return res.map(function (item) {
|
|
648
|
+
return {
|
|
649
|
+
label: item.name,
|
|
650
|
+
value: item.id
|
|
651
|
+
};
|
|
652
|
+
});
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}, {
|
|
657
|
+
name: 'shipping_type',
|
|
658
|
+
type: 'select',
|
|
659
|
+
key: 'shipping_type',
|
|
660
|
+
label: locales.getText('pisell2.orderList.filter.shippingType.label'),
|
|
661
|
+
other: {
|
|
662
|
+
allowClear: true,
|
|
663
|
+
mode: 'multiple',
|
|
664
|
+
placeholder: locales.getText('pisell2.orderList.filter.shippingType.placeholder'),
|
|
665
|
+
options: Object.entries(DELIVERY_TYPE_MAP).filter(function (_ref16) {
|
|
666
|
+
var _ref17 = _slicedToArray(_ref16, 1),
|
|
667
|
+
key = _ref17[0];
|
|
668
|
+
return !['nil', 'shop_service'].includes(key);
|
|
669
|
+
}).map(function (_ref18) {
|
|
670
|
+
var _ref19 = _slicedToArray(_ref18, 2),
|
|
671
|
+
key = _ref19[0],
|
|
672
|
+
value = _ref19[1];
|
|
673
|
+
return {
|
|
674
|
+
label: value,
|
|
675
|
+
value: key
|
|
676
|
+
};
|
|
677
|
+
})
|
|
678
|
+
}
|
|
679
|
+
}, {
|
|
680
|
+
name: 'delivery_zone_name',
|
|
681
|
+
type: 'text',
|
|
682
|
+
key: 'delivery_zone_name',
|
|
683
|
+
label: locales.getText('pisell2.orderList.filter.deliveryZone.label'),
|
|
684
|
+
other: {
|
|
685
|
+
placeholder: locales.getText('pisell2.orderList.filter.deliveryZone.placeholder')
|
|
686
|
+
}
|
|
687
|
+
}, {
|
|
688
|
+
name: 'location_id',
|
|
689
|
+
type: 'select',
|
|
690
|
+
key: 'location_id',
|
|
691
|
+
label: locales.getText('pisell2.orderList.filter.pickupLocation.label'),
|
|
692
|
+
other: {
|
|
693
|
+
allowClear: true,
|
|
694
|
+
placeholder: locales.getText('pisell2.orderList.filter.pickupLocation.placeholder'),
|
|
695
|
+
options: function options() {
|
|
696
|
+
return getLocationSelectOptions().then(function (res) {
|
|
697
|
+
return res.map(function (item) {
|
|
698
|
+
return {
|
|
699
|
+
label: item.name,
|
|
700
|
+
value: item.id
|
|
701
|
+
};
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}, {
|
|
707
|
+
name: 'shipping_order_number',
|
|
708
|
+
type: 'text',
|
|
709
|
+
key: 'shipping_order_number',
|
|
710
|
+
label: locales.getText('pisell2.orderList.filter.trackingNumber.label'),
|
|
711
|
+
other: {
|
|
712
|
+
placeholder: locales.getText('pisell2.orderList.filter.trackingNumber.placeholder')
|
|
713
|
+
}
|
|
714
|
+
}, {
|
|
715
|
+
name: 'logistics_company_id',
|
|
716
|
+
type: 'select',
|
|
717
|
+
key: 'logistics_company_id',
|
|
718
|
+
label: locales.getText('pisell2.orderList.filter.logistics.label'),
|
|
719
|
+
other: {
|
|
720
|
+
allowClear: true,
|
|
721
|
+
mode: 'multiple',
|
|
722
|
+
placeholder: locales.getText('pisell2.orderList.filter.logistics.placeholder'),
|
|
723
|
+
options: function options() {
|
|
724
|
+
return getLogisticsSelectOptions().then(function (res) {
|
|
725
|
+
return res.map(function (item) {
|
|
726
|
+
return {
|
|
727
|
+
label: item.name,
|
|
728
|
+
value: item.id
|
|
729
|
+
};
|
|
730
|
+
});
|
|
731
|
+
});
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}, {
|
|
735
|
+
name: 'zip',
|
|
736
|
+
type: 'text',
|
|
737
|
+
key: 'zip',
|
|
738
|
+
label: locales.getText('pisell2.orderList.filter.zipCode.label'),
|
|
739
|
+
other: {
|
|
740
|
+
placeholder: locales.getText('pisell2.orderList.filter.zipCode.placeholder')
|
|
741
|
+
}
|
|
742
|
+
}];
|
|
743
|
+
};
|
|
744
|
+
export var getSortList = function getSortList(locales) {
|
|
745
|
+
return [{
|
|
746
|
+
type: 'string',
|
|
747
|
+
isCustom: false,
|
|
748
|
+
name: 'shop_full_order_number',
|
|
749
|
+
label: locales.getText('pisell2.orderList.sort.orderNumber')
|
|
750
|
+
}, {
|
|
751
|
+
type: 'time',
|
|
752
|
+
isCustom: false,
|
|
753
|
+
name: 'created_at',
|
|
754
|
+
label: locales.getText('pisell2.orderList.sort.createdAt')
|
|
755
|
+
}, {
|
|
756
|
+
type: 'time',
|
|
757
|
+
isCustom: false,
|
|
758
|
+
name: 'updated_at',
|
|
759
|
+
label: locales.getText('pisell2.orderList.sort.updatedAt')
|
|
760
|
+
}, {
|
|
761
|
+
type: 'string',
|
|
762
|
+
isCustom: false,
|
|
763
|
+
name: 'customer_name',
|
|
764
|
+
label: locales.getText('pisell2.orderList.sort.customerName')
|
|
765
|
+
}, {
|
|
766
|
+
type: 'date',
|
|
767
|
+
isCustom: false,
|
|
768
|
+
name: 'payment_status',
|
|
769
|
+
label: locales.getText('pisell2.orderList.sort.paymentStatus')
|
|
770
|
+
}, {
|
|
771
|
+
type: 'date',
|
|
772
|
+
isCustom: false,
|
|
773
|
+
name: 'shipping_status',
|
|
774
|
+
label: locales.getText('pisell2.orderList.sort.shippingStatus')
|
|
775
|
+
}, {
|
|
776
|
+
type: 'number',
|
|
777
|
+
isCustom: false,
|
|
778
|
+
name: 'total_amount',
|
|
779
|
+
label: locales.getText('pisell2.orderList.sort.totalAmount')
|
|
780
|
+
}, {
|
|
781
|
+
type: 'time',
|
|
782
|
+
isCustom: false,
|
|
783
|
+
name: 'delivery_start_at',
|
|
784
|
+
label: locales.getText('pisell2.orderList.sort.deliveryStartAt')
|
|
785
|
+
}];
|
|
786
|
+
};
|