@pisell/private-materials 6.3.96 → 6.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Date/state.js +3 -1
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/appointmentBooking/locales.js +276 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/locales.d.ts +33 -0
- package/es/components/booking/editBookingModal/locales.js +12 -0
- package/es/components/booking/editBookingModal/mock.d.ts +991 -0
- package/es/components/booking/editBookingModal/mock.js +22 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/es/components/booking/info2/service/addService/mock.js +4 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +1474 -0
- package/es/components/booking/locales.js +722 -0
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/es/components/ecocup/cupProject/const.d.ts +7 -0
- package/es/components/ecocup/locales.d.ts +224 -0
- package/es/components/ecocup/locales.js +228 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftpos/locales.js +80 -0
- package/es/components/eftposPay/app.d.ts +11 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/locales.d.ts +572 -0
- package/es/components/eftposPay/locales.js +326 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/locales.d.ts +408 -0
- package/es/components/eventBooking/locales.js +186 -0
- package/es/components/kioskSkuDetail/index.js +39 -10
- package/es/components/kioskSkuDetail/locales.d.ts +21 -0
- package/es/components/kioskSkuDetail/locales.js +24 -3
- package/es/components/login/locales.d.ts +38 -0
- package/es/components/login/locales.js +14 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/locales.js +244 -0
- package/es/components/pay/toC/serve.d.ts +64 -0
- package/es/components/pinModal/locales.d.ts +43 -0
- package/es/components/pinModal/locales.js +16 -0
- package/es/components/pinVerifyModal/locales.d.ts +38 -0
- package/es/components/pinVerifyModal/locales.js +14 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/pisellSelectCustomerModal/locales.js +52 -0
- package/es/components/productExtension/locales.d.ts +78 -0
- package/es/components/productExtension/locales.js +30 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/components/productSelect/locales.d.ts +38 -0
- package/es/components/productSelect/locales.js +23 -3
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/ruleSetting/locales.js +30 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/locales.js +56 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/locales.d.ts +53 -0
- package/es/components/shoppingCart/locales.js +24 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/stepController/locales.d.ts +43 -0
- package/es/components/stepController/locales.js +20 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/subTotal/locales.js +26 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
- package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
- package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/es/components/systemSettings/registry/index.js +20 -16
- package/es/components/systemSettings/registry/index.less +6 -7
- package/es/components/systemSettings/registry/locales.d.ts +525 -0
- package/es/components/systemSettings/registry/locales.js +262 -3
- package/es/components/systemSettings/registry/services.d.ts +20 -0
- package/es/components/systemSettings/registry/types.d.ts +139 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/taxSelect/locales.js +14 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/es/components/ticketBooking/index.d.ts +8 -0
- package/es/components/ticketBooking/locales.d.ts +304 -0
- package/es/components/ticketBooking/locales.js +156 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/es/components/ticketBooking/utils/formatTime.js +8 -2
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/index.js +10 -0
- package/es/components/walletList/locales.d.ts +43 -0
- package/es/components/walletList/locales.js +16 -0
- package/es/components/walletList/types/index.d.ts +196 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/hooks/useEngineContext.d.ts +11 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientCard/locales.d.ts +28 -0
- package/es/plus/clientCard/locales.js +10 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/clinetSearch/locales.d.ts +178 -0
- package/es/plus/clinetSearch/locales.js +70 -0
- package/es/plus/contactInfo/locales.d.ts +23 -0
- package/es/plus/contactInfo/locales.js +8 -0
- package/es/plus/contactInfoModal/locales.d.ts +108 -0
- package/es/plus/contactInfoModal/locales.js +42 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/orderList/locales.d.ts +246 -0
- package/es/plus/orderList/locales.js +274 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
- package/es/plus/productSelect/locales.d.ts +38 -0
- package/es/plus/productSelect/locales.js +23 -3
- package/es/plus/saasAttendance/locales.d.ts +210 -0
- package/es/plus/saasAttendance/locales.js +234 -0
- package/es/plus/saasAttendance/settings/components/MapField.js +4 -2
- package/es/plus/saasAttendance/settings/types.d.ts +2 -0
- package/es/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/es/plus/saasCreateOrganization/locales.js +8 -0
- package/es/plus/saasLogin/locales.d.ts +83 -0
- package/es/plus/saasLogin/locales.js +32 -0
- package/es/plus/saasRegister/locales.d.ts +193 -0
- package/es/plus/saasRegister/locales.js +76 -0
- package/es/plus/saasRole/locales.d.ts +319 -0
- package/es/plus/saasRole/locales.js +126 -0
- package/es/plus/saasRole/types.d.ts +177 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/saasTeamMembers/locales.js +216 -0
- package/es/plus/saasTeamMembers/type.d.ts +158 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +35 -0
- package/es/plus/selectHolder/locales.js +17 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/es/plus/skuOptionsSelection/locales.js +20 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/es/plus/walletEditor/locales.d.ts +223 -0
- package/es/plus/walletEditor/locales.js +100 -0
- package/es/plus/walletEditor/types.d.ts +54 -0
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/walletPassGallery/locales.js +192 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/locales.js +360 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/Selector/locales.d.ts +22 -0
- package/es/pro/Selector/locales.js +58 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/es/pro/comprehensiveSearch/locales.js +8 -0
- package/es/pro/keyboards/locales.d.ts +14 -0
- package/es/pro/keyboards/locales.js +22 -0
- package/es/pro/numberKeyboard/locales.d.ts +18 -0
- package/es/pro/numberKeyboard/locales.js +6 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/es/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Date/state.js +3 -1
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/appointmentBooking/locales.js +240 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +413 -0
- package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +138 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +118 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +35 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +43 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +108 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +28 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +63 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +178 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +93 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +148 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +78 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +88 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +33 -0
- package/lib/components/booking/editBookingModal/locales.js +12 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +991 -0
- package/lib/components/booking/editBookingModal/mock.js +22 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/mock.d.ts +216 -0
- package/lib/components/booking/info2/service/addService/mock.js +4 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +1474 -0
- package/lib/components/booking/locales.js +680 -0
- package/lib/components/booking/notes/addNote/index.d.ts +4 -0
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +8 -0
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +5 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +7 -0
- package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +32 -0
- package/lib/components/ecocup/cupProject/const.d.ts +7 -0
- package/lib/components/ecocup/locales.d.ts +224 -0
- package/lib/components/ecocup/locales.js +224 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftpos/locales.js +76 -0
- package/lib/components/eftposPay/app.d.ts +11 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/locales.d.ts +572 -0
- package/lib/components/eftposPay/locales.js +250 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/locales.d.ts +408 -0
- package/lib/components/eventBooking/locales.js +162 -0
- package/lib/components/kioskSkuDetail/index.js +27 -3
- package/lib/components/kioskSkuDetail/locales.d.ts +21 -0
- package/lib/components/kioskSkuDetail/locales.js +24 -3
- package/lib/components/login/locales.d.ts +38 -0
- package/lib/components/login/locales.js +14 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/locales.js +204 -0
- package/lib/components/pay/toC/serve.d.ts +64 -0
- package/lib/components/pinModal/locales.d.ts +43 -0
- package/lib/components/pinModal/locales.js +16 -0
- package/lib/components/pinVerifyModal/locales.d.ts +38 -0
- package/lib/components/pinVerifyModal/locales.js +14 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
- package/lib/components/productExtension/locales.d.ts +78 -0
- package/lib/components/productExtension/locales.js +30 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/components/productSelect/locales.d.ts +38 -0
- package/lib/components/productSelect/locales.js +23 -3
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/ruleSetting/locales.js +30 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/locales.js +56 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/locales.d.ts +53 -0
- package/lib/components/shoppingCart/locales.js +20 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/stepController/locales.d.ts +43 -0
- package/lib/components/stepController/locales.js +16 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/subTotal/locales.js +26 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
- package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
- package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
- package/lib/components/systemSettings/registry/index.js +20 -16
- package/lib/components/systemSettings/registry/index.less +6 -7
- package/lib/components/systemSettings/registry/locales.d.ts +525 -0
- package/lib/components/systemSettings/registry/locales.js +262 -3
- package/lib/components/systemSettings/registry/services.d.ts +20 -0
- package/lib/components/systemSettings/registry/types.d.ts +139 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/taxSelect/locales.js +14 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/lib/components/ticketBooking/index.d.ts +8 -0
- package/lib/components/ticketBooking/locales.d.ts +304 -0
- package/lib/components/ticketBooking/locales.js +136 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +33 -0
- package/lib/components/ticketBooking/utils/formatTime.js +8 -2
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/index.js +10 -0
- package/lib/components/walletList/locales.d.ts +43 -0
- package/lib/components/walletList/locales.js +16 -0
- package/lib/components/walletList/types/index.d.ts +196 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/hooks/useEngineContext.d.ts +11 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientCard/locales.d.ts +28 -0
- package/lib/plus/clientCard/locales.js +10 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/clinetSearch/locales.d.ts +178 -0
- package/lib/plus/clinetSearch/locales.js +70 -0
- package/lib/plus/contactInfo/locales.d.ts +23 -0
- package/lib/plus/contactInfo/locales.js +8 -0
- package/lib/plus/contactInfoModal/locales.d.ts +108 -0
- package/lib/plus/contactInfoModal/locales.js +42 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/orderList/locales.d.ts +246 -0
- package/lib/plus/orderList/locales.js +266 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
- package/lib/plus/productSelect/locales.d.ts +38 -0
- package/lib/plus/productSelect/locales.js +23 -3
- package/lib/plus/saasAttendance/locales.d.ts +210 -0
- package/lib/plus/saasAttendance/locales.js +210 -0
- package/lib/plus/saasAttendance/settings/components/MapField.js +2 -2
- package/lib/plus/saasAttendance/settings/types.d.ts +2 -0
- package/lib/plus/saasCreateOrganization/locales.d.ts +23 -0
- package/lib/plus/saasCreateOrganization/locales.js +8 -0
- package/lib/plus/saasLogin/locales.d.ts +83 -0
- package/lib/plus/saasLogin/locales.js +32 -0
- package/lib/plus/saasRegister/locales.d.ts +193 -0
- package/lib/plus/saasRegister/locales.js +76 -0
- package/lib/plus/saasRole/locales.d.ts +319 -0
- package/lib/plus/saasRole/locales.js +126 -0
- package/lib/plus/saasRole/types.d.ts +177 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/saasTeamMembers/locales.js +216 -0
- package/lib/plus/saasTeamMembers/type.d.ts +158 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +35 -0
- package/lib/plus/selectHolder/locales.js +13 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
- package/lib/plus/skuOptionsSelection/locales.js +20 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
- package/lib/plus/walletEditor/locales.d.ts +223 -0
- package/lib/plus/walletEditor/locales.js +100 -0
- package/lib/plus/walletEditor/types.d.ts +54 -0
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/walletPassGallery/locales.js +192 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/locales.js +360 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/Selector/locales.d.ts +22 -0
- package/lib/pro/Selector/locales.js +50 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +23 -0
- package/lib/pro/comprehensiveSearch/locales.js +8 -0
- package/lib/pro/keyboards/locales.d.ts +14 -0
- package/lib/pro/keyboards/locales.js +14 -0
- package/lib/pro/numberKeyboard/locales.d.ts +18 -0
- package/lib/pro/numberKeyboard/locales.js +6 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +18 -0
- package/lib/pro/pisellPhoneKeyboard/locales.js +6 -0
- package/lib/test/setup.d.ts +1 -0
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
|
@@ -117,6 +117,11 @@ function KioskSkuDetail(props) {
|
|
|
117
117
|
isEdit = _useState14[0],
|
|
118
118
|
setIsEdit = _useState14[1];
|
|
119
119
|
var skuOptionsSelectionRef = useRef(null);
|
|
120
|
+
// 原生初始化传入的数据
|
|
121
|
+
var _useState15 = useState(null),
|
|
122
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
123
|
+
nativeInitData = _useState16[0],
|
|
124
|
+
setNativeInitData = _useState16[1];
|
|
120
125
|
/**
|
|
121
126
|
* @description 防止“原生多次初始化/快速切换”导致请求乱序覆盖
|
|
122
127
|
*/
|
|
@@ -137,6 +142,7 @@ function KioskSkuDetail(props) {
|
|
|
137
142
|
bundle: [],
|
|
138
143
|
option: []
|
|
139
144
|
});
|
|
145
|
+
setNativeInitData(null);
|
|
140
146
|
}, []);
|
|
141
147
|
var loadByProductId = useCallback( /*#__PURE__*/function () {
|
|
142
148
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(productId) {
|
|
@@ -250,7 +256,7 @@ function KioskSkuDetail(props) {
|
|
|
250
256
|
var loadRef = useRef(loadByProductId);
|
|
251
257
|
loadRef.current = loadByProductId;
|
|
252
258
|
useEffect(function () {
|
|
253
|
-
var _interaction$utils, _interaction$utils$po, _interaction$utils2, _interaction$utils2$m, _interaction$utils3, _interaction$utils3$m;
|
|
259
|
+
var _interaction$utils, _interaction$utils$po, _interaction$utils2, _interaction$utils2$m, _interaction$utils3, _interaction$utils3$m, _interaction$utils4, _interaction$utils4$m;
|
|
254
260
|
// 通知原生初始化
|
|
255
261
|
interaction === null || interaction === void 0 || (_interaction$utils = interaction.utils) === null || _interaction$utils === void 0 || (_interaction$utils$po = _interaction$utils.postMessageToApp) === null || _interaction$utils$po === void 0 || _interaction$utils$po.call(_interaction$utils, {
|
|
256
262
|
module: 'wallet_pass',
|
|
@@ -269,8 +275,24 @@ function KioskSkuDetail(props) {
|
|
|
269
275
|
if (id || id === 0) loadRef.current(id);
|
|
270
276
|
setIsEdit(false);
|
|
271
277
|
});
|
|
278
|
+
// 原生初始化调用-新购流程
|
|
279
|
+
interaction === null || interaction === void 0 || (_interaction$utils3 = interaction.utils) === null || _interaction$utils3 === void 0 || (_interaction$utils3$m = _interaction$utils3.mountFunction) === null || _interaction$utils3$m === void 0 || _interaction$utils3$m.call(_interaction$utils3, 'wallet_pass', 'restore_recharge_wallet_pass', function (_data) {
|
|
280
|
+
var data = JSON.parse(_data || '{}');
|
|
281
|
+
console.log('重置状态', data === null || data === void 0 ? void 0 : data.productId);
|
|
282
|
+
console.log('宽', window.innerWidth);
|
|
283
|
+
console.log('高', window.innerHeight);
|
|
284
|
+
console.log('设备像素比', window.devicePixelRatio);
|
|
285
|
+
// 原生会预渲染页面,真正展示时再调用这里;该方法可能被多次调用
|
|
286
|
+
resetForInit();
|
|
287
|
+
|
|
288
|
+
// 原生回调入参就是 productId:直接触发加载(不走“state→effect”链)
|
|
289
|
+
if (data !== null && data !== void 0 && data.productId || (data === null || data === void 0 ? void 0 : data.productId) === 0) loadRef.current(data === null || data === void 0 ? void 0 : data.productId);
|
|
290
|
+
setIsEdit(false);
|
|
291
|
+
// 原生初始化传入的数据
|
|
292
|
+
setNativeInitData(data);
|
|
293
|
+
});
|
|
272
294
|
// 原生初始化调用-购物车编辑
|
|
273
|
-
interaction === null || interaction === void 0 || (_interaction$
|
|
295
|
+
interaction === null || interaction === void 0 || (_interaction$utils4 = interaction.utils) === null || _interaction$utils4 === void 0 || (_interaction$utils4$m = _interaction$utils4.mountFunction) === null || _interaction$utils4$m === void 0 || _interaction$utils4$m.call(_interaction$utils4, 'wallet_pass', 'edit_buy_wallet_pass', function (data) {
|
|
274
296
|
console.log('编辑状态', data);
|
|
275
297
|
var productData = JSON.parse(data);
|
|
276
298
|
/**
|
|
@@ -296,6 +318,7 @@ function KioskSkuDetail(props) {
|
|
|
296
318
|
option: []
|
|
297
319
|
});
|
|
298
320
|
setIsEdit(true);
|
|
321
|
+
setNativeInitData(productData);
|
|
299
322
|
});
|
|
300
323
|
|
|
301
324
|
// URL 有 productId:挂载时只加载一次
|
|
@@ -368,16 +391,20 @@ function KioskSkuDetail(props) {
|
|
|
368
391
|
quantity: quantity,
|
|
369
392
|
variantId: skuValue.product_variant_id,
|
|
370
393
|
pricePerUnit: unitPrice,
|
|
371
|
-
isWebBuyWalletPass: true
|
|
394
|
+
isWebBuyWalletPass: true,
|
|
395
|
+
// 特定字段
|
|
396
|
+
balance: nativeInitData === null || nativeInitData === void 0 ? void 0 : nativeInitData.balance,
|
|
397
|
+
walletCodeId: nativeInitData === null || nativeInitData === void 0 ? void 0 : nativeInitData.walletCodeId,
|
|
398
|
+
walletPassCodeId: nativeInitData === null || nativeInitData === void 0 ? void 0 : nativeInitData.walletPassCodeId
|
|
372
399
|
};
|
|
373
400
|
interaction.utils.postMessageToApp({
|
|
374
401
|
module: 'wallet_pass',
|
|
375
402
|
key: 'buy_wallet_pass',
|
|
376
|
-
data: {
|
|
403
|
+
data: _objectSpread(_objectSpread({}, nativeInitData || {}), {}, {
|
|
377
404
|
// 把洗好的数据放这里
|
|
378
405
|
productData: obj,
|
|
379
406
|
isEdit: isEdit
|
|
380
|
-
}
|
|
407
|
+
})
|
|
381
408
|
});
|
|
382
409
|
};
|
|
383
410
|
var onBack = function onBack() {
|
|
@@ -420,7 +447,9 @@ function KioskSkuDetail(props) {
|
|
|
420
447
|
dangerouslySetInnerHTML: {
|
|
421
448
|
__html: descriptionText
|
|
422
449
|
}
|
|
423
|
-
})),
|
|
450
|
+
})), nativeInitData !== null && nativeInitData !== void 0 && nativeInitData.balance ? /*#__PURE__*/React.createElement("div", {
|
|
451
|
+
className: "pisell-kiosk-sku-detail__price-range"
|
|
452
|
+
}, locales.getText('pisell2.text.kiosk.sku.detail.balance'), ": ", symbol, nativeInitData === null || nativeInitData === void 0 ? void 0 : nativeInitData.balance) : !!priceRangeText && /*#__PURE__*/React.createElement("div", {
|
|
424
453
|
className: "pisell-kiosk-sku-detail__price-range"
|
|
425
454
|
}, priceRangeText, " ", currency_code), !!errorText && /*#__PURE__*/React.createElement("div", {
|
|
426
455
|
className: "pisell-kiosk-sku-detail__error"
|
|
@@ -506,10 +535,10 @@ function getQueryFirstMatch(params) {
|
|
|
506
535
|
function useDesignStageScale(params) {
|
|
507
536
|
var designWidth = params.designWidth;
|
|
508
537
|
var designHeight = params.designHeight;
|
|
509
|
-
var
|
|
510
|
-
|
|
511
|
-
scale =
|
|
512
|
-
setScale =
|
|
538
|
+
var _useState17 = useState(1),
|
|
539
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
540
|
+
scale = _useState18[0],
|
|
541
|
+
setScale = _useState18[1];
|
|
513
542
|
useEffect(function () {
|
|
514
543
|
var update = function update() {
|
|
515
544
|
var viewportWidth = window.innerWidth || designWidth;
|
|
@@ -6,6 +6,7 @@ declare const _default: {
|
|
|
6
6
|
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
7
7
|
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
8
8
|
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
9
|
+
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
9
10
|
};
|
|
10
11
|
'zh-CN': {
|
|
11
12
|
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
@@ -14,6 +15,7 @@ declare const _default: {
|
|
|
14
15
|
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
15
16
|
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
16
17
|
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
18
|
+
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
17
19
|
};
|
|
18
20
|
'zh-TW': {
|
|
19
21
|
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
@@ -22,6 +24,25 @@ declare const _default: {
|
|
|
22
24
|
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
23
25
|
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
24
26
|
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
27
|
+
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
28
|
+
};
|
|
29
|
+
ja: {
|
|
30
|
+
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
31
|
+
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
32
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
33
|
+
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
34
|
+
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
35
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
36
|
+
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
37
|
+
};
|
|
38
|
+
pt: {
|
|
39
|
+
'pisell2.text.kiosk.sku.detail.btn.back': string;
|
|
40
|
+
'pisell2.text.kiosk.sku.detail.item.total': string;
|
|
41
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': string;
|
|
42
|
+
'pisell2.text.kiosk.sku.detail.btn.update': string;
|
|
43
|
+
'pisell2.text.kiosk.sku.detail.loading.options': string;
|
|
44
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': string;
|
|
45
|
+
'pisell2.text.kiosk.sku.detail.balance': string;
|
|
25
46
|
};
|
|
26
47
|
};
|
|
27
48
|
export default _default;
|
|
@@ -5,7 +5,8 @@ export default {
|
|
|
5
5
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': 'Add to cart',
|
|
6
6
|
'pisell2.text.kiosk.sku.detail.btn.update': 'Update',
|
|
7
7
|
'pisell2.text.kiosk.sku.detail.loading.options': 'Loading options…',
|
|
8
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': 'Please select a top-up option'
|
|
8
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': 'Please select a top-up option',
|
|
9
|
+
'pisell2.text.kiosk.sku.detail.balance': 'Balance'
|
|
9
10
|
},
|
|
10
11
|
'zh-CN': {
|
|
11
12
|
'pisell2.text.kiosk.sku.detail.btn.back': '返回',
|
|
@@ -13,7 +14,8 @@ export default {
|
|
|
13
14
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': '加入购物车',
|
|
14
15
|
'pisell2.text.kiosk.sku.detail.btn.update': '更新',
|
|
15
16
|
'pisell2.text.kiosk.sku.detail.loading.options': '正在加载选项…',
|
|
16
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': '请选择充值选项'
|
|
17
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': '请选择充值选项',
|
|
18
|
+
'pisell2.text.kiosk.sku.detail.balance': '余额'
|
|
17
19
|
},
|
|
18
20
|
'zh-TW': {
|
|
19
21
|
'pisell2.text.kiosk.sku.detail.btn.back': '返回',
|
|
@@ -21,6 +23,25 @@ export default {
|
|
|
21
23
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': '加入購物車',
|
|
22
24
|
'pisell2.text.kiosk.sku.detail.btn.update': '更新',
|
|
23
25
|
'pisell2.text.kiosk.sku.detail.loading.options': '正在載入選項…',
|
|
24
|
-
'pisell2.text.kiosk.sku.detail.toast.select.variant': '請選擇充值選項'
|
|
26
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': '請選擇充值選項',
|
|
27
|
+
'pisell2.text.kiosk.sku.detail.balance': '餘額'
|
|
28
|
+
},
|
|
29
|
+
ja: {
|
|
30
|
+
'pisell2.text.kiosk.sku.detail.btn.back': '戻る',
|
|
31
|
+
'pisell2.text.kiosk.sku.detail.item.total': '小計',
|
|
32
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': 'カートに追加',
|
|
33
|
+
'pisell2.text.kiosk.sku.detail.btn.update': '更新',
|
|
34
|
+
'pisell2.text.kiosk.sku.detail.loading.options': 'オプションを読み込み中…',
|
|
35
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': 'チャージオプションを選択してください',
|
|
36
|
+
'pisell2.text.kiosk.sku.detail.balance': '残高'
|
|
37
|
+
},
|
|
38
|
+
pt: {
|
|
39
|
+
'pisell2.text.kiosk.sku.detail.btn.back': 'Voltar',
|
|
40
|
+
'pisell2.text.kiosk.sku.detail.item.total': 'Subtotal',
|
|
41
|
+
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': 'Adicionar ao carrinho',
|
|
42
|
+
'pisell2.text.kiosk.sku.detail.btn.update': 'Atualizar',
|
|
43
|
+
'pisell2.text.kiosk.sku.detail.loading.options': 'Carregando opções…',
|
|
44
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': 'Por favor, selecione uma opção de recarga',
|
|
45
|
+
'pisell2.text.kiosk.sku.detail.balance': 'Saldo'
|
|
25
46
|
}
|
|
26
47
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.login': string;
|
|
4
|
+
"pisell2.text.email-placeholder": string;
|
|
5
|
+
"pisell2.text.password-placeholder": string;
|
|
6
|
+
"pisell2.text.password-error": string;
|
|
7
|
+
"pisell2.text.email-error": string;
|
|
8
|
+
};
|
|
9
|
+
'zh-CN': {
|
|
10
|
+
'pisell2.text.login': string;
|
|
11
|
+
"pisell2.text.email-placeholder": string;
|
|
12
|
+
"pisell2.text.password-placeholder": string;
|
|
13
|
+
"pisell2.text.password-error": string;
|
|
14
|
+
"pisell2.text.email-error": string;
|
|
15
|
+
};
|
|
16
|
+
'zh-HK': {
|
|
17
|
+
'pisell2.text.login': string;
|
|
18
|
+
"pisell2.text.email-placeholder": string;
|
|
19
|
+
"pisell2.text.password-placeholder": string;
|
|
20
|
+
"pisell2.text.password-error": string;
|
|
21
|
+
"pisell2.text.email-error": string;
|
|
22
|
+
};
|
|
23
|
+
ja: {
|
|
24
|
+
'pisell2.text.login': string;
|
|
25
|
+
"pisell2.text.email-placeholder": string;
|
|
26
|
+
"pisell2.text.password-placeholder": string;
|
|
27
|
+
"pisell2.text.password-error": string;
|
|
28
|
+
"pisell2.text.email-error": string;
|
|
29
|
+
};
|
|
30
|
+
pt: {
|
|
31
|
+
'pisell2.text.login': string;
|
|
32
|
+
"pisell2.text.email-placeholder": string;
|
|
33
|
+
"pisell2.text.password-placeholder": string;
|
|
34
|
+
"pisell2.text.password-error": string;
|
|
35
|
+
"pisell2.text.email-error": string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -19,5 +19,19 @@ export default {
|
|
|
19
19
|
"pisell2.text.password-placeholder": "請輸入密碼",
|
|
20
20
|
"pisell2.text.password-error": "請輸入正確的密碼",
|
|
21
21
|
"pisell2.text.email-error": "請輸入正確的電子郵件"
|
|
22
|
+
},
|
|
23
|
+
ja: {
|
|
24
|
+
'pisell2.text.login': "ログイン",
|
|
25
|
+
"pisell2.text.email-placeholder": "メールアドレスを入力してください",
|
|
26
|
+
"pisell2.text.password-placeholder": "パスワードを入力してください",
|
|
27
|
+
"pisell2.text.password-error": "正しいパスワードを入力してください",
|
|
28
|
+
"pisell2.text.email-error": "正しいメールアドレスを入力してください"
|
|
29
|
+
},
|
|
30
|
+
pt: {
|
|
31
|
+
'pisell2.text.login': "Login",
|
|
32
|
+
"pisell2.text.email-placeholder": "Por favor, insira o e-mail",
|
|
33
|
+
"pisell2.text.password-placeholder": "Por favor, insira a senha",
|
|
34
|
+
"pisell2.text.password-error": "Por favor, insira a senha correta",
|
|
35
|
+
"pisell2.text.email-error": "Por favor, insira o e-mail correto"
|
|
22
36
|
}
|
|
23
37
|
};
|
|
@@ -13,6 +13,7 @@ export interface WalletPassListProps {
|
|
|
13
13
|
onChangeDebounce?: boolean;
|
|
14
14
|
loading?: boolean;
|
|
15
15
|
onLoadingChange?: (loading: boolean) => void;
|
|
16
|
+
customer_id?: number;
|
|
16
17
|
}
|
|
17
18
|
export declare type WalletPassListRef = {
|
|
18
19
|
init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
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
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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3
8
|
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
9
|
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
10
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -23,7 +28,8 @@ var WalletPassList = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
23
28
|
walletSetting = props.walletSetting,
|
|
24
29
|
onLoadingChange = props.onLoadingChange,
|
|
25
30
|
propsLoading = props.loading,
|
|
26
|
-
onChangeDebounce = props.onChangeDebounce
|
|
31
|
+
onChangeDebounce = props.onChangeDebounce,
|
|
32
|
+
customer_id = props.customer_id;
|
|
27
33
|
var _useState = useState(propsData || []),
|
|
28
34
|
_useState2 = _slicedToArray(_useState, 2),
|
|
29
35
|
data = _useState2[0],
|
|
@@ -59,24 +65,29 @@ var WalletPassList = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
59
65
|
_context.t0 = [];
|
|
60
66
|
case 7:
|
|
61
67
|
list = _context.t0;
|
|
68
|
+
list = list.map(function (item) {
|
|
69
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
70
|
+
customer_id: customer_id || item.customer_id
|
|
71
|
+
});
|
|
72
|
+
});
|
|
62
73
|
if (isFunction(formatList)) {
|
|
63
74
|
list = formatList(list);
|
|
64
75
|
}
|
|
65
76
|
// 转换接口数据至cardList标准数据
|
|
66
77
|
setData(formatMachineCodeServer2CardList(list, value));
|
|
67
|
-
_context.next =
|
|
78
|
+
_context.next = 16;
|
|
68
79
|
break;
|
|
69
|
-
case
|
|
70
|
-
_context.prev =
|
|
80
|
+
case 13:
|
|
81
|
+
_context.prev = 13;
|
|
71
82
|
_context.t1 = _context["catch"](1);
|
|
72
83
|
console.error(_context.t1);
|
|
73
|
-
case 15:
|
|
74
|
-
setLoading(false);
|
|
75
84
|
case 16:
|
|
85
|
+
setLoading(false);
|
|
86
|
+
case 17:
|
|
76
87
|
case "end":
|
|
77
88
|
return _context.stop();
|
|
78
89
|
}
|
|
79
|
-
}, _callee, null, [[1,
|
|
90
|
+
}, _callee, null, [[1, 13]]);
|
|
80
91
|
}));
|
|
81
92
|
return function getList(_x, _x2) {
|
|
82
93
|
return _ref.apply(this, arguments);
|
|
@@ -452,7 +452,8 @@ var WalletPass = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
452
452
|
onChange: handleCurrentChange,
|
|
453
453
|
ref: listRef,
|
|
454
454
|
value: selectValue,
|
|
455
|
-
onLoadingChange: setLoading
|
|
455
|
+
onLoadingChange: setLoading,
|
|
456
|
+
customer_id: order === null || order === void 0 ? void 0 : order.customer_id
|
|
456
457
|
}))), /*#__PURE__*/React.createElement(PisellModal, {
|
|
457
458
|
title: /*#__PURE__*/React.createElement("div", null, locales.getText('tocPay.text.searchResult')),
|
|
458
459
|
mobileModalHeight: '90%',
|